• 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: dct <email@hidden>
  • Date: Mon, 19 Sep 2011 11:20:24 -0700

Jens,

Thanks for the reply.  But, in a way, it begs the issue of where to look and what to look for (& watch out for) in C/Obj-C code.  My recent run-in suggests that passing faulty data to a function can do the trick. I assume that there are other ways too and it'd be nice to know if these are documented anywhere.

Thanks


On Sep 18, 2011, at 3:41 PM, Jens Alfke wrote:


On Sep 18, 2011, at 12:09 PM, dct wrote:

Still, I would like to know a bit more about the  "Error from Debugger:Previous frame inner to this frame (gdb could not unwind past this frame)" error--conditions that cause it and strategies to counter it.  Are you aware of any references?

Generally it’s a bug that causes data on the stack to be overwritten, like a buffer overflow in a local array variable. If this overwrites the return address on the stack, then the debugger can’t find out who called this function. (And if you weren’t in the debugger already, the app would crash when returning from the function or very soon thereafter.)

—Jens

 _______________________________________________
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

  • Follow-Ups:
    • Re: Debug error--gdb could not unwind past...
      • From: Jens Alfke <email@hidden>
    • Re: Debug error--gdb could not unwind past...
      • From: Sean McBride <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: Jens Alfke <email@hidden>)

  • Prev by Date: iOS App Ready to Upload ???
  • Next by Date: Re: Debug error--gdb could not unwind past...
  • 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