A bug with exceptions and threads in mainline compiler

Loren James Rittle rittle@latour.rsch.comm.mot.com
Fri May 25 14:40:00 GMT 2001


In article <3B0EA8DE.45312C58@homepage.ru> you write:

> The following  program generates a segfault after running couple tens of
> seconds on linux with glibc 2.2.2 or 2.1.2 with linux threads and
> compiler:

I ran the program you posted after compiling it with:

g++ -pthread (mainline with patch posted to libstdc++-v3 mailing list
on Thursday morning, see http://gcc.gnu.org/ml/libstdc++/2001-05/msg00289.html )

time: 3157secs

Yes, EH was clearly broken in the multi-threading case before that patch.

A more complete version of the patch will be posted to libstdc++-v3
and gcc-patches today, if possible.

Regards,
Loren



More information about the Gcc-patches mailing list