[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-12-21 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 --- Comment #12 from Pawel Sikora --- (In reply to Maxim Ostapenko from comment #11) > Created attachment 39882 [details] > Untested fix > > Untested fix (works for me with attached testcase). > this fix works for me. thanks.

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-26 Thread m.ostapenko at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 --- Comment #11 from Maxim Ostapenko --- Created attachment 39882 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39882=edit Untested fix Untested fix (works for me with attached testcase). To sum up: 1) dlopen grabs a

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-25 Thread m.ostapenko at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 --- Comment #10 from Maxim Ostapenko --- (In reply to Pawel Sikora from comment #9) > (In reply to Maxim Ostapenko from comment #8) > > > Hm, perhaps environment issue. What version of Glibc do you use? > > glibc-2.23.1-10.fc24.x86_64

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-25 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 --- Comment #9 from Pawel Sikora --- (In reply to Maxim Ostapenko from comment #8) > Hm, perhaps environment issue. What version of Glibc do you use? glibc-2.23.1-10.fc24.x86_64

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-25 Thread m.ostapenko at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 --- Comment #8 from Maxim Ostapenko --- (In reply to Pawel Sikora from comment #7) > (In reply to Maxim Ostapenko from comment #6) > > The attached testcase works for me with current trunk GCC: > > > > max@max:/tmp/bug$ make > > rm -f m *.so >

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-25 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 --- Comment #7 from Pawel Sikora --- (In reply to Maxim Ostapenko from comment #6) > The attached testcase works for me with current trunk GCC: > > max@max:/tmp/bug$ make > rm -f m *.so > ~/install/master/bin/g++ -fuse-ld=gold -g2 -Og -flto

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-24 Thread m.ostapenko at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 Maxim Ostapenko changed: What|Removed |Added CC||m.ostapenko at samsung dot com ---

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-21 Thread kcc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 --- Comment #5 from Kostya Serebryany --- (In reply to Pawel Sikora from comment #3) > (In reply to Kostya Serebryany from comment #2) > > Is -flto important here? > > Does this happen with clang? (does not happen for me) > > Does this happen if

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-21 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 --- Comment #4 from Pawel Sikora --- (In reply to Pawel Sikora from comment #3) > (In reply to Kostya Serebryany from comment #2) > > Is -flto important here? > > Does this happen with clang? (does not happen for me) > > Does this happen if you

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-21 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 --- Comment #3 from Pawel Sikora --- (In reply to Kostya Serebryany from comment #2) > Is -flto important here? > Does this happen with clang? (does not happen for me) > Does this happen if you use statically linked asan (-static-libasan)?

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-20 Thread kcc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 --- Comment #2 from Kostya Serebryany --- Is -flto important here? Does this happen with clang? (does not happen for me) Does this happen if you use statically linked asan (-static-libasan)?

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-19 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 --- Comment #1 from Pawel Sikora --- Created attachment 39842 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39842=edit reduced testcase. % gdb ./m GNU gdb (GDB) Fedora 7.11.1-86.fc24 (gdb) r Starting program: /home/pawels/src/bug/m