Andreas Jaeger <aj(a)arthur.rhein-neckar.de> writes in xemacs-beta(a)xemacs.org:
...
I did send the patch for discussion and further testing and thought
the information in it might become relevant. Looking at Wolfram's
analysis of the situation, XEmacs should segfault the same way as
FSF-Emacs does --- but AFAIK it doesn't.
It did, but I worked around it, I believe. Check out voodoo_free_hook
in emacs.c ... Also, look through your old glibc email archives. I
emailed you about this in March of 1998.
1998-03-29 SL Baur <steve(a)altair.xemacs.org>
* emacs.c (voodoo_free_hook): ELF libraries built with newer
versions of GCC do horrible things in dumped binaries after exit()
is called.
(Fkill_emacs): Use it.
Either the analysis is wrong, we're just lucky with XEmacs or
XEmacs
is just better;-).
The patch looks O.K. and Wolfram's analysis is correct. I no longer
have access to the machine where XEmacs crashed 100% of the time at
exit due to a double free, but hopefully I can duplicate it on a
different machine and verify that this fixes the problem without
voodoo_free_hook and turning off free at exit(3) time.
--
I protest the NATO war in Yugoslavia.