Backtraces on Linux 64-bit

deadalnix deadalnix at gmail.com
Wed Oct 30 13:59:24 PDT 2013


On Monday, 28 October 2013 at 10:43:09 UTC, aldanor wrote:
> 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.

I have the project to improve this for D. And I'll do it one day 
:D

https://github.com/bombela/backward-cpp


More information about the Digitalmars-d mailing list