Re: All apps crashing, but only in gdb
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