[Bug sanitizer/58465] TSan deadlock in a single-threaded program

2013-09-20 Thread oleg at smolsky dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58465 --- Comment #5 from Oleg Smolsky --- BTW, I get an identical deadlock with ASan: #0 0x7fe631504ae9 in syscall () from /lib64/libc.so.6 #1 0x7fe63363ddc0 in __sanitizer::internal_sched_yield () at ../../../../gcc48-google/libsaniti

[Bug sanitizer/58465] TSan deadlock in a single-threaded program

2013-09-19 Thread oleg at smolsky dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58465 --- Comment #4 from Oleg Smolsky --- Also, I've just extracted the regex call into a tiny test app and there is no deadlock... so, it is a bit puzzling...

[Bug sanitizer/58465] TSan deadlock in a single-threaded program

2013-09-19 Thread oleg at smolsky dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58465 --- Comment #3 from Oleg Smolsky --- Hey Kostya, unfortunately I have no way to check that. This happens in our product code I cannot built it with Clang.

[Bug sanitizer/58465] TSan deadlock in a single-threaded program

2013-09-19 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58465 --- Comment #2 from Kostya Serebryany --- does this happen with clang trunk? BTW, I hope to do a fresh merge in the nearest 2-3 weeks.

[Bug sanitizer/58465] TSan deadlock in a single-threaded program

2013-09-18 Thread oleg at smolsky dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58465 --- Comment #1 from Oleg Smolsky --- I wonder if I just need to merge this: http://llvm.org/viewvc/llvm-project?view=revision&revision=187978