You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0)
The report below can matchrace:radeonsi_dri.so,
but cannot match race:^radeonsi_dri.so or race_top:radeonsi_dri.so.
What I did expect:
^radeonsi_dri.so to match because radeonsi_dri.so is exactly the so file name.
race_top skip the top frame because free and realloc are hooked by tsan.
WARNING: ThreadSanitizer: data race (pid=480351)
Write of size 8 at 0x7b0400003090 by main thread (mutexes: write M2955):
#0 free ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:711 (libtsan.so.0+0x37ab8)
#1 <null> <null> (radeonsi_dri.so+0x92a794)
#2 runSerial(char const*) ../try_vlc3_player.cpp:1013 (try_vlc3_mem_output_sdl2_tsan+0xa805)
#3 main ../try_vlc3_player.cpp:1056 (try_vlc3_mem_output_sdl2_tsan+0xae70)
Previous write of size 8 at 0x7b0400003090 by thread T1:
#0 realloc ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:685 (libtsan.so.0+0x34179)
#1 <null> <null> (radeonsi_dri.so+0x92e5ab)
Mutex M2955 (0x7f2ad0f89b80) created at:
#0 pthread_mutex_lock ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:4240 (libtsan.so.0+0x53908)
#1 <null> <null> (libGLX_mesa.so.0+0x34977)
#2 runSerial(char const*) ../try_vlc3_player.cpp:1013 (try_vlc3_mem_output_sdl2_tsan+0xa805)
#3 main ../try_vlc3_player.cpp:1056 (try_vlc3_mem_output_sdl2_tsan+0xae70)
Thread T1 'try_vlc3_m:cs0' (tid=480353, running) created by main thread at:
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:969 (libtsan.so.0+0x605b8)
#1 <null> <null> (radeonsi_dri.so+0x119673)
#2 runSerial(char const*) ../try_vlc3_player.cpp:1013 (try_vlc3_mem_output_sdl2_tsan+0xa805)
#3 main ../try_vlc3_player.cpp:1056 (try_vlc3_mem_output_sdl2_tsan+0xae70)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so+0x92a794)
The text was updated successfully, but these errors were encountered:
myocytebd
changed the title
[Help] Failed to understand why TSAN suppression pattern failed to match? (^ and race_top)
[Help] Could not understand why TSAN suppression pattern failed to match? (^ and race_top)
Dec 31, 2024
(gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0)
The report below can match
race:radeonsi_dri.so
,but cannot match
race:^radeonsi_dri.so
orrace_top:radeonsi_dri.so
.What I did expect:
^radeonsi_dri.so
to match becauseradeonsi_dri.so
is exactly the so file name.race_top
skip the top frame becausefree
andrealloc
are hooked by tsan.The text was updated successfully, but these errors were encountered: