• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash on Throw
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash on Throw


  • Subject: Re: Crash on Throw
  • From: David Dunham <email@hidden>
  • Date: Wed, 5 Mar 2008 23:53:18 -0800


On 5 Mar 2008, at 18:39, William H. Schultz wrote:

I'll start with the obvious questions:

1) Are you inside a try/catch block?
2) Are you catching the type you're throwing?
3) Is there a library/framework in between the throw and catch that doesn't support exceptions?
4) Are you catching "(...)"?
5) Are you sure it's crashing? Did you tell gdb to break on exceptions?


There's a try/catch up a level or two above in the call stack, but not in this function. (Normally it's been caught and ignored.)

It's still all C++.

The catch (levels up) is of the type being thrown.

It's definitely crashing (on this machine -- seems to work on another, though I haven't copied the executable over to double-check).

It's definitely not showing that it's breaking on C++ exceptions, and that's why I cleared out the personal files from the .xcodeproj folder.

This is code that's been working for years, and I'm not aware of any relevant changes.

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


References: 
 >Crash on Throw (From: David Dunham <email@hidden>)
 >Re: Crash on Throw (From: "William H. Schultz" <email@hidden>)

  • Prev by Date: Re: using lgamma_r
  • Next by Date: Interface Builder 3.0, SVN and NIB files
  • Previous by thread: Re: Crash on Throw
  • Next by thread: Re: Crash on Throw
  • Index(es):
    • Date
    • Thread