NSURLConnection crash
NSURLConnection crash
- Subject: NSURLConnection crash
- From: Sijmen Mulder <email@hidden>
- Date: Thu, 24 Jul 2008 19:23:02 +0200
I'm experiencing strange crashes with NSURLConnection
(EXC_BAD_ACCESS). As far as I know, I'm doing nothing strange. I set
up the request, pass it to a connection, and let it start. Then, after
a second or two, the crash comes.
Note that I'm using garbage collection.
I've narrowed it down to a very small test case, which can be found
here:
http://paste.lisp.org/display/64154 <- just the code
http://a404.net/files/ConnectionCrashSample.zip <- zipped project
This is the backtrace of the crash:
#0 0x933af4a6 in mach_msg_trap ()
#1 0x933b6c9c in mach_msg ()
#2 0x93ed50ce in CFRunLoopRunSpecific ()
#3 0x93ed5cf8 in CFRunLoopRunInMode ()
#4 0x92d30da4 in RunCurrentEventLoopInMode ()
#5 0x92d30bbd in ReceiveNextEventCommon ()
#6 0x92d30a31 in BlockUntilNextEventMatchingListInMode ()
#7 0x96ab6505 in _DPSNextEvent ()
#8 0x96ab5db8 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#9 0x96aaedf3 in -[NSApplication run] ()
#10 0x96a7c030 in NSApplicationMain ()
#11 0x00001b80 in main (argc=1, argv=0xbffff62c) at /Users/sjmulder/
Desktop/ConnectionCrashSample/main.m:13
I have no idea what's left for me to do. Any help would be greatly
appreciated.
–Sijmen_______________________________________________
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