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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to