Issue present on sbcl-2.4.4 On Darwin Darwin 19.6.0 Darwin Kernel Version 19.6.0: Tue Jun 21 21:18:39 PDT 2022; root:xnu-6153.141.66~1/RELEASE_X86_64 x86_64 sbcl-2.4.4 682.877055 0.000039 Finished running tests. 682.877099 0.000015 Status: 682.877133 0.000013 Skipped (broken): compiler.pure.lisp / FULL-WARNING-FOR-UNDEFINED-TYPE-IN-CL 682.877161 0.000011 Skipped (broken): compiler.pure.lisp / SINGLE-WARNING-FOR-SINGLE-UNDEFINED-TYPE 682.877186 0.000012 Skipped (broken): dynamic-extent.pure.lisp / STACK-ALLOCATED-VECTOR-CHECKS-OVERFLOW 682.877213 0.000013 Expected failure: float.pure.lisp / (LOG SAME-BASE-DIFFERENT-PRECISION) 682.877235 0.000037 Skipped (broken): gethash-concurrency.pure.lisp / (HASH-TABLE UNSYNCHRONIZED) 682.877257 0.000036 Expected failure: hash.pure.lisp / SXHASH-ON-DISPLACED-STRING 682.877281 0.000025 Expected failure: block-compile.impure.lisp / BLOCK-COMPILE-TOP-LEVEL-CLOSURES.SAME-ENVIRONMENT.LOCAL-CALLS 682.877305 0.000023 Expected failure: compiler-2.impure.lisp / TOP-LEVEL-CLOSURE-SEPARATE-COMPONENT 682.877330 0.000022 Expected failure: compiler-2.impure.lisp / TOP-LEVEL-CLOSURE-SEPARATE-COMPONENT.2 682.877362 0.000022 Expected failure: full-eval.impure.lisp / INLINE-FUN-CAPTURES-DECL 682.877378 0.000019 Expected failure: gc-cardmark.impure.lisp / COMPACT-INSTANCE-HEADER-LAYOUT 682.877396 0.000021 Expected failure: packages.impure.lisp / USE-PACKAGE-CONFLICT-SET 682.877409 0.000024 Expected failure: packages.impure.lisp / IMPORT-SINGLE-CONFLICT 682.877420 0.000022 Skipped (broken): run-program.impure.lisp / (RUN-PROGRAM AUTOCLOSE-STREAMS) 682.877433 0.000022 (33 tests skipped for this combination of platform and features) 682.926776 0.049372 ok 682.926820 0.000063 //apparent success (reached end of run-tests.sh normally) 682.930984 0.004157 Tue Apr 30 14:41:43 CEST 2024 20240430-172429 - run 66 // Running bug-1180102.impure.lisp in COMPILE evaluator mode ::: Running (:TIMER :DISPATCH-THREAD :MAKE-THREAD :BUG-1180102) ::: Success (:TIMER :DISPATCH-THREAD :MAKE-THREAD :BUG-1180102) ::: Running (:MAKE-THREAD :INTERRUPT-WITH :MAKE-THREAD :BUG-1180102) ; .................................................................................................... ::: Success (:MAKE-THREAD :INTERRUPT-WITH :MAKE-THREAD :BUG-1180102) 20240430-172436 - run 67 // Running bug-1180102.impure.lisp in COMPILE evaluator mode ::: Running (:TIMER :DISPATCH-THREAD :MAKE-THREAD :BUG-1180102) ::: Success (:TIMER :DISPATCH-THREAD :MAKE-THREAD :BUG-1180102) ::: Running (:MAKE-THREAD :INTERRUPT-WITH :MAKE-THREAD :BUG-1180102) ; ............................................................................... Stops here lldb -p 33158 (lldb) process attach --pid 33158 Process 33158 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP frame #0: 0x00007fff690da54e libsystem_kernel.dylib`__ulock_wait + 10 libsystem_kernel.dylib`: -> 0x7fff690da54e <+10>: jae 0x7fff690da558 ; <+20> 0x7fff690da550 <+12>: movq %rax, %rdi 0x7fff690da553 <+15>: jmp 0x7fff690d9619 ; cerror_nocancel 0x7fff690da558 <+20>: retq Executable module set to "/Users/Shared/cl/scm/sbcl-2.4.4/src/runtime/sbcl". Architecture set to: x86_64h-apple-macosx-. (lldb) (lldb) thread list Process 33158 stopped * thread #1: tid = 0x13a6d75, 0x00007fff690da54e libsystem_kernel.dylib`__ulock_wait + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP thread #2: tid = 0x13a6d77, 0x00007fff690db872 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'finalizer' thread #3: tid = 0x13b18bf, 0x00007fff690d8e26 libsystem_kernel.dylib`semaphore_wait_trap + 10 thread #4: tid = 0x13b18c1, 0x00007fff690da54e libsystem_kernel.dylib`__ulock_wait + 10 (lldb) (lldb) thread backtrace 1 * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x00007fff690da54e libsystem_kernel.dylib`__ulock_wait + 10 frame #1: 0x00007fff6918e9c3 libsystem_platform.dylib`_os_unfair_lock_lock_slow + 160 frame #2: 0x00007fff6919cd56 libsystem_pthread.dylib`_pthread_create + 984 frame #3: 0x0000000054a48d8b frame #4: 0x0000000054881791 frame #5: 0x0000000054623e09 frame #6: 0x0000000054623c28 frame #7: 0x0000000054881446 frame #8: 0x000000005521525f frame #9: 0x000000005520246b frame #10: 0x00000000547abfdb frame #11: 0x0000000054865560 frame #12: 0x0000000054885f94 frame #13: 0x00000000548858ff frame #14: 0x000000005481a6c7 frame #15: 0x0000000054885245 frame #16: 0x0000000054727ad2 frame #17: 0x000000005488644f frame #18: 0x000000005472764c frame #19: 0x0000000055213196 frame #20: 0x0000000055214575 frame #21: 0x00000000547abfdb frame #22: 0x000000005464f902 frame #23: 0x0000000054a0f782 frame #24: 0x000000005486613b frame #25: 0x0000000054b5e474 frame #26: 0x0000000054b5e27b frame #27: 0x0000000054b5e0a8 frame #28: 0x00000000064b95ad sbcl`call_into_lisp_ at x86-64-assem.S:209 frame #29: 0x000000000649e140 sbcl`create_main_lisp_thread(function=) at thread.c:393:5 [opt] frame #30: 0x00000000064999cd sbcl`initialize_lisp(argc=, argv=, envp=0x00007ffee9887280) at runtime.c:812:5 [opt] frame #31: 0x000000000648df69 sbcl`main(argc=, argv=, envp=) at main.c:11:5 [opt] frame #32: 0x00007fff68f97cc9 libdyld.dylib`start + 1 (lldb) (lldb) thread backtrace 2 thread #2, name = 'finalizer' frame #0: 0x00007fff690db872 libsystem_kernel.dylib`__psynch_cvwait + 10 frame #1: 0x00007fff6919c425 libsystem_pthread.dylib`_pthread_cond_wait + 698 frame #2: 0x0000000006484964 sbcl`finalizer_thread_wait at gc-common.c:1435:9 [opt] frame #3: 0x0000000054871b10 frame #4: 0x000000005487ffd0 frame #5: 0x0000000054880715 frame #6: 0x000000005487fb88 frame #7: 0x00000000548808f4 frame #8: 0x000000005487f969 frame #9: 0x00000000064b95ad sbcl`call_into_lisp_ at x86-64-assem.S:209 frame #10: 0x0000000006483258 sbcl`funcall1(function=, arg0=) at funcall.c:52:12 [opt] frame #11: 0x000000000649e6ae sbcl`new_thread_trampoline(arg=) at thread.c:589:5 [opt] frame #12: 0x00000000064b952d sbcl`funcall1_switching_stack at x86-64-assem.S:107 frame #13: 0x00007fff6919c109 libsystem_pthread.dylib`_pthread_start + 148 frame #14: 0x00007fff69197b8b libsystem_pthread.dylib`thread_start + 15 (lldb) (lldb) thread backtrace 3 thread #3 frame #0: 0x00007fff690d8e26 libsystem_kernel.dylib`semaphore_wait_trap + 10 frame #1: 0x00007fff68f3eaed libdispatch.dylib`_dispatch_sema4_wait + 16 frame #2: 0x00007fff68f3efbf libdispatch.dylib`_dispatch_semaphore_wait_slow + 98 frame #3: 0x000000000649df77 sbcl`thread_wait_until_not(undesired_state=, thread=0x0000000008a80080) at thread.c:195:9 [opt] frame #4: 0x000000000648c2d0 sbcl`sig_stop_for_gc_handler(signal=, info=, context=0x000000000887f7a8) at interrupt.c:1474:20 [opt] frame #5: 0x000000000648d25a sbcl`low_level_handle_now_handler(signal=31, info=0x000000000887f740, void_context=) at interrupt.c:0 [opt] frame #6: 0x00007fff691905fd libsystem_platform.dylib`_sigtramp + 29 frame #7: 0x00007fff6919be84 libsystem_pthread.dylib`pthread_kill + 466 frame #8: 0x0000000054a4961e frame #9: 0x000000005476bb32 frame #10: 0x0000000054623e09 frame #11: 0x0000000054623c28 frame #12: 0x000000005476ba9f frame #13: 0x000000005487ffd0 frame #14: 0x0000000054880715 frame #15: 0x000000005487fb88 frame #16: 0x00000000548808f4 frame #17: 0x000000005487f969 frame #18: 0x00000000064b95ad sbcl`call_into_lisp_ at x86-64-assem.S:209 frame #19: 0x0000000006483258 sbcl`funcall1(function=, arg0=) at funcall.c:52:12 [opt] frame #20: 0x000000000649e6ae sbcl`new_thread_trampoline(arg=) at thread.c:589:5 [opt] frame #21: 0x00000000064b952d sbcl`funcall1_switching_stack at x86-64-assem.S:107 frame #22: 0x00007fff6919c109 libsystem_pthread.dylib`_pthread_start + 148 frame #23: 0x00007fff69197b8b libsystem_pthread.dylib`thread_start + 15 (lldb) (lldb) thread backtrace 4 thread #4 frame #0: 0x00007fff690da54e libsystem_kernel.dylib`__ulock_wait + 10 frame #1: 0x00007fff6918e9c3 libsystem_platform.dylib`_os_unfair_lock_lock_slow + 160 frame #2: 0x00007fff6919bd80 libsystem_pthread.dylib`pthread_kill + 206 frame #3: 0x000000000649eeb1 sbcl`gc_stop_the_world at thread.c:1213:22 [opt] frame #4: 0x00000000547b73e5 frame #5: 0x0000000054faf797 frame #6: 0x0000000054faf57d frame #7: 0x0000000054faf35c frame #8: 0x00000000064b95ad sbcl`call_into_lisp_ at x86-64-assem.S:209 frame #9: 0x0000000006483258 sbcl`funcall1(function=, arg0=) at funcall.c:52:12 [opt] frame #10: 0x0000000006486fb9 sbcl`maybe_gc(context=) at gc-common.c:2208:19 [opt] frame #11: 0x000000000648bfa9 sbcl`interrupt_handle_pending(context=0x000000000785f990) at interrupt.c:1134:18 [opt] frame #12: 0x000000000648d25a sbcl`low_level_handle_now_handler(signal=5, info=0x000000000785f928, void_context=) at interrupt.c:0 [opt] frame #13: 0x00007fff691905fd libsystem_platform.dylib`_sigtramp + 29 frame #14: 0x0000000054a4656a frame #15: 0x00000000548800e3 frame #16: 0x0000000054880715 frame #17: 0x000000005487fb88 frame #18: 0x00000000548808f4 frame #19: 0x000000005487f969 frame #20: 0x00000000064b95ad sbcl`call_into_lisp_ at x86-64-assem.S:209 frame #21: 0x0000000006483258 sbcl`funcall1(function=, arg0=) at funcall.c:52:12 [opt] frame #22: 0x000000000649e6ae sbcl`new_thread_trampoline(arg=) at thread.c:589:5 [opt] frame #23: 0x00000000064b952d sbcl`funcall1_switching_stack at x86-64-assem.S:107 frame #24: 0x00007fff6919c109 libsystem_pthread.dylib`_pthread_start + 148 frame #25: 0x00007fff69197b8b libsystem_pthread.dylib`thread_start + 15 (lldb)