http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830
--- Comment #14 from Denis Excoffier <g...@denis-excoffier.org> --- I'm now using plain cygwin-1.7.29-2, the cygwin1.dbg now matches with cygwin1.dll. I've alto tried to recompile without -O2. I'm not so familiar with gdb, i've produced a session where i break at __call_exitprocs (in cygwin1.dll), that shows that the destructors are not called more than once. But i now obtain 2 SEGV. Hope this helps. See attachment 32600.