Re: Random crashes
Re: Random crashes
- Subject: Re: Random crashes
- From: email@hidden
- Date: Fri, 8 Feb 2002 18:35:20 -0500
You are not giving enough information here. Quick tips:
- make sure that your Autorelease pool is not cleaning up something that
some other sections of the code might need
- make sure that you don't accidentally close any sockets and at some
other point try to read from them
- make sure you don't have a race condition
If you give us more info, I might be able to help.
Nick
On Friday, February 8, 2002, at 02:06 PM, Robert Vasvari wrote:
Folks,
I get random crashes that are very hard to
explain... It seems to crash in the main thread where
none of my code is being executed. Another subthread
is exiting and something in AEGetDescDataSize ??
crashes. The other situation that triggers this
sometimes is read calls on sockets in other
subthreads. Any help is appreciated.
=[vrobi]=
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at
0x00000044
Thread 0 Crashed:
#0 0x735f92a8 in AEGetDescDataSize
#1 0x735fc418 in AESizeOfFlattenedDesc
#2 0x73d75e60 in BuildIPCPackage
#3 0x73d7e92c in MessageHandler
#4 0x701a4894 in __CFMessagePortPerform
#5 0x7018f3b0 in __CFRunLoopDoSource1
#6 0x7017c1e0 in __CFRunLoopRun
#7 0x701b7100 in CFRunLoopRunSpecific
#8 0x7017b8e0 in CFRunLoopRunInMode
#9 0x7312cccc in
RunEventLoopInModeUntilEventArrives
#10 0x7313fe60 in ReceiveNextEventCommon
#11 0x73171120 in
BlockUntilNextEventMatchingListInMode
#12 0x70bd70b8 in _DPSNextEvent
#13 0x70bfe5d8 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
#14 0x70c23468 in -[NSApplication run]
#15 0x70c91ed0 in NSApplicationMain
#16 0x0005e8a0 in main
#17 0x000039b8 in _start
#18 0x000037e8 in start
Thread 1:
#0 0x70000978 in mach_msg_overwrite_trap
#1 0x70005a04 in mach_msg
#2 0x70026a2c in _pthread_become_available
#3 0x70026724 in pthread_exit
#4 0x70848ba0 in -[NSThread _exit]
#5 0x70858bd4 in +[NSThread exit]
#6 0x000565c4 in -[RBThreadArgument
fakeThreadSelector]
#7 0x70842358 in forkThreadForFunction
#8 0x7002054c in _pthread_body
PPC Thread State:
srr0: 0x735f92a8 srr1: 0x0200f030
vrsave: 0x00000004
xer: 0x0000000c lr: 0x735f926c ctr: 0x735fc408
mq: 0x00000000
r0: 0x735fc418 r1: 0xbfffece0 r2: 0x01e3af00
r3: 0x00000044
r4: 0xbfffee40 r5: 0x00000000 r6: 0x00000003
r7: 0x00000000
r8: 0xffffffff r9: 0x01e19230 r10: 0x00000000
r11: 0x83d70240
r12: 0x735fc408 r13: 0x00000000 r14: 0x00000000
r15: 0x00000000
r16: 0x00000001 r17: 0x00000001 r18: 0x00000000
r19: 0x0000493b
r20: 0xbffff0c8 r21: 0x00000000 r22: 0x8016024c
r23: 0x00000000
r24: 0x01e3b270 r25: 0x00000000 r26: 0xbfffee40
r27: 0x01e3b270
r28: 0xbfffee40 r29: 0x00000000 r30: 0x00000044
r31: 0x735f926c
**********
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.