[Issue 21919] darwin: SEGV in core.thread tests on OSX 11

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 11 23:13:58 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21919

Lionello Lunesu <lio+bugzilla at lunesu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lio+bugzilla at lunesu.com

--- Comment #6 from Lionello Lunesu <lio+bugzilla at lunesu.com> ---
I suspect I'm running into this same bug while running the DMD 2.097.2 test
suite on Big Sur:

$ test_results/runnable/test15779_0
fish: “test_results/runnable/test15779…” terminated by signal SIGBUS
(Misaligned address error)

$ lldb test_results/runnable/test15779_0
(lldb) target create "test_results/runnable/test15779_0"
Current executable set to
'/Users/llunesu/repos/d/dmd/test/test_results/runnable/test15779_0' (x86_64).
(lldb) r
Process 854 launched:
'/Users/llunesu/repos/d/dmd/test/test_results/runnable/test15779_0' (x86_64)
Process 854 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=2, address=0x1001edc60)
    frame #0: 0x00007fff2031b4a8 libsystem_pthread.dylib`___chkstk_darwin + 96
libsystem_pthread.dylib`___chkstk_darwin:
->  0x7fff2031b4a8 <+96>:  testq  %rcx, (%rcx)
    0x7fff2031b4ab <+99>:  popq   %rcx
    0x7fff2031b4ac <+100>: retq

libsystem_pthread.dylib`pthread_getspecific:
    0x7fff2031b4ad <+0>:   movq   %gs:(,%rdi,8), %rax
Target 0: (test15779_0) stopped.
(lldb)

--


More information about the Digitalmars-d-bugs mailing list