You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These tests seem to fail with a shared druntime (depending on arch as
well), and work with a static one. CI fails with a static druntime
though.
A gdb backtrace with a shared druntime:
```
Reading symbols from ./a...
(No debugging symbols found in ./a)
(gdb) r
Starting program: /root/build/a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x0000005555550afc in D main ()
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x0000007ff77432f0 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
(gdb) bt
\#0 0x0000007ff77432f0 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\#1 0x0000007ff77563b8 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\#2 0x0000007ff7757000 in _Unwind_Backtrace () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\#3 0x0000007ff78b2c6c in backtrace () from /usr/lib64/libc.so.6
\#4 0x0000007ff7aee058 in core.lifetime.emplace!(core.runtime.DefaultTraceInfo).emplace(core.runtime.DefaultTraceInfo) ()
from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\#5 0x0000007ff7aed1f0 in core.runtime.defaultTraceHandler(void*) () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\#6 0x0000007ff7b09614 in _d_createTrace () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\#7 0x0000007ff7b0a7a0 in _d_throw_exception () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\#8 0x0000007ff7acb418 in _d_assert_msg () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\#9 0x0000005555550d18 in etc.linux.memoryerror.registerMemoryAssertHandler!().registerMemoryAssertHandler()._d_handleSignalAssert(int, core.sys.posix.signal.siginfo_t*, void*) ()
\#10 <signal handler called>
\#11 0x0000005555550afc in D main ()
```
And with a static druntime:
```
Reading symbols from ./a...
(No debugging symbols found in ./a)
(gdb) r
Starting program: /tmp/a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x000000555556a4bc in D main ()
(gdb) c
Continuing.
core.exception.AssertError@/usr/lib/ldc2/1.41/include/d/etc/linux/memoryerror.d(415): segmentation fault: null pointer read/write operation
----------------
??:? [0x555557fa2f]
??:? [0x555557f1ab]
??:? [0x5555581d17]
??:? [0x5555570893]
??:? [0x555556b2ab]
??:? [0x555556a6d7]
??:? [0x7ff7ffb797]
??:? [0x555556a4bb]
??:? [0x5555570567]
??:? [0x5555570413]
??:? [0x5555570277]
??:? [0x555556a5a3]
??:? [0x7ff7d02053]
??:? __libc_start_main [0x7ff7d02137]
??:? [0x555556a3af]
Program received signal SIGSEGV, Segmentation fault.
0x0000007ffffffdd0 in ?? ()
```
Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
0 commit comments