pioneerspacesim / pioneer

A game of lonely space adventure
https://pioneerspacesim.net
1.63k stars 377 forks source link

OSX crash, caused by missing submodels #1263

Closed gernot66 closed 11 years ago

gernot66 commented 12 years ago

very annoying. as long as the missing sub-model (functions to) would be in the same folder/script it gets handled proper and the program quits with a error msg. telling that a sub-model is missing.

but if it's one from the folder "sub_models" (i expect any different folder), my OS crashes.

even when it's obviously strange, and i don't know how the prog. knows where the missing model should be. or to tell in other words, why there is a difference at all. (perhaps because of presence in model cache?)

anyway, i would apreciate if the game would quit always with a proper error msg, because after a OS crash you don't know where to search (ok, now i usually first check if a sub-model is missing or wrong named).

btw, this referes to alpha22 as well

Philbywhizz commented 12 years ago

@gernot66 under OSX all logging is captures by console.app located in /Applications/Utilities

If you run this app and search for 'pioneer' it should show you the log stderr messages. This information would help us track this error down.

gernot66 commented 12 years ago

sorry for the late reply...

03.06.12 16:36:02    pioneer[479]    Incompatible applications: app=net.pioneerspacesim.pioneer, targetApp=com.apple.Safari
03.06.12 16:37:23   com.apple.launchd[1]    *** launchd[1] has started up. ***
03.06.12 16:37:55   com.apple.launchd.peruser.502[89]   (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
03.06.12 16:37:56   SystemUIServer[94]  Incompatible applications: app=com.apple.systemuiserver, targetApp=com.apple.Safari
03.06.12 16:37:58   UniversalAccess[102]    Incompatible applications: app=com.apple.universalaccess, targetApp=com.apple.Safari
03.06.12 16:37:58   Finder[95]  Incompatible applications: app=com.apple.finder, targetApp=com.apple.Safari
03.06.12 16:38:02   com.apple.launchd.peruser.502[89]   (com.apple.Kerberos.renew.plist[115]) Exited with exit code: 1
03.06.12 16:38:02   ct_loader_agent[118]    Incompatible applications: app=com.conduit.ct_loader_agent, targetApp=com.apple.Safari
03.06.12 16:38:02   Folder Actions Dispatcher[119]  Incompatible applications: app=com.apple.FolderActionsDispatcher, targetApp=com.apple.Safari
03.06.12 16:38:02   AirPort Base Station Agent[117] Incompatible applications: app=com.apple.AirPortBaseStationAgent, targetApp=com.apple.Safari
03.06.12 16:38:02   3DconnexionHelper[121]  Incompatible applications: app=com.3dconnexion.driver.helper, targetApp=com.apple.Safari
03.06.12 16:38:02   com.apple.launchd.peruser.502[89]   (com.apple.pbs) Throttling respawn: Will start in 5 seconds
03.06.12 16:38:44   Console[135]    Incompatible applications: app=com.apple.Console, targetApp=com.apple.Safari

looks like there is not much to see, well system shuts down, what should be written then?

i forced this by calling a non existant submodel from another submodel. the behave is, if the sub-model is called "wrong" from the main model, there is no problem. if the sub-model is called "wrong" from within a sub-model*, the OS shuts down.


(*) such is sometimes needed for animating landing gears i.e.

besides, i already know that if this happens (OS shuts down), where i have to search ;)

Luomu commented 11 years ago

There are no sub_models any more.