45
« on: June 07, 2012, 10:48:00 pm »
For the record, the applicable stack traces:
ufomodel built from 8adf00afba41a139f7ff8c8a9a26ecc659084a21 stopped at line from Mem_Alloc error:
* thread #1: tid = 0x1f03, 0x000000010001482c ufomodel`operator new(unsigned long) + 12 at mem.cpp:656, stop reason = breakpoint 1.1
frame #0: 0x000000010001482c ufomodel`operator new(unsigned long) + 12 at mem.cpp:656
frame #1: 0x00007fff93be1509 CarbonCore`SCClientSession::checkinWithServer(unsigned int*) + 141
frame #2: 0x00007fff93be1323 CarbonCore`_ZL22connectToCoreServicesDv + 71
frame #3: 0x00007fff93be12a5 CarbonCore`_ZL9getStatusv + 24
frame #4: 0x00007fff93be121f CarbonCore`scCreateSystemServiceVersion + 50
frame #5: 0x00007fff895e22a1 LaunchServices`_ZL45SetupCoreApplicationServicesCommunicationPortv + 147
frame #6: 0x00007fff895e2206 LaunchServices`IsLSServerConnected(bool) + 24
frame #7: 0x00007fff895f6c89 LaunchServices`_LSApplicationCheckIn + 125
frame #8: 0x00007fff8b1773af HIServices`_RegisterApplication + 1139
frame #9: 0x00007fff8b176f0d HIServices`GetCurrentProcess + 31
frame #10: 0x00007fff88f3162f HIToolbox`_GetAggregateUIMode + 37
frame #11: 0x00007fff88f315e8 HIToolbox`IsMenuBarVisible + 42
frame #12: 0x00007fff89caa0eb AppKit`_NSInitializeAppContext + 47
frame #13: 0x00007fff89ca9627 AppKit`-[NSApplication init] + 519
frame #14: 0x00007fff89ca924e AppKit`+[NSApplication sharedApplication] + 142
frame #15: 0x0000000100023c2e ufomodel`main [inlined] CustomApplicationMain + 71 at SDLMain.m:204
frame #16: 0x0000000100023be7 ufomodel`main + 135 at SDLMain.m:377
frame #17: 0x0000000100004c74 ufomodel`start + 52
ufo built from 8adf00afba41a139f7ff8c8a9a26ecc659084a21 stopped at EXC_BAD_ACCESS:
* thread #1: tid = 0x1f03, 0x00000001000b5122 ufo`NET_GetAddrinfoForNode + 66 at net.cpp:928, stop reason = EXC_BAD_ACCESS (code=1, address=0x3c)
frame #0: 0x00000001000b5122 ufo`NET_GetAddrinfoForNode + 66 at net.cpp:928
frame #1: 0x00000001000b5e2a ufo`NET_ResolvNode(char const*, char*, unsigned long) + 42 at net.cpp:1189
frame #2: 0x0000000100095dfc ufo`HTTP_ResolvURL + 156 at http.cpp:160
frame #3: 0x0000000100095b59 ufo`HTTP_PutFile(char const*, char const*, char const*, upparam_s const*) + 89 at http.cpp:214
frame #4: 0x00000001000a3fc7 ufo`Com_UploadCrashDump(char const*) + 135 at common.cpp:694
frame #5: 0x0000000100134bff ufo`Sys_Backtrace() + 447 at unix_main.cpp:274
frame #6: 0x000000010013497b ufo`Sys_Error(char const*, ...) + 315 at unix_main.cpp:83
frame #7: 0x00000001000b2051 ufo`_Mem_Alloc(unsigned long, int, memPool_t*, int, char const*, int) + 65 at mem.cpp:298
frame #8: 0x00000001000b2e7f ufo`operator new(unsigned long) + 47 at mem.cpp:656
frame #9: 0x00007fff93be1509 CarbonCore`SCClientSession::checkinWithServer(unsigned int*) + 141
frame #10: 0x00007fff93be1323 CarbonCore`_ZL22connectToCoreServicesDv + 71
frame #11: 0x00007fff93be12a5 CarbonCore`_ZL9getStatusv + 24
frame #12: 0x00007fff93be121f CarbonCore`scCreateSystemServiceVersion + 50
frame #13: 0x00007fff895e22a1 LaunchServices`_ZL45SetupCoreApplicationServicesCommunicationPortv + 147
frame #14: 0x00007fff895e2206 LaunchServices`IsLSServerConnected(bool) + 24
frame #15: 0x00007fff895f6c89 LaunchServices`_LSApplicationCheckIn + 125
frame #16: 0x00007fff8b1773af HIServices`_RegisterApplication + 1139
frame #17: 0x00007fff8b176f0d HIServices`GetCurrentProcess + 31
frame #18: 0x00007fff88f3162f HIToolbox`_GetAggregateUIMode + 37
frame #19: 0x00007fff88f315e8 HIToolbox`IsMenuBarVisible + 42
frame #20: 0x00007fff89caa0eb AppKit`_NSInitializeAppContext + 47
frame #21: 0x00007fff89ca9627 AppKit`-[NSApplication init] + 519
frame #22: 0x00007fff89ca924e AppKit`+[NSApplication sharedApplication] + 142
frame #23: 0x00000001001c336e ufo`main [inlined] CustomApplicationMain + 71 at SDLMain.m:204
frame #24: 0x00000001001c3327 ufo`main + 135 at SDLMain.m:377
frame #25: 0x0000000100007404 ufo`start + 52
For reference, ufo built from b7ffc466749335dc45024fbc10bf014f7ea2227e stopped at breakpoint set on Mem_Init:
* thread #1: tid = 0x1f03, 0x00000001000b2b39 ufo`Mem_Init() + 25 at mem.cpp:625, stop reason = breakpoint 2.1
frame #0: 0x00000001000b2b39 ufo`Mem_Init() + 25 at mem.cpp:625
frame #1: 0x00000001000a5091 ufo`Qcommon_Init(int, char**) + 1473 at common.cpp:1177
frame #2: 0x0000000100132f85 ufo`SDL_main + 37 at osx_main.cpp:68
frame #3: 0x00000001001c43d0 ufo`-[SDLMain applicationDidFinishLaunching:] + 48 at SDLMain.m:300
frame #4: 0x00007fff8f9f1d0e Foundation`__-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
frame #5: 0x00007fff924e97ba CoreFoundation`_CFXNotificationPost + 2634
frame #6: 0x00007fff8f9ddfc3 Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 65
frame #7: 0x00007fff89cb44e3 AppKit`-[NSApplication _postDidFinishNotification] + 212
frame #8: 0x00007fff89cb4249 AppKit`-[NSApplication _sendFinishLaunchingNotification] + 78
frame #9: 0x00007fff89cb2f10 AppKit`-[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 242
frame #10: 0x00007fff89cb2c71 AppKit`-[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 330
frame #11: 0x00007fff92533541 CoreFoundation`-[NSObject performSelector:withObject:withObject:] + 65
frame #12: 0x00007fff8fa147c7 Foundation`__-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 + 101
frame #13: 0x00007fff8fa1374e Foundation`-[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 283
frame #14: 0x00007fff8fa135dc Foundation`_NSAppleEventManagerGenericHandler + 105
frame #15: 0x00007fff8f82cc25 AE`aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 200
frame #16: 0x00007fff8f82cb03 AE`_ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 38
frame #17: 0x00007fff8f82c9f7 AE`aeProcessAppleEvent + 250
frame #18: 0x00007fff88f3fd7d HIToolbox`AEProcessAppleEvent + 102
frame #19: 0x00007fff89cb007d AppKit`_DPSNextEvent + 1247
frame #20: 0x00007fff89caf735 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
frame #21: 0x00007fff89cac071 AppKit`-[NSApplication run] + 470
frame #22: 0x00000001001c4a23 ufo`main [inlined] CustomApplicationMain + 1164 at SDLMain.m:227
frame #23: 0x00000001001c4597 ufo`main + 135 at SDLMain.m:377
frame #24: 0x0000000100006784 ufo`start + 52
~J