Article View: muc.lists.freebsd.bugs
Article #583[Bug 300942] pthread_exit() + exit() can race and crash with SEGV
From: bugzilla-noreply
Date: Fri, 20 Nov 2026 08:48
Date: Fri, 20 Nov 2026 08:48
1013 lines
44673 bytes
44673 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300942
Bug ID: 300942
Summary: pthread_exit() + exit() can race and crash with SEGV
Product: Base System
Version: 15.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: ivy@FreeBSD.org
when a program is linked with -lgcc_s, one thread calling pthread_exit() while
another thread calls exit() can race and crash with SIGSEGV.
the attached reproducer creates a certain number of threads, waits for all
threads to pass a barrier, then exit()s from main while the threads all return.
on my test system, with 32 threads, the crash happens ~10% of the time:
% cc exitrace.c -o exitrace -lpthread -lgcc_s
% ./exitrace 32
[1] 60807 segmentation fault (core dumped) ./exitrace 32
this particularly affects Rust executables, which explicitly link to libgcc_s.
(lldb) target create "./exitrace" --core "exitrace.core"
Core file '/home/lexi/tmp/exitrace.core' (x86_64) was loaded.
(lldb) bt all
* thread #1, name = 'exitrace', stop reason = signal SIGSEGV
* frame #0: 0x000000083a2aaed0 libc.so.7`__guard_setup at
libc_stack_protector.c:69:27
frame #1: 0x00002f50661605bd
ld-elf.so.1`objlist_call_init(list=0x0000000827154ab0,
lockstate=0x0000000827154a30) at rtld.c:3275:6
frame #2: 0x00002f5066165589
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=<unavailable>, lo_flags=<unavailable>, mode=1,
lockstate=0x0000000827154a30) at rtld.c:4069:3
frame #3: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #4: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #5: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #6: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #7: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee51646810) at thr_create.c:299:2
thread #2, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x0000000820d11778) at rtld_lock.c:275:2
frame #5: 0x00002f50661683a0
ld-elf.so.1`objlist_call_fini(list=<unavailable>, root=0x0000000000000000,
lockstate=0x0000000820d11778) at rtld.c:3183:4
frame #6: 0x00002f5066160329 ld-elf.so.1`rtld_exit at rtld.c:3586:2
thread #3, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x00000008260f0a30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee51644810) at thr_create.c:299:2
thread #4, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x00000008268fca30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee51646010) at thr_create.c:299:2
thread #5, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c4000) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176020,
lockstate=0x0000000827a7a668) at rtld_lock.c:275:2
frame #5: 0x00002f5066162807
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x0000000827a7a7c8) at rtld.c:4438:2
thread #6, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x00000008280a16d0) at rtld_lock.c:275:2
frame #5: 0x00002f5066162974
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x00000008280a17c8) at rtld.c:4448:3
thread #7, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x0000000829281a30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee51648010) at thr_create.c:299:2
thread #8, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x000000082a1e1a30) at rtld_lock.c:275:2
frame #5: 0x00002f506615c409 ld-elf.so.1`reloc_iresolve_nonplt [inlined]
reloc_iresolve_one(obj=0x000016ee51686008, rela=0x0000000839561a08,
lockstate=0x000000082a1e1a30) at reloc.c:435:2
frame #6: 0x00002f506615c3b4
ld-elf.so.1`reloc_iresolve_nonplt(obj=0x000016ee51686008,
lockstate=0x000000082a1e1a30) at reloc.c:469:4
frame #7: 0x00002f506616021c ld-elf.so.1`initlist_objects_ifunc [inlined]
resolve_object_ifunc(obj=0x000016ee51686008, bind_now=false, flags=0,
lockstate=0x000000082a1e1a30) at rtld.c:3547:6
frame #8: 0x00002f50661601a4
ld-elf.so.1`initlist_objects_ifunc(list=0x000000082a1e11f0, bind_now=false,
flags=0, lockstate=0x000000082a1e1a30) at rtld.c:3569:7
frame #9: 0x00002f5066165573 ld-elf.so.1`dlopen_object(name="", fd=-1,
refobj=0x000016ee51607c08, lo_flags=0, mode=1, lockstate=0x000000082a1e1a30) at
rtld.c:4057:6
frame #10: 0x00002f5066162e44 ld-elf.so.1`symlook_obj_load_filtees
[inlined] load_filtee1(obj=0x000016ee51607c08, needed=<unavailable>, flags=0,
lockstate=0x000000082a1e1a30) at rtld.c:2729:17
frame #11: 0x00002f5066162e26 ld-elf.so.1`symlook_obj_load_filtees
[inlined] load_filtees(obj=0x000016ee51607c08, flags=0,
lockstate=0x000000082a1e1a30) at rtld.c:2743:2
frame #12: 0x00002f5066162d9c
ld-elf.so.1`symlook_obj_load_filtees(req=0x000000082a1e1370,
req1=0x000000082a1e12f8, obj=0x000016ee51607c08, needed=0x000016ee516005a8) at
rtld.c:4958:2
frame #13: 0x00002f5066162d3c
ld-elf.so.1`symlook_obj(req=0x000000082a1e1370, obj=0x000016ee51607c08) at
rtld.c:5001:10
frame #14: 0x00002f5066167ec2
ld-elf.so.1`symlook_list(req=0x000000082a1e1448, objlist=<unavailable>,
dlp=0x000000082a1e1488) at rtld.c:4892:14
frame #15: 0x00002f506616113c
ld-elf.so.1`symlook_default(req=0x000000082a1e14d0, refobj=0x000016ee51607808)
at rtld.c:4847:9
frame #16: 0x00002f5066160c4c ld-elf.so.1`find_symdef(symnum=4,
refobj=0x000016ee51607808, defobj_out=0x000000082a1e1570, flags=1,
cache=0x0000000000000000, lockstate=0x000000082a1e1a30) at rtld.c:2059:9
frame #17: 0x00002f506615c14d
ld-elf.so.1`reloc_jmpslots(obj=0x000016ee51607808, flags=0,
lockstate=0x000000082a1e1a30) at reloc.c:386:10
frame #18: 0x00002f50661673b5
ld-elf.so.1`relocate_object(obj=0x000016ee51607808, bind_now=<unavailable>,
rtldobj=0x00002f5066175650, flags=0, lockstate=0x000000082a1e1a30) at
rtld.c:3481:6
frame #19: 0x00002f50661653d8 ld-elf.so.1`dlopen_object [inlined]
relocate_object_dag(root=0x000016ee51607808, bind_now=<unavailable>,
rtldobj=<unavailable>, flags=0, lockstate=0x000000082a1e1a30) at rtld.c:3377:11
frame #20: 0x00002f50661653c5
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=<unavailable>, lo_flags=2, mode=1, lockstate=0x000000082a1e1a30) at
rtld.c:3996:24
frame #21: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #22: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #23: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #24: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #25: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee51648810) at thr_create.c:299:2
thread #9, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c4000) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176020,
lockstate=0x000000082adfc668) at rtld_lock.c:275:2
frame #5: 0x00002f5066162807
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x000000082adfc7c8) at rtld.c:4438:2
thread #10, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c4000) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176020,
lockstate=0x000000082be60668) at rtld_lock.c:275:2
frame #5: 0x00002f5066162807
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x000000082be607c8) at rtld.c:4438:2
thread #11, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x000000082c3d0a30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee5164a010) at thr_create.c:299:2
thread #12, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x000000082c76fa30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee5164a810) at thr_create.c:299:2
thread #13, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x00002f5066165971 ld-elf.so.1`load_object [inlined]
object_match_name(obj=0x000016ee51603408, name="/lib/libgcc_s.so.1") at
rtld.c:5946:7
frame #1: 0x00002f5066165952
ld-elf.so.1`load_object(name="/lib/libgcc_s.so.1", fd_u=-1,
refobj=0x000016ee51603008, flags=2) at rtld.c:2858:8
frame #2: 0x00002f5066164fc6
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=<unavailable>,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x000000082cc32a30) at
rtld.c:3963:9
frame #3: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #4: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #5: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #6: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #7: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee5164b010) at thr_create.c:299:2
thread #14, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x000000082d42ba30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee5164b810) at thr_create.c:299:2
thread #15, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c4000) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176020,
lockstate=0x000000082d6f0668) at rtld_lock.c:275:2
frame #5: 0x00002f5066162807
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x000000082d6f07c8) at rtld.c:4438:2
thread #16, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c4000) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176020,
lockstate=0x000000082dfe5668) at rtld_lock.c:275:2
frame #5: 0x00002f5066162807
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x000000082dfe57c8) at rtld.c:4438:2
thread #17, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c4000) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176020,
lockstate=0x000000082e9a2668) at rtld_lock.c:275:2
frame #5: 0x00002f5066162807
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x000000082e9a27c8) at rtld.c:4438:2
thread #18, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x000000082f681a30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee5164d810) at thr_create.c:299:2
thread #19, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x000000083023ea30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee5164e010) at thr_create.c:299:2
thread #20, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c4000) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176020,
lockstate=0x00000008306ce668) at rtld_lock.c:275:2
frame #5: 0x00002f5066162807
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x00000008306ce7c8) at rtld.c:4438:2
thread #21, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c4000) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176020,
lockstate=0x0000000830ecb668) at rtld_lock.c:275:2
frame #5: 0x00002f5066162807
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x0000000830ecb7c8) at rtld.c:4438:2
thread #22, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c4000) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176020,
lockstate=0x0000000831270668) at rtld_lock.c:275:2
frame #5: 0x00002f5066162807
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x00000008312707c8) at rtld.c:4438:2
thread #23, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x0000000831aa0a30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee51650010) at thr_create.c:299:2
thread #24, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c4000) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176020,
lockstate=0x00000008327bb668) at rtld_lock.c:275:2
frame #5: 0x00002f5066162807
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x00000008327bb7c8) at rtld.c:4438:2
thread #25, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x00000008399e2095 libgcc_s.so.1`__cpu_indicator_init [inlined]
getX86CpuIDAndInfo(value=2147483648, rEAX=<unavailable>, rEBX=<unavailable>,
rECX=<unavailable>, rEDX=<unavailable>) at x86.c:272:3
frame #1: 0x00000008399e208b libgcc_s.so.1`__cpu_indicator_init [inlined]
getAvailableFeatures(ECX=<unavailable>, EDX=<unavailable>, MaxLeaf=16,
Features=<unavailable>) at x86.c:1062:3
frame #2: 0x00000008399e1ff8 libgcc_s.so.1`__cpu_indicator_init at
x86.c:1177:3
frame #3: 0x00002f50661605bd
ld-elf.so.1`objlist_call_init(list=0x00000008332e0ab0,
lockstate=0x00000008332e0a30) at rtld.c:3275:6
frame #4: 0x00002f5066165589
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=<unavailable>, lo_flags=<unavailable>, mode=1,
lockstate=0x00000008332e0a30) at rtld.c:4069:3
frame #5: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #6: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #7: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #8: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #9: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee51651010) at thr_create.c:299:2
thread #26, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c4000) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176020,
lockstate=0x0000000833db8668) at rtld_lock.c:275:2
frame #5: 0x00002f5066162807
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x0000000833db87c8) at rtld.c:4438:2
thread #27, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x0000000834b9ea30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee51652010) at thr_create.c:299:2
thread #28, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c4000) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176020,
lockstate=0x000000083526e668) at rtld_lock.c:275:2
frame #5: 0x00002f5066162807
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x000000083526e7c8) at rtld.c:4438:2
thread #29, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x0000000835c8aa30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee51653010) at thr_create.c:299:2
thread #30, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x00000008363f6a30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee51653810) at thr_create.c:299:2
thread #31, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x000000083698da30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee51654010) at thr_create.c:299:2
thread #32, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c4000) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176020,
lockstate=0x000000083701f668) at rtld_lock.c:275:2
frame #5: 0x00002f5066162807
ld-elf.so.1`dl_iterate_phdr(callback=0x0000000823137ac0,
param=0x000000083701f7c8) at rtld.c:4438:2
thread #33, name = 'exitrace', stop reason = signal SIGSEGV
frame #0: 0x0000000824d9a65c
frame #1: 0x00000008223bf7d0
libthr.so.3`__thr_rwlock_wrlock(rwlock=<unavailable>, tsp=0x0000000000000000)
at thr_umtx.c:314:10
frame #2: 0x00000008223b9c41 libthr.so.3`_thr_rtld_wlock_acquire [inlined]
_thr_rwlock_wrlock(rwlock=<unavailable>, tsp=<unavailable>) at
thr_umtx.h:238:10
frame #3: 0x00000008223b9c1a
libthr.so.3`_thr_rtld_wlock_acquire(lock=0x00000008223c3f80) at
thr_rtld.c:145:9
frame #4: 0x00002f5066168e4d
ld-elf.so.1`wlock_acquire(lock=0x00002f5066176000,
lockstate=0x0000000837faba30) at rtld_lock.c:275:2
frame #5: 0x00002f5066164f6e
ld-elf.so.1`dlopen_object(name="/lib/libgcc_s.so.1", fd=-1,
refobj=0x000016ee51603008, lo_flags=2, mode=1, lockstate=0x0000000000000000) at
rtld.c:3953:3
frame #6: 0x00002f5066161775
ld-elf.so.1`rtld_dlopen(name="/lib/libgcc_s.so.1", fd=-1, mode=<unavailable>)
at rtld.c:3924:10
frame #7: 0x00000008223b26c2 libthr.so.3`_pthread_exit_mask [inlined]
thread_uw_init at thr_exit.c:86:17
frame #8: 0x00000008223b267b
libthr.so.3`_pthread_exit_mask(status=0x0000000000000000,
mask=0x0000000000000000) at thr_exit.c:241:2
frame #9: 0x00000008223b25fb libthr.so.3`_Tthr_exit(status=<unavailable>)
at thr_exit.c:206:2
frame #10: 0x00000008223b20d9
libthr.so.3`thread_start(curthread=0x000016ee51655010) at thr_create.c:299:2
--
You are receiving this mail because:
You are the assignee for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<bug-300942-227@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail From: bugzilla-noreply@freebsd.org Newsgroups: muc.lists.freebsd.bugs Subject: [Bug 300942] pthread_exit() + exit() can race and crash with SEGV Date: Fri, 20 Nov 2026 08:48:52 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-300942-227@https.bugs.freebsd.org/bugzilla/> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="56825"; mail-complaints-to="news-admin@muc.de" X-Original-To: bugs@mlmmj.nyi.freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795164532; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6c2mHlaUqp+z6FWD/czCqxDi6bsSEJhM4nwIWMNYUKg=; b=qLPD3eN7xsaLRyKrZOj3iNa77vN3GNOTfwxuS73R3u0Ooo09JVN1joHa1yUBBUmhzp9L5I mnE401nHX51kjjjDZj/DNxxH2T0y+qXj7sKbF4hay9fQhM6YJk1FI0vT5RMp69HGvWt7q9 R5sl1JYRsyB2J9gExR3nWWvgq2qUzqo4Q3BXmMAQyk+Pp0TjmVYAwGYsls1nLHqoIA1MgK 4vy1uZCbhJMITPHUdpKIITY9jrjt66lerN0X8kpwbDxjziRdByBTl/GPfygYUf34khvl+U wj89zhqe7IMnYNSPpiLgh9O/JJQFwrLgPqZaXNfJFVBDYBdA0TSFzJf4MUU8NQ== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes