feature request: mmap support

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

feature request: mmap support

hyc (Bugzilla)
On Linux, mmap'd files aren't included in the contents of a core dump. That's all
great, because it'd just be writing out data that's already on the filesystem anyway.

But when attaching to the core file, addresses that would have resided in the mmap'd
file are all inaccessible/invalid. It would be nice to have a command to attach
mmap'd files to their respective virtual address in the coredump.
--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/
Reply | Threaded
Open this post in threaded view
|

Re: feature request: mmap support

hyc (Bugzilla)
Howard Chu wrote:
> On Linux, mmap'd files aren't included in the contents of a core dump.

^^ By default. Yes you can enable it, but again, that's a waste of space.

> That's all
> great, because it'd just be writing out data that's already on the filesystem anyway.
>
> But when attaching to the core file, addresses that would have resided in the mmap'd
> file are all inaccessible/invalid. It would be nice to have a command to attach
> mmap'd files to their respective virtual address in the coredump.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/