This is the mail archive of the gcc-patches@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: A bug with exceptions and threads in mainline compiler


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


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