Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: cormack15 on June 15, 2016, 05:51:27 pm

Title: FSO issue: Crashes in hanger
Post by: cormack15 on June 15, 2016, 05:51:27 pm
Hey all,

New to the forums but have been a fan of freespace and what you guys are doing for quite some time, I am currently having this problem whilst trying to run any of the .exes included in the installer. The game instantly crashes to desktop as soon as you enter the main menu kinda hanger bit after selecting a profile.

The game runs fine when loading up the fsport mod and seems to be able to handle the hanger with the original fs1 hanger, however any mods which use the original fs 2 hanger, where it gives you tip and you can press ok. Whenever I press okay I crash to desktop.

Problem is very annoying as have been playing fs1fine in preparation to start tthe 2nd one and can't get past the hanger! Any help greatly appreciated!

[attachment DELETED!! by Strong Bad]
Title: Re: FSO issue: Crashes in hanger
Post by: niffiwan on June 15, 2016, 10:07:54 pm
That's odd, and the log doesn't give much useful info except to confirm that FSO just crashes hard, without tripping errors, warning or assertions. Do you get the same problem with all your existing pilots? Have you tried creating a new pilot?

Also, could you try 3.7.4RC2 which should be available in the installer (as of about a day ago).
Title: Re: FSO issue: Crashes in hanger
Post by: cormack15 on June 16, 2016, 02:48:18 pm
Thanks for responding! Yes the crash occurs with all existing pilots and when creating a new pilot. And I have just tried the 3.7.4RC2 and get the same problem. I have attached the new log.



[attachment DELETED!! by Strong Bad]
Title: Re: FSO issue: Crashes in hanger
Post by: niffiwan on June 16, 2016, 06:03:17 pm
:( So; the log is still not providing any useful info, could you try disabling there options in the launcher and see if that has any effect? (not that I'm really expecting any, but the next step is getting a stack trace (http://www.hard-light.net/forums/index.php?topic=82688.msg1479356#msg1479356) which is a quite a bit more involved)

Code: [Select]
  -noenv
  -noglow
  -nospec
  -nonormal
  -noheight
  -nolightshafts
  -old_collision
Title: Re: FSO issue: Crashes in hanger
Post by: cormack15 on June 16, 2016, 07:49:42 pm
Yeah, disabling these options had no effect on the issue. So do you suggest following the steps on this page to get a stack trace?  :wtf:
Title: Re: FSO issue: Crashes in hanger
Post by: Yarn on June 16, 2016, 08:22:49 pm
...but the next step is getting a stack trace (http://www.hard-light.net/forums/index.php?topic=82688.msg1479356#msg1479356) which is a quite a bit more involved
That page is in dire need of an update...
Title: Re: FSO issue: Crashes in hanger
Post by: niffiwan on June 16, 2016, 10:09:39 pm
yeah, I just realised it's still referring to SVN   :sigh:

cormack15; if you feel up to sorting through the relevant information from the page above & this page (http://cormack15) you could try getting a stack trace, but I realise that's a big & difficult ask. Otherwise you'll need to wait until the doco can be updated, or.....

Or maybe we could try turning on absolutely all debugging & see if that can narrow down the issue. This will create an absolutely massive logfile though... you'll need to host it somewhere else and just send the link. If you're up for that, read on.

Create a file called "debug_filter.cfg" in a new directory called "data" within your FSO install, (i.e. C:\Freespace 2\data\debug_filter.cfg)  The contents of the file should be as follows:

Code: [Select]
+General
+Parse
+Error
+Warning
+Registry
+OpenAL
+Network
+BmpFastLoad
+Sound
+BmpMan
+Paging
+SEXP
+Maps
+SHADER-DEBUG
+Weapons
+BmpInfo
+BMP DEBUG
+Alan
+lethality
+messaging
+Model
+wash
+AI
+OpenGL
+ModelAnim
+AB TRAIL
+Particles
+allender
+Beam
+Sandeep
+Jim
+lightning
+EVENTMUSIC
+missionlog
+CFileDebug

Then generate a new fs2_open.log file, post it somewhere like dropbox, or mediafire, and when done rename the debug_filter.cfg file so you don't get this behaviour each time you run debug.
Title: Re: FSO issue: Crashes in hanger
Post by: AdmiralRalwood on June 17, 2016, 06:02:55 am
Create a file called "debug_filter.cfg" in a new directory called "data" within your FSO install, (i.e. C:\Freespace 2\data\debug_filter.cfg)  The contents of the file should be as follows:
It's a lot easier to just create a blank debug_filter.cfg file; when a message type not found in the filter file is found, it defaults to on, and then your debug_filter.cfg file will look like that big long list when FSO saves it.
Title: Re: FSO issue: Crashes in hanger
Post by: niffiwan on June 17, 2016, 06:06:30 am
... well dang, I've been grepping the code for nprintf statements to build my debug_filter.cfg files  :nervous:

(at least I know now!  :lol:)
Title: Re: FSO issue: Crashes in hanger
Post by: cormack15 on June 17, 2016, 12:22:42 pm
Okay I will give this a shot! So just to confirm I create a blank debug_filter.cfg in directory 'data', then i run the launcher and tick all of the features under the 'debugging' option before launching?
Title: Re: FSO issue: Crashes in hanger
Post by: niffiwan on June 17, 2016, 06:42:02 pm
So just to confirm I create a blank debug_filter.cfg in directory 'data',

Do this part.

then i run the launcher and tick all of the features under the 'debugging' option before launching?

But don't do this part (assuming you mean the "Troubleshoot" section on the advanced settings tab)