OpenXcom Forum

OpenXcom => Troubleshooting => Topic started by: joycem137 on August 20, 2016, 11:59:25 am

Title: Latest Nightly crashing on startup for Mac
Post by: joycem137 on August 20, 2016, 11:59:25 am
I can run the nightly from 2015-11-09_21-27-09 just fine.  But when I try to run the nightly from 2016-08-18_23-27-14 I get a crash.  I'm going to try going back to older builds to see if I can find one that works.

Here's my openxcom.log:

[20-08-2016_01-57-29]   [INFO]   Data folder is:
[20-08-2016_01-57-29]   [INFO]   Data search is:
[20-08-2016_01-57-29]   [INFO]   - /Users/joycem137/Library/Application Support/OpenXcom/
[20-08-2016_01-57-29]   [INFO]   - /Users/Shared/OpenXcom/
[20-08-2016_01-57-29]   [INFO]   - ./
[20-08-2016_01-57-29]   [INFO]   User folder is: /Users/joycem137/Library/Application Support/OpenXcom/
[20-08-2016_01-57-29]   [INFO]   Config folder is: /Users/joycem137/Library/Application Support/OpenXcom/
[20-08-2016_01-57-29]   [INFO]   Options loaded successfully.
[20-08-2016_01-57-29]   [INFO]   SDL initialized successfully.
[20-08-2016_01-57-29]   [INFO]   SDL_mixer initialized successfully.
[20-08-2016_01-57-29]   [INFO]   requested file not found: openxcom.png
[20-08-2016_01-57-29]   [INFO]   Attempting to set display to 1536x801x32...
[20-08-2016_01-57-29]   [INFO]   Display set to 1536x801x32.
[20-08-2016_01-57-29]   [INFO]   requested file not found: Shaders/openxcom.opengl.shader
[20-08-2016_01-57-29]   [ERROR]   Shaders/openxcom.opengl.shader: yaml-cpp: error at line 0, column 0: bad file
[20-08-2016_01-57-29]   [INFO]   requested file not found: Shaders/openxcom.opengl.shader
[20-08-2016_01-57-29]   [ERROR]   Shaders/openxcom.opengl.shader: yaml-cpp: error at line 0, column 0: bad file
[20-08-2016_01-57-29]   [INFO]   Loading data...
[20-08-2016_01-57-29]   [INFO]   Scanning standard mods in 'standard'...
[20-08-2016_01-57-29]   [INFO]   Scanning user mods in '/Users/joycem137/Library/Application Support/OpenXcom/mods'...
[20-08-2016_01-57-29]   [INFO]   Mapping resource files...
[20-08-2016_01-57-29]   [INFO]   Resources files mapped successfully.
[20-08-2016_01-57-30]   [INFO]   Loading fonts... Font.dat
[20-08-2016_01-57-30]   [INFO]   Loading extra resources from ruleset...
[20-08-2016_01-57-30]   [INFO]   Data loaded successfully.
[20-08-2016_01-57-30]   [INFO]   Loading language...
[20-08-2016_01-57-30]   [INFO]   Language loaded successfully.
[20-08-2016_01-57-30]   [INFO]   OpenXcom started successfully!
[20-08-2016_01-57-30]   [FATAL]   A fatal error has occurred: signal 11
[20-08-2016_01-57-30]   [FATAL]   0   openxcom                            0x0000000107fe4e76 _ZN8OpenXcom13CrossPlatform10stackTraceEPv + 54
[20-08-2016_01-57-30]   [FATAL]   1   openxcom                            0x0000000107fe54f6 _ZN8OpenXcom13CrossPlatform9crashDumpEPvRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 854
[20-08-2016_01-57-30]   [FATAL]   2   openxcom                            0x0000000107eef57d _Z12signalLoggeri + 45
[20-08-2016_01-57-30]   [FATAL]   3   libsystem_platform.dylib            0x00007fff8c0f152a _sigtramp + 26
[20-08-2016_01-57-30]   [FATAL]   4   ???                                 0x00007fefffff0208 0x0 + 140668768813576
[20-08-2016_01-57-30]   [FATAL]   5   openxcom                            0x000000010808d92e _ZN8OpenXcom4Text11processTextEv + 414
[20-08-2016_01-57-30]   [FATAL]   6   openxcom                            0x000000010808f436 _ZN8OpenXcom10TextButton8initTextEPNS_4FontES2_PNS_8LanguageE + 22
[20-08-2016_01-57-30]   [FATAL]   7   openxcom                            0x0000000108038cc2 _ZN8OpenXcom5State3addEPNS_7SurfaceERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEESB_S2_ + 562
[20-08-2016_01-57-30]   [FATAL]   8   openxcom                            0x00000001080b86db _ZN8OpenXcom13MainMenuStateC2Ev + 619
[20-08-2016_01-57-30]   [FATAL]   9   openxcom                            0x00000001080b843a _ZN8OpenXcom17GoToMainMenuState4initEv + 90
[20-08-2016_01-57-30]   [FATAL]   10  openxcom                            0x0000000107ff62b3 _ZN8OpenXcom4Game3runEv + 227
[20-08-2016_01-57-30]   [FATAL]   11  openxcom                            0x0000000107eef898 SDL_main + 552
[20-08-2016_01-57-30]   [FATAL]   12  openxcom                            0x00000001082ec027 -[SDLMain applicationDidFinishLaunching:] + 49
[20-08-2016_01-57-30]   [FATAL]   13  CoreFoundation                      0x00007fff83cf2bbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
[20-08-2016_01-57-30]   [FATAL]   14  CoreFoundation                      0x00007fff83cf2b4f ___CFXRegistrationPost_block_invoke + 63
[20-08-2016_01-57-30]   [FATAL]   15  CoreFoundation                      0x00007fff83cf2ac7 _CFXRegistrationPost + 407
[20-08-2016_01-57-30]   [FATAL]   OpenXcom has crashed: signal 11
Extra information has been saved to openxcom.log.
If this error was unexpected, please report it to the developers.
Title: Re: Latest Nightly crashing on startup for Mac
Post by: joycem137 on August 20, 2016, 12:16:43 pm
The last build I can run on my machine is dated 2016-03-22_00-27-12.  The next build 2016-03-23_02-27-10, and all subsequent builds, fail for me.
Title: Re: Latest Nightly crashing on startup for Mac
Post by: Meridian on August 20, 2016, 12:31:17 pm
Are you properly updating your data files too?
(located in "common" and "standard" directories)

Try a completely clean install too, i.e.
- extract the nightly into a completely new directory (don't overwrite old installations)
- backup/rename the OpenXcom folder in "Documents" and let the game create a new one ...or at least delete "options.cfg"
Title: Re: Latest Nightly crashing on startup for Mac
Post by: joycem137 on August 20, 2016, 06:19:00 pm
I was using fresh install directories for common and standard.  So yes.
Title: Re: Latest Nightly crashing on startup for Mac
Post by: Meridian on August 20, 2016, 06:20:44 pm
Well, I have to let someone else help then, I don't have a Mac.
Title: Re: Latest Nightly crashing on startup for Mac
Post by: SupSuper on August 21, 2016, 05:13:03 pm
Looks like a problem loading the fonts, judging by the stack trace and changes done in 23th Mar (https://github.com/SupSuper/OpenXcom/commit/4d411c2315fc5226f6c042b93745baed3ec6965e).
Make sure you're not using any mods that change the fonts, or any old fonts are lying around the data search path. The vanilla font files should look like this: https://github.com/SupSuper/OpenXcom/tree/master/bin/common/Language
Title: Re: Latest Nightly crashing on startup for Mac
Post by: CanadianBeaver on August 21, 2016, 06:28:32 pm
Situation in the ubuntu 16:

Quote
[05-07-2016_16-29-55]   [FATAL]   A fatal error has occurred: signal 11
[05-07-2016_16-29-56]   [FATAL]   openxcom(_ZN8OpenXcom13CrossPlatform10stackTraceEPv+0x36) [0x5ec266]
[05-07-2016_16-29-56]   [FATAL]   openxcom(_ZN8OpenXcom13CrossPlatform9crashDumpEPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x4ff) [0x5eda0f]
[05-07-2016_16-29-56]   [FATAL]   openxcom(_Z12signalLoggeri+0x37) [0x4c7417]
[05-07-2016_16-29-56]   [FATAL]   /lib/x86_64-linux-gnu/libc.so.6(+0x354a0) [0x7f9b858d74a0]
[05-07-2016_16-29-56]   [FATAL]   openxcom(_ZN4YAML6detail9node_data3getINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS0_4nodeERKT_N5boost10shared_ptrINS0_13memory_holderEEE+0x90) [0x61d640]
[05-07-2016_16-29-56]   [FATAL]   openxcom(_ZN4YAML4NodeixIA7_cEES0_RKT_+0x118) [0x626818]
[05-07-2016_16-29-56]   [FATAL]   openxcom(_ZN8OpenXcom7Options4loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x93) [0x6438c3]
[05-07-2016_16-29-56]   [FATAL]   openxcom(_ZN8OpenXcom7Options13updateOptionsEv+0x74) [0x644664]
[05-07-2016_16-29-56]   [FATAL]   openxcom(_ZN8OpenXcom7Options4initEiPPc+0x7b) [0x64501b]
[05-07-2016_16-29-56]   [FATAL]   openxcom(main+0x53) [0x4aab43]
[05-07-2016_16-29-56]   [FATAL]   /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f9b858c2830]
[05-07-2016_16-29-56]   [FATAL]   openxcom(_start+0x29) [0x4ad129]
[05-07-2016_16-29-57]   [FATAL]   OpenXcom has crashed: signal 11
Extra information has been saved to openxcom.log.
If this error was unexpected, please report it to the developers.
Title: Re: Latest Nightly crashing on startup for Mac
Post by: Meridian on August 21, 2016, 07:13:25 pm
Situation in the ubuntu 16:

Sorry, but this is:
- a 2 month old log
- on a different OS
- without even telling us which version of OXC it is

How is it relevant for this thread?