• 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: Debug error--gdb could not unwind past...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug error--gdb could not unwind past...


  • Subject: Re: Debug error--gdb could not unwind past...
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 16 Sep 2011 14:12:21 -0700

On Sep 16, 2011, at 11:21 , dct wrote:

I disabled the Enable C++ Exceptions setting but I still get the same behavior--
 gdb could not unwind ... 30-40% of the time after a Stop/Build and Debug (& an occasional EXC_BAD_ACCESS).

This is not what you said exactly but I think what you're asking is, "What's wrong with gdb and how can I get around it?"

While it's possible you've run across a nasty gdb bug (or a compiler bug that generated invalid debug information, perhaps), you really have no evidence to support that position. I think you have to assume for now that your code (or possible a code library that you use) has a bug that's corrupting the stack. Such a bug could easily produce exactly the symptoms you describe.

The fact that the same code has apparently been working elsewhere before doesn't really provide any proof that no app code bug exists. It may just prove that you've been lucky in the past.

If the stack is being corrupted, there's no reason to believe that the point at which the error is *detected* gives any clue to the place where the error is *caused*. It could be anywhere in the called code, at any nested level. If you treat the called code with greater suspicion, you may find a way of looking in the right place for the problem, rather than (perhaps) looking in the wrong place.


 _______________________________________________
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: 
 >Debug error--gdb could not unwind past... (From: dct <email@hidden>)
 >Re: Debug error--gdb could not unwind past... (From: "Mills, Steve" <email@hidden>)
 >Re: Debug error--gdb could not unwind past... (From: dct <email@hidden>)
 >Re: Debug error--gdb could not unwind past... (From: "Mills, Steve" <email@hidden>)
 >Re: Debug error--gdb could not unwind past... (From: dct <email@hidden>)

  • Prev by Date: Symbol not found: ___umoddi3
  • Next by Date: Re: No longer use NSLog() in Xcode 4?
  • Previous by thread: Re: Debug error--gdb could not unwind past...
  • Next by thread: Re: Debug error--gdb could not unwind past...
  • Index(es):
    • Date
    • Thread