On Sun, Jun 22, 2008 at 03:21:38PM +0200, Mike Hommey wrote: > Note that before reaching that point, I also found the reason of the > segfault, though I don't understand why. > > The assembly for the address where it crashes is: > 0x00007f9d67339160 <ptmalloc_init+384>: cmpb $0x4d,(%rax) > > And %rax points to an address in the range where > /usr/lib/xulrunner-1.9/libxul.so used to be mmap()ed. Except at the > moment the segfault occurs, libxul.so is *not* mmap()ed, because it was > dlclose()d: xulrunner-stub dlopen()s it on startup and dlclose()s it > at the end of its main(). > > Why would ptmalloc_init() try to read memory in mmap()ed libxul.so ?
Also, note that if I remove the dlclose()ing of libxul.so, it stops segfaulting. Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

