[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception handling with NSURL

From: Philippe Roussel
Subject: Re: Exception handling with NSURL
Date: Thu, 06 Dec 2007 14:06:16 +0100

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,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]