Re: [patch] Fix oddity in personality routine

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
Jack Howarth wrote:
> On Sun, Nov 29, 2009 at 06:00:57PM +0000, Andrew Haley wrote:
>> Jack Howarth wrote:
>>> On Sat, Nov 28, 2009 at 10:43:26AM +0000, Andrew Haley wrote:
>>>> Jack Howarth wrote:
>>>>> On Fri, Nov 27, 2009 at 10:40:17AM +0000, Andrew Haley wrote:

>>>>
>>>    I managed to get a build of libgcc at -O0 under darwin9 that I used to walk through
>>> the FSF gcc unwinder. The walk is at...
>>>
>>> http://gcc.gnu.org/bugzilla/attachment.cgi?id=19174
>>>
>>> and the list of the frames is at...
>>>
>>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991#c26
>>>
>>> Does this clarify the problem at all on intel darwin? Let me know if there
>>> is any other particular debug information I can provide.
>> It stops when unwinding java.lang.ClassLoader.loadClass(java.lang.String, boolean),
>> either because the unwinder data is buggy (probably) or because the unwinder
>> itself is buggy.
> 
>   Would it help if I just used a breakpoint on uw_frame_state_for() and provided all
> of the unwinding info that is being processed? Might that clarify if the unwinder
> data is buggy?

Not really, no.  The only thing now is to debug the unwinder at the point
where the exception should be caught.  You're seeing a bus error in the
unwinder itself, which points to a failure to follow the chain of stack
frames.

Andrew.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.