realbasic-nug
[Top] [All Lists]

Sockets in Carbon

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Sockets in Carbon
From: Charles Yeomans <yeomans at desuetude dot com>
Date: Wed, 30 Jan 2002 20:10:55 -0500
I just underwent a curious episode in which using sockets caused RB 4 Carbon to crash repeatedly, but not RB 4 Classic. We were having a problem with our router which caused it to slow to a crawl, causing lots of DNS timeouts (and generally mucking things up). So, the socket was unable to resolve an address to an IP number. This appears to have left something in a terribly unstable state, as the second time I would run my app in the IDE, it would crash -- not immediately, but soon after startup. The common thread, so to speak, among most crashes looked like

Thread 0:
 #0   0x70000978 in mach_msg_overwrite_trap
 #1   0x70005a04 in mach_msg
 #2   0x7017bf98 in __CFRunLoopRun
 #3   0x701b7100 in CFRunLoopRunSpecific
 #4   0x7017b8e0 in CFRunLoopRunInMode
 #5   0x7312cccc in RunEventLoopInModeUntilEventArrives
 #6   0x731c2ac4 in RunEventLoopUntilEventArrives
 #7   0x731a0950 in GetNextEventMatchingMask
 #8   0x731ad904 in WNEInternal
 #9   0x731c5474 in WaitNextEvent
 #10  0x00565650 in EventPump(void)
 #11  0x0057d600 in HandleEvents(void)
 #12  0x0057d98c in mainloop(void)
 #13  0x0057a1b8 in main


Unfortunately, I can't pin things down more precisely.

Charles Yeomans




<Prev in Thread] Current Thread [Next in Thread>