Re: A working backtrace for linux

2010-08-04 Thread Sean Kelly
Johannes Pfau wrote: > On 04.08.2010 07:26, David Bryant wrote: >> Ok, >> >> I've added -L--export-dynamic to dmd.conf and done a copy/modify of >> DefaultTraceInfo from runtime.d to include demangling and catch > > certain >> signals. My backtraces now look gorgeous under Linux. >> >> I've atta

Re: A working backtrace for linux

2010-08-04 Thread Leandro Lucarella
Kagamin, el 3 de agosto a las 22:54 me escribiste: > Leandro Lucarella Wrote: > > > You might be interested in this thread: > > http://thread.gmane.org/gmane.comp.lang.d.phobos/1468 > > > What's a druntime list? A mailing list[1] where the topic is Druntime[2] perhaps? [1] http://lists.puremag

Re: A working backtrace for linux

2010-08-04 Thread Rory Mcguire
Thanks!! The code at the start of this thread didn't work at all for me but what you've done works. David Bryant wrote: > Ok, > > I've added -L--export-dynamic to dmd.conf and done a copy/modify of > DefaultTraceInfo from runtime.d to include demangling and catch certain > signals. My backtra

Re: A working backtrace for linux

2010-08-04 Thread Johannes Pfau
On 04.08.2010 07:26, David Bryant wrote: > Ok, > > I've added -L--export-dynamic to dmd.conf and done a copy/modify of > DefaultTraceInfo from runtime.d to include demangling and catch certain > signals. My backtraces now look gorgeous under Linux. > > I've attached the source for the updated mod

Re: A working backtrace for linux

2010-08-03 Thread David Bryant
Ok, I've added -L--export-dynamic to dmd.conf and done a copy/modify of DefaultTraceInfo from runtime.d to include demangling and catch certain signals. My backtraces now look gorgeous under Linux. I've attached the source for the updated module. Thanks, Dave On 04/08/10 12:39, Sean Kelly w

Re: A working backtrace for linux

2010-08-03 Thread Graham St Jack
On 04/08/10 12:47, Brad Roberts wrote: On 8/3/2010 8:09 PM, Sean Kelly wrote: Graham St Jack Wrote: Sean, is there any chance of you rolling some of the good stuff in this code into druntime? In particular, it would be very nice to get symbol names in a stacktrace rather than a bunch

Re: A working backtrace for linux

2010-08-03 Thread Brad Roberts
On 8/3/2010 8:09 PM, Sean Kelly wrote: > Graham St Jack Wrote: >> >> Sean, is there any chance of you rolling some of the good stuff in this >> code into druntime? >> >> In particular, it would be very nice to get symbol names in a stacktrace >> rather than a bunch of addresses, and even nicer to

Re: A working backtrace for linux

2010-08-03 Thread Sean Kelly
Graham St Jack Wrote: > > Sean, is there any chance of you rolling some of the good stuff in this > code into druntime? > > In particular, it would be very nice to get symbol names in a stacktrace > rather than a bunch of addresses, and even nicer to get a stacktrace on > a SIGSEGV. You can ge

Re: A working backtrace for linux

2010-08-03 Thread Kagamin
Leandro Lucarella Wrote: > You might be interested in this thread: > http://thread.gmane.org/gmane.comp.lang.d.phobos/1468 > What's a druntime list?

Re: A working backtrace for linux

2010-08-03 Thread Graham St Jack
On 04/08/10 05:30, Sean Kelly wrote: Trass3r Wrote: Which reminds me that there are still no traces for Windoze, even though Tango has been providing for quite some time IIRC. Then perhaps the person who wrote the Tango Win32 backtrace will submit it to Phobos :-) I've been busy wi

Re: A working backtrace for linux

2010-08-03 Thread Trass3r
Then perhaps the person who wrote the Tango Win32 backtrace will submit it to Phobos :-) So far they haven't shown much interest in D2 ;)

Re: A working backtrace for linux

2010-08-03 Thread Sean Kelly
Trass3r Wrote: > Which reminds me that there are still no traces for Windoze, even though > Tango has been providing for quite some time IIRC. Then perhaps the person who wrote the Tango Win32 backtrace will submit it to Phobos :-) I've been busy with other things recently, but Win32 backtrac

Re: A working backtrace for linux

2010-08-03 Thread Leandro Lucarella
David Bryant, el 3 de agosto a las 14:47 me escribiste: > Hi all, > > I've been using D under Ubuntu for some time and the kinds of > backtraces I get when assertion fails look like this: > > core.exception.asserter...@doodle.dia.standard_tools(71): Assertion failure > > ./bin/d

Re: A working backtrace for linux

2010-08-03 Thread Trass3r
Which reminds me that there are still no traces for Windoze, even though Tango has been providing for quite some time IIRC.

A working backtrace for linux

2010-08-02 Thread David Bryant
Hi all, I've been using D under Ubuntu for some time and the kinds of backtraces I get when assertion fails look like this: core.exception.asserter...@doodle.dia.standard_tools(71): Assertion failure ./bin/doodler() [0x8102086] ./bin/doodler() [0x804e38f] ./bin/doodler() [0x81