This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc static constructor multi-threading flaw


Christopher Faylor wrote:

Since neither gcc nor newlib have responded to this problem, I've
added a wrapper in cygwin.  It will be in 1.3.21.

By the way, if I recall correctly, the real fix *has* to be made in gcc. There is still a race in the gcc-generated code that can cause double-destruction at process exit.

Your fix should eliminate the core dumps caused by atexit data structure
corruption, though.
--
Joe Buehler


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