SIGBUS 10 in Autorelease Pool
SIGBUS 10 in Autorelease Pool
- Subject: SIGBUS 10 in Autorelease Pool
- From: Marc Weil <email@hidden>
- Date: Tue, 22 Apr 2003 11:56:05 -0400
Hello,
My program keeps crashing at the same spot with either SIGBUS 10 or SIGSEGV
11 at the same location. I have no idea what is going on, and the crash
isn't occurring in my code, but rather an obj runtime function. Here's the
backtrace that was logged in my program's crash log:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x2e302e39
Thread 0 Crashed:
#0 0x9068ba54 in objc_msgSend
#1 0x907e2660 in NSPopAutoreleasePool
#2 0x930b1dd0 in -[NSApplication run]
#3 0x9315fc58 in NSApplicationMain
#4 0x00004b2c in main (main.m:13)
#5 0x00004874 in _start (crt.c:267)
#6 0x000046e4 in start
It seems to be something with variables of mine being autoreleased by the
runtime. The only thing I can think of is that, somewhere, an object is
being autoreleased, and then released, causing the pointer in the
autorelease pool to be invalid. But I can't think of anything else, and I
can't find where this is occurring in my code.
Could anyone provide me with some assistance?
Thanks,
Marc Weil
_______________________________________________
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.