ASSERT code_api|client.thread sporadic failure: os.c:1980 !is_thread_tls_initialized().
From a local run on modern Linux machine:
Starting application /usr/local/google/home/hgreving/dynamorio/build/suite/tests/bin/client.thread (238047)>
<Initial options = -no_dynamic_options -logdir 'logs' -loglevel 3 -client_lib '/usr/local/google/home/hgreving/dynamorio/build/suite/tests/bin/libclient.thread.dll.so;0;"-paramx" "-paramy"' -code_api -stack_size 56K -signal_stack_size 32K -max_elide_jmp 0 -max_elide_call 0 -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
<Paste into GDB to debug DynamoRIO clients:
set confirm off
add-symbol-file '/usr/local/google/home/hgreving/dynamorio/build/suite/tests/bin/libclient.thread.dll.so' 0x0000000072001620
add-symbol-file '/usr/local/google/home/hgreving/dynamorio/build/lib64/debug/libdynamorio.so' 0x00007f9596a6c738
add-symbol-file '/lib64/libc.so.6' 0x00007f9596496910
add-symbol-file '/lib64/ld-linux-x86-64.so.2' 0x00007f9596250aa0
>
PR 216931: client options are -paramx -paramy
inside app client.thread.exe
PR 198871 locking test......passed
<Application /usr/local/google/home/hgreving/dynamorio/build/suite/tests/bin/client.thread (238047). Internal Error: DynamoRIO debug check failure: /usr/local/google/home/hgreving/dynamorio/src/core/unix/os.c:1980 !is_thread_tls_initialized()
(Error occurred @0 frags)
cat /proc/version Linux version 4.19.20-1rodete1-amd64
Seems to happens very rarely. Might be related to #3498 (closed) .