[Issue 16856] D does not work on FreeBSD current (what will eventually be 12) due to libunwind
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Dec 4 21:50:37 PST 2016
https://issues.dlang.org/show_bug.cgi?id=16856
--- Comment #2 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
If I compile and run this program
void main()
{
throw new Exception("blah");
}
I get a bus error, and if I run it in gdb, I get this stacktrace:
#0 0x0000000800cd91bf in _Unwind_RaiseException () from /lib/libgcc_s.so.1
#1 0x000000000042a994 in _d_throwdwarf ()
#2 0x000000000042a216 in _Dmain ()
#3 0x000000000042a827 in
_D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv ()
#4 0x000000000042a76d in
_D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ7tryExecMFMDFZvZv ()
#5 0x000000000042a7e3 in _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZv ()
#6 0x000000000042a76d in
_D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ7tryExecMFMDFZvZv ()
#7 0x000000000042a6e7 in _d_run_main ()
#8 0x000000000042a2aa in main ()
So, I guess that whatever is going wrong relates to _Unwind_RaisException,
which I suppose makes sense, since that would appear to relate to libunwind.
--
More information about the Digitalmars-d-bugs
mailing list