• 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: All apps crashing, but only in gdb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: All apps crashing, but only in gdb


  • Subject: Re: All apps crashing, but only in gdb
  • From: Paul Kim <email@hidden>
  • Date: Mon, 16 Feb 2009 18:52:49 -0500

I just wanted to post a follow-up here as it seems as if I found the culprit. I basically had the following in my .gdbinit:

# Nil-handling path for objc_msgSend_fpret.
b *0x90a57420
comm
  p (char *)$ecx
end
# Nil-handling path for objc_msgSend_stret.
b *0x90a573a0
comm
  p (char *)$ecx
end

which, it seems, I picked up from here: http://blog.omnigroup.com/2007/03/11/catching-float-and-struct-returning-messages-to-nil/

Commenting those lines out fixed things, at least so far (knock on wood). I didn't suspect it since that's been in there for years but given the use of fixed addresses, I was probably asking for trouble. Also, using the same .gdbinit on another account did not trigger the bombing so it really depends on the memory layout for each user.

Thanks for all the responses here and hopefully this will save someone some hair-pulling if they run into anything vaguely similar.

Paul Kim
_______________________________________________
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: 
 >All apps crashing, but only in gdb (From: Paul Kim <email@hidden>)
 >Re: All apps crashing, but only in gdb (From: Ken Thomases <email@hidden>)
 >Re: All apps crashing, but only in gdb (From: Paul Kim <email@hidden>)
 >Re: All apps crashing, but only in gdb (From: Michael Crawford <email@hidden>)

  • Prev by Date: Re: BOOL type deprecated in 64-bit?
  • Next by Date: Re: BOOL type deprecated in 64-bit?
  • Previous by thread: Re: All apps crashing, but only in gdb
  • Next by thread: Xcode not copying modified files to Resources folder
  • Index(es):
    • Date
    • Thread