Re: Crash on Throw
Re: Crash on Throw
- Subject: Re: Crash on Throw
- From: David Dunham <email@hidden>
- Date: Thu, 6 Mar 2008 21:32:30 -0800
On 6 Mar 2008, at 18:27, Ken Thomases wrote:
On Mar 5, 2008, at 4:23 PM, David Dunham wrote:
All of a sudden a C++ app is crashing when throwing an exception.
I've done a clean, and thrown out the personal files in .xcodeproj.
#0 0x000028fc in dyld_stub_binding_helper
#1 0x000ed558 in uw_init_context_1 at VignetteAnimate.cpp:246
#2 0x000edbe0 in _Unwind_Resume at VignetteAnimate.cpp:246
#3 0x000260dc in io::FileInputStream::FileInputStream at io.cpp:60
What's the specific crash? Illegal instruction? Access violation?
I will have to check when I'm back at the machine. I think it was
access violation.
If it's the former, is there any chance your stack could be
misaligned? The Mac OS X x86 ABI requires 16-byte-aligned stacks,
but assembly language written for other platforms may only be
written to preserve 4-byte alignment.
It's been crashing on PowerPC. But not Intel.
There's no fancy code here, only throwing a C++ object from C++.
David Dunham
Voice/Fax: 206 783 7404 http://www.pensee.com/dunham/
Imagination is more important than knowledge. -- Albert Einstein
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden