Le jeudi 06 décembre 2007 à 12:43 +0000, Richard Frith-Macdonald a
écrit :

> Well it does ... unless the program crashes first :-)

:)

> Thanks ...looks like it's crashing while trying to find the callstack return 
> addresses.
> 
> 1. Could you please let me know what signal is causing the crash ... this 
> code has a signal handler to trap segmentation violations caused by a known 
> bug in gcc, but maybe the gcc function to provide return addresses can crash 
> in ways other than a segmentation violation.

gdb tells me :
Program received signal SIGSEGV, Segmentation fault.

> 2. Could you also try updating from svn ... I just recently added a check to 
> try to limit the number of return addresses we look up to 2 less than the 
> reported number of stack frames, in the hope of avoiding encountering the bug 
> in gcc's __builtin_return_address() function altogether.  It may be that this 
> will have fixed your problem.

Yep, I did an update and it works perfectly now !

Thanks a lot Richard,
Philippe





_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to