Skip to content

Instantly share code, notes, and snippets.

@zachhilman
Created August 12, 2018 22:15
Show Gist options
  • Save zachhilman/7b7eadcb486eab164c331aeba0b6bdaf to your computer and use it in GitHub Desktop.
Save zachhilman/7b7eadcb486eab164c331aeba0b6bdaf to your computer and use it in GitHub Desktop.
tsan2
This file has been truncated, but you can view the full file.
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 1 at 0x7b04000098c0 by thread T2:
#0 strlen <null> (libtsan.so.0+0x315c5)
#1 pthread_setname_np <null> (libpthread.so.0+0x1391c)
#2 <null> <null> (libglib-2.0.so.0+0x73ded)
Previous write of size 8 at 0x7b04000098c0 by main thread (mutexes: write M221):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Location is heap block of size 6 at 0x7b04000098c0 allocated by main thread:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T2 'gmain' (tid=14222, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x315c5) in __interceptor_strlen
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 1 at 0x7b0400008000 by thread T3:
#0 strlen <null> (libtsan.so.0+0x315c5)
#1 pthread_setname_np <null> (libpthread.so.0+0x1391c)
#2 <null> <null> (libglib-2.0.so.0+0x73ded)
Previous write of size 1 at 0x7b0400008000 by main thread (mutexes: write M221):
#0 memcpy <null> (libtsan.so.0+0x328ad)
#1 g_strdup <null> (libglib-2.0.so.0+0x6b14c)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Location is heap block of size 6 at 0x7b0400008000 allocated by main thread:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x315c5) in __interceptor_strlen
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b5000008100 by thread T3:
#0 memset <null> (libtsan.so.0+0x325ed)
#1 g_slice_alloc0 <null> (libglib-2.0.so.0+0x69b3d)
Previous write of size 8 at 0x7b5000008100 by main thread (mutexes: write M221):
#0 posix_memalign <null> (libtsan.so.0+0x2bc30)
#1 <null> <null> (libglib-2.0.so.0+0x68e06)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Location is heap block of size 496 at 0x7b5000008000 allocated by main thread:
#0 posix_memalign <null> (libtsan.so.0+0x2bc30)
#1 <null> <null> (libglib-2.0.so.0+0x68e06)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x325ed) in __interceptor_memset
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b080000c6e0 by thread T3:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 <null> <null> (libglib-2.0.so.0+0x4955b)
Previous write of size 8 at 0x7b080000c6e0 by main thread (mutexes: write M221):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b0c000068a0 by thread T3:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 <null> <null> (libglib-2.0.so.0+0x491db)
Previous write of size 8 at 0x7b0c000068a0 by main thread (mutexes: write M221):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b180000d6e0 by thread T3:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 <null> <null> (libglib-2.0.so.0+0x49268)
Previous write of size 8 at 0x7b180000d6e0 by main thread (mutexes: write M221):
#0 calloc <null> (libtsan.so.0+0x2b163)
#1 g_malloc0 <null> (libglib-2.0.so.0+0x518b0)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b2000002080 by thread T3:
#0 sendmsg <null> (libtsan.so.0+0x3bca9)
#1 <null> <null> (libgio-2.0.so.0+0x7faf9)
Previous write of size 8 at 0x7b2000002080 by main thread (mutexes: write M221):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Location is heap block of size 128 at 0x7b2000002080 allocated by main thread:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x3bca9) in sendmsg
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b2000002088 by thread T3:
#0 sendmsg <null> (libtsan.so.0+0x3bca9)
#1 <null> <null> (libgio-2.0.so.0+0x7faf9)
Previous write of size 1 at 0x7b200000208e by main thread (mutexes: write M221):
#0 memcpy <null> (libtsan.so.0+0x328ad)
#1 <null> <null> (libgio-2.0.so.0+0xc4e32)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Location is heap block of size 128 at 0x7b2000002080 allocated by main thread:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x3bca9) in sendmsg
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Atomic read of size 1 at 0x7b0c00006900 by thread T3:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 g_variant_type_info_get <null> (libglib-2.0.so.0+0x8f1e6)
Previous write of size 8 at 0x7b0c00006900 by main thread (mutexes: write M221):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 <null> <null> (libglib-2.0.so.0+0x914af)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Location is heap block of size 40 at 0x7b0c00006900 allocated by main thread:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 <null> <null> (libglib-2.0.so.0+0x914af)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x400ef) in __interceptor_pthread_mutex_lock
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b080000c820 by thread T3:
#0 strcmp <null> (libtsan.so.0+0x4e9ae)
#1 g_str_equal <null> (libglib-2.0.so.0+0x3b418)
Previous write of size 8 at 0x7b080000c820 by main thread (mutexes: write M221):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Location is heap block of size 21 at 0x7b080000c820 allocated by main thread:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x4e9ae) in __interceptor_strcmp
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 1 at 0x7b080000c830 by thread T3:
#0 strcmp <null> (libtsan.so.0+0x4e9ae)
#1 g_str_equal <null> (libglib-2.0.so.0+0x3b418)
Previous write of size 1 at 0x7b080000c830 by main thread (mutexes: write M221):
#0 memcpy <null> (libtsan.so.0+0x328ad)
#1 g_strdup <null> (libglib-2.0.so.0+0x6b14c)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Location is heap block of size 21 at 0x7b080000c820 allocated by main thread:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x4e9ae) in __interceptor_strcmp
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b080000c720 by thread T3:
#0 strcmp <null> (libtsan.so.0+0x4e9ae)
#1 <null> <null> (libgio-2.0.so.0+0xbaa01)
Previous write of size 8 at 0x7b080000c720 by main thread (mutexes: write M221):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Location is heap block of size 21 at 0x7b080000c720 allocated by main thread:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x4e9ae) in __interceptor_strcmp
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 1 at 0x7b080000c700 by thread T3:
#0 strcmp <null> (libtsan.so.0+0x4e9ae)
#1 <null> <null> (libgio-2.0.so.0+0xbaa1c)
Previous write of size 8 at 0x7b080000c700 by main thread (mutexes: write M221):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Location is heap block of size 17 at 0x7b080000c700 allocated by main thread:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x4e9ae) in __interceptor_strcmp
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b100000e0c0 by thread T3:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 g_hash_table_unref <null> (libglib-2.0.so.0+0x3a7e9)
Previous write of size 8 at 0x7b100000e0c0 by main thread (mutexes: write M221):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b100000d840 by thread T3:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 g_hash_table_unref <null> (libglib-2.0.so.0+0x3a7f2)
Previous read of size 8 at 0x7b100000d840 by main thread (mutexes: write M221):
#0 memcpy <null> (libtsan.so.0+0x328ad)
#1 g_memdup <null> (libglib-2.0.so.0+0x6b189)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b2000002180 by thread T3:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 <null> <null> (libglib-2.0.so.0+0x1f087)
Previous write of size 8 at 0x7b2000002180 by main thread (mutexes: write M221):
#0 realloc <null> (libtsan.so.0+0x2b213)
#1 g_realloc <null> (libglib-2.0.so.0+0x5190f)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b0400008180 by thread T3:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 g_main_context_unref <null> (libglib-2.0.so.0+0x49982)
Previous read of size 1 at 0x7b0400008184 by main thread (mutexes: write M221):
#0 poll <null> (libtsan.so.0+0x4db2e)
#1 <null> <null> (libglib-2.0.so.0+0x4c438)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7ba0000040c0 by thread T3:
#0 close <null> (libtsan.so.0+0x2f70b)
#1 <null> <null> (libglib-2.0.so.0+0x90a3a)
Previous read of size 8 at 0x7ba0000040c0 by main thread (mutexes: write M221):
#0 read <null> (libtsan.so.0+0x32ff7)
#1 <null> <null> (libglib-2.0.so.0+0x9095f)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Location is file descriptor 12 created by main thread at:
#0 eventfd <null> (libtsan.so.0+0x2ecd2)
#1 <null> <null> (libglib-2.0.so.0+0x90846)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2f70b) in __interceptor_close
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b080000ca40 by thread T3:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 g_bytes_unref <null> (libglib-2.0.so.0+0x25a72)
Previous read of size 8 at 0x7b080000ca40 by main thread (mutexes: write M221):
#0 strlen <null> (libtsan.so.0+0x315c5)
#1 g_strdup <null> (libglib-2.0.so.0+0x6b132)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b080000ca50 by thread T3:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 g_bytes_unref <null> (libglib-2.0.so.0+0x25a72)
Previous read of size 1 at 0x7b080000ca55 by main thread (mutexes: write M221):
#0 memcpy <null> (libtsan.so.0+0x328ad)
#1 g_strdup <null> (libglib-2.0.so.0+0x6b14c)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M221 (0x7b0c00001e00) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 <null> <null> (libglib-2.0.so.0+0x914dc)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T3 'gdbus' (tid=14223, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 <null> <null> (libglib-2.0.so.0+0x91abf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b1000008598 by thread T4:
#0 memcpy <null> (libtsan.so.0+0x328ad)
#1 <null> <null> (libQt5Core.so.5+0x29236d)
Previous write of size 8 at 0x7b1000008598 by main thread:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) <null> (libQt5Core.so.5+0xad8c1)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Location is heap block of size 64 at 0x7b1000008580 allocated by main thread:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) <null> (libQt5Core.so.5+0xad8c1)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T4 'QDBusConnection' (tid=14224, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x328ad) in memcpy
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b1000008580 by thread T4:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 <null> <null> (libQt5Core.so.5+0x2921a4)
Previous write of size 8 at 0x7b1000008580 by main thread:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) <null> (libQt5Core.so.5+0xad8c1)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T4 'QDBusConnection' (tid=14224, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Atomic read of size 1 at 0x7b1800017d00 by thread T4:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 QWaitCondition::wakeAll() <null> (libQt5Core.so.5+0xacf7f)
Previous write of size 8 at 0x7b1800017d00 by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 QWaitCondition::QWaitCondition() <null> (libQt5Core.so.5+0xac6b4)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Location is heap block of size 96 at 0x7b1800017d00 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 QWaitCondition::QWaitCondition() <null> (libQt5Core.so.5+0xac6b4)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T4 'QDBusConnection' (tid=14224, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x400ef) in __interceptor_pthread_mutex_lock
==================
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x55bcf8a7a708 by thread T6:
#0 Log::FmtLogMessageImpl(Log::Class, Log::Level, char const*, unsigned int, char const*, char const*, fmt::v5::format_args const&) /home/zachhilman/CLionProjects/yuzu/src/common/logging/backend.cpp:305 (yuzu+0x20b1f2)
#1 void Log::FmtLogMessage<unsigned long>(Log::Class, Log::Level, char const*, unsigned int, char const*, char const*, unsigned long const&) /home/zachhilman/CLionProjects/yuzu/src/./common/logging/log.h:130 (yuzu+0x22d12a)
#2 FileSys::NCA::Decrypt(FileSys::NCASectionHeader, std::shared_ptr<FileSys::VfsFile>, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/file_sys/content_archive.cpp:153 (yuzu+0x22d12a)
#3 FileSys::NCA::NCA(std::shared_ptr<FileSys::VfsFile>) /home/zachhilman/CLionProjects/yuzu/src/core/file_sys/content_archive.cpp:291 (yuzu+0x22e8c6)
#4 std::__shared_ptr<FileSys::NCA, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<FileSys::NCA>, std::shared_ptr<FileSys::VfsFile> const&>(std::_Sp_make_shared_tag, std::allocator<FileSys::NCA> const&, std::shared_ptr<FileSys::VfsFile> const&) /usr/include/c++/8/ext/new_allocator.h:136 (yuzu+0x2e0469)
#5 std::shared_ptr<FileSys::NCA>::shared_ptr<std::allocator<FileSys::NCA>, std::shared_ptr<FileSys::VfsFile> const&>(std::_Sp_make_shared_tag, std::allocator<FileSys::NCA> const&, std::shared_ptr<FileSys::VfsFile> const&) /usr/include/c++/8/bits/shared_ptr.h:360 (yuzu+0x2e0469)
#6 std::shared_ptr<FileSys::NCA> std::allocate_shared<FileSys::NCA, std::allocator<FileSys::NCA>, std::shared_ptr<FileSys::VfsFile> const&>(std::allocator<FileSys::NCA> const&, std::shared_ptr<FileSys::VfsFile> const&) /usr/include/c++/8/bits/shared_ptr.h:707 (yuzu+0x2e0469)
#7 std::shared_ptr<FileSys::NCA> std::make_shared<FileSys::NCA, std::shared_ptr<FileSys::VfsFile> const&>(std::shared_ptr<FileSys::VfsFile> const&) /usr/include/c++/8/bits/shared_ptr.h:723 (yuzu+0x2e0469)
#8 FileSys::XCI::AddNCAFromPartition(FileSys::XCIPartition) /home/zachhilman/CLionProjects/yuzu/src/core/file_sys/card_image.cpp:138 (yuzu+0x2e0469)
#9 FileSys::XCI::XCI(std::shared_ptr<FileSys::VfsFile>) /home/zachhilman/CLionProjects/yuzu/src/core/file_sys/card_image.cpp:43 (yuzu+0x2e1444)
#10 Loader::AppLoader_XCI::IdentifyType(std::shared_ptr<FileSys::VfsFile> const&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:52 (yuzu+0x2bd472)
#11 Loader::IdentifyFile(std::shared_ptr<FileSys::VfsFile>) /home/zachhilman/CLionProjects/yuzu/src/core/loader/loader.cpp:39 (yuzu+0x2b47ff)
#12 Loader::GetLoader(std::shared_ptr<FileSys::VfsFile>) /home/zachhilman/CLionProjects/yuzu/src/core/loader/loader.cpp:178 (yuzu+0x2b4cfa)
#13 operator() /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:441 (yuzu+0x1dded3)
#14 _M_invoke /usr/include/c++/8/bits/std_function.h:282 (yuzu+0x1dfc9c)
#15 std::function<bool (unsigned long*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>::operator()(unsigned long*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const /usr/include/c++/8/bits/std_function.h:687 (yuzu+0x2030d3)
#16 FileUtil::ForeachDirectoryEntry(unsigned long*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<bool (unsigned long*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>) /home/zachhilman/CLionProjects/yuzu/src/common/file_util.cpp:425 (yuzu+0x2030d3)
#17 GameListWorker::AddFstEntriesToGameList(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:495 (yuzu+0x1dbade)
#18 GameListWorker::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:501 (yuzu+0x1dbcc7)
#19 <null> <null> (libQt5Core.so.5+0xa92a1)
Previous write of size 8 at 0x55bcf8a7a708 by main thread:
#0 Log::Impl::SetGlobalFilter(Log::Filter const&) /home/zachhilman/CLionProjects/yuzu/src/common/logging/backend.cpp:65 (yuzu+0x20a54b)
#1 Log::SetGlobalFilter(Log::Filter const&) /home/zachhilman/CLionProjects/yuzu/src/common/logging/backend.cpp:287 (yuzu+0x20a54b)
#2 InitializeLogging /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:948 (yuzu+0x139f5d)
#3 main /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:972 (yuzu+0x139f5d)
Location is global 'Log::Impl::Instance()::backend' of size 320 at 0x55bcf8a7a620 (yuzu+0x0000014e2708)
Thread T6 'Thread (pooled)' (tid=14227, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::GMainWindow() /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:117 (yuzu+0x1ef467)
#3 main /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:970 (yuzu+0x139f0b)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/common/logging/backend.cpp:305 in Log::FmtLogMessageImpl(Log::Class, Log::Level, char const*, unsigned int, char const*, char const*, fmt::v5::format_args const&)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b0c00024750 by main thread:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 QXcbConnection::processXcbEvents() <null> (libQt5XcbQpa.so.5+0x3c4bf)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Previous write of size 8 at 0x7b0c00024750 by thread T1 (mutexes: write M144):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 <null> <null> (libxcb.so.1+0xdc5b)
Mutex M144 (0x7ba800000018) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 xcb_connect_to_fd <null> (libxcb.so.1+0xb422)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T1 'QXcbEventReader' (tid=14221, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b0800059bf0 by thread T6:
#0 operator delete(void*) <null> (libtsan.so.0+0x74df1)
#1 QtPrivate::QSlotObject<void (GameList::*)(QList<QStandardItem*> const&), QtPrivate::List<QList<QStandardItem*> >, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:117 (yuzu+0x1e02e1)
#2 QObject::~QObject() <null> (libQt5Core.so.5+0x2c080e)
#3 <null> <null> (libQt5Core.so.5+0xa92d6)
Previous read of size 8 at 0x7b0800059bf0 by main thread:
#0 QtPrivate::QSlotObject<void (GameList::*)(QList<QStandardItem*> const&), QtPrivate::List<QList<QStandardItem*> >, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:127 (yuzu+0x1e0278)
#1 QObject::event(QEvent*) <null> (libQt5Core.so.5+0x2ba121)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T6 'Thread (pooled)' (tid=14227, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::GMainWindow() /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:117 (yuzu+0x1ef467)
#3 main /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:970 (yuzu+0x139f0b)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x74df1) in operator delete(void*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b0800059bf8 by thread T6:
#0 operator delete(void*) <null> (libtsan.so.0+0x74df1)
#1 QtPrivate::QSlotObject<void (GameList::*)(QList<QStandardItem*> const&), QtPrivate::List<QList<QStandardItem*> >, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:117 (yuzu+0x1e02e1)
#2 QObject::~QObject() <null> (libQt5Core.so.5+0x2c080e)
#3 <null> <null> (libQt5Core.so.5+0xa92d6)
Previous read of size 8 at 0x7b0800059bf8 by main thread:
#0 QtPrivate::QSlotObject<void (GameList::*)(QList<QStandardItem*> const&), QtPrivate::List<QList<QStandardItem*> >, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:127 (yuzu+0x1e0285)
#1 QObject::event(QEvent*) <null> (libQt5Core.so.5+0x2ba121)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T6 'Thread (pooled)' (tid=14227, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::GMainWindow() /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:117 (yuzu+0x1ef467)
#3 main /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:970 (yuzu+0x139f0b)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x74df1) in operator delete(void*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b08000594f0 by thread T6:
#0 operator delete(void*) <null> (libtsan.so.0+0x74df1)
#1 QtPrivate::QSlotObject<void (GameList::*)(QStringList), QtPrivate::List<QStringList>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:117 (yuzu+0x1e10dd)
#2 QObject::~QObject() <null> (libQt5Core.so.5+0x2c080e)
#3 <null> <null> (libQt5Core.so.5+0xa92d6)
Previous read of size 8 at 0x7b08000594f0 by main thread:
#0 QtPrivate::QSlotObject<void (GameList::*)(QStringList), QtPrivate::List<QStringList>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:127 (yuzu+0x1e1078)
#1 QObject::event(QEvent*) <null> (libQt5Core.so.5+0x2ba121)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T6 'Thread (pooled)' (tid=14227, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::GMainWindow() /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:117 (yuzu+0x1ef467)
#3 main /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:970 (yuzu+0x139f0b)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x74df1) in operator delete(void*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b08000594f8 by thread T6:
#0 operator delete(void*) <null> (libtsan.so.0+0x74df1)
#1 QtPrivate::QSlotObject<void (GameList::*)(QStringList), QtPrivate::List<QStringList>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:117 (yuzu+0x1e10dd)
#2 QObject::~QObject() <null> (libQt5Core.so.5+0x2c080e)
#3 <null> <null> (libQt5Core.so.5+0xa92d6)
Previous read of size 8 at 0x7b08000594f8 by main thread:
#0 QtPrivate::QSlotObject<void (GameList::*)(QStringList), QtPrivate::List<QStringList>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:127 (yuzu+0x1e1085)
#1 QObject::event(QEvent*) <null> (libQt5Core.so.5+0x2ba121)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T6 'Thread (pooled)' (tid=14227, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::GMainWindow() /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:117 (yuzu+0x1ef467)
#3 main /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:970 (yuzu+0x139f0b)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x74df1) in operator delete(void*)
==================
------- GAME START --------->>>
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b9000014d80 by main thread:
#0 memmove <null> (libtsan.so.0+0x3273d)
#1 QCoreApplication::postEvent(QObject*, QEvent*, int) <null> (libQt5Core.so.5+0x28e13e)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Previous write of size 8 at 0x7b9000014d80 by thread T1:
#0 memmove <null> (libtsan.so.0+0x3273d)
#1 QCoreApplication::postEvent(QObject*, QEvent*, int) <null> (libQt5Core.so.5+0x28e13e)
Location is heap block of size 8192 at 0x7b9000014000 allocated by main thread:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) <null> (libQt5Core.so.5+0xad8c1)
#2 main /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:970 (yuzu+0x139f0b)
Thread T1 'QXcbEventReader' (tid=14221, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x3273d) in memmove
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x55bcf8b16840 by main thread:
#0 CoreTiming::GetTicks() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:116 (yuzu+0x2296eb)
#1 CoreTiming::GetGlobalTimeUs() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:230 (yuzu+0x2296eb)
#2 Core::System::GetAndResetPerfStats() /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:136 (yuzu+0x22321a)
#3 GMainWindow::UpdateStatusBar() /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:758 (yuzu+0x1e6df8)
#4 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (GMainWindow::*)()>::call(void (GMainWindow::*)(), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1efbef)
#5 void QtPrivate::FunctionPointer<void (GMainWindow::*)()>::call<QtPrivate::List<>, void>(void (GMainWindow::*)(), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1efbef)
#6 QtPrivate::QSlotObject<void (GMainWindow::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1efbef)
#7 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#8 __libc_start_main <null> (libc.so.6+0x21b96)
Previous write of size 8 at 0x55bcf8b16840 by thread T10:
#0 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:201 (yuzu+0x22a525)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Location is global 'CoreTiming::global_timer' of size 8 at 0x55bcf8b16840 (yuzu+0x00000157e840)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:116 in CoreTiming::GetTicks()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 1 at 0x55bcf8b16760 by main thread:
#0 CoreTiming::GetTicks() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:117 (yuzu+0x2296fe)
#1 CoreTiming::GetGlobalTimeUs() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:230 (yuzu+0x2296fe)
#2 Core::System::GetAndResetPerfStats() /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:136 (yuzu+0x22321a)
#3 GMainWindow::UpdateStatusBar() /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:758 (yuzu+0x1e6df8)
#4 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (GMainWindow::*)()>::call(void (GMainWindow::*)(), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1efbef)
#5 void QtPrivate::FunctionPointer<void (GMainWindow::*)()>::call<QtPrivate::List<>, void>(void (GMainWindow::*)(), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1efbef)
#6 QtPrivate::QSlotObject<void (GMainWindow::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1efbef)
#7 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#8 __libc_start_main <null> (libc.so.6+0x21b96)
Previous write of size 1 at 0x55bcf8b16760 by thread T10:
#0 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:204 (yuzu+0x22a54e)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Location is global 'CoreTiming::is_global_timer_sane' of size 1 at 0x55bcf8b16760 (yuzu+0x00000157e760)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:117 in CoreTiming::GetTicks()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x55bcf8b1683c by main thread:
#0 CoreTiming::GetTicks() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:118 (yuzu+0x229713)
#1 CoreTiming::GetGlobalTimeUs() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:230 (yuzu+0x229713)
#2 Core::System::GetAndResetPerfStats() /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:136 (yuzu+0x22321a)
#3 GMainWindow::UpdateStatusBar() /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:758 (yuzu+0x1e6df8)
#4 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (GMainWindow::*)()>::call(void (GMainWindow::*)(), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1efbef)
#5 void QtPrivate::FunctionPointer<void (GMainWindow::*)()>::call<QtPrivate::List<>, void>(void (GMainWindow::*)(), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1efbef)
#6 QtPrivate::QSlotObject<void (GMainWindow::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1efbef)
#7 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#8 __libc_start_main <null> (libc.so.6+0x21b96)
Previous write of size 4 at 0x55bcf8b1683c by thread T10:
#0 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:202 (yuzu+0x22a538)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Location is global 'CoreTiming::slice_length' of size 4 at 0x55bcf8b1683c (yuzu+0x00000157e83c)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:118 in CoreTiming::GetTicks()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x55bcf8b16838 by main thread:
#0 CoreTiming::GetTicks() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:118 (yuzu+0x229725)
#1 CoreTiming::GetGlobalTimeUs() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:230 (yuzu+0x229725)
#2 Core::System::GetAndResetPerfStats() /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:136 (yuzu+0x22321a)
#3 GMainWindow::UpdateStatusBar() /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:758 (yuzu+0x1e6df8)
#4 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (GMainWindow::*)()>::call(void (GMainWindow::*)(), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1efbef)
#5 void QtPrivate::FunctionPointer<void (GMainWindow::*)()>::call<QtPrivate::List<>, void>(void (GMainWindow::*)(), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1efbef)
#6 QtPrivate::QSlotObject<void (GMainWindow::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1efbef)
#7 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#8 __libc_start_main <null> (libc.so.6+0x21b96)
Previous write of size 4 at 0x55bcf8b16838 by thread T10:
#0 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:221 (yuzu+0x22a797)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Location is global 'CoreTiming::downcount' of size 4 at 0x55bcf8b16838 (yuzu+0x00000157e838)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:118 in CoreTiming::GetTicks()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b24000b08e0 by main thread:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 QXcbConnection::processXcbEvents() <null> (libQt5XcbQpa.so.5+0x3c592)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Previous write of size 8 at 0x7b24000b08e0 by thread T1 (mutexes: write M144):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 <null> <null> (libxcb.so.1+0xdc5b)
Mutex M144 (0x7ba800000018) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 xcb_connect_to_fd <null> (libxcb.so.1+0xb422)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T1 'QXcbEventReader' (tid=14221, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b24000b0900 by main thread:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 QXcbConnection::processXcbEvents() <null> (libQt5XcbQpa.so.5+0x3c592)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Previous write of size 1 at 0x7b24000b0907 by thread T1 (mutexes: write M144):
#0 memcpy <null> (libtsan.so.0+0x328ad)
#1 <null> <null> (libxcb.so.1+0xd66a)
Mutex M144 (0x7ba800000018) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 xcb_connect_to_fd <null> (libxcb.so.1+0xb422)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T1 'QXcbEventReader' (tid=14221, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b24000b0ab0 by main thread:
#0 memmove <null> (libtsan.so.0+0x3273d)
#1 QXcbConnection::xi2HandleEvent(xcb_ge_event_t*) <null> (libQt5XcbQpa.so.5+0x67cfb)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Previous write of size 1 at 0x7b24000b0ab7 by thread T1 (mutexes: write M144):
#0 memcpy <null> (libtsan.so.0+0x328ad)
#1 <null> <null> (libxcb.so.1+0xd66a)
Location is heap block of size 140 at 0x7b24000b0a90 allocated by thread T1:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 <null> <null> (libxcb.so.1+0xdc5b)
Mutex M144 (0x7ba800000018) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 xcb_connect_to_fd <null> (libxcb.so.1+0xb422)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T1 'QXcbEventReader' (tid=14221, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x3273d) in memmove
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b24000b0ab8 by main thread:
#0 memmove <null> (libtsan.so.0+0x3273d)
#1 QXcbConnection::xi2HandleEvent(xcb_ge_event_t*) <null> (libQt5XcbQpa.so.5+0x67cfb)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Previous write of size 8 at 0x7b24000b0ab8 by thread T1 (mutexes: write M144):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 <null> <null> (libxcb.so.1+0xdc5b)
Location is heap block of size 140 at 0x7b24000b0a90 allocated by thread T1:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 <null> <null> (libxcb.so.1+0xdc5b)
Mutex M144 (0x7ba800000018) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 xcb_connect_to_fd <null> (libxcb.so.1+0xb422)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T1 'QXcbEventReader' (tid=14221, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x3273d) in memmove
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b24000b0b40 by main thread:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 QXcbConnection::processXcbEvents() <null> (libQt5XcbQpa.so.5+0x3c592)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Previous write of size 1 at 0x7b24000b0b47 by thread T1 (mutexes: write M144):
#0 memcpy <null> (libtsan.so.0+0x328ad)
#1 <null> <null> (libxcb.so.1+0xd721)
Mutex M144 (0x7ba800000018) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 xcb_connect_to_fd <null> (libxcb.so.1+0xb422)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T1 'QXcbEventReader' (tid=14221, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b0c00064410 by main thread:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 QXcbWindow::handleLeaveNotifyEvent(int, int, unsigned char, unsigned char, unsigned int) <null> (libQt5XcbQpa.so.5+0x514f6)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Previous write of size 8 at 0x7b0c00064410 by thread T1 (mutexes: write M144):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 <null> <null> (libxcb.so.1+0xdc5b)
Mutex M144 (0x7ba800000018) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 xcb_connect_to_fd <null> (libxcb.so.1+0xb422)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T1 'QXcbEventReader' (tid=14221, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b140000dea0 by main thread:
#0 memmove <null> (libtsan.so.0+0x3273d)
#1 QXcbConnection::xi2HandleEvent(xcb_ge_event_t*) <null> (libQt5XcbQpa.so.5+0x67cfb)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Previous write of size 1 at 0x7b140000dea7 by thread T1 (mutexes: write M144):
#0 memcpy <null> (libtsan.so.0+0x328ad)
#1 <null> <null> (libxcb.so.1+0xd721)
Location is heap block of size 80 at 0x7b140000de80 allocated by thread T1:
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 <null> <null> (libxcb.so.1+0xdc5b)
Mutex M144 (0x7ba800000018) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2c7a1)
#1 xcb_connect_to_fd <null> (libxcb.so.1+0xb422)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T1 'QXcbEventReader' (tid=14221, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x3273d) in memmove
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b180011e938 by main thread:
#0 free <null> (libtsan.so.0+0x2b2ea)
#1 <null> <null> (libQt5DBus.so.5+0x2e28d)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
Previous read of size 8 at 0x7b180011e938 by thread T4:
#0 memcpy <null> (libtsan.so.0+0x328ad)
#1 QString::append(QString const&) <null> (libQt5Core.so.5+0x1254de)
Thread T4 'QDBusConnection' (tid=14224, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x2b2ea) in free
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b880000be30 by thread T10 (mutexes: write M34429):
#0 Kernel::Scheduler::GetCurrentThread() const /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:34 (yuzu+0x264d89)
#1 GetNextProcessorId /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:169 (yuzu+0x268126)
#2 Kernel::Thread::ResumeFromWait() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:214 (yuzu+0x268ee8)
#3 StartThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:557 (yuzu+0x2f6338)
#4 SvcWrap<Kernel::StartThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f6338)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4e74f9d0)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 8 at 0x7b880000be30 by thread T7 (mutexes: write M34262):
#0 boost::intrusive_ptr<Kernel::Thread>::swap(boost::intrusive_ptr<Kernel::Thread>&) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:210 (yuzu+0x265f3a)
#1 boost::intrusive_ptr<Kernel::Thread>::operator=(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:160 (yuzu+0x265f3a)
#2 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:99 (yuzu+0x265f3a)
#3 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#4 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#5 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#6 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#7 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#8 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#9 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#10 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#11 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#12 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 5696 at 0x7b880000a800 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Core::Cpu::Cpu(std::shared_ptr<ExclusiveMonitor>, std::shared_ptr<Core::CpuBarrier>, unsigned long) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x228a8d)
#2 void __gnu_cxx::new_allocator<Core::Cpu>::construct<Core::Cpu, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(Core::Cpu*, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/ext/new_allocator.h:136 (yuzu+0x225644)
#3 void std::allocator_traits<std::allocator<Core::Cpu> >::construct<Core::Cpu, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::allocator<Core::Cpu>&, Core::Cpu*, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/alloc_traits.h:475 (yuzu+0x225644)
#4 std::_Sp_counted_ptr_inplace<Core::Cpu, std::allocator<Core::Cpu>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr_base.h:549 (yuzu+0x225644)
#5 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<Core::Cpu, std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::_Sp_make_shared_tag, Core::Cpu*, std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr_base.h:662 (yuzu+0x225644)
#6 std::__shared_ptr<Core::Cpu, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr_base.h:1328 (yuzu+0x225644)
#7 std::shared_ptr<Core::Cpu>::shared_ptr<std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:360 (yuzu+0x225644)
#8 std::shared_ptr<Core::Cpu> std::allocate_shared<Core::Cpu, std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:707 (yuzu+0x225644)
#9 std::shared_ptr<Core::Cpu> std::make_shared<Core::Cpu, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:723 (yuzu+0x225644)
#10 Core::System::Init(Core::Frontend::EmuWindow&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:168 (yuzu+0x225644)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:34 in Kernel::Scheduler::GetCurrentThread() const
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x7f5e82a7f008 by thread T10 (mutexes: write M34429):
#0 Kernel::intrusive_ptr_add_ref(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 (yuzu+0x25f582)
#1 boost::intrusive_ptr<Kernel::Object>::intrusive_ptr<Kernel::Process>(boost::intrusive_ptr<Kernel::Process> const&, boost::detail::sp_enable_if_convertible<Kernel::Process, Kernel::Object>::type) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:86 (yuzu+0x25f582)
#2 Kernel::HandleTable::GetGeneric(unsigned int) const /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/handle_table.cpp:80 (yuzu+0x25f582)
#3 boost::intrusive_ptr<Kernel::Process> Kernel::HandleTable::Get<Kernel::Process>(unsigned int) const /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/handle_table.h:85 (yuzu+0x2fab2d)
#4 QueryProcessMemory /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:432 (yuzu+0x2f513c)
#5 QueryMemory /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:457 (yuzu+0x2f513c)
#6 SvcWrap<Kernel::QueryMemory> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:154 (yuzu+0x2f513c)
#7 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#8 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#9 <null> <null> (0x7f5e4e6814f7)
#10 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#11 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#12 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#13 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#14 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#15 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#16 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 4 at 0x7f5e82a7f008 by thread T7 (mutexes: write M34262):
#0 Kernel::intrusive_ptr_add_ref(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 (yuzu+0x265b98)
#1 boost::intrusive_ptr<Kernel::Process>::intrusive_ptr(boost::intrusive_ptr<Kernel::Process> const&) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:93 (yuzu+0x265b98)
#2 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:82 (yuzu+0x265b98)
#3 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#4 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#5 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#6 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#7 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#8 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#9 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#10 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#11 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#12 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 150995424 at 0x7f5e82a7f000 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Process::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:34 (yuzu+0x262687)
#2 Core::System::Init(Core::Frontend::EmuWindow&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:163 (yuzu+0x225271)
#3 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#4 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#5 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#6 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#7 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#8 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#9 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#10 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#11 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#12 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#13 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#14 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#15 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#16 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 in Kernel::intrusive_ptr_add_ref(Kernel::Object*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7f5e832fe648 by thread T8:
#0 void Memory::Write<unsigned int>(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:173 (yuzu+0x2c70cc)
#1 Memory::Write32(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:451 (yuzu+0x2c266e)
#2 ARM_Dynarmic_Callbacks::MemoryWrite32(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:47 (yuzu+0x2d54ae)
#3 operator() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_emit_x64.cpp:903 (yuzu+0xd35fa4)
#4 DoExclusiveOperation<Dynarmic::BackendX64::A64EmitX64::EmitExclusiveWrite(Dynarmic::BackendX64::A64EmitContext&, Dynarmic::IR::Inst*, size_t)::<lambda(Dynarmic::A64::UserConfig&, u64, u32)>::<lambda()> > /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/../include/dynarmic/A64/exclusive_monitor.h:42 (yuzu+0xd35fa4)
#5 operator() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_emit_x64.cpp:902 (yuzu+0xd35fa4)
#6 _FUN /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_emit_x64.cpp:905 (yuzu+0xd35fa4)
#7 <null> <null> (0x7f5e70e0d294)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#13 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#14 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#15 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#16 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#17 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#18 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 8 at 0x7f5e832fe648 by thread T10:
[failed to restore the stack]
Location is heap block of size 150995424 at 0x7f5e82a7f000 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Process::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:34 (yuzu+0x262687)
#2 Core::System::Init(Core::Frontend::EmuWindow&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:163 (yuzu+0x225271)
#3 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#4 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#5 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#6 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#7 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#8 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#9 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#10 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#11 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#12 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#13 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#14 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#15 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#16 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:173 in void Memory::Write<unsigned int>(unsigned long, unsigned int)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 1 at 0x7b140003c7c0 by thread T10 (mutexes: write M34429):
#0 Core::Cpu::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:119 (yuzu+0x228698)
#1 SignalProcessWideKey /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:714 (yuzu+0x2f8007)
#2 SvcWrap<Kernel::SignalProcessWideKey> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:62 (yuzu+0x2f8007)
#3 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#4 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#5 <null> <null> (0x7f5e4e4cfcc0)
#6 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#7 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#8 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#9 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#10 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#11 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#12 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 1 at 0x7b140003c7c0 by thread T7:
#0 Core::Cpu::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:119 (yuzu+0x2285df)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:97 (yuzu+0x2285df)
#2 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#3 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#4 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#5 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#6 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#7 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#8 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 80 at 0x7b140003c780 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 std::shared_ptr<Core::Cpu>::shared_ptr<std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22576a)
#2 std::shared_ptr<Core::Cpu> std::allocate_shared<Core::Cpu, std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:707 (yuzu+0x22576a)
#3 std::shared_ptr<Core::Cpu> std::make_shared<Core::Cpu, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:723 (yuzu+0x22576a)
#4 Core::System::Init(Core::Frontend::EmuWindow&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:168 (yuzu+0x22576a)
#5 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#6 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#7 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#8 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#9 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#10 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#11 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#12 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#13 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#14 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#15 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#16 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#17 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#18 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:119 in Core::Cpu::PrepareReschedule()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x7b6400063b08 by thread T7 (mutexes: write M34429):
#0 Kernel::intrusive_ptr_add_ref(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 (yuzu+0x2fae3e)
#1 boost::intrusive_ptr<Kernel::Thread>::intrusive_ptr(boost::intrusive_ptr<Kernel::Thread> const&) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:93 (yuzu+0x2fae3e)
#2 void __gnu_cxx::new_allocator<boost::intrusive_ptr<Kernel::Thread> >::construct<boost::intrusive_ptr<Kernel::Thread>, boost::intrusive_ptr<Kernel::Thread> const&>(boost::intrusive_ptr<Kernel::Thread>*, boost::intrusive_ptr<Kernel::Thread> const&) /usr/include/c++/8/ext/new_allocator.h:136 (yuzu+0x2fae3e)
#3 void std::allocator_traits<std::allocator<boost::intrusive_ptr<Kernel::Thread> > >::construct<boost::intrusive_ptr<Kernel::Thread>, boost::intrusive_ptr<Kernel::Thread> const&>(std::allocator<boost::intrusive_ptr<Kernel::Thread> >&, boost::intrusive_ptr<Kernel::Thread>*, boost::intrusive_ptr<Kernel::Thread> const&) /usr/include/c++/8/bits/alloc_traits.h:475 (yuzu+0x2fae3e)
#4 void std::vector<boost::intrusive_ptr<Kernel::Thread>, std::allocator<boost::intrusive_ptr<Kernel::Thread> > >::_M_realloc_insert<boost::intrusive_ptr<Kernel::Thread> const&>(__gnu_cxx::__normal_iterator<boost::intrusive_ptr<Kernel::Thread>*, std::vector<boost::intrusive_ptr<Kernel::Thread>, std::allocator<boost::intrusive_ptr<Kernel::Thread> > > >, boost::intrusive_ptr<Kernel::Thread> const&) /usr/include/c++/8/bits/vector.tcc:436 (yuzu+0x2fae3e)
#5 std::vector<boost::intrusive_ptr<Kernel::Thread>, std::allocator<boost::intrusive_ptr<Kernel::Thread> > >::push_back(boost::intrusive_ptr<Kernel::Thread> const&) /usr/include/c++/8/bits/stl_vector.h:1085 (yuzu+0x2f797d)
#6 operator() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:629 (yuzu+0x2f797d)
#7 SignalProcessWideKey /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:635 (yuzu+0x2f7a76)
#8 SvcWrap<Kernel::SignalProcessWideKey> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:62 (yuzu+0x2f7a76)
#9 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#10 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#11 <null> <null> (0x7f5e79d98140)
#12 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#13 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#14 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#15 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#16 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#17 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#18 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#19 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#20 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#21 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#22 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 4 at 0x7b6400063b08 by thread T10 (mutexes: write M34262):
#0 Kernel::intrusive_ptr_release(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:80 (yuzu+0x265eb5)
#1 boost::intrusive_ptr<Kernel::Thread>::~intrusive_ptr() /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:98 (yuzu+0x265eb5)
#2 boost::intrusive_ptr<Kernel::Thread>::operator=(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:160 (yuzu+0x265eb5)
#3 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:99 (yuzu+0x265eb5)
#4 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#5 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#7 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#8 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#9 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 1112 at 0x7b6400063b00 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 CreateThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:529 (yuzu+0x2f965f)
#3 SvcWrap<Kernel::CreateThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:144 (yuzu+0x2fa5c3)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74a256)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 in Kernel::intrusive_ptr_add_ref(Kernel::Object*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 1 at 0x7b8400025800 by thread T7 (mutexes: write M34429):
#0 Dynarmic::A64::Jit::IsExecuting() const /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:350 (yuzu+0xcb6120)
#1 ARM_Dynarmic::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:237 (yuzu+0x2d4627)
#2 Core::Cpu::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:118 (yuzu+0x22868f)
#3 SignalProcessWideKey /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:714 (yuzu+0x2f8007)
#4 SvcWrap<Kernel::SignalProcessWideKey> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:62 (yuzu+0x2f8007)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e79d98140)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#13 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#14 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#15 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#16 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#17 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#18 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 1 at 0x7b8400025800 by thread T10:
#0 Dynarmic::A64::Jit::Impl::Run()::{lambda()#2}::operator()() const /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:52 (yuzu+0xcb70c0)
#1 Dynarmic::detail::ScopeExit<Dynarmic::A64::Jit::Impl::Run()::{lambda()#2}>::~ScopeExit() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/./common/scope_exit.h:26 (yuzu+0xcb70c0)
#2 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:52 (yuzu+0xcb70c0)
#3 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb70c0)
#4 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#5 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#6 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#7 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#8 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 4912 at 0x7b8400025800 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 std::_MakeUniq<Dynarmic::A64::Jit::Impl>::__single_object std::make_unique<Dynarmic::A64::Jit::Impl, Dynarmic::A64::UserConfig&>(Dynarmic::A64::UserConfig&) /usr/include/c++/8/bits/unique_ptr.h:831 (yuzu+0xcb627a)
#2 Dynarmic::A64::Jit::Jit(Dynarmic::A64::UserConfig) /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:249 (yuzu+0xcb627a)
#3 std::_MakeUniq<Dynarmic::A64::Jit>::__single_object std::make_unique<Dynarmic::A64::Jit, Dynarmic::A64::UserConfig&>(Dynarmic::A64::UserConfig&) /usr/include/c++/8/bits/unique_ptr.h:831 (yuzu+0x2d4aec)
#4 ARM_Dynarmic::MakeJit() const /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:128 (yuzu+0x2d4aec)
#5 ARM_Dynarmic::PageTableChanged() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:251 (yuzu+0x2d4b66)
#6 Memory::SetCurrentPageTable(Memory::PageTable*) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:33 (yuzu+0x2c0ab2)
#7 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:382 (yuzu+0x26bfe3)
#8 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#9 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#10 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#11 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#12 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#13 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#14 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#15 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#16 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#17 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#18 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#19 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#20 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#21 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#22 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#23 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#24 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#25 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:350 in Dynarmic::A64::Jit::IsExecuting() const
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 1 at 0x7b1400043200 by thread T7 (mutexes: write M34429):
#0 Core::Cpu::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:119 (yuzu+0x228698)
#1 SignalProcessWideKey /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:714 (yuzu+0x2f8007)
#2 SvcWrap<Kernel::SignalProcessWideKey> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:62 (yuzu+0x2f8007)
#3 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#4 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#5 <null> <null> (0x7f5e79d98140)
#6 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#7 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#8 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#9 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#10 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#11 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#12 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#13 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#14 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#15 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#16 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 1 at 0x7b1400043200 by thread T10:
#0 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:127 (yuzu+0x22855c)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x22855c)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 80 at 0x7b14000431c0 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 std::shared_ptr<Core::Cpu>::shared_ptr<std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22576a)
#2 std::shared_ptr<Core::Cpu> std::allocate_shared<Core::Cpu, std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:707 (yuzu+0x22576a)
#3 std::shared_ptr<Core::Cpu> std::make_shared<Core::Cpu, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:723 (yuzu+0x22576a)
#4 Core::System::Init(Core::Frontend::EmuWindow&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:168 (yuzu+0x22576a)
#5 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#6 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#7 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#8 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#9 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#10 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#11 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#12 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#13 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#14 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#15 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#16 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#17 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#18 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:119 in Core::Cpu::PrepareReschedule()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 4 at 0x7b6400063e44 by thread T7 (mutexes: write M34429):
#0 Kernel::Thread::ResumeFromWait() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:212 (yuzu+0x268ec6)
#1 Kernel::Mutex::Release(unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/mutex.cpp:128 (yuzu+0x452b39)
#2 ArbitrateUnlock /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:249 (yuzu+0x2f479b)
#3 SvcWrap<Kernel::ArbitrateUnlock> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:31 (yuzu+0x2f479b)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e79dd37d0)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Previous read of size 4 at 0x7b6400063e44 by thread T10 (mutexes: write M34262):
#0 Kernel::Scheduler::PopNextReadyThread() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:41 (yuzu+0x264dec)
#1 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:109 (yuzu+0x2661c6)
#2 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#3 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#4 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#5 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#6 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 1112 at 0x7b6400063b00 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 CreateThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:529 (yuzu+0x2f965f)
#3 SvcWrap<Kernel::CreateThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:144 (yuzu+0x2fa5c3)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74a256)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:212 in Kernel::Thread::ResumeFromWait()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x55bcf8b167d8 by thread T8 (mutexes: write M34429):
#0 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:105 (yuzu+0x22b2be)
#1 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#2 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#3 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#4 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#5 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#6 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#7 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#8 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#9 <null> <null> (0x7f5e70e74f90)
#10 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#11 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#12 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#13 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#14 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#15 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#16 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#17 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#18 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#19 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#20 <null> <null> (libstdc++.so.6+0xbe732)
Previous read of size 8 at 0x55bcf8b167d8 by thread T10:
#0 std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::empty() const /usr/include/c++/8/bits/stl_vector.h:895 (yuzu+0x22a561)
#1 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:206 (yuzu+0x22a561)
#2 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#3 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#4 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#5 <null> <null> (libQt5Core.so.5+0xac16c)
Location is global 'CoreTiming::event_queue' of size 24 at 0x55bcf8b167d0 (yuzu+0x00000157e7d8)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/vector.tcc:105 in CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b2000040180 by thread T8 (mutexes: write M34429):
#0 void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&) /usr/include/c++/8/bits/stl_heap.h:139 (yuzu+0x22b3fd)
#1 void std::push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, std::greater<void> >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, __gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, std::greater<void>) /usr/include/c++/8/bits/stl_heap.h:207 (yuzu+0x229db9)
#2 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:144 (yuzu+0x229db9)
#3 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#4 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#5 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#6 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#7 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#8 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#9 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#10 <null> <null> (0x7f5e70e74f90)
#11 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#12 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#13 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#14 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#15 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#16 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#17 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#18 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#19 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#20 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#21 <null> <null> (libstdc++.so.6+0xbe732)
Previous read of size 8 at 0x7b2000040180 by thread T10:
#0 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:206 (yuzu+0x22a593)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 128 at 0x7b2000040180 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e4e4c2e60)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#20 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#21 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/stl_heap.h:139 in void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x7b6400057808 by thread T10 (mutexes: write M34262):
#0 Kernel::intrusive_ptr_add_ref(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 (yuzu+0x265bbf)
#1 boost::intrusive_ptr<Kernel::Thread>::intrusive_ptr(Kernel::Thread*, bool) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:69 (yuzu+0x265bbf)
#2 boost::intrusive_ptr<Kernel::Thread>::operator=(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:160 (yuzu+0x265bbf)
#3 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:84 (yuzu+0x265bbf)
#4 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#5 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#7 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#8 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#9 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 4 at 0x7b6400057808 by thread T7 (mutexes: write M34429):
#0 Kernel::intrusive_ptr_release(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:80 (yuzu+0x452c05)
#1 boost::intrusive_ptr<Kernel::Thread>::~intrusive_ptr() /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:98 (yuzu+0x452c05)
#2 std::pair<boost::intrusive_ptr<Kernel::Thread>, unsigned int>::~pair() /usr/include/c++/8/bits/stl_pair.h:198 (yuzu+0x452c05)
#3 Kernel::Mutex::Release(unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/mutex.cpp:106 (yuzu+0x452c05)
#4 ArbitrateUnlock /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:249 (yuzu+0x2f479b)
#5 SvcWrap<Kernel::ArbitrateUnlock> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:31 (yuzu+0x2f479b)
#6 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#7 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#8 <null> <null> (0x7f5e79dd37d0)
#9 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#10 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#11 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#12 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#13 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#14 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#15 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#16 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#17 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#18 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#19 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 1112 at 0x7b6400057800 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#3 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#4 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#5 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#6 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#7 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#8 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#9 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#10 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#12 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#13 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#16 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#17 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#18 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#19 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#20 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 in Kernel::intrusive_ptr_add_ref(Kernel::Object*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 1 at 0x7b840000c800 by thread T10:
#0 Dynarmic::A64::Jit::IsExecuting() const /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:350 (yuzu+0xcb6120)
#1 ARM_Dynarmic::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:237 (yuzu+0x2d4627)
#2 Core::Cpu::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:118 (yuzu+0x22868f)
#3 Kernel::Thread::ResumeFromWait() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:243 (yuzu+0x2691dd)
#4 ThreadWakeupCallback /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:150 (yuzu+0x26aa67)
#5 std::_Function_handler<void (unsigned long, int), void (*)(unsigned long, int)>::_M_invoke(std::_Any_data const&, unsigned long&&, int&&) /usr/include/c++/8/bits/std_function.h:297 (yuzu+0x26c46d)
#6 std::function<void (unsigned long, int)>::operator()(unsigned long, int) const /usr/include/c++/8/bits/std_function.h:687 (yuzu+0x22a631)
#7 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:210 (yuzu+0x22a631)
#8 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#9 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#10 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#11 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 1 at 0x7b840000c800 by thread T8:
#0 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:51 (yuzu+0xcb6f72)
#1 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6f72)
#2 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#3 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#4 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#5 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#6 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#7 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#8 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#9 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#10 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 4912 at 0x7b840000c800 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 std::_MakeUniq<Dynarmic::A64::Jit::Impl>::__single_object std::make_unique<Dynarmic::A64::Jit::Impl, Dynarmic::A64::UserConfig&>(Dynarmic::A64::UserConfig&) /usr/include/c++/8/bits/unique_ptr.h:831 (yuzu+0xcb627a)
#2 Dynarmic::A64::Jit::Jit(Dynarmic::A64::UserConfig) /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:249 (yuzu+0xcb627a)
#3 std::_MakeUniq<Dynarmic::A64::Jit>::__single_object std::make_unique<Dynarmic::A64::Jit, Dynarmic::A64::UserConfig&>(Dynarmic::A64::UserConfig&) /usr/include/c++/8/bits/unique_ptr.h:831 (yuzu+0x2d4aec)
#4 ARM_Dynarmic::MakeJit() const /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:128 (yuzu+0x2d4aec)
#5 ARM_Dynarmic::PageTableChanged() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:251 (yuzu+0x2d4b66)
#6 Memory::SetCurrentPageTable(Memory::PageTable*) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:35 (yuzu+0x2c0b0e)
#7 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:382 (yuzu+0x26bfe3)
#8 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#9 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#10 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#11 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#12 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#13 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#14 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#15 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#16 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#17 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#18 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#19 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#20 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#21 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#22 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#23 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#24 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#25 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:350 in Dynarmic::A64::Jit::IsExecuting() const
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 1 at 0x7b140003bb90 by thread T10:
#0 Core::Cpu::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:119 (yuzu+0x228698)
#1 Kernel::Thread::ResumeFromWait() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:243 (yuzu+0x2691dd)
#2 ThreadWakeupCallback /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:150 (yuzu+0x26aa67)
#3 std::_Function_handler<void (unsigned long, int), void (*)(unsigned long, int)>::_M_invoke(std::_Any_data const&, unsigned long&&, int&&) /usr/include/c++/8/bits/std_function.h:297 (yuzu+0x26c46d)
#4 std::function<void (unsigned long, int)>::operator()(unsigned long, int) const /usr/include/c++/8/bits/std_function.h:687 (yuzu+0x22a631)
#5 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:210 (yuzu+0x22a631)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#7 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#8 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#9 <null> <null> (libQt5Core.so.5+0xac16c)
Previous read of size 1 at 0x7b140003bb90 by thread T8:
#0 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:123 (yuzu+0x22854e)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x22854e)
#2 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#3 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#4 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#5 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#6 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#7 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#8 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 80 at 0x7b140003bb50 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 std::shared_ptr<Core::Cpu>::shared_ptr<std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22576a)
#2 std::shared_ptr<Core::Cpu> std::allocate_shared<Core::Cpu, std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:707 (yuzu+0x22576a)
#3 std::shared_ptr<Core::Cpu> std::make_shared<Core::Cpu, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:723 (yuzu+0x22576a)
#4 Core::System::Init(Core::Frontend::EmuWindow&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:168 (yuzu+0x22576a)
#5 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#6 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#7 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#8 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#9 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#10 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#11 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#12 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#13 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#14 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#15 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#16 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#17 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#18 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:119 in Core::Cpu::PrepareReschedule()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x7b6400063108 by thread T10:
#0 Kernel::intrusive_ptr_release(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:80 (yuzu+0x26a954)
#1 boost::intrusive_ptr<Kernel::Thread>::~intrusive_ptr() /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:98 (yuzu+0x26a954)
#2 ThreadWakeupCallback /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:107 (yuzu+0x26a954)
#3 std::_Function_handler<void (unsigned long, int), void (*)(unsigned long, int)>::_M_invoke(std::_Any_data const&, unsigned long&&, int&&) /usr/include/c++/8/bits/std_function.h:297 (yuzu+0x26c46d)
#4 std::function<void (unsigned long, int)>::operator()(unsigned long, int) const /usr/include/c++/8/bits/std_function.h:687 (yuzu+0x22a631)
#5 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:210 (yuzu+0x22a631)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#7 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#8 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#9 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 4 at 0x7b6400063108 by thread T8 (mutexes: write M34262):
#0 Kernel::intrusive_ptr_add_ref(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 (yuzu+0x265bd4)
#1 boost::intrusive_ptr<Kernel::Thread>::intrusive_ptr(Kernel::Thread*, bool) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:69 (yuzu+0x265bd4)
#2 boost::intrusive_ptr<Kernel::Thread>::operator=(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:160 (yuzu+0x265bd4)
#3 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:84 (yuzu+0x265bd4)
#4 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#5 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#7 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#8 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#9 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#10 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#11 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#12 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#13 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 1112 at 0x7b6400063100 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 CreateThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:529 (yuzu+0x2f965f)
#3 SvcWrap<Kernel::CreateThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:144 (yuzu+0x2fa5c3)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74a256)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:80 in Kernel::intrusive_ptr_release(Kernel::Object*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x7b6400062c08 by thread T8 (mutexes: write M34262):
#0 Kernel::intrusive_ptr_add_ref(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 (yuzu+0x265bbf)
#1 boost::intrusive_ptr<Kernel::Thread>::intrusive_ptr(Kernel::Thread*, bool) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:69 (yuzu+0x265bbf)
#2 boost::intrusive_ptr<Kernel::Thread>::operator=(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:160 (yuzu+0x265bbf)
#3 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:84 (yuzu+0x265bbf)
#4 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#5 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#7 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#8 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#9 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#10 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#11 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#12 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#13 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 4 at 0x7b6400062c08 by thread T10 (mutexes: write M34429):
#0 Kernel::intrusive_ptr_release(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:80 (yuzu+0x452c05)
#1 boost::intrusive_ptr<Kernel::Thread>::~intrusive_ptr() /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:98 (yuzu+0x452c05)
#2 std::pair<boost::intrusive_ptr<Kernel::Thread>, unsigned int>::~pair() /usr/include/c++/8/bits/stl_pair.h:198 (yuzu+0x452c05)
#3 Kernel::Mutex::Release(unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/mutex.cpp:106 (yuzu+0x452c05)
#4 ArbitrateUnlock /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:249 (yuzu+0x2f479b)
#5 SvcWrap<Kernel::ArbitrateUnlock> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:31 (yuzu+0x2f479b)
#6 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#7 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#8 <null> <null> (0x7f5e4e7c0180)
#9 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#10 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#11 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#12 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#13 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#14 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#15 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 1112 at 0x7b6400062c00 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 CreateThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:529 (yuzu+0x2f965f)
#3 SvcWrap<Kernel::CreateThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:144 (yuzu+0x2fa5c3)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74a256)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 in Kernel::intrusive_ptr_add_ref(Kernel::Object*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x7b6400063608 by thread T10 (mutexes: write M34429):
#0 Kernel::intrusive_ptr_add_ref(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 (yuzu+0x25f530)
#1 boost::intrusive_ptr<Kernel::Object>::intrusive_ptr(boost::intrusive_ptr<Kernel::Object> const&) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:93 (yuzu+0x25f530)
#2 Kernel::HandleTable::GetGeneric(unsigned int) const /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/handle_table.cpp:86 (yuzu+0x25f530)
#3 boost::intrusive_ptr<Kernel::Thread> Kernel::HandleTable::Get<Kernel::Thread>(unsigned int) const /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/handle_table.h:85 (yuzu+0x451f6d)
#4 Kernel::Mutex::TryAcquire(unsigned long, unsigned int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/mutex.cpp:68 (yuzu+0x451f6d)
#5 ArbitrateLock /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:242 (yuzu+0x2f295e)
#6 SvcWrap<Kernel::ArbitrateLock> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:101 (yuzu+0x2f295e)
#7 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#8 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#9 <null> <null> (0x7f5e4e97cc30)
#10 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#11 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#12 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#13 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#14 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#15 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#16 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 4 at 0x7b6400063608 by thread T7 (mutexes: write M34262):
#0 Kernel::intrusive_ptr_add_ref(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 (yuzu+0x265bd4)
#1 boost::intrusive_ptr<Kernel::Thread>::intrusive_ptr(Kernel::Thread*, bool) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:69 (yuzu+0x265bd4)
#2 boost::intrusive_ptr<Kernel::Thread>::operator=(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:160 (yuzu+0x265bd4)
#3 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:84 (yuzu+0x265bd4)
#4 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#5 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#7 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#8 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#9 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#10 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#11 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#12 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#13 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 1112 at 0x7b6400063600 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 CreateThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:529 (yuzu+0x2f965f)
#3 SvcWrap<Kernel::CreateThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:144 (yuzu+0x2fa5c3)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74a256)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 in Kernel::intrusive_ptr_add_ref(Kernel::Object*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b20000401b0 by thread T10:
#0 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:252 (yuzu+0x22a6f3)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Previous read of size 8 at 0x7b20000401b0 by thread T8 (mutexes: write M34262):
#0 operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x22a148)
#1 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:148 (yuzu+0x22a148)
#2 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:161 (yuzu+0x22a148)
#3 __remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:863 (yuzu+0x22a148)
#4 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/stl_algo.h:939 (yuzu+0x22a148)
#5 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x22a148)
#6 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#7 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#8 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#9 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 128 at 0x7b2000040180 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e4e4c2e60)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#20 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#21 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/stl_heap.h:252 in CoreTiming::Advance()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b20000401b8 by thread T10:
#0 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:252 (yuzu+0x22a6f3)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Previous read of size 8 at 0x7b20000401b8 by thread T8 (mutexes: write M34262):
#0 operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x22a155)
#1 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:148 (yuzu+0x22a155)
#2 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:161 (yuzu+0x22a155)
#3 __remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:863 (yuzu+0x22a155)
#4 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/stl_algo.h:939 (yuzu+0x22a155)
#5 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x22a155)
#6 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#7 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#8 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#9 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 128 at 0x7b2000040180 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e4e4c2e60)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#20 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#21 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/stl_heap.h:252 in CoreTiming::Advance()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b2000040190 by thread T10:
#0 void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&) /usr/include/c++/8/bits/stl_heap.h:139 (yuzu+0x22b3fd)
#1 void std::__adjust_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> >) /usr/include/c++/8/bits/stl_heap.h:237 (yuzu+0x22b63f)
#2 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:253 (yuzu+0x22a73d)
#3 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#4 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#5 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#6 <null> <null> (libQt5Core.so.5+0xac16c)
Previous read of size 8 at 0x7b2000040190 by thread T8 (mutexes: write M34262):
#0 operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x22a128)
#1 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:144 (yuzu+0x22a128)
#2 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:161 (yuzu+0x22a128)
#3 __remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:863 (yuzu+0x22a128)
#4 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/stl_algo.h:939 (yuzu+0x22a128)
#5 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x22a128)
#6 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#7 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#8 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#9 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 128 at 0x7b2000040180 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e4e4c2e60)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#20 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#21 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/stl_heap.h:139 in void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b2000040198 by thread T10:
#0 void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&) /usr/include/c++/8/bits/stl_heap.h:139 (yuzu+0x22b3fd)
#1 void std::__adjust_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> >) /usr/include/c++/8/bits/stl_heap.h:237 (yuzu+0x22b63f)
#2 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:253 (yuzu+0x22a73d)
#3 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#4 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#5 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#6 <null> <null> (libQt5Core.so.5+0xac16c)
Previous read of size 8 at 0x7b2000040198 by thread T8 (mutexes: write M34262):
#0 operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x22a135)
#1 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:144 (yuzu+0x22a135)
#2 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:161 (yuzu+0x22a135)
#3 __remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:863 (yuzu+0x22a135)
#4 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/stl_algo.h:939 (yuzu+0x22a135)
#5 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x22a135)
#6 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#7 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#8 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#9 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 128 at 0x7b2000040180 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e4e4c2e60)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#20 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#21 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/stl_heap.h:139 in void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b20000401d0 by thread T10:
#0 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:252 (yuzu+0x22a6f3)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Previous read of size 8 at 0x7b20000401d0 by thread T7 (mutexes: write M34262):
#0 operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x22a148)
#1 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:148 (yuzu+0x22a148)
#2 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:161 (yuzu+0x22a148)
#3 __remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:863 (yuzu+0x22a148)
#4 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/stl_algo.h:939 (yuzu+0x22a148)
#5 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x22a148)
#6 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#7 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#8 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#9 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 128 at 0x7b2000040180 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e4e4c2e60)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#20 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#21 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/stl_heap.h:252 in CoreTiming::Advance()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b20000401d8 by thread T10:
#0 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:252 (yuzu+0x22a6f3)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Previous read of size 8 at 0x7b20000401d8 by thread T7 (mutexes: write M34262):
#0 operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x22a155)
#1 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:148 (yuzu+0x22a155)
#2 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:161 (yuzu+0x22a155)
#3 __remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:863 (yuzu+0x22a155)
#4 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/stl_algo.h:939 (yuzu+0x22a155)
#5 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x22a155)
#6 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#7 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#8 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#9 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 128 at 0x7b2000040180 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e4e4c2e60)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#20 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#21 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/stl_heap.h:252 in CoreTiming::Advance()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 1 at 0x7b840000b400 by thread T7:
#0 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:51 (yuzu+0xcb6f72)
#1 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6f72)
#2 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#3 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#4 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#5 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#6 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#7 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#8 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#9 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#10 <null> <null> (libstdc++.so.6+0xbe732)
Previous read of size 1 at 0x7b840000b400 by thread T10:
#0 Dynarmic::A64::Jit::IsExecuting() const /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:350 (yuzu+0xcb6120)
#1 ARM_Dynarmic::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:237 (yuzu+0x2d4627)
#2 Core::Cpu::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:118 (yuzu+0x22868f)
#3 Kernel::Thread::ResumeFromWait() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:243 (yuzu+0x2691dd)
#4 ThreadWakeupCallback /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:150 (yuzu+0x26aa67)
#5 std::_Function_handler<void (unsigned long, int), void (*)(unsigned long, int)>::_M_invoke(std::_Any_data const&, unsigned long&&, int&&) /usr/include/c++/8/bits/std_function.h:297 (yuzu+0x26c46d)
#6 std::function<void (unsigned long, int)>::operator()(unsigned long, int) const /usr/include/c++/8/bits/std_function.h:687 (yuzu+0x22a631)
#7 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:210 (yuzu+0x22a631)
#8 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#9 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#10 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#11 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 4912 at 0x7b840000b400 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 std::_MakeUniq<Dynarmic::A64::Jit::Impl>::__single_object std::make_unique<Dynarmic::A64::Jit::Impl, Dynarmic::A64::UserConfig&>(Dynarmic::A64::UserConfig&) /usr/include/c++/8/bits/unique_ptr.h:831 (yuzu+0xcb627a)
#2 Dynarmic::A64::Jit::Jit(Dynarmic::A64::UserConfig) /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:249 (yuzu+0xcb627a)
#3 std::_MakeUniq<Dynarmic::A64::Jit>::__single_object std::make_unique<Dynarmic::A64::Jit, Dynarmic::A64::UserConfig&>(Dynarmic::A64::UserConfig&) /usr/include/c++/8/bits/unique_ptr.h:831 (yuzu+0x2d4aec)
#4 ARM_Dynarmic::MakeJit() const /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:128 (yuzu+0x2d4aec)
#5 ARM_Dynarmic::PageTableChanged() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:251 (yuzu+0x2d4b66)
#6 Memory::SetCurrentPageTable(Memory::PageTable*) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:34 (yuzu+0x2c0ae0)
#7 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:382 (yuzu+0x26bfe3)
#8 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#9 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#10 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#11 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#12 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#13 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#14 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#15 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#16 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#17 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#18 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#19 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#20 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#21 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#22 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#23 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#24 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#25 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:51 in Dynarmic::A64::Jit::Impl::Run()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b400001f500 by thread T7 (mutexes: write M34429):
#0 void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&) /usr/include/c++/8/bits/stl_heap.h:139 (yuzu+0x22b3fd)
#1 void std::push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, std::greater<void> >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, __gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, std::greater<void>) /usr/include/c++/8/bits/stl_heap.h:207 (yuzu+0x229db9)
#2 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:144 (yuzu+0x229db9)
#3 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#4 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#5 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#6 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#7 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#8 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#9 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#10 <null> <null> (0x7f5e79f19ab0)
#11 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#12 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#13 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#14 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#15 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#16 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#17 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#18 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#19 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#20 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#21 <null> <null> (libstdc++.so.6+0xbe732)
Previous read of size 8 at 0x7b400001f500 by thread T10:
#0 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:206 (yuzu+0x22a593)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/stl_heap.h:139 in void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x7b6400066808 by thread T7 (mutexes: write M34262):
#0 Kernel::intrusive_ptr_add_ref(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 (yuzu+0x265bbf)
#1 boost::intrusive_ptr<Kernel::Thread>::intrusive_ptr(Kernel::Thread*, bool) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:69 (yuzu+0x265bbf)
#2 boost::intrusive_ptr<Kernel::Thread>::operator=(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:160 (yuzu+0x265bbf)
#3 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:84 (yuzu+0x265bbf)
#4 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#5 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#7 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#8 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#9 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#10 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#11 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#12 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#13 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 4 at 0x7b6400066808 by thread T10:
#0 Kernel::intrusive_ptr_release(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:80 (yuzu+0x27266c)
#1 boost::intrusive_ptr<Kernel::Thread>::~intrusive_ptr() /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:98 (yuzu+0x27266c)
#2 Kernel::WaitObject::WakeupAllWaitingThreads() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/wait_object.cpp:100 (yuzu+0x27266c)
#3 Kernel::Event::WakeupAllWaitingThreads() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/event.cpp:47 (yuzu+0x45193a)
#4 Kernel::Event::Signal() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/event.cpp:39 (yuzu+0x45193a)
#5 operator() /home/zachhilman/CLionProjects/yuzu/src/audio_core/audio_renderer.cpp:22 (yuzu+0x4cf608)
#6 _M_invoke /usr/include/c++/8/bits/std_function.h:297 (yuzu+0x4cf608)
#7 std::function<void ()>::operator()() const /usr/include/c++/8/bits/std_function.h:687 (yuzu+0x4d415b)
#8 AudioCore::Stream::ReleaseActiveBuffer() /home/zachhilman/CLionProjects/yuzu/src/audio_core/stream.cpp:100 (yuzu+0x4d415b)
#9 operator() /home/zachhilman/CLionProjects/yuzu/src/audio_core/stream.cpp:41 (yuzu+0x4d419d)
#10 _M_invoke /usr/include/c++/8/bits/std_function.h:297 (yuzu+0x4d419d)
#11 std::function<void (unsigned long, int)>::operator()(unsigned long, int) const /usr/include/c++/8/bits/std_function.h:687 (yuzu+0x22a631)
#12 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:210 (yuzu+0x22a631)
#13 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#14 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#15 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#16 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 1112 at 0x7b6400066800 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 CreateThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:529 (yuzu+0x2f965f)
#3 SvcWrap<Kernel::CreateThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:144 (yuzu+0x2fa5c3)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74a256)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 in Kernel::intrusive_ptr_add_ref(Kernel::Object*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b400001f550 by thread T7 (mutexes: write M34262):
#0 operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x22a148)
#1 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:148 (yuzu+0x22a148)
#2 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:161 (yuzu+0x22a148)
#3 __remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:863 (yuzu+0x22a148)
#4 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/stl_algo.h:939 (yuzu+0x22a148)
#5 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x22a148)
#6 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#7 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#8 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#9 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 8 at 0x7b400001f550 by thread T10:
#0 void __gnu_cxx::new_allocator<CoreTiming::Event>::construct<CoreTiming::Event, CoreTiming::Event>(CoreTiming::Event*, CoreTiming::Event&&) /usr/include/c++/8/new:169 (yuzu+0x22b295)
#1 void std::allocator_traits<std::allocator<CoreTiming::Event> >::construct<CoreTiming::Event, CoreTiming::Event>(std::allocator<CoreTiming::Event>&, CoreTiming::Event*, CoreTiming::Event&&) /usr/include/c++/8/bits/alloc_traits.h:475 (yuzu+0x22b295)
#2 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:103 (yuzu+0x22b295)
#3 CoreTiming::MoveEvents() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:192 (yuzu+0x22995e)
#4 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:198 (yuzu+0x22a4df)
#5 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#6 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#7 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#8 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/predefined_ops.h:283 in operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > >
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b400001f558 by thread T7 (mutexes: write M34262):
#0 operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x22a155)
#1 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:148 (yuzu+0x22a155)
#2 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:161 (yuzu+0x22a155)
#3 __remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:863 (yuzu+0x22a155)
#4 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/stl_algo.h:939 (yuzu+0x22a155)
#5 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x22a155)
#6 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#7 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#8 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#9 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 8 at 0x7b400001f558 by thread T10:
#0 void __gnu_cxx::new_allocator<CoreTiming::Event>::construct<CoreTiming::Event, CoreTiming::Event>(CoreTiming::Event*, CoreTiming::Event&&) /usr/include/c++/8/new:169 (yuzu+0x22b295)
#1 void std::allocator_traits<std::allocator<CoreTiming::Event> >::construct<CoreTiming::Event, CoreTiming::Event>(std::allocator<CoreTiming::Event>&, CoreTiming::Event*, CoreTiming::Event&&) /usr/include/c++/8/bits/alloc_traits.h:475 (yuzu+0x22b295)
#2 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:103 (yuzu+0x22b295)
#3 CoreTiming::MoveEvents() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:192 (yuzu+0x22995e)
#4 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:198 (yuzu+0x22a4df)
#5 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#6 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#7 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#8 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/predefined_ops.h:283 in operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > >
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 1 at 0x7f5df45ca510 by thread T10:
#0 memcpy /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 (yuzu+0x2c70eb)
#1 void Memory::Write<unsigned int>(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:176 (yuzu+0x2c70eb)
#2 Memory::Write32(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:451 (yuzu+0x2c266e)
#3 ARM_Dynarmic_Callbacks::MemoryWrite32(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:47 (yuzu+0x2d54ae)
#4 operator() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_emit_x64.cpp:903 (yuzu+0xd35fa4)
#5 DoExclusiveOperation<Dynarmic::BackendX64::A64EmitX64::EmitExclusiveWrite(Dynarmic::BackendX64::A64EmitContext&, Dynarmic::IR::Inst*, size_t)::<lambda(Dynarmic::A64::UserConfig&, u64, u32)>::<lambda()> > /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/../include/dynarmic/A64/exclusive_monitor.h:42 (yuzu+0xd35fa4)
#6 operator() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_emit_x64.cpp:902 (yuzu+0xd35fa4)
#7 _FUN /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_emit_x64.cpp:905 (yuzu+0xd35fa4)
#8 <null> <null> (0x7f5e4e4b8fc4)
#9 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#10 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#11 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#12 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#13 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#14 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#15 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 1 at 0x7f5df45ca510 by thread T7 (mutexes: write M34429):
#0 memcpy /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 (yuzu+0x2c70eb)
#1 void Memory::Write<unsigned int>(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:176 (yuzu+0x2c70eb)
#2 Memory::Write32(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:451 (yuzu+0x2c266e)
#3 Kernel::Mutex::Release(unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/mutex.cpp:110 (yuzu+0x452caf)
#4 WaitProcessWideKeyAtomic /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:600 (yuzu+0x2f5948)
#5 SvcWrap<Kernel::WaitProcessWideKeyAtomic> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:129 (yuzu+0x2f5948)
#6 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#7 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#8 <null> <null> (0x7f5e79d97770)
#9 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#10 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#11 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#12 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#13 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#14 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#15 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#16 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#17 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#18 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#19 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 3261071360 at 0x7f5d8b4d3000 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<unsigned char>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x2632aa)
#2 std::allocator_traits<std::allocator<unsigned char> >::allocate(std::allocator<unsigned char>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x2632aa)
#3 std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x2632aa)
#4 std::vector<unsigned char, std::allocator<unsigned char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >, unsigned long, unsigned char const&) /usr/include/c++/8/bits/vector.tcc:530 (yuzu+0x2632aa)
#5 Kernel::Process::HeapAllocate(unsigned long, unsigned long, Kernel::VMAPermission) /usr/include/c++/8/bits/stl_vector.h:1225 (yuzu+0x26217c)
#6 SetHeapSize /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:39 (yuzu+0x2f2d80)
#7 SvcWrap<Kernel::SetHeapSize> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:68 (yuzu+0x2f2d80)
#8 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#9 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#10 <null> <null> (0x7f5e4ddf0cb1)
#11 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#12 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#13 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#14 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#15 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#16 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#17 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 in memcpy
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 4 at 0x7b6400063944 by thread T10 (mutexes: write M34429):
#0 Kernel::Thread::ResumeFromWait() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:212 (yuzu+0x268ec6)
#1 Kernel::Mutex::Release(unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/mutex.cpp:128 (yuzu+0x452b39)
#2 ArbitrateUnlock /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:249 (yuzu+0x2f479b)
#3 SvcWrap<Kernel::ArbitrateUnlock> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:31 (yuzu+0x2f479b)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e7c0180)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Previous read of size 4 at 0x7b6400063944 by thread T7 (mutexes: write M34262):
#0 Kernel::Scheduler::PopNextReadyThread() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:41 (yuzu+0x264dec)
#1 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:109 (yuzu+0x2661c6)
#2 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#3 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#4 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#5 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#6 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#7 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#8 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#9 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#10 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 1112 at 0x7b6400063600 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 CreateThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:529 (yuzu+0x2f965f)
#3 SvcWrap<Kernel::CreateThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:144 (yuzu+0x2fa5c3)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74a256)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:212 in Kernel::Thread::ResumeFromWait()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b400001f510 by thread T7 (mutexes: write M34262):
#0 operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x22a128)
#1 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:144 (yuzu+0x22a128)
#2 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:161 (yuzu+0x22a128)
#3 __remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:863 (yuzu+0x22a128)
#4 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/stl_algo.h:939 (yuzu+0x22a128)
#5 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x22a128)
#6 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#7 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#8 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#9 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 8 at 0x7b400001f510 by thread T10:
#0 void std::__adjust_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> >) /usr/include/c++/8/bits/stl_heap.h:231 (yuzu+0x22b699)
#1 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:253 (yuzu+0x22a73d)
#2 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#3 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#4 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#5 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/predefined_ops.h:283 in operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > >
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b400001f518 by thread T7 (mutexes: write M34262):
#0 operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x22a135)
#1 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:144 (yuzu+0x22a135)
#2 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:161 (yuzu+0x22a135)
#3 __remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:863 (yuzu+0x22a135)
#4 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/stl_algo.h:939 (yuzu+0x22a135)
#5 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x22a135)
#6 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#7 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#8 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#9 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 8 at 0x7b400001f518 by thread T10:
#0 void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&) /usr/include/c++/8/bits/stl_heap.h:139 (yuzu+0x22b3fd)
#1 void std::push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, std::greater<void> >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, __gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, std::greater<void>) /usr/include/c++/8/bits/stl_heap.h:207 (yuzu+0x229db9)
#2 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:144 (yuzu+0x229db9)
#3 Service::HID::IAppletResource::UpdatePadCallback(unsigned long, int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/service/hid/hid.cpp:257 (yuzu+0x3bdc8d)
#4 Service::HID::IAppletResource::IAppletResource()::{lambda(unsigned long, int)#1}::operator()(unsigned long, int) const /home/zachhilman/CLionProjects/yuzu/src/core/hle/service/hid/hid.cpp:44 (yuzu+0x3be3f4)
#5 std::_Function_handler<void (unsigned long, int), Service::HID::IAppletResource::IAppletResource()::{lambda(unsigned long, int)#1}>::_M_invoke(std::_Any_data const&, unsigned long&&, int&&) /usr/include/c++/8/bits/std_function.h:297 (yuzu+0x3be3f4)
#6 std::function<void (unsigned long, int)>::operator()(unsigned long, int) const /usr/include/c++/8/bits/std_function.h:687 (yuzu+0x22a631)
#7 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:210 (yuzu+0x22a631)
#8 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#9 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#10 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#11 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/predefined_ops.h:283 in operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > >
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b400001f530 by thread T7 (mutexes: write M34262):
#0 operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x22a148)
#1 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:148 (yuzu+0x22a148)
#2 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:161 (yuzu+0x22a148)
#3 __remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:863 (yuzu+0x22a148)
#4 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/stl_algo.h:939 (yuzu+0x22a148)
#5 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x22a148)
#6 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#7 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#8 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#9 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 8 at 0x7b400001f530 by thread T10:
#0 void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&) /usr/include/c++/8/bits/stl_heap.h:135 (yuzu+0x22b3a3)
#1 void std::__adjust_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> >) /usr/include/c++/8/bits/stl_heap.h:237 (yuzu+0x22b63f)
#2 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:253 (yuzu+0x22a73d)
#3 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#4 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#5 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#6 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/predefined_ops.h:283 in operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > >
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b400001f538 by thread T7 (mutexes: write M34262):
#0 operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x22a155)
#1 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:148 (yuzu+0x22a155)
#2 __find_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:161 (yuzu+0x22a155)
#3 __remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, __gnu_cxx::__ops::_Iter_pred<CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > > /usr/include/c++/8/bits/stl_algo.h:863 (yuzu+0x22a155)
#4 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/stl_algo.h:939 (yuzu+0x22a155)
#5 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x22a155)
#6 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#7 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#8 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#9 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 8 at 0x7b400001f538 by thread T10:
#0 void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&) /usr/include/c++/8/bits/stl_heap.h:135 (yuzu+0x22b3a3)
#1 void std::__adjust_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> >) /usr/include/c++/8/bits/stl_heap.h:237 (yuzu+0x22b63f)
#2 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:253 (yuzu+0x22a73d)
#3 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:100 (yuzu+0x2285f4)
#4 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#5 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#6 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/predefined_ops.h:283 in operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> > >
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b400001f570 by thread T10:
#0 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:252 (yuzu+0x22a6f3)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Previous read of size 8 at 0x7b400001f570 by thread T8 (mutexes: write M34262):
#0 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x229f5e)
#1 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x229f5e)
#2 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#3 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#4 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#5 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#7 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#8 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#9 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#10 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#11 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#12 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#13 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/stl_heap.h:252 in CoreTiming::Advance()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b400001f578 by thread T10:
#0 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:252 (yuzu+0x22a6f3)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Previous read of size 8 at 0x7b400001f578 by thread T8 (mutexes: write M34262):
#0 remove_if<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event> >, CoreTiming::UnscheduleEvent(const CoreTiming::EventType*, u64)::<lambda(const CoreTiming::Event&)> > /usr/include/c++/8/bits/predefined_ops.h:283 (yuzu+0x229f6b)
#1 CoreTiming::UnscheduleEvent(CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:154 (yuzu+0x229f6b)
#2 Kernel::Thread::CancelWakeupTimer() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:163 (yuzu+0x268a8a)
#3 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:80 (yuzu+0x265b65)
#4 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#5 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#7 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#8 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#9 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#10 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#11 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#12 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#13 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/stl_heap.h:252 in CoreTiming::Advance()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b400001f560 by thread T10:
#0 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:251 (yuzu+0x22a6cc)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 8 at 0x7b400001f560 by thread T7 (mutexes: write M34429):
#0 void __gnu_cxx::new_allocator<CoreTiming::Event>::construct<CoreTiming::Event, CoreTiming::Event>(CoreTiming::Event*, CoreTiming::Event&&) /usr/include/c++/8/new:169 (yuzu+0x22b295)
#1 void std::allocator_traits<std::allocator<CoreTiming::Event> >::construct<CoreTiming::Event, CoreTiming::Event>(std::allocator<CoreTiming::Event>&, CoreTiming::Event*, CoreTiming::Event&&) /usr/include/c++/8/bits/alloc_traits.h:475 (yuzu+0x22b295)
#2 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:103 (yuzu+0x22b295)
#3 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#4 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#5 WaitSynchronization /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:210 (yuzu+0x2f7108)
#6 SvcWrap<Kernel::WaitSynchronization> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:122 (yuzu+0x2f7108)
#7 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#8 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#9 <null> <null> (0x7f5e79f22166)
#10 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#11 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#12 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#13 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#14 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#15 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#16 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#17 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#18 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#19 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#20 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/stl_heap.h:251 in CoreTiming::Advance()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b400001f520 by thread T10:
#0 void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&) /usr/include/c++/8/bits/stl_heap.h:139 (yuzu+0x22b3fd)
#1 void std::__adjust_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> >) /usr/include/c++/8/bits/stl_heap.h:237 (yuzu+0x22b63f)
#2 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:253 (yuzu+0x22a73d)
#3 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#4 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#5 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#6 <null> <null> (libQt5Core.so.5+0xac16c)
Previous read of size 8 at 0x7b400001f520 by thread T7 (mutexes: write M34429):
#0 operator> /usr/include/c++/8/tuple:1395 (yuzu+0x22b361)
#1 decltype(auto) std::greater<void>::_S_cmp<CoreTiming::Event&, CoreTiming::Event&>(CoreTiming::Event&, CoreTiming::Event&, std::integral_constant<bool, false>) /usr/include/c++/8/bits/stl_function.h:515 (yuzu+0x22b361)
#2 decltype ((((forward<CoreTiming::Event&>)({parm#1}))>((forward<CoreTiming::Event&>)({parm#2})))) std::greater<void>::operator()<CoreTiming::Event&, CoreTiming::Event&>(CoreTiming::Event&, CoreTiming::Event&) const /usr/include/c++/8/bits/stl_function.h:500 (yuzu+0x22b361)
#3 bool __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >::operator()<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&) /usr/include/c++/8/bits/predefined_ops.h:177 (yuzu+0x22b361)
#4 void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&) /usr/include/c++/8/bits/stl_heap.h:133 (yuzu+0x22b361)
#5 void std::push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, std::greater<void> >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, __gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, std::greater<void>) /usr/include/c++/8/bits/stl_heap.h:207 (yuzu+0x229db9)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:144 (yuzu+0x229db9)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 WaitSynchronization /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:210 (yuzu+0x2f7108)
#9 SvcWrap<Kernel::WaitSynchronization> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:122 (yuzu+0x2f7108)
#10 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#11 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#12 <null> <null> (0x7f5e79f22166)
#13 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#14 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#15 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#16 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#17 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#18 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#19 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#20 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#21 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#22 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#23 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/stl_heap.h:139 in void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x55bcf8b167c0 by thread T10:
#0 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229cea)
#1 Service::HID::IAppletResource::UpdatePadCallback(unsigned long, int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/service/hid/hid.cpp:257 (yuzu+0x3bdc8d)
#2 Service::HID::IAppletResource::IAppletResource()::{lambda(unsigned long, int)#1}::operator()(unsigned long, int) const /home/zachhilman/CLionProjects/yuzu/src/core/hle/service/hid/hid.cpp:44 (yuzu+0x3be3f4)
#3 std::_Function_handler<void (unsigned long, int), Service::HID::IAppletResource::IAppletResource()::{lambda(unsigned long, int)#1}>::_M_invoke(std::_Any_data const&, unsigned long&&, int&&) /usr/include/c++/8/bits/std_function.h:297 (yuzu+0x3be3f4)
#4 std::function<void (unsigned long, int)>::operator()(unsigned long, int) const /usr/include/c++/8/bits/std_function.h:687 (yuzu+0x22a631)
#5 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:210 (yuzu+0x22a631)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#7 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#8 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#9 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 8 at 0x55bcf8b167c0 by thread T7 (mutexes: write M34429):
#0 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229cfd)
#1 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#2 WaitSynchronization /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:210 (yuzu+0x2f7108)
#3 SvcWrap<Kernel::WaitSynchronization> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:122 (yuzu+0x2f7108)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e79f22166)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Location is global 'CoreTiming::event_fifo_id' of size 8 at 0x55bcf8b167c0 (yuzu+0x00000157e7c0)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 in CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 1 at 0x7b840000bb88 by thread T10:
#0 Dynarmic::A64::Jit::Impl::HaltExecution() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:86 (yuzu+0xcb58a4)
#1 Dynarmic::A64::Jit::HaltExecution() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:270 (yuzu+0xcb58a4)
#2 ARM_Dynarmic::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:238 (yuzu+0x2d4650)
#3 Core::Cpu::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:118 (yuzu+0x22868f)
#4 Kernel::Thread::ResumeFromWait() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:243 (yuzu+0x2691dd)
#5 ThreadWakeupCallback /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:150 (yuzu+0x26aa67)
#6 std::_Function_handler<void (unsigned long, int), void (*)(unsigned long, int)>::_M_invoke(std::_Any_data const&, unsigned long&&, int&&) /usr/include/c++/8/bits/std_function.h:297 (yuzu+0x26c46d)
#7 std::function<void (unsigned long, int)>::operator()(unsigned long, int) const /usr/include/c++/8/bits/std_function.h:687 (yuzu+0x22a631)
#8 CoreTiming::Advance() /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:210 (yuzu+0x22a631)
#9 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#10 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#11 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#12 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 1 at 0x7b840000bb88 by thread T7:
#0 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:53 (yuzu+0xcb6f81)
#1 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6f81)
#2 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#3 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#4 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#5 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#6 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#7 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#8 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#9 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#10 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 4912 at 0x7b840000b400 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 std::_MakeUniq<Dynarmic::A64::Jit::Impl>::__single_object std::make_unique<Dynarmic::A64::Jit::Impl, Dynarmic::A64::UserConfig&>(Dynarmic::A64::UserConfig&) /usr/include/c++/8/bits/unique_ptr.h:831 (yuzu+0xcb627a)
#2 Dynarmic::A64::Jit::Jit(Dynarmic::A64::UserConfig) /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:249 (yuzu+0xcb627a)
#3 std::_MakeUniq<Dynarmic::A64::Jit>::__single_object std::make_unique<Dynarmic::A64::Jit, Dynarmic::A64::UserConfig&>(Dynarmic::A64::UserConfig&) /usr/include/c++/8/bits/unique_ptr.h:831 (yuzu+0x2d4aec)
#4 ARM_Dynarmic::MakeJit() const /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:128 (yuzu+0x2d4aec)
#5 ARM_Dynarmic::PageTableChanged() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:251 (yuzu+0x2d4b66)
#6 Memory::SetCurrentPageTable(Memory::PageTable*) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:34 (yuzu+0x2c0ae0)
#7 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:382 (yuzu+0x26bfe3)
#8 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#9 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#10 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#11 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#12 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#13 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#14 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#15 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#16 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#17 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#18 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#19 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#20 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#21 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#22 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#23 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#24 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#25 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:86 in Dynarmic::A64::Jit::Impl::HaltExecution()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x7b6400067c08 by thread T10 (mutexes: write M34429):
#0 Kernel::intrusive_ptr_add_ref(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 (yuzu+0x25f530)
#1 boost::intrusive_ptr<Kernel::Object>::intrusive_ptr(boost::intrusive_ptr<Kernel::Object> const&) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:93 (yuzu+0x25f530)
#2 Kernel::HandleTable::GetGeneric(unsigned int) const /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/handle_table.cpp:86 (yuzu+0x25f530)
#3 boost::intrusive_ptr<Kernel::Thread> Kernel::HandleTable::Get<Kernel::Thread>(unsigned int) const /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/handle_table.h:85 (yuzu+0x2fa96d)
#4 SetThreadCoreMask /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:823 (yuzu+0x2f612a)
#5 SvcWrap<Kernel::SetThreadCoreMask> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:80 (yuzu+0x2f612a)
#6 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#7 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#8 <null> <null> (0x7f5e4e4f2e50)
#9 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#10 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#11 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#12 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#13 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#14 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#15 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 4 at 0x7b6400067c08 by thread T7 (mutexes: write M34262):
#0 Kernel::intrusive_ptr_release(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:80 (yuzu+0x265eb5)
#1 boost::intrusive_ptr<Kernel::Thread>::~intrusive_ptr() /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:98 (yuzu+0x265eb5)
#2 boost::intrusive_ptr<Kernel::Thread>::operator=(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:160 (yuzu+0x265eb5)
#3 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:99 (yuzu+0x265eb5)
#4 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#5 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#7 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#8 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#9 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#10 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#11 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#12 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#13 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 1112 at 0x7b6400067c00 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 CreateThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:529 (yuzu+0x2f965f)
#3 SvcWrap<Kernel::CreateThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:144 (yuzu+0x2fa5c3)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74a256)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 in Kernel::intrusive_ptr_add_ref(Kernel::Object*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x7b6400069008 by thread T8 (mutexes: write M34262):
#0 Kernel::intrusive_ptr_add_ref(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 (yuzu+0x265bbf)
#1 boost::intrusive_ptr<Kernel::Thread>::intrusive_ptr(Kernel::Thread*, bool) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:69 (yuzu+0x265bbf)
#2 boost::intrusive_ptr<Kernel::Thread>::operator=(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:160 (yuzu+0x265bbf)
#3 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:84 (yuzu+0x265bbf)
#4 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#5 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#7 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#8 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#9 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#10 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#11 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#12 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#13 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 4 at 0x7b6400069008 by thread T10 (mutexes: write M34429):
#0 Kernel::intrusive_ptr_release(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:80 (yuzu+0x2f61ae)
#1 boost::intrusive_ptr<Kernel::Thread>::~intrusive_ptr() /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:98 (yuzu+0x2f61ae)
#2 SetThreadCoreMask /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:823 (yuzu+0x2f61ae)
#3 SvcWrap<Kernel::SetThreadCoreMask> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:80 (yuzu+0x2f61ae)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e4f2e50)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 1112 at 0x7b6400069000 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 CreateThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:529 (yuzu+0x2f965f)
#3 SvcWrap<Kernel::CreateThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:144 (yuzu+0x2fa5c3)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74a256)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 in Kernel::intrusive_ptr_add_ref(Kernel::Object*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 1 at 0x7b140003b0f0 by thread T9:
#0 Core::Cpu::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:119 (yuzu+0x2285df)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:97 (yuzu+0x2285df)
#2 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#3 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#4 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#5 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#6 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#7 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#8 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 1 at 0x7b140003b0f0 by thread T10 (mutexes: write M34429):
#0 Core::Cpu::PrepareReschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:119 (yuzu+0x228698)
#1 Kernel::Thread::ResumeFromWait() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:243 (yuzu+0x2691dd)
#2 StartThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:557 (yuzu+0x2f6338)
#3 SvcWrap<Kernel::StartThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f6338)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74f9d0)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 80 at 0x7b140003b0b0 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 std::shared_ptr<Core::Cpu>::shared_ptr<std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22576a)
#2 std::shared_ptr<Core::Cpu> std::allocate_shared<Core::Cpu, std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:707 (yuzu+0x22576a)
#3 std::shared_ptr<Core::Cpu> std::make_shared<Core::Cpu, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:723 (yuzu+0x22576a)
#4 Core::System::Init(Core::Frontend::EmuWindow&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:168 (yuzu+0x22576a)
#5 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#6 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#7 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#8 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#9 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#10 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#11 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#12 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#13 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#14 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#15 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#16 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#17 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#18 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T9 (tid=14230, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:119 in Core::Cpu::PrepareReschedule()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x7b6400061d08 by thread T8 (mutexes: write M34429):
#0 Kernel::intrusive_ptr_add_ref(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 (yuzu+0x4525db)
#1 boost::intrusive_ptr<Kernel::Thread>::intrusive_ptr(boost::intrusive_ptr<Kernel::Thread> const&) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:93 (yuzu+0x4525db)
#2 boost::intrusive_ptr<Kernel::Thread>::operator=(boost::intrusive_ptr<Kernel::Thread> const&) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:154 (yuzu+0x4525db)
#3 GetHighestPriorityMutexWaitingThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/mutex.cpp:39 (yuzu+0x4525db)
#4 Kernel::Mutex::Release(unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/mutex.cpp:106 (yuzu+0x4525db)
#5 ArbitrateUnlock /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:249 (yuzu+0x2f479b)
#6 SvcWrap<Kernel::ArbitrateUnlock> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:31 (yuzu+0x2f479b)
#7 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#8 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#9 <null> <null> (0x7f5e70e82090)
#10 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#11 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#12 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#13 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#14 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#15 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#16 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#17 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#18 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#19 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#20 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 4 at 0x7b6400061d08 by thread T7 (mutexes: write M34262):
#0 Kernel::intrusive_ptr_release(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:80 (yuzu+0x265eb5)
#1 boost::intrusive_ptr<Kernel::Thread>::~intrusive_ptr() /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:98 (yuzu+0x265eb5)
#2 boost::intrusive_ptr<Kernel::Thread>::operator=(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:160 (yuzu+0x265eb5)
#3 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:99 (yuzu+0x265eb5)
#4 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#5 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#7 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#8 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#9 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#10 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#11 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#12 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#13 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 1112 at 0x7b6400061d00 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 CreateThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:529 (yuzu+0x2f965f)
#3 SvcWrap<Kernel::CreateThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:144 (yuzu+0x2fa5c3)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74a256)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 in Kernel::intrusive_ptr_add_ref(Kernel::Object*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 4 at 0x7b6400062044 by thread T8 (mutexes: write M34429):
#0 Kernel::Thread::ResumeFromWait() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:212 (yuzu+0x268ec6)
#1 Kernel::Mutex::Release(unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/mutex.cpp:128 (yuzu+0x452b39)
#2 ArbitrateUnlock /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:249 (yuzu+0x2f479b)
#3 SvcWrap<Kernel::ArbitrateUnlock> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:31 (yuzu+0x2f479b)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e70e82090)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#12 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#13 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#14 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#15 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#16 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#17 <null> <null> (libstdc++.so.6+0xbe732)
Previous read of size 4 at 0x7b6400062044 by thread T7 (mutexes: write M34262):
#0 Kernel::Scheduler::PopNextReadyThread() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:41 (yuzu+0x264dec)
#1 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:109 (yuzu+0x2661c6)
#2 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#3 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#4 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#5 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#6 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#7 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#8 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#9 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#10 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 1112 at 0x7b6400061d00 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 CreateThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:529 (yuzu+0x2f965f)
#3 SvcWrap<Kernel::CreateThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:144 (yuzu+0x2fa5c3)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74a256)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:212 in Kernel::Thread::ResumeFromWait()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b400001f5a0 by thread T10:
#0 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:251 (yuzu+0x22a6cc)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 8 at 0x7b400001f5a0 by thread T7 (mutexes: write M34429):
#0 void __gnu_cxx::new_allocator<CoreTiming::Event>::construct<CoreTiming::Event, CoreTiming::Event>(CoreTiming::Event*, CoreTiming::Event&&) /usr/include/c++/8/new:169 (yuzu+0x22b295)
#1 void std::allocator_traits<std::allocator<CoreTiming::Event> >::construct<CoreTiming::Event, CoreTiming::Event>(std::allocator<CoreTiming::Event>&, CoreTiming::Event*, CoreTiming::Event&&) /usr/include/c++/8/bits/alloc_traits.h:475 (yuzu+0x22b295)
#2 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:103 (yuzu+0x22b295)
#3 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#4 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#5 SleepThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:584 (yuzu+0x2f2a77)
#6 SvcWrap<Kernel::SleepThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:222 (yuzu+0x2f2a77)
#7 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#8 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#9 <null> <null> (0x7f5e79e30a40)
#10 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#11 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#12 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#13 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#14 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#15 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#16 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#17 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#18 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#19 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#20 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/bits/stl_heap.h:251 in CoreTiming::Advance()
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 8 at 0x7b400001f540 by thread T10:
#0 void std::__adjust_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> >) /usr/include/c++/8/tuple:1395 (yuzu+0x22b5c6)
#1 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:253 (yuzu+0x22a73d)
#2 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#3 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#4 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#5 <null> <null> (libQt5Core.so.5+0xac16c)
Previous write of size 8 at 0x7b400001f540 by thread T7 (mutexes: write M34429):
#0 void std::__push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_val<std::greater<void> >&) /usr/include/c++/8/bits/stl_heap.h:135 (yuzu+0x22b3a3)
#1 void std::push_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, std::greater<void> >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, __gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, std::greater<void>) /usr/include/c++/8/bits/stl_heap.h:207 (yuzu+0x229db9)
#2 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:144 (yuzu+0x229db9)
#3 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#4 SleepThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:584 (yuzu+0x2f2a77)
#5 SvcWrap<Kernel::SleepThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:222 (yuzu+0x2f2a77)
#6 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#7 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#8 <null> <null> (0x7f5e79e30a40)
#9 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#10 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#11 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#12 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#13 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#14 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#15 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#16 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#17 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#18 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#19 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/tuple:1395 in void std::__adjust_heap<__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> > >(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, long, long, CoreTiming::Event, __gnu_cxx::__ops::_Iter_comp_iter<std::greater<void> >)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b880000a630 by thread T10 (mutexes: write M34262):
#0 boost::intrusive_ptr<Kernel::Thread>::swap(boost::intrusive_ptr<Kernel::Thread>&) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:210 (yuzu+0x265f3a)
#1 boost::intrusive_ptr<Kernel::Thread>::operator=(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:160 (yuzu+0x265f3a)
#2 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:99 (yuzu+0x265f3a)
#3 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#4 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#5 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#6 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#7 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#8 <null> <null> (libQt5Core.so.5+0xac16c)
Previous read of size 8 at 0x7b880000a630 by thread T7 (mutexes: write M34429):
#0 Kernel::Scheduler::GetCurrentThread() const /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:34 (yuzu+0x264d89)
#1 GetNextProcessorId /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:169 (yuzu+0x268126)
#2 Kernel::Thread::ResumeFromWait() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:214 (yuzu+0x268ee8)
#3 Kernel::Mutex::Release(unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/mutex.cpp:128 (yuzu+0x452b39)
#4 ArbitrateUnlock /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:249 (yuzu+0x2f479b)
#5 SvcWrap<Kernel::ArbitrateUnlock> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:31 (yuzu+0x2f479b)
#6 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#7 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#8 <null> <null> (0x7f5e79dd37d0)
#9 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#10 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#11 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#12 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#13 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#14 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#15 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#16 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#17 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#18 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#19 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 5696 at 0x7b8800009000 allocated by main thread:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Core::Cpu::Cpu(std::shared_ptr<ExclusiveMonitor>, std::shared_ptr<Core::CpuBarrier>, unsigned long) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x228a8d)
#2 void __gnu_cxx::new_allocator<Core::Cpu>::construct<Core::Cpu, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(Core::Cpu*, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/ext/new_allocator.h:136 (yuzu+0x225644)
#3 void std::allocator_traits<std::allocator<Core::Cpu> >::construct<Core::Cpu, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::allocator<Core::Cpu>&, Core::Cpu*, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/alloc_traits.h:475 (yuzu+0x225644)
#4 std::_Sp_counted_ptr_inplace<Core::Cpu, std::allocator<Core::Cpu>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr_base.h:549 (yuzu+0x225644)
#5 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<Core::Cpu, std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::_Sp_make_shared_tag, Core::Cpu*, std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr_base.h:662 (yuzu+0x225644)
#6 std::__shared_ptr<Core::Cpu, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr_base.h:1328 (yuzu+0x225644)
#7 std::shared_ptr<Core::Cpu>::shared_ptr<std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:360 (yuzu+0x225644)
#8 std::shared_ptr<Core::Cpu> std::allocate_shared<Core::Cpu, std::allocator<Core::Cpu>, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::allocator<Core::Cpu> const&, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:707 (yuzu+0x225644)
#9 std::shared_ptr<Core::Cpu> std::make_shared<Core::Cpu, std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&>(std::shared_ptr<ExclusiveMonitor>&, std::shared_ptr<Core::CpuBarrier>&, unsigned long&) /usr/include/c++/8/bits/shared_ptr.h:723 (yuzu+0x225644)
#10 Core::System::Init(Core::Frontend::EmuWindow&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:168 (yuzu+0x225644)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:210 in boost::intrusive_ptr<Kernel::Thread>::swap(boost::intrusive_ptr<Kernel::Thread>&)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x7b640006395c by thread T7 (mutexes: write M34262):
#0 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:86 (yuzu+0x265c64)
#1 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#2 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#3 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#4 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#5 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#6 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#7 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#8 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#9 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#10 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 4 at 0x7b640006395c by thread T10 (mutexes: write M34429):
#0 Kernel::Thread::UpdatePriority() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:467 (yuzu+0x268c5c)
#1 Kernel::Thread::AddMutexWaiter(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:439 (yuzu+0x26a016)
#2 Kernel::Mutex::TryAcquire(unsigned long, unsigned int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/mutex.cpp:93 (yuzu+0x4522e2)
#3 ArbitrateLock /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:242 (yuzu+0x2f295e)
#4 SvcWrap<Kernel::ArbitrateLock> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:101 (yuzu+0x2f295e)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4e97cc30)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 1112 at 0x7b6400063600 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 CreateThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:529 (yuzu+0x2f965f)
#3 SvcWrap<Kernel::CreateThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:144 (yuzu+0x2fa5c3)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74a256)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#18 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#19 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#21 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#22 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#23 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#24 __libc_start_main <null> (libc.so.6+0x21b96)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:86 in Kernel::Scheduler::SwitchContext(Kernel::Thread*)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 8 at 0x7b400001f580 by thread T7 (mutexes: write M34429):
#0 void __gnu_cxx::new_allocator<CoreTiming::Event>::construct<CoreTiming::Event, CoreTiming::Event>(CoreTiming::Event*, CoreTiming::Event&&) /usr/include/c++/8/new:169 (yuzu+0x22b295)
#1 void std::allocator_traits<std::allocator<CoreTiming::Event> >::construct<CoreTiming::Event, CoreTiming::Event>(std::allocator<CoreTiming::Event>&, CoreTiming::Event*, CoreTiming::Event&&) /usr/include/c++/8/bits/alloc_traits.h:475 (yuzu+0x22b295)
#2 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:103 (yuzu+0x22b295)
#3 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#4 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#5 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#6 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#7 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#8 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#9 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#10 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#11 <null> <null> (0x7f5e79f19ab0)
#12 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#13 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#14 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#15 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#16 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#17 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#18 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#19 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#20 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#21 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#22 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 8 at 0x7b400001f580 by thread T10:
#0 CoreTiming::Advance() /usr/include/c++/8/bits/stl_heap.h:252 (yuzu+0x22a6f3)
#1 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:94 (yuzu+0x228609)
#2 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#3 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#4 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 256 at 0x7b400001f500 allocated by thread T7:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<CoreTiming::Event>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x22b0ea)
#2 std::allocator_traits<std::allocator<CoreTiming::Event> >::allocate(std::allocator<CoreTiming::Event>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x22b0ea)
#3 std::_Vector_base<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x22b0ea)
#4 void std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::_M_realloc_insert<CoreTiming::Event>(__gnu_cxx::__normal_iterator<CoreTiming::Event*, std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> > >, CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:427 (yuzu+0x22b0ea)
#5 CoreTiming::Event& std::vector<CoreTiming::Event, std::allocator<CoreTiming::Event> >::emplace_back<CoreTiming::Event>(CoreTiming::Event&&) /usr/include/c++/8/bits/vector.tcc:109 (yuzu+0x22b2ed)
#6 CoreTiming::ScheduleEvent(long, CoreTiming::EventType const*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/core_timing.cpp:143 (yuzu+0x229d41)
#7 Kernel::Thread::WakeAfterDelay(long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:158 (yuzu+0x268a35)
#8 Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:140 (yuzu+0x2eeee2)
#9 Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46 (yuzu+0x451325)
#10 SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108 (yuzu+0x2f26be)
#11 SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36 (yuzu+0x2f26be)
#12 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#13 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#14 <null> <null> (0x7f5e79f19ab0)
#15 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#16 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#17 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#18 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#19 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#20 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#21 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#22 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#23 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#24 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#25 <null> <null> (libstdc++.so.6+0xbe732)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/c++/8/new:169 in void __gnu_cxx::new_allocator<CoreTiming::Event>::construct<CoreTiming::Event, CoreTiming::Event>(CoreTiming::Event*, CoreTiming::Event&&)
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 1 at 0x7f5e2acb1690 by thread T7 (mutexes: write M34429):
#0 memcpy /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 (yuzu+0x2c70eb)
#1 void Memory::Write<unsigned int>(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:176 (yuzu+0x2c70eb)
#2 Memory::Write32(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:451 (yuzu+0x2c266e)
#3 Kernel::Mutex::Release(unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/mutex.cpp:110 (yuzu+0x452caf)
#4 WaitProcessWideKeyAtomic /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:600 (yuzu+0x2f5948)
#5 SvcWrap<Kernel::WaitProcessWideKeyAtomic> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:129 (yuzu+0x2f5948)
#6 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#7 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#8 <null> <null> (0x7f5e79d97770)
#9 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#10 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#11 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#12 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#13 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#14 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#15 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#16 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#17 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#18 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#19 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 1 at 0x7f5e2acb1690 by thread T10:
#0 memcpy /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 (yuzu+0x2c70eb)
#1 void Memory::Write<unsigned int>(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:176 (yuzu+0x2c70eb)
#2 Memory::Write32(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:451 (yuzu+0x2c266e)
#3 ARM_Dynarmic_Callbacks::MemoryWrite32(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:47 (yuzu+0x2d54ae)
#4 operator() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_emit_x64.cpp:903 (yuzu+0xd35fa4)
#5 DoExclusiveOperation<Dynarmic::BackendX64::A64EmitX64::EmitExclusiveWrite(Dynarmic::BackendX64::A64EmitContext&, Dynarmic::IR::Inst*, size_t)::<lambda(Dynarmic::A64::UserConfig&, u64, u32)>::<lambda()> > /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/../include/dynarmic/A64/exclusive_monitor.h:42 (yuzu+0xd35fa4)
#6 operator() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_emit_x64.cpp:902 (yuzu+0xd35fa4)
#7 _FUN /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_emit_x64.cpp:905 (yuzu+0xd35fa4)
#8 <null> <null> (0x7f5e4e97c9d1)
#9 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#10 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#11 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#12 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#13 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#14 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#15 <null> <null> (libQt5Core.so.5+0xac16c)
Location is heap block of size 3261071360 at 0x7f5d8b4d3000 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<unsigned char>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x2632aa)
#2 std::allocator_traits<std::allocator<unsigned char> >::allocate(std::allocator<unsigned char>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x2632aa)
#3 std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x2632aa)
#4 std::vector<unsigned char, std::allocator<unsigned char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >, unsigned long, unsigned char const&) /usr/include/c++/8/bits/vector.tcc:530 (yuzu+0x2632aa)
#5 Kernel::Process::HeapAllocate(unsigned long, unsigned long, Kernel::VMAPermission) /usr/include/c++/8/bits/stl_vector.h:1225 (yuzu+0x26217c)
#6 SetHeapSize /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:39 (yuzu+0x2f2d80)
#7 SvcWrap<Kernel::SetHeapSize> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:68 (yuzu+0x2f2d80)
#8 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#9 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#10 <null> <null> (0x7f5e4ddf0cb1)
#11 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#12 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#13 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#14 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#15 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#16 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#17 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 in memcpy
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Write of size 1 at 0x7f5e1f3ae096 by thread T7:
#0 memcpy /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 (yuzu+0x2c70eb)
#1 void Memory::Write<unsigned int>(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:176 (yuzu+0x2c70eb)
#2 Memory::Write32(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:451 (yuzu+0x2c266e)
#3 ARM_Dynarmic_Callbacks::MemoryWrite32(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:47 (yuzu+0x2d54ae)
#4 operator() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_emit_x64.cpp:903 (yuzu+0xd35fa4)
#5 DoExclusiveOperation<Dynarmic::BackendX64::A64EmitX64::EmitExclusiveWrite(Dynarmic::BackendX64::A64EmitContext&, Dynarmic::IR::Inst*, size_t)::<lambda(Dynarmic::A64::UserConfig&, u64, u32)>::<lambda()> > /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/../include/dynarmic/A64/exclusive_monitor.h:42 (yuzu+0xd35fa4)
#6 operator() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_emit_x64.cpp:902 (yuzu+0xd35fa4)
#7 _FUN /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_emit_x64.cpp:905 (yuzu+0xd35fa4)
#8 <null> <null> (0x7f5e79d8f294)
#9 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#10 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#11 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#12 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#13 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#14 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#15 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#16 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#17 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#18 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#19 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 1 at 0x7f5e1f3ae096 by thread T8 (mutexes: write M34429):
#0 memcpy /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 (yuzu+0x2c70eb)
#1 void Memory::Write<unsigned int>(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:176 (yuzu+0x2c70eb)
#2 Memory::Write32(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:451 (yuzu+0x2c266e)
#3 Kernel::Mutex::Release(unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/mutex.cpp:110 (yuzu+0x452caf)
#4 WaitProcessWideKeyAtomic /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:600 (yuzu+0x2f5948)
#5 SvcWrap<Kernel::WaitProcessWideKeyAtomic> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:129 (yuzu+0x2f5948)
#6 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#7 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#8 <null> <null> (0x7f5e70e105f0)
#9 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#10 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#11 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#12 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#13 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#14 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#15 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#16 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#17 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#18 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#19 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 3261071360 at 0x7f5d8b4d3000 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 __gnu_cxx::new_allocator<unsigned char>::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111 (yuzu+0x2632aa)
#2 std::allocator_traits<std::allocator<unsigned char> >::allocate(std::allocator<unsigned char>&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436 (yuzu+0x2632aa)
#3 std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_allocate(unsigned long) /usr/include/c++/8/bits/stl_vector.h:296 (yuzu+0x2632aa)
#4 std::vector<unsigned char, std::allocator<unsigned char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >, unsigned long, unsigned char const&) /usr/include/c++/8/bits/vector.tcc:530 (yuzu+0x2632aa)
#5 Kernel::Process::HeapAllocate(unsigned long, unsigned long, Kernel::VMAPermission) /usr/include/c++/8/bits/stl_vector.h:1225 (yuzu+0x26217c)
#6 SetHeapSize /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:39 (yuzu+0x2f2d80)
#7 SvcWrap<Kernel::SetHeapSize> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:68 (yuzu+0x2f2d80)
#8 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#9 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#10 <null> <null> (0x7f5e4ddf0cb1)
#11 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#12 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#13 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#14 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#15 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#16 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#17 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Thread T7 (tid=14228, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T8 (tid=14229, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xbea18)
#2 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:109 (yuzu+0x226d81)
#3 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#4 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#5 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#6 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#7 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#8 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#9 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#10 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#12 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#13 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#14 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#15 __libc_start_main <null> (libc.so.6+0x21b96)
Thread T10 'EmuThread' (tid=14231, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2bec2)
#1 QThread::start(QThread::Priority) <null> (libQt5Core.so.5+0xab665)
#2 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#4 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#5 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1f060e)
#6 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#7 GameList::ValidateEntry(QModelIndex const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/game_list.cpp:288 (yuzu+0x1daa26)
#8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (GameList::*)(QModelIndex const&)>::call(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1e003e)
#9 void QtPrivate::FunctionPointer<void (GameList::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (GameList::*)(QModelIndex const&), GameList*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1e003e)
#10 QtPrivate::QSlotObject<void (GameList::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120 (yuzu+0x1e003e)
#11 QMetaObject::activate(QObject*, int, int, void**) <null> (libQt5Core.so.5+0x2b96ce)
#12 __libc_start_main <null> (libc.so.6+0x21b96)
SUMMARY: ThreadSanitizer: data race /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 in memcpy
==================
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 4 at 0x7b6400062208 by thread T7 (mutexes: write M34429):
#0 Kernel::intrusive_ptr_add_ref(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:76 (yuzu+0x2fae3e)
#1 boost::intrusive_ptr<Kernel::Thread>::intrusive_ptr(boost::intrusive_ptr<Kernel::Thread> const&) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:93 (yuzu+0x2fae3e)
#2 void __gnu_cxx::new_allocator<boost::intrusive_ptr<Kernel::Thread> >::construct<boost::intrusive_ptr<Kernel::Thread>, boost::intrusive_ptr<Kernel::Thread> const&>(boost::intrusive_ptr<Kernel::Thread>*, boost::intrusive_ptr<Kernel::Thread> const&) /usr/include/c++/8/ext/new_allocator.h:136 (yuzu+0x2fae3e)
#3 void std::allocator_traits<std::allocator<boost::intrusive_ptr<Kernel::Thread> > >::construct<boost::intrusive_ptr<Kernel::Thread>, boost::intrusive_ptr<Kernel::Thread> const&>(std::allocator<boost::intrusive_ptr<Kernel::Thread> >&, boost::intrusive_ptr<Kernel::Thread>*, boost::intrusive_ptr<Kernel::Thread> const&) /usr/include/c++/8/bits/alloc_traits.h:475 (yuzu+0x2fae3e)
#4 void std::vector<boost::intrusive_ptr<Kernel::Thread>, std::allocator<boost::intrusive_ptr<Kernel::Thread> > >::_M_realloc_insert<boost::intrusive_ptr<Kernel::Thread> const&>(__gnu_cxx::__normal_iterator<boost::intrusive_ptr<Kernel::Thread>*, std::vector<boost::intrusive_ptr<Kernel::Thread>, std::allocator<boost::intrusive_ptr<Kernel::Thread> > > >, boost::intrusive_ptr<Kernel::Thread> const&) /usr/include/c++/8/bits/vector.tcc:436 (yuzu+0x2fae3e)
#5 std::vector<boost::intrusive_ptr<Kernel::Thread>, std::allocator<boost::intrusive_ptr<Kernel::Thread> > >::push_back(boost::intrusive_ptr<Kernel::Thread> const&) /usr/include/c++/8/bits/stl_vector.h:1085 (yuzu+0x2f797d)
#6 operator() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:629 (yuzu+0x2f797d)
#7 SignalProcessWideKey /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:637 (yuzu+0x2f7a96)
#8 SvcWrap<Kernel::SignalProcessWideKey> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:62 (yuzu+0x2f7a96)
#9 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#10 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#11 <null> <null> (0x7f5e79d98140)
#12 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#13 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#14 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#15 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#16 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#17 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#18 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#19 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#20 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#21 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#22 <null> <null> (libstdc++.so.6+0xbe732)
Previous write of size 4 at 0x7b6400062208 by thread T8 (mutexes: write M34262):
#0 Kernel::intrusive_ptr_release(Kernel::Object*) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/object.h:80 (yuzu+0x265eb5)
#1 boost::intrusive_ptr<Kernel::Thread>::~intrusive_ptr() /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:98 (yuzu+0x265eb5)
#2 boost::intrusive_ptr<Kernel::Thread>::operator=(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/externals/boost/boost/smart_ptr/intrusive_ptr.hpp:160 (yuzu+0x265eb5)
#3 Kernel::Scheduler::SwitchContext(Kernel::Thread*) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:99 (yuzu+0x265eb5)
#4 Kernel::Scheduler::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:119 (yuzu+0x2661d1)
#5 Core::Cpu::Reschedule() /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:128 (yuzu+0x228572)
#6 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:110 (yuzu+0x228572)
#7 RunCpuCore /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:35 (yuzu+0x2231c5)
#8 void std::__invoke_impl<void, void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(std::__invoke_other, void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:60 (yuzu+0x227a1a)
#9 std::__invoke_result<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >::type std::__invoke<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> >(void (*&&)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu>&&) /usr/include/c++/8/bits/invoke.h:95 (yuzu+0x227a1a)
#10 decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/8/thread:234 (yuzu+0x227a1a)
#11 std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > >::operator()() /usr/include/c++/8/thread:243 (yuzu+0x227a1a)
#12 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::shared_ptr<Core::Cpu>), std::shared_ptr<Core::Cpu> > > >::_M_run() /usr/include/c++/8/thread:186 (yuzu+0x227a1a)
#13 <null> <null> (libstdc++.so.6+0xbe732)
Location is heap block of size 1112 at 0x7b6400062200 allocated by thread T10:
#0 operator new(unsigned long) <null> (libtsan.so.0+0x74afa)
#1 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:312 (yuzu+0x26acb2)
#2 CreateThread /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:529 (yuzu+0x2f965f)
#3 SvcWrap<Kernel::CreateThread> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:144 (yuzu+0x2fa5c3)
#4 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042 (yuzu+0x2f487f)
#5 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#6 <null> <null> (0x7f5e4e74a256)
#7 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:60 (yuzu+0xcb7176)
#8 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb7176)
#9 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#10 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#11 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#12 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#13 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34429 (0x55bcf8a660e0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x2f4854)
#2 __gthread_recursive_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:810 (yuzu+0x2f4854)
#3 std::recursive_mutex::lock() /usr/include/c++/8/mutex:107 (yuzu+0x2f4854)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x2f4854)
#5 Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1037 (yuzu+0x2f4854)
#6 ARM_Dynarmic_Callbacks::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:85 (yuzu+0x2d53e3)
#7 <null> <null> (0x7f5e4dd6b092)
#8 Dynarmic::A64::Jit::Impl::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:62 (yuzu+0xcb6ff5)
#9 Dynarmic::A64::Jit::Run() /home/zachhilman/CLionProjects/yuzu/externals/dynarmic/src/backend_x64/a64_interface.cpp:254 (yuzu+0xcb6ff5)
#10 ARM_Dynarmic::Run() /home/zachhilman/CLionProjects/yuzu/src/core/arm/dynarmic/arm_dynarmic.cpp:134 (yuzu+0x2d4cbf)
#11 Core::Cpu::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core_cpu.cpp:104 (yuzu+0x228597)
#12 Core::System::RunLoop(bool) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:73 (yuzu+0x224fa5)
#13 EmuThread::run() /home/zachhilman/CLionProjects/yuzu/src/yuzu/bootmanager.cpp:41 (yuzu+0x16f7c3)
#14 <null> <null> (libQt5Core.so.5+0xac16c)
Mutex M34262 (0x55bcf8b27fa0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x400ef)
#1 __gthread_mutex_lock /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:748 (yuzu+0x265795)
#2 std::mutex::lock() /usr/include/c++/8/bits/std_mutex.h:103 (yuzu+0x265795)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/include/c++/8/bits/std_mutex.h:162 (yuzu+0x265795)
#4 Kernel::Scheduler::AddThread(boost::intrusive_ptr<Kernel::Thread>, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/scheduler.cpp:123 (yuzu+0x265795)
#5 Kernel::Thread::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, unsigned int, unsigned long, int, unsigned long, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:332 (yuzu+0x26b468)
#6 Kernel::SetupMainThread(unsigned long, unsigned int, boost::intrusive_ptr<Kernel::Process>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/thread.cpp:386 (yuzu+0x26c061)
#7 Kernel::Process::Run(unsigned long, int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/process.cpp:131 (yuzu+0x261325)
#8 Loader::AppLoader_DeconstructedRomDirectory::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/deconstructed_rom_directory.cpp:124 (yuzu+0x44747f)
#9 Loader::AppLoader_NCA::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/nca.cpp:58 (yuzu+0x2b6cb7)
#10 Loader::AppLoader_XCI::Load(boost::intrusive_ptr<Kernel::Process>&) /home/zachhilman/CLionProjects/yuzu/src/core/loader/xci.cpp:78 (yuzu+0x2bfc08)
#11 Core::System::Load(Core::Frontend::EmuWindow&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/zachhilman/CLionProjects/yuzu/src/core/core.cpp:117 (yuzu+0x226dbe)
#12 GMainWindow::LoadROM(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:416 (yuzu+0x1ec4c4)
#13 GMainWindow::BootGame(QString const&) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:475 (yuzu+0x1ed130)
#14 GMainWindow::OnGameListLoadFile(QString) /home/zachhilman/CLionProjects/yuzu/src/yuzu/main.cpp:571 (yuzu+0x1ed6e0)
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (GMainWindow::*)(QString)>::call(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136 (yuzu+0x1f060e)
#16 void QtPrivate::FunctionPointer<void (GMainWindow::*)(QString)>::call<QtPrivate::List<QString>, void>(void (GMainWindow::*)(QString), GMainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169 (yuzu+0x1f060e)
#17 QtPrivate::QSlotObject<void (GMainWindow::*)(QString), QtPrivate::List<QString>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/includ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment