Author Topic: WiH 2 - first mission crash upon start  (Read 4474 times)

0 Members and 1 Guest are viewing this topic.

Offline leoben

  • 26
WiH 2 - first mission crash upon start
As the subject says, appcrash. No error message provided. Tried with fresh pilot - same thing. And when I say first mission, I mean the one that comes after your first dreamscape experience. Any ideas? Would any log files help?

 

Offline DahBlount

  • 29
  • Alpine ☆ Cancer Tribulation
    • Skype
    • Steam
Re: WiH 2 - first mission crash upon start
I get the same crash. I get a debug log that mentions a missing bitmap, "invisible", for a weapon called "Ammo Pack".
« Last Edit: November 03, 2013, 07:45:19 pm by DahBlount »
<Axem> yet still more insightful than #hard-light

<Axem> jad2.23 will just be cat videos

<DahBlount> So
<DahBlount> JAD2.2 is like that
<Axem> maybe
<Axem> it can be whatever you like!
<DahBlount> A Chocolate Sundae?
<Axem> sure

My models: GTF Gilgamesh - GTD Nuadha [Redesigning] - Ningirama [WIP] - GTG Zephyrus

 

Offline leoben

  • 26
Re: WiH 2 - first mission crash upon start
Yep - two images to help


[attachment deleted by ninja]

 

Offline leoben

  • 26
Re: WiH 2 - first mission crash upon start
I can also confirm that this only happens with build 3.7.1, not with build 3.6.17.

 

Offline niffiwan

  • 211
  • Eluder Class
Re: WiH 2 - first mission crash upon start
Please post your fs2_open.log file.  Instructions on how to do this can be found in this post.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline leoben

  • 26
Re: WiH 2 - first mission crash upon start
Attached.

[attachment deleted by ninja]

 

Offline niffiwan

  • 211
  • Eluder Class
Re: WiH 2 - first mission crash upon start
the log is disappointingly unhelpful. Although I haven't verified all the checksums, given that this has happened to two people I'm presuming that the files are not the problem. 

How do you feel about following these instructions and posting a stack trace from the crash?

Otherwise, I'll see if I can reproduce the issue when I have some free time.

edit: fix typo
« Last Edit: November 03, 2013, 10:10:01 pm by niffiwan »
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline DahBlount

  • 29
  • Alpine ☆ Cancer Tribulation
    • Skype
    • Steam
Re: WiH 2 - first mission crash upon start
I will attempt to do a stack trace for you. Is there a specific file I need to stack trace under $(FS2PATH)?
« Last Edit: November 03, 2013, 10:25:50 pm by DahBlount »
<Axem> yet still more insightful than #hard-light

<Axem> jad2.23 will just be cat videos

<DahBlount> So
<DahBlount> JAD2.2 is like that
<Axem> maybe
<Axem> it can be whatever you like!
<DahBlount> A Chocolate Sundae?
<Axem> sure

My models: GTF Gilgamesh - GTD Nuadha [Redesigning] - Ningirama [WIP] - GTG Zephyrus

 

Offline leoben

  • 26
Re: WiH 2 - first mission crash upon start
is this supposed to work with VS2013 as well? It seems I can't get the damn thing run from within VS with the correct build. Someone needs to walk me through this.

 

Offline leoben

  • 26
Re: WiH 2 - first mission crash upon start
This is the first error I got, but I somehow feel that these are not the droids we're looking for

http://pastebin.com/Anv9kDG3

 

Offline leoben

  • 26
Re: WiH 2 - first mission crash upon start
I think this is what you need!

http://pastebin.com/r88sdVzq

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: WiH 2 - first mission crash upon start
is this supposed to work with VS2013 as well? It seems I can't get the damn thing run from within VS with the correct build. Someone needs to walk me through this.

That's only really an option if you build the engine from source yourself.

I think this is what you need!

http://pastebin.com/r88sdVzq


Which nightly build did you use? The line numbers mentioned there do not match up to the line numbers in the current svn trunk.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

  

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: WiH 2 - first mission crash upon start
This is the first error I got, but I somehow feel that these are not the droids we're looking for

http://pastebin.com/Anv9kDG3
Code: [Select]
bp-shp.tbm(line 222):
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [$Glowpoint overrides: ( "red_glow_10:1,2" )].
You are trying to run BP without compatibility package with a trunk build. You can find the compatibility package here.
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline leoben

  • 26
Re: WiH 2 - first mission crash upon start
I didn't use a nightly build, used 3.7.1 BP build.

Please bear with me here, I don't have the first clue of what I'm doing here, so I'm trying to explain it as 'educated' as possible :)

So I followed the instructions very carefully laid out in the thread for how to debug with VS. I did everything to the letter, when I noticed that I'm actually using VS2013. Now I didn't panic because that tortoise thingy did actually create a 2013 project folder, so I said yaaay.

I built a solution in VS, 6 succeeded, 1 failed as predicted, because VS Express can't mess around with FRED2. Great. Now, here's where I got confused (which happens often):

A new exe popped up in the game folder, that had the same name as the BP 3.7.1 debug build, except it was missing the 'BP'. I didn't make much of it. So I opened up the launcher, configured it in proper debug mode (windowed mode etc), pressed f5 in VS, and then black screen. I alt-tabbed out, and I already got error msges before anything happened. I was guessing because it was using a different exe that it should have.

So here's what I did: I started everything again (tortoise, then VS). When VS completed the build solution the second time, I took the original BP debug build (exe), renamed it in the game folder to reflect the filename of the build that VS created, and vois la - the game started, and proceeded to the crashpoint that I originally wanted it to debug. I copied the call stack and that's what you see there on the last link I posted.

This whole thing doesn't make sense to me, as I have no clue how VS works and what it does to these builds when it's 'building a solution'. So I only deducted that the errors I was originally seeing were consistent with the issue that I'm not using the compatibility package, or the file is not in the right folder etc. So, I took the original, renamed it to the one VS built, and it worked.

What am I missing here? Does this not help in the end to debug the original appcrash that Tenebra first mission runs into with 3.7.1 BP build?

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: WiH 2 - first mission crash upon start
No. The BP executables aren't just renamed standard exes, there's quite a bit of code in them that isn't in trunk. The Visual Studio debugger cannot give accurate results with the kind of frankenstein thing you did there (I am actually quite astonished that it doesn't crash and burn!).
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline leoben

  • 26
Re: WiH 2 - first mission crash upon start
OK - so can you give me some instructions on how I can haul its ass to the crashpoint I need it to be at? Because the build that VS built starts producing errors the milisecond I fire it up through VS.

 

Offline leoben

  • 26
Re: WiH 2 - first mission crash upon start
And those errors are consistent with me using an incorrect build for BP.

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: WiH 2 - first mission crash upon start
At any rate, I have reproduced the issue at home and fixed it. I will post new builds soon.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Yarn

  • 210
Re: WiH 2 - first mission crash upon start
For future reference, to make a BP build, you have to apply the patch (BP.patch) that's in the build thread (and it has to be that one, not the obsolete one that's already in your FS2 folder). To apply a patch, follow steps 12-15 of the post that Niffiwan linked to (this one).
"Your fighter is running out of oil.  Please check under the hood and add more if necessary"
--strings.tbl, entry 177

"Freespace is very tired.  It is shutting down to get some rest."
--strings.tbl, entry 178

 

Offline leoben

  • 26
Re: WiH 2 - first mission crash upon start
Gotcha - thanks!