Backtraces on Linux 64-bit

aldanor i.s.smirnov at gmail.com
Mon Oct 28 03:43:07 PDT 2013


Hi all,

Does anybody know what's the current story with 64-bit Linux 
backtraces? I've seen a couple of posts here and on stackoverflow 
(like this 
http://stackoverflow.com/questions/10527901/d2-not-getting-any-backtrace-info), 
couldn't find any definitive answers for the 64-bit case.

./test(pure @safe immutable(char)[] 
std.exception.enforce!(immutable(char)[]).enforce(immutable(char)[], 
lazy const(char)[], immutable(char)[], ulong)+0x6a) [0x50a85e]
./test(_Dmain+0x17f) [0x4a188b]
./test(extern (C) int rt.dmain2._d_run_main(int, char**, extern 
(C) int function(char[][])*).void runMain()+0x18) [0x529740]
./test(extern (C) int rt.dmain2._d_run_main(int, char**, extern 
(C) int function(char[][])*).void tryExec(scope void 
delegate())+0x2a) [0x529272]
./test(extern (C) int rt.dmain2._d_run_main(int, char**, extern 
(C) int function(char[][])*).void runAll()+0x40) [0x529790]
./test(extern (C) int rt.dmain2._d_run_main(int, char**, extern 
(C) int function(char[][])*).void tryExec(scope void 
delegate())+0x2a) [0x529272]
./oracle(_d_run_main+0x1ae) [0x52922e]
./test(main+0x17) [0x52907b]
/lib64/libc.so.6(__libc_start_main+0xe6) [0x7f87dd21dc36]


Note: I have the -L--export-dynamic flag enabled in dmd.conf, but 
it doesn't seem to do much; I'm running dmd64 v2.063.2.


More information about the Digitalmars-d mailing list