https://bugs.kde.org/show_bug.cgi?id=404842

--- Comment #2 from Tom Hughes <[email protected]> ---
This is what TSAN says by the way:

==================
WARNING: ThreadSanitizer: data race (pid=23210)
  Write of size 4 at 0x000000404054 by thread T1:
    #0 fn /home/thh/zzz.c:10 (zzz+0x4011e8)
    #1 <null> <null> (libtsan.so.0+0x2a90d)

  Previous read of size 4 at 0x000000404054 by main thread:
    #0 main /home/thh/zzz.c:18 (zzz+0x40122a)

  Location is global 'y' of size 4 at 0x000000404054 (zzz+0x000000404054)

  Thread T1 (tid=23212, running) created by main thread at:
    #0 pthread_create <null> (libtsan.so.0+0x2cfc2)
    #1 main /home/thh/zzz.c:16 (zzz+0x401220)

SUMMARY: ThreadSanitizer: data race /home/thh/zzz.c:10 in fn
==================
==================
WARNING: ThreadSanitizer: data race (pid=23210)
  Read of size 4 at 0x000000404050 by thread T1:
    #0 fn /home/thh/zzz.c:9 (zzz+0x401198)
    #1 <null> <null> (libtsan.so.0+0x2a90d)

  Previous write of size 4 at 0x000000404050 by main thread:
    [failed to restore the stack]

  Location is global 'x' of size 4 at 0x000000404050 (zzz+0x000000404050)

  Thread T1 (tid=23212, running) created by main thread at:
    #0 pthread_create <null> (libtsan.so.0+0x2cfc2)
    #1 main /home/thh/zzz.c:16 (zzz+0x401220)

SUMMARY: ThreadSanitizer: data race /home/thh/zzz.c:9 in fn
==================

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to