View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002564 | Spring engine | Mac OS X | public | 2011-07-15 15:57 | 2011-07-16 23:55 | ||||
Reporter | daftalx | ||||||||
Assigned To | zerver | ||||||||
Priority | normal | Severity | crash | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.82.7+git | ||||||||
Target Version | Fixed in Version | 0.82.7+git | |||||||
Summary | 0002564: Crash at startup (probably SDL) | ||||||||
Description | (gdb tracing) Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000008 0x00007fff881d4d55 in __cxxabiv1::__pbase_type_info::__do_catch () (gdb) bt #0 0x00007fff881d4d55 in __cxxabiv1::__pbase_type_info::__do_catch () #1 0x00007fff881d316e in get_adjusted_ptr () #2 0x00007fff881d38de in __gxx_personality_v0 () 0000003 0x00007fff815801f1 in _Unwind_RaiseException () 0000004 0x00007fff881d3bef in __cxa_throw () 0000005 0x00007fff83503192 in objc_exception_throw () #6 0x00007fff81825969 in -[NSException raise] () #7 0x00007fff81a454b5 in -[NSWindow _commonAwake] () #8 0x00007fff81a4216e in -[NSWindow _commonInitFrame:styleMask:backing:defer:] () #9 0x00007fff81a40dfa in -[NSWindow _initContent:styleMask:backing:defer:contentView:] () 0000010 0x00007fff81a40883 in -[NSWindow initWithContentRect:styleMask:backing:defer:] () #11 0x0000000102641c0d in -[SDL_QuartzWindow initWithContentRect:styleMask:backing:defer:] () 0000012 0x000000010263f0e4 in QZ_SetVideoMode () 0000013 0x000000010263625f in SDL_SetVideoMode () 0000014 0x0000000100586150 in SpringApp::SetSDLVideoMode () at /Users/userX/Downloads/spring-spring-e7fd11e/rts/System/SpringApp.cpp:384 #15 0x0000000100586ed9 in SpringApp::InitWindow (this=0x7fff5fbff690, title=<value temporarily unavailable, due to optimizations>) at /Users/userX/Downloads/spring-spring-e7fd11e/rts/System/SpringApp.cpp:316 #16 0x000000010058b3c9 in SpringApp::Initialize (this=0x7fff5fbff690) at /Users/userX/Downloads/spring-spring-e7fd11e/rts/System/SpringApp.cpp:187 #17 0x000000010058b8b0 in SpringApp::Run (this=0x7fff5fbff690, argc=1, argv=0x7fff5fbff958) at /Users/userX/Downloads/spring-spring-e7fd11e/rts/System/SpringApp.cpp:1102 #18 0x0000000100569aa6 in MainFunc (argc=1, argv=0x7fff5fbff958, ret=0x7fff5fbff908) at /Users/userX/Downloads/spring-spring-e7fd11e/rts/System/Main.cpp:54 #19 0x000000010056a1a5 in Run (argc=1, argv=0x7fff5fbff958) at /Users/userX/Downloads/spring-spring-e7fd11e/rts/System/Main.cpp:65 0000020 0x0000000100063ea8 in start () at iostream:77 | ||||||||
Additional Information | (what happens after the infolog and before the "bt" call): Reading symbols for shared libraries . done 2011-07-15 15:48:24.882 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104427cd0 of class NSCFNumber autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.884 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104601f10 of class NSCFNumber autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.884 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104601ad0 of class NSCFNumber autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.885 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104603100 of class NSCFDictionary autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.885 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff703fbb78 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.886 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x1046033e0 of class NSCFNumber autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.886 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70406dd8 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.887 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104602730 of class NSCFNumber autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.887 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70406eb8 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.887 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104602cf0 of class NSCFNumber autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.888 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff704074b8 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.888 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104602cf0 of class NSCFNumber autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.889 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70406eb8 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.889 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff704074b8 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.890 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70406eb8 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.890 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff704074b8 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.890 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70406eb8 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.891 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70406eb8 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.891 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70406eb8 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.892 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104403dc0 of class NSCFNumber autoreleased with no pool in place - just leaking Reading symbols for shared libraries . done 2011-07-15 15:48:24.904 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x1046065e0 of class __NSFontTypefaceInfo autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.904 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104430bd0 of class NSAffineTransform autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.905 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104430c70 of class NSFont autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.905 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x10442ffa0 of class NSFont autoreleased with no pool in place - just leaking Reading symbols for shared libraries . done Reading symbols for shared libraries . done 2011-07-15 15:48:24.919 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104434760 of class NSCFArray autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.920 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104434ec0 of class NSCFArray autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.920 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104435290 of class NSCFSet autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.921 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104435360 of class NSCFArray autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.921 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x1044353a0 of class NSCFArray autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.922 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104435600 of class NSCFSet autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.922 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70387910 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.923 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff703936f0 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.923 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70395590 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.924 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x1044356f0 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.924 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x1044357b0 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.925 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff703928d0 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.925 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70389b30 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.926 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff7038aed0 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.926 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70394450 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.926 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70392dd0 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.927 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104435730 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.927 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70386830 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.927 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104435810 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.928 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104435940 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.928 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104435990 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.928 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x10442ffa0 of class NSFont autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.929 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70394e30 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.929 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70386e70 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.929 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104404040 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.930 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104436f60 of class NSCFCharacterSet autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.930 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104437100 of class NSDeviceRGBColor autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.931 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104603240 of class NSCFNumber autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.931 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104437d30 of class NSCalibratedWhiteColor autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.931 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x1044386d0 of class NSCFArray autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.932 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104500960 of class NSCFDictionary autoreleased with no pool in place - just leaking Supported Video modes: 1920x1200, 1920x1080, 1600x1200, 1600x1000, 1344x1008, 1280x1024, 1280x960, 1344x840, 1360x768, 1280x800, 1152x870, 1024x768, 1024x640, 960x600, 832x624, 800x600, 848x480, 800x500, 640x480 2011-07-15 15:48:24.957 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x129c00f50 of class NSMutableParagraphStyle autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.958 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x10430d980 of class NSCFDictionary autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.959 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104310710 of class NSCFArray autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.959 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x1043098b0 of class __NSFontTypefaceInfo autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.960 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104309a60 of class NSFont autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.960 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x1043094e0 of class NSFont autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.961 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff703f0538 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.962 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x10430a500 of class _NSThemeCloseWidget autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.962 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x10430a740 of class NSCFArray autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.963 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x1043094e0 of class NSFont autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.963 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff703f0538 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.964 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x10430b340 of class _NSThemeWidget autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.964 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104305750 of class NSCFArray autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.965 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x1043094e0 of class NSFont autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.965 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x7fff703f0538 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.966 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x104309d20 of class _NSThemeWidget autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.967 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x129e00020 of class NSCFArray autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.967 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x129e00240 of class NSTrackingArea autoreleased with no pool in place - just leaking Fri Jul 15 15:48:24 localhost spring[60713] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection Fri Jul 15 15:48:24 localhost spring[60713] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. 2011-07-15 15:48:24.968 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x10450acf0 of class NSTrackingArea autoreleased with no pool in place - just leaking Fri Jul 15 15:48:24 localhost spring[60713] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection Fri Jul 15 15:48:24 localhost spring[60713] <Error>: kCGErrorInvalidConnection: CGSNewWindowWithOpaqueShape: Invalid connection 2011-07-15 15:48:24.969 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x10450a970 of class NSCFString autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.969 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x10450a8b0 of class NSException autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.969 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x10450bfd0 of class _NSCallStackArray autoreleased with no pool in place - just leaking 2011-07-15 15:48:24.969 spring[60713:a0f] *** __NSAutoreleaseNoPool(): Object 0x10450c080 of class _NSCallStackArray autoreleased with no pool in place - just leaking | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
daftalx (reporter) 2011-07-16 17:44 |
found it: the #include SDL_main.h line must be inserted in rts/System/Main.cpp, but ONLY when making target "spring" (not the other ones). Right now it's never included (ifndef __APPLE__), so it compiles for all targets but spring won't run. Can the flag be changed based on build target ? |
daftalx (reporter) 2011-07-16 18:17 Last edited: 2011-07-16 18:35 |
fixed |
zerver (reporter) 2011-07-16 23:55 |
good |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-07-15 15:57 | daftalx | New Issue | |
2011-07-15 15:57 | daftalx | File Added: infolog.txt | |
2011-07-15 15:57 | daftalx | Graphics Card | => unknown |
2011-07-15 16:23 | hoijui | Build | => 0.82.3-2690-ge7fd11e |
2011-07-15 16:23 | hoijui | Description Updated | |
2011-07-16 17:44 | daftalx | Note Added: 0007047 | |
2011-07-16 18:17 | daftalx | Note Added: 0007048 | |
2011-07-16 18:35 | daftalx | Note Edited: 0007048 | |
2011-07-16 23:55 | zerver | Note Added: 0007049 | |
2011-07-16 23:55 | zerver | Status | new => resolved |
2011-07-16 23:55 | zerver | Fixed in Version | => 0.82.7+git |
2011-07-16 23:55 | zerver | Resolution | open => fixed |
2011-07-16 23:55 | zerver | Assigned To | => zerver |