Re: What does this mean?
Re: What does this mean?
- Subject: Re: What does this mean?
- From: Henry Maddocks <email@hidden>
- Date: Mon, 02 May 2005 23:14:54 +1200
Run your app in gdb and when it stops type 'bt' (backtrace) or 'where'
and it will show you the code that is causing the EXC_BAD_ACCESS.
You can run it in the XCode debugger to get the same info. The other
messages were probably symptoms of this error.
You are probably trying to access memory (variable / class whatever)
you don't own or is no longer valid.
On 02/05/2005, at 6:10 PM, John Draper wrote:
Based on the earlier problem I submitted, where I mentioned the
source level
debugger indicated I had 3 threads.... thread 1, 2 and 5.
However, in gdb console - I get....
Program received signal: "EXC_BAD_ACCESS".
[Switching to process 3753 thread 0xca1f]
[Switching to process 3753 thread 0xca1f]
(gdb) info thread
Thread 0xca1f (local 0x179f) has current state "WAITING"
Thread 0xca1f has a suspend count of 0.
(gdb)
In the 'info thread' display you see above, it only shows 2 threads
and not 3.
WHY is that? Why would the source level debugger show 3 and the gdb
only
show 2.
Also what do they mean by:
current state "WAITING" - what is "WAITING", the sub thread? or
the
main event loop thread?
and
suspend count of 0 - what do they mean by suspend count?
I search for these words in the ADC site, they only talk about them,
but don't
explain it.... Can someone explain this to me please?
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden