[Bug other/36030] Throwing exceptions in multiple threads leads to spinning in call to _Unwind_Find_FDE

2008-04-24 Thread an at atrn dot org
--- Comment #5 from an at atrn dot org 2008-04-25 05:27 --- > Which glibc version do you use? As per description it's FreeBSD 7's (aka STABLE) libc who's ld.so implementation uses gcc's glibc-specific unwinding. > You should probably report this as a bug

[Bug other/36030] Throwing exceptions in multiple threads leads to spinning in call to _Unwind_Find_FDE

2008-04-23 Thread an at atrn dot org
--- Comment #3 from an at atrn dot org 2008-04-23 21:36 --- Note for repro using glibc, the test program uses the BSD err() function to report errors and quit. A quick look at glibc's manual says it has a compatible err() function but declared in error.h not err.h as in BSD. --

[Bug c++/36030] Throwing exceptions in multiple threads leads to spinning in call to _Unwind_Find_FDE

2008-04-23 Thread an at atrn dot org
--- Comment #2 from an at atrn dot org 2008-04-23 21:25 --- Created an attachment (id=15522) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15522&action=view) Patch to protect against concurrent modifications to frame cache Simple fix that applies coarse-grained locking aro

[Bug c++/36030] Throwing exceptions in multiple threads leads to spinning in call to _Unwind_Find_FDE

2008-04-23 Thread an at atrn dot org
--- Comment #1 from an at atrn dot org 2008-04-23 21:22 --- Created an attachment (id=15521) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15521&action=view) test program Test program to demonstrate issue -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36030

[Bug c++/36030] New: Throwing exceptions in multiple threads leads to spinning in call to _Unwind_Find_FDE

2008-04-23 Thread an at atrn dot org
spinning in call to _Unwind_Find_FDE Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: an at atrn dot org GCC build tri