[Bug 249067] coredumps include whole maps

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 8 15:24:36 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249067

Mark Johnston <markj at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj at FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Mark Johnston <markj at FreeBSD.org> ---
So is the idea to identify runs of alternating faulted and non-faulted ranges
in each mapped area, and emit a phdr for each run (or each pair of runs)? 
Then, the phdr for a non-faulted range would have p_filsz == 0 (or it would get
tacked on to the phdr for the preceding faulted range).  Or, does Linux
completely exclude non-faulted ranges from the core file?  I'd be surprised if
so, but it does make things a bit simpler for the kernel.

I noticed recently that DPDK has a FreeBSD-specific workaround for this exact
issue, so I'd like to work on it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list