GDB Problems
GDB Problems
- Subject: GDB Problems
- From: "Bridger Maxwell" <email@hidden>
- Date: Thu, 4 Sep 2008 16:49:18 -0600
Hey,
On one of my projects any time I try to start the program with a debug point
set, GDB crashes before anything happens. It prints out:
run
[Switching to process 2279 local thread 0x2d03]
Running…
2008-09-04 16:32:28.470 MyApp[2279:813] 1.00000
[Switching to process 2279 thread 0x5603]
[Switching to process 2279 thread 0x5603]
Program received signal: "EXC_BAD_ACCESS".
Cannot access memory at address 0x4
Cannot access memory at address 0x4
I then did a backtrace and get:
*(gdb) **backtrace*
#0 0xdeadbeef in ?? ()
Cannot access memory at address 0x4
What is extremely frustrating is that this has started to happen in all of
my applications, even a brand new vanilla project. This project is the only
one that it happens all of the time for though, usually building and
rebuilding will a successful launch.
After some Googling, it seems others have run into this problem but no one
posted a fix. One person suggested it had to do with his installation of
both Xcode2.5 and Xcode3.1, which I had both installed. I uninstalled both
and then reinstalled Xcode3.1, but the problem persists.
It looks like someone had a similar problem with a Java app that got
resolved (
http://www.mailinglistarchive.com/email@hidden/msg06697.html),
but mine isn't Java.
Please help me! I can't continue to work until this is resolved and I have
already spent a few days trying to figure it out.
Thank You,
Bridger Maxwell
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden