Technical support > Mac

Game does not start at all

<< < (4/8) > >>

Mattn:
it looks like it's crashing in VID_GetModeInfo - i will check once i find the time. thanks for reporting.

Kooks:
Hey there,

had the same log message as joyboy. so i downloaded the frameworks (sdl, sdl_image, sdl_mixer) and put them manually into the ufoai.app. now the app stays in the dock, but it still does not start and i have to terminate it. here is the log entry i usually get:

Date/Time:       2012-01-04 13:44:40 +0100
OS Version:      10.6.8 (Build 10K549)
Architecture:    x86_64
Report Version:  7

Command:         UFO: Alien Invasion
Path:            /Applications/UFOAI.app/Contents/MacOS/ufo
Version:         2.3.1 (2.3.1)
Parent:          launchd [136]

PID:             38100
Event:           hang
Duration:        5.21s (sampling started after 2 seconds)
Steps:           12 (100ms sampling interval)

Pageins:         1
Pageouts:        0


Process:         ufo [38100]
Path:            /Applications/UFOAI.app/Contents/MacOS/ufo
UID:             501

  Thread ffaa8      DispatchQueue 100
  User stack:
    12 start + 54 (in ufo) [0x2886]
      12 main + 247 (in ufo) [0x16a794]
        12 Qcommon_Init + 1563 (in ufo) [0xfac33]
          12 CL_Init + 508 (in ufo) [0x147bc]
            12 VID_Init + 704 (in ufo) [0x1aaaa]
              12 R_Init + 203 (in ufo) [0x13c376]
                12 Rimp_Init + 1038 (in ufo) [0x15b6bc]
                  12 R_SetMode + 264 (in ufo) [0x13acf6]
                    12 R_InitGraphics + 413 (in ufo) [0x15ba18]
                      12 SDL_SetVideoMode + 528 (in libSDL-1.2.0.dylib) [0x107262d0]
                        12 QZ_SetVideoMode + 1730 (in libSDL-1.2.0.dylib) [0x10730702]
                          12 -[NSWindow makeKeyAndOrderFront:] + 39 (in AppKit) [0x9549b8ed]
                            12 -[NSWindow _makeKeyRegardlessOfVisibility] + 128 (in AppKit) [0x9549b9a7]
                              12 -[NSWindow makeKeyWindow] + 72 (in AppKit) [0x9549ba38]
                                12 -[NSWindow _changeKeyAndMainLimitedOK:] + 810 (in AppKit) [0x9549bd7b]
                                  12 SDL_SoftStretch + 26562 (in SDL) [0x109173f2]
                                    12 -[NSWindow becomeKeyWindow] + 1359 (in AppKit) [0x9549c832]
                                      12 -[NSNotificationCenter postNotificationName:object:] + 56 (in Foundation) [0x987ca05d]
                                        12 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128 (in Foundation) [0x987bcc50]
                                          12 _CFXNotificationPostNotification + 186 (in CoreFoundation) [0x9307e16a]
                                            12 __CFXNotificationPost + 947 (in CoreFoundation) [0x9307e763]
                                              12 _nsnote_callback + 176 (in Foundation) [0x987c7db3]
                                                12 SDL_SoftStretch + 9344 (in SDL) [0x109130b0]
                                                  12 ??? [0xffffffff]
                                                    12 _sigtramp + 43 (in libSystem.B.dylib) [0x905a405b]
                                                      12 SDL_Parachute + 31 (in libSDL-1.2.0.dylib) [0x106faa0f]
                                                        12 SDL_Quit + 18 (in libSDL-1.2.0.dylib) [0x106fa3f2]
                                                          12 SDL_QuitSubSystem + 85 (in libSDL-1.2.0.dylib) [0x106fa335]
                                                            12 SDL_VideoQuit + 75 (in libSDL-1.2.0.dylib) [0x10725c5b]
                                                              12 QZ_VideoQuit + 87 (in libSDL-1.2.0.dylib) [0x1072f8a7]
                                                                12 QZ_UnsetVideoMode + 173 (in libSDL-1.2.0.dylib) [0x1072edad]
                                                                  12 -[NSWindow _close] + 430 (in AppKit) [0x956b71d1]
                                                                    12 -[NSWindow orderOut:] + 50 (in AppKit) [0x95527015]
                                                                      12 -[NSWindow orderWindow:relativeTo:] + 105 (in AppKit) [0x9549e161]
                                                                        12 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 2604 (in AppKit) [0x9549ebee]
                                                                          12 HideWindow + 154 (in HIToolbox) [0x90e6d659]
                                                                            12 _ShowHideWindows + 489 (in HIToolbox) [0x90bc63fe]
                                                                              12 SetUserFocusWindow + 318 (in HIToolbox) [0x90c2be0d]
                                                                                12 SendSimpleWindowEvent + 94 (in HIToolbox) [0x90bc0af8]
                                                                                  12 SendEventToEventTargetWithOptions + 58 (in HIToolbox) [0x90ba0d55]
                                                                                    12 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411 (in HIToolbox) [0x90ba0ef6]
                                                                                      12 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567 (in HIToolbox) [0x90ba1c2f]
                                                                                        12 carbonAppWindowHandler + 1343 (in AppKit) [0x95b33364]
                                                                                          12 -[NSWindow resignKeyWindow] + 433 (in AppKit) [0x9556d122]
                                                                                            12 -[NSNotificationCenter postNotificationName:object:] + 56 (in Foundation) [0x987ca05d]
                                                                                              12 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128 (in Foundation) [0x987bcc50]
                                                                                                12 _CFXNotificationPostNotification + 186 (in CoreFoundation) [0x9307e16a]
                                                                                                  12 __CFXNotificationPost + 947 (in CoreFoundation) [0x9307e763]
                                                                                                    12 _nsnote_callback + 176 (in Foundation) [0x987c7db3]
                                                                                                      12 SDL_SoftStretch + 9628 (in SDL) [0x109131cc]
  Kernel stack:
    9 lo_alltraps + 298 [0x2a18da]
      9 user_trap + 851 [0x2ab8ef]
        9 exception_triage + 222 [0x21be55]
          9 exception_deliver + 490 [0x21bb23]
            9 mach_exception_raise + 179 [0x23df2b]
              9 mach_msg_rpc_from_kernel_proper + 39 [0x21e3d2]
                5 mach_msg_rpc_from_kernel_body + 384 [0x21e2d7]
                  5 ipc_mqueue_receive + 101 [0x211dd0]
                    5 thread_block + 33 [0x227654]
                      5 thread_block_reason + 331 [0x2275c6]
                        5 thread_dispatch + 1966 [0x227327]
                          5 machine_switch_context + 659 [0x2a9adb]
                2 mach_msg_rpc_from_kernel_body + 205 [0x21e224]
                  2 ipc_kmsg_send + 420 [0x210bc1]
                    2 ipc_mqueue_send + 423 [0x2113dd]
                      2 ipc_mqueue_post + 545 [0x21121c]
                        2 ml_set_interrupts_enabled + 47 [0x2a45e3]
                1 _enable_preemption + 17 [0x29aca1]
                  1 kernel_preempt_check + 70 [0x2aac45]
                    1 ml_set_interrupts_enabled + 47 [0x2a45e3]
                1 mach_msg_rpc_from_kernel_body + 41 [0x21e180]
                  1 ipc_kmsg_get_from_kernel + 341 [0x21088c]
    2 lo_allintrs + 302 [0x2a1c2e]
      2 interrupt + 192 [0x2ab423]
        2 lapic_interrupt + 108 [0x2b32f2]
          2 mp_kdp_exit + 868 [0x2b4560]
            2 sync_iss_to_iks + 124 [0x2aabf6]
    1 lo_alltraps + 454 [0x2a1976]
      1 i386_astintr + 47 [0x2aacb4]
        1 ast_taken + 247 [0x219432]
          1 bsd_ast + 824 [0x48fed2]

  Thread ffaaf      DispatchQueue 1634545000
  User stack:
    12 start_wqthread + 30 (in libSystem.B.dylib) [0x905635c6]
      12 _pthread_wqthread + 390 (in libSystem.B.dylib) [0x90563781]
        12 _dispatch_worker_thread2 + 240 (in libSystem.B.dylib) [0x90563cfe]
          12 _dispatch_queue_invoke + 163 (in libSystem.B.dylib) [0x90563f59]
            12 kevent + 10 (in libSystem.B.dylib) [0x90564382]
  Kernel stack:
    12 kevent + 97 [0x47a699]

  Binary Images:
      0x1000 -   0x21efe7  net.sourceforge.UFOAI 2.3.1 (2.3.1) <E47AB43D-FB4C-D6EF-14EB-D4F46232C14F> /Applications/UFOAI.app/Contents/MacOS/ufo
  0x106f9000 - 0x10756f7b  libSDL-1.2.0.dylib ??? (???) <C1E30738-A33B-A73C-6DE6-C3CB0C708B68> /Applications/UFOAI.app/Contents/MacOS/../Libraries/libSDL-1.2.0.dylib
  0x108de000 - 0x10943f17  SDL 1.2.14 (1.2.14) <FA2F2FC9-E936-DD87-FBB0-F5052D5CDAB8> /Applications/UFOAI.app/Contents/MacOS/../Frameworks/SDL.framework/Versions/A/SDL
  0x9053d000 - 0x906e4ff7  libSystem.B.dylib ??? (???) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib
  0x90b9a000 - 0x90ebefef  com.apple.HIToolbox 1.6.5 (???) <21164164-41CE-61DE-C567-32E89755CB34> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
  0x93023000 - 0x9319efe7  com.apple.CoreFoundation 6.6.6 (550.44) <F88C95CD-1264-782D-A1F5-204739847E93> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
  0x9545f000 - 0x95d42ff7  com.apple.AppKit 6.6.8 (1038.36) <A353465E-CFC9-CB75-949D-786F6F7732F6> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
  0x987b2000 - 0x98a23fef  com.apple.Foundation 6.6.8 (751.63) <69B3441C-B196-F2AD-07F8-D8DD24E4CD8C> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation



Hope it helps.

Mattn:
Crash in sdlsoftstretch was a bug in an old sdl version

Kooks:
afaik sdl1.2 is the latest version.
i tried something else: i reinstalled the game, installed sdl, sld_mixer and sdl_image via macports ran selfupdate and upgrade outdated. there is still something wrong with sdl.
here is the log:
Process:         ufo [71844]
Path:            /Applications/UFOAI.app/Contents/MacOS/ufo
Identifier:      net.sourceforge.UFOAI
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [136]

Date/Time:       2012-01-05 14:39:50.256 +0100
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          3292386 sec
Crashes Since Last Report:           1833
Per-App Crashes Since Last Report:   15
Anonymous UUID:                      A9E071A7-F16A-4065-9AB7-683123F9FC9D

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image
  Referenced from: /Applications/UFOAI.app/Contents/MacOS/ufo
  Reason: no suitable image found.  Did find:
   /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image: mach-o, but wrong architecture

Binary Images:
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld

geever:

--- Quote from: Kooks on January 05, 2012, 02:45:42 pm ---afaik sdl1.2 is the latest version.
i tried something else: i reinstalled the game, installed sdl, sld_mixer and sdl_image via macports ran selfupdate and upgrade outdated. there is still something wrong with sdl.

--- End quote ---

I don't know these Mac stuff at all, but I believe this is your problem:

--- Quote ---SDL_image: mach-o, but wrong architecture

--- End quote ---

The SDL you've installed is not compatible with your OS version and/or CPU arch.

-geever

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version