1008 segfaults in genattr
Jeffrey A Law
law@cygnus.com
Fri Nov 21 21:33:00 GMT 1997
In message < m0xZ7p5-0004ecC@ocean.lucon.org >you write:
> > On some systems, this routine is run more than once from the .fini,
> > when exit is called recursively, so we arrange to remember where in
> > the list we left off processing, and we resume at that point,
> > should we be re-invoked. */
> >
>
> The question is how exit is called recursively for a simple
> "Hello World!" program.
The code in __do_global_dtors_aux is supposed to handle multiple calls
regardless of how they occur!
We've got two possible bugs -- the first is obviously a bug since we now
know __do_global_dtors_aux is supposed to handle multiple calls.
The second might be a bug, then again it might not. Who knows what gross
things are buried deep in the Unixware C library :-)
jeff
More information about the Gcc
mailing list