tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SIGBUS + coredump




> On Jan 19, 2019, at 8:55 AM, David Holland <dholland-tech%netbsd.org@localhost> wrote:
> 
> That's equivalent to writing out zeros (but more efficient) -- I would
> say the page shouldn't appear in the dump at all on the grounds that
> it doesn't actually exist.
> 
> Whether it's ok to have an empty segment, I dunno. See if gdb chokes
> on it :-)

Hm, then perhaps I'm misremembering how this is supposed to be represented in the core.  The issue is that there *is* a mapping at the virtual address, but that fault can't be serviced.  Making it appear as zeros or ZFOD gives the wrong impression to the person doing the debugging.

-- thorpej



Home | Main Index | Thread Index | Old Index