https://bugs.kde.org/show_bug.cgi?id=400793
andrey.andreyevic...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #4 from andrey.andreyevic...@gmail.com --- Thanks for your fix but latest code from git still has the problem (test from attachment 116147 from message above): [user@test-x64-alt8 helgrind_test]$ gcc t.c -o t -lpthread [user@test-x64-alt8 helgrind_test]$ /usr/bin/valgrind --tool=helgrind ./t ==11633== Helgrind, a thread error detector ==11633== Copyright (C) 2007-2017, and GNU GPL'd, by OpenWorks LLP et al. ==11633== Using Valgrind-3.21.0.GIT and LibVEX; rerun with -h for copyright info ==11633== Command: ./t ==11633== global_a = 1 global_a = 2 global_a = 3 global_a = 4 global_a = 5 global_a = 6 global_a = 7 global_a = 8 global_a = 9 global_a = a ==11633== ---Thread-Announcement------------------------------------------ ==11633== ==11633== Thread #13 was created ==11633== at 0x514B36E: clone (in /lib64/libc-2.23.so) ==11633== by 0x4E4C189: create_thread (in /lib64/libpthread-2.23.so) ==11633== by 0x4E4DBDB: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.23.so) ==11633== by 0x4C387B2: pthread_create_WRK (hg_intercepts.c:445) ==11633== by 0x4C39CA2: pthread_create@* (hg_intercepts.c:478) ==11633== by 0x400AB7: main (in /root/helgrind_test/t) ==11633== ==11633== ---------------------------------------------------------------- ==11633== ==11633== Thread #13's call to pthread_rwlock_timedwrlock failed ==11633== with error code 110 (ETIMEDOUT: Connection timed out) ==11633== at 0x4C37AB5: pthread_rwlock_timedwrlock_WRK (hg_intercepts.c:2814) ==11633== by 0x4C3A5FA: pthread_rwlock_timedwrlock (hg_intercepts.c:2826) ==11633== by 0x4009B1: ten_seconds_wrlock (in /root/helgrind_test/t) ==11633== by 0x4009C9: threadFuncSimple (in /root/helgrind_test/t) ==11633== by 0x4C389A6: mythread_wrapper (hg_intercepts.c:406) ==11633== by 0x4E4D413: start_thread (in /lib64/libpthread-2.23.so) ==11633== Can't lock ==11633== ---Thread-Announcement------------------------------------------ ==11633== ==11633== Thread #14 was created ==11633== at 0x514B36E: clone (in /lib64/libc-2.23.so) ==11633== by 0x4E4C189: create_thread (in /lib64/libpthread-2.23.so) ==11633== by 0x4E4DBDB: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.23.so) ==11633== by 0x4C387B2: pthread_create_WRK (hg_intercepts.c:445) ==11633== by 0x4C39CA2: pthread_create@* (hg_intercepts.c:478) ==11633== by 0x400AB7: main (in /root/helgrind_test/t) ==11633== ==11633== ---------------------------------------------------------------- ==11633== ==11633== Thread #14's call to pthread_rwlock_timedwrlock failed ==11633== with error code 110 (ETIMEDOUT: Connection timed out) ==11633== at 0x4C37AB5: pthread_rwlock_timedwrlock_WRK (hg_intercepts.c:2814) ==11633== by 0x4C3A5FA: pthread_rwlock_timedwrlock (hg_intercepts.c:2826) ==11633== by 0x4009B1: ten_seconds_wrlock (in /root/helgrind_test/t) ==11633== by 0x4009C9: threadFuncSimple (in /root/helgrind_test/t) ==11633== by 0x4C389A6: mythread_wrapper (hg_intercepts.c:406) ==11633== by 0x4E4D413: start_thread (in /lib64/libpthread-2.23.so) ==11633== Can't lock ==11633== ---Thread-Announcement------------------------------------------ ==11633== ==11633== Thread #15 was created ==11633== at 0x514B36E: clone (in /lib64/libc-2.23.so) ==11633== by 0x4E4C189: create_thread (in /lib64/libpthread-2.23.so) ==11633== by 0x4E4DBDB: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.23.so) ==11633== by 0x4C387B2: pthread_create_WRK (hg_intercepts.c:445) ==11633== by 0x4C39CA2: pthread_create@* (hg_intercepts.c:478) ==11633== by 0x400AB7: main (in /root/helgrind_test/t) ==11633== ==11633== ---------------------------------------------------------------- ==11633== ==11633== Thread #15's call to pthread_rwlock_timedwrlock failed ==11633== with error code 110 (ETIMEDOUT: Connection timed out) ==11633== at 0x4C37AB5: pthread_rwlock_timedwrlock_WRK (hg_intercepts.c:2814) ==11633== by 0x4C3A5FA: pthread_rwlock_timedwrlock (hg_intercepts.c:2826) ==11633== by 0x4009B1: ten_seconds_wrlock (in /root/helgrind_test/t) ==11633== by 0x4009C9: threadFuncSimple (in /root/helgrind_test/t) ==11633== by 0x4C389A6: mythread_wrapper (hg_intercepts.c:406) ==11633== by 0x4E4D413: start_thread (in /lib64/libpthread-2.23.so) ==11633== Can't lock ==11633== ---Thread-Announcement------------------------------------------ ==11633== ==11633== Thread #16 was created ==11633== at 0x514B36E: clone (in /lib64/libc-2.23.so) ==11633== by 0x4E4C189: create_thread (in /lib64/libpthread-2.23.so) ==11633== by 0x4E4DBDB: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.23.so) ==11633== by 0x4C387B2: pthread_create_WRK (hg_intercepts.c:445) ==11633== by 0x4C39CA2: pthread_create@* (hg_intercepts.c:478) ==11633== by 0x400AB7: main (in /root/helgrind_test/t) ==11633== ==11633== ---------------------------------------------------------------- ==11633== ==11633== Thread #16's call to pthread_rwlock_timedwrlock failed ==11633== with error code 110 (ETIMEDOUT: Connection timed out) ==11633== at 0x4C37AB5: pthread_rwlock_timedwrlock_WRK (hg_intercepts.c:2814) ==11633== by 0x4C3A5FA: pthread_rwlock_timedwrlock (hg_intercepts.c:2826) ==11633== by 0x4009B1: ten_seconds_wrlock (in /root/helgrind_test/t) ==11633== by 0x4009C9: threadFuncSimple (in /root/helgrind_test/t) ==11633== by 0x4C389A6: mythread_wrapper (hg_intercepts.c:406) ==11633== by 0x4E4D413: start_thread (in /lib64/libpthread-2.23.so) ==11633== Can't lock ==11633== ---Thread-Announcement------------------------------------------ ==11633== ==11633== Thread #17 was created ==11633== at 0x514B36E: clone (in /lib64/libc-2.23.so) ==11633== by 0x4E4C189: create_thread (in /lib64/libpthread-2.23.so) ==11633== by 0x4E4DBDB: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.23.so) ==11633== by 0x4C387B2: pthread_create_WRK (hg_intercepts.c:445) ==11633== by 0x4C39CA2: pthread_create@* (hg_intercepts.c:478) ==11633== by 0x400AB7: main (in /root/helgrind_test/t) ==11633== ==11633== ---------------------------------------------------------------- ==11633== ==11633== Thread #17's call to pthread_rwlock_timedwrlock failed ==11633== with error code 110 (ETIMEDOUT: Connection timed out) ==11633== at 0x4C37AB5: pthread_rwlock_timedwrlock_WRK (hg_intercepts.c:2814) ==11633== by 0x4C3A5FA: pthread_rwlock_timedwrlock (hg_intercepts.c:2826) ==11633== by 0x4009B1: ten_seconds_wrlock (in /root/helgrind_test/t) ==11633== by 0x4009C9: threadFuncSimple (in /root/helgrind_test/t) ==11633== by 0x4C389A6: mythread_wrapper (hg_intercepts.c:406) ==11633== by 0x4E4D413: start_thread (in /lib64/libpthread-2.23.so) ==11633== Can't lock global_a = b ==11633== ==11633== Use --history-level=approx or =none to gain increased speed, at ==11633== the cost of reduced accuracy of conflicting-access information ==11633== For lists of detected and suppressed errors, rerun with: -s ==11633== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 430 from 55) -- You are receiving this mail because: You are watching all bug changes.