This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 1008 segfaults in genattr


  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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]