https://bugs.kde.org/show_bug.cgi?id=327548
--- Comment #12 from Samuel Thibault <samuel.thiba...@ens-lyon.org> --- Yes that avoids that exact issue, but then a flurry of new ones pop up, I was not getting them before: ==2511392== Possible data race during read of size 4 at 0x10C128 by thread #2 ==2511392== Locks held: none ==2511392== at 0x48F31A2: pthread_mutex_lock@@GLIBC_2.2.5 (pthread_mutex_lock.c:94) ==2511392== by 0x48487F8: mutex_lock_WRK (hg_intercepts.c:937) ==2511392== by 0x109272: f (in /net/inria/home/sthibault/test) ==2511392== by 0x484B966: mythread_wrapper (hg_intercepts.c:406) ==2511392== by 0x48EFFD3: start_thread (pthread_create.c:442) ==2511392== by 0x496F8CF: clone (clone.S:100) ==2511392== ==2511392== This conflicts with a previous write of size 4 by thread #1 ==2511392== Locks held: none ==2511392== at 0x48F4A47: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:62) ==2511392== by 0x48EF26D: __pthread_cond_wait_common (pthread_cond_wait.c:419) ==2511392== by 0x48EF26D: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:618) ==2511392== by 0x484BB03: pthread_cond_wait_WRK (hg_intercepts.c:1291) ==2511392== by 0x10933B: main (in /net/inria/home/sthibault/test) ==2511392== Address 0x10c128 is 8 bytes inside data symbol "mutex" ==2511392== ==2511392== ---------------------------------------------------------------- ==2511392== ==2511392== Possible data race during write of size 4 at 0x10C128 by thread #2 ==2511392== Locks held: none ==2511392== at 0x48F31B9: pthread_mutex_lock@@GLIBC_2.2.5 (pthread_mutex_lock.c:182) ==2511392== by 0x48487F8: mutex_lock_WRK (hg_intercepts.c:937) ==2511392== by 0x109272: f (in /net/inria/home/sthibault/test) ==2511392== by 0x484B966: mythread_wrapper (hg_intercepts.c:406) ==2511392== by 0x48EFFD3: start_thread (pthread_create.c:442) ==2511392== by 0x496F8CF: clone (clone.S:100) ==2511392== ==2511392== This conflicts with a previous write of size 4 by thread #1 ==2511392== Locks held: none ==2511392== at 0x48F4A47: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:62) ==2511392== by 0x48EF26D: __pthread_cond_wait_common (pthread_cond_wait.c:419) ==2511392== by 0x48EF26D: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:618) ==2511392== by 0x484BB03: pthread_cond_wait_WRK (hg_intercepts.c:1291) ==2511392== by 0x10933B: main (in /net/inria/home/sthibault/test) ==2511392== Address 0x10c128 is 8 bytes inside data symbol "mutex" ==2511392== ==2511392== ---------------------------------------------------------------- ==2511392== ==2511392== Lock at 0x10C120 was first observed ==2511392== at 0x484CFE9: pthread_mutex_init (hg_intercepts.c:818) ==2511392== by 0x1092EE: main (in /net/inria/home/sthibault/test) ==2511392== Address 0x10c120 is 0 bytes inside data symbol "mutex" ==2511392== ==2511392== Possible data race during write of size 8 at 0x10C0E8 by thread #2 ==2511392== Locks held: 1, at address 0x10C120 ==2511392== at 0x48EEE29: __atomic_wide_counter_add_relaxed (atomic_wide_counter.h:57) ==2511392== by 0x48EEE29: __condvar_add_g1_start_relaxed (pthread_cond_common.c:52) ==2511392== by 0x48EEE29: __condvar_quiesce_and_switch_g1 (pthread_cond_common.c:294) ==2511392== by 0x48EEE29: pthread_cond_signal@@GLIBC_2.3.2 (pthread_cond_signal.c:77) ==2511392== by 0x4848FB8: pthread_cond_signal_WRK (hg_intercepts.c:1570) ==2511392== by 0x10928B: f (in /net/inria/home/sthibault/test) ==2511392== by 0x484B966: mythread_wrapper (hg_intercepts.c:406) ==2511392== by 0x48EFFD3: start_thread (pthread_create.c:442) ==2511392== by 0x496F8CF: clone (clone.S:100) ==2511392== ==2511392== This conflicts with a previous read of size 8 by thread #1 ==2511392== Locks held: none ==2511392== at 0x48EF39E: __atomic_wide_counter_load_relaxed (atomic_wide_counter.h:30) ==2511392== by 0x48EF39E: __condvar_load_g1_start_relaxed (pthread_cond_common.c:46) ==2511392== by 0x48EF39E: __pthread_cond_wait_common (pthread_cond_wait.c:486) ==2511392== by 0x48EF39E: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:618) ==2511392== by 0x484BB03: pthread_cond_wait_WRK (hg_intercepts.c:1291) ==2511392== by 0x10933B: main (in /net/inria/home/sthibault/test) ==2511392== Address 0x10c0e8 is 8 bytes inside data symbol "cond" ==2511392== ==2511392== ---------------------------------------------------------------- ==2511392== ==2511392== Possible data race during write of size 4 at 0x10C128 by thread #2 ==2511392== Locks held: none ==2511392== at 0x48F4A47: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:62) ==2511392== by 0x4848DD8: mutex_unlock_WRK (hg_intercepts.c:1184) ==2511392== by 0x10929A: f (in /net/inria/home/sthibault/test) ==2511392== by 0x484B966: mythread_wrapper (hg_intercepts.c:406) ==2511392== by 0x48EFFD3: start_thread (pthread_create.c:442) ==2511392== by 0x496F8CF: clone (clone.S:100) ==2511392== ==2511392== This conflicts with a previous write of size 4 by thread #1 ==2511392== Locks held: none ==2511392== at 0x48F4A47: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:62) ==2511392== by 0x48EF26D: __pthread_cond_wait_common (pthread_cond_wait.c:419) ==2511392== by 0x48EF26D: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:618) ==2511392== by 0x484BB03: pthread_cond_wait_WRK (hg_intercepts.c:1291) ==2511392== by 0x10933B: main (in /net/inria/home/sthibault/test) ==2511392== Address 0x10c128 is 8 bytes inside data symbol "mutex" ==2511392== ==2511392== ---------------------------------------------------------------- ==2511392== ==2511392== Lock at 0x10C120 was first observed ==2511392== at 0x484CFE9: pthread_mutex_init (hg_intercepts.c:818) ==2511392== by 0x1092EE: main (in /net/inria/home/sthibault/test) ==2511392== Address 0x10c120 is 0 bytes inside data symbol "mutex" ==2511392== ==2511392== Possible data race during read of size 8 at 0x10C0E8 by thread #1 ==2511392== Locks held: none ==2511392== at 0x48EF2C1: __atomic_wide_counter_load_relaxed (atomic_wide_counter.h:30) ==2511392== by 0x48EF2C1: __condvar_load_g1_start_relaxed (pthread_cond_common.c:46) ==2511392== by 0x48EF2C1: __pthread_cond_wait_common (pthread_cond_wait.c:539) ==2511392== by 0x48EF2C1: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:618) ==2511392== by 0x484BB03: pthread_cond_wait_WRK (hg_intercepts.c:1291) ==2511392== by 0x10933B: main (in /net/inria/home/sthibault/test) ==2511392== ==2511392== This conflicts with a previous write of size 8 by thread #2 ==2511392== Locks held: 1, at address 0x10C120 ==2511392== at 0x48EEE29: __atomic_wide_counter_add_relaxed (atomic_wide_counter.h:57) ==2511392== by 0x48EEE29: __condvar_add_g1_start_relaxed (pthread_cond_common.c:52) ==2511392== by 0x48EEE29: __condvar_quiesce_and_switch_g1 (pthread_cond_common.c:294) ==2511392== by 0x48EEE29: pthread_cond_signal@@GLIBC_2.3.2 (pthread_cond_signal.c:77) ==2511392== by 0x4848FB8: pthread_cond_signal_WRK (hg_intercepts.c:1570) ==2511392== by 0x10928B: f (in /net/inria/home/sthibault/test) ==2511392== by 0x484B966: mythread_wrapper (hg_intercepts.c:406) ==2511392== by 0x48EFFD3: start_thread (pthread_create.c:442) ==2511392== by 0x496F8CF: clone (clone.S:100) ==2511392== Address 0x10c0e8 is 8 bytes inside data symbol "cond" ==2511392== ==2511392== ---------------------------------------------------------------- ==2511392== ==2511392== Possible data race during read of size 4 at 0x10C128 by thread #1 ==2511392== Locks held: none ==2511392== at 0x48F2472: __pthread_mutex_cond_lock (pthread_mutex_lock.c:94) ==2511392== by 0x48EF2EF: __pthread_cond_wait_common (pthread_cond_wait.c:607) ==2511392== by 0x48EF2EF: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:618) ==2511392== by 0x484BB03: pthread_cond_wait_WRK (hg_intercepts.c:1291) ==2511392== by 0x10933B: main (in /net/inria/home/sthibault/test) ==2511392== ==2511392== This conflicts with a previous write of size 4 by thread #2 ==2511392== Locks held: none ==2511392== at 0x48F4A47: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:62) ==2511392== by 0x4848DD8: mutex_unlock_WRK (hg_intercepts.c:1184) ==2511392== by 0x10929A: f (in /net/inria/home/sthibault/test) ==2511392== by 0x484B966: mythread_wrapper (hg_intercepts.c:406) ==2511392== by 0x48EFFD3: start_thread (pthread_create.c:442) ==2511392== by 0x496F8CF: clone (clone.S:100) ==2511392== Address 0x10c128 is 8 bytes inside data symbol "mutex" ==2511392== ==2511392== ---------------------------------------------------------------- ==2511392== ==2511392== Possible data race during write of size 4 at 0x10C128 by thread #1 ==2511392== Locks held: none ==2511392== at 0x48F2485: __pthread_mutex_cond_lock (pthread_mutex_lock.c:182) ==2511392== by 0x48EF2EF: __pthread_cond_wait_common (pthread_cond_wait.c:607) ==2511392== by 0x48EF2EF: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:618) ==2511392== by 0x484BB03: pthread_cond_wait_WRK (hg_intercepts.c:1291) ==2511392== by 0x10933B: main (in /net/inria/home/sthibault/test) ==2511392== ==2511392== This conflicts with a previous write of size 4 by thread #2 ==2511392== Locks held: none ==2511392== at 0x48F4A47: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:62) ==2511392== by 0x4848DD8: mutex_unlock_WRK (hg_intercepts.c:1184) ==2511392== by 0x10929A: f (in /net/inria/home/sthibault/test) ==2511392== by 0x484B966: mythread_wrapper (hg_intercepts.c:406) ==2511392== by 0x48EFFD3: start_thread (pthread_create.c:442) ==2511392== by 0x496F8CF: clone (clone.S:100) ==2511392== Address 0x10c128 is 8 bytes inside data symbol "mutex" ==2511392== ==2511392== ---------------------------------------------------------------- ==2511392== ==2511392== Possible data race during write of size 4 at 0x10C128 by thread #1 ==2511392== Locks held: none ==2511392== at 0x48F4A47: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:62) ==2511392== by 0x4848DD8: mutex_unlock_WRK (hg_intercepts.c:1184) ==2511392== by 0x109354: main (in /net/inria/home/sthibault/test) ==2511392== ==2511392== This conflicts with a previous write of size 4 by thread #2 ==2511392== Locks held: none ==2511392== at 0x48F4A47: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:62) ==2511392== by 0x4848DD8: mutex_unlock_WRK (hg_intercepts.c:1184) ==2511392== by 0x10929A: f (in /net/inria/home/sthibault/test) ==2511392== by 0x484B966: mythread_wrapper (hg_intercepts.c:406) ==2511392== by 0x48EFFD3: start_thread (pthread_create.c:442) ==2511392== by 0x496F8CF: clone (clone.S:100) ==2511392== Address 0x10c128 is 8 bytes inside data symbol "mutex" ==2511392== ==2511392== ---------------------------------------------------------------- ==2511392== ==2511392== Possible data race during read of size 4 at 0x10C12C by thread #1 ==2511392== Locks held: none ==2511392== at 0x48F4A52: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:65) ==2511392== by 0x4848DD8: mutex_unlock_WRK (hg_intercepts.c:1184) ==2511392== by 0x109354: main (in /net/inria/home/sthibault/test) ==2511392== ==2511392== This conflicts with a previous write of size 4 by thread #2 ==2511392== Locks held: none ==2511392== at 0x48F4A52: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:65) ==2511392== by 0x4848DD8: mutex_unlock_WRK (hg_intercepts.c:1184) ==2511392== by 0x10929A: f (in /net/inria/home/sthibault/test) ==2511392== by 0x484B966: mythread_wrapper (hg_intercepts.c:406) ==2511392== by 0x48EFFD3: start_thread (pthread_create.c:442) ==2511392== by 0x496F8CF: clone (clone.S:100) ==2511392== Address 0x10c12c is 12 bytes inside data symbol "mutex" ==2511392== ==2511392== ---------------------------------------------------------------- ==2511392== ==2511392== Possible data race during write of size 4 at 0x10C12C by thread #1 ==2511392== Locks held: none ==2511392== at 0x48F4A52: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:65) ==2511392== by 0x4848DD8: mutex_unlock_WRK (hg_intercepts.c:1184) ==2511392== by 0x109354: main (in /net/inria/home/sthibault/test) ==2511392== ==2511392== This conflicts with a previous write of size 4 by thread #2 ==2511392== Locks held: none ==2511392== at 0x48F4A52: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:65) ==2511392== by 0x4848DD8: mutex_unlock_WRK (hg_intercepts.c:1184) ==2511392== by 0x10929A: f (in /net/inria/home/sthibault/test) ==2511392== by 0x484B966: mythread_wrapper (hg_intercepts.c:406) ==2511392== by 0x48EFFD3: start_thread (pthread_create.c:442) ==2511392== by 0x496F8CF: clone (clone.S:100) ==2511392== Address 0x10c12c is 12 bytes inside data symbol "mutex" ==2511392== -- You are receiving this mail because: You are watching all bug changes.