Freeze/Crash during bounty mission

Find any bugs in Vega Strike? See if someone has already found it, or report them here!

Freeze/Crash during bounty mission

Postby DaveAshton » Sun Aug 28, 2011 11:00 pm

I was in the process of doing a bounty mission. The target had 2 escorts.

I destroyed 1 of the escorts, and as it was exploding the game froze. Ive attached the stdout and stderr files at the bottom, and this is what Windows gave me (as a Runtime error):

Problem signature:
Problem Event Name: APPCRASH
Application Name: vegastrike.exe
Application Version: 0.5.1.13139
Application Timestamp: 4d793f09
Fault Module Name: MSVCR90.dll
Fault Module Version: 9.0.30729.4926
Fault Module Timestamp: 4a1743c1
Exception Code: 40000015
Exception Offset: 0005bb47
OS Version: 6.1.7600.2.0.0.768.3
Locale ID: 2057
Additional Information 1: 10ff
Additional Information 2: 10ffbaaebb6a6f3c272150fc9d47fe6e
Additional Information 3: 8657
Additional Information 4: 8657d751de3f4abdb165f9b0eee62f7c
Attachments
stderr.txt
(39.98 KiB) Downloaded 183 times
stdout.txt
(8.83 KiB) Downloaded 90 times
User avatar
DaveAshton
Merchant
Merchant
 
Posts: 49
Topics: 14
Joined: Mon Aug 15, 2011 9:04 am

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Re: Freeze/Crash during bounty mission

Postby DaveAshton » Tue Aug 30, 2011 5:34 am

I just got the error again, and I think I've narrowed it down to something I did (so it's not an error with anyone else).

The music was really annoying me a few days ago, so I edited the music folder's name so the game couldn't find it.


I've looked in the stderr I just got, and this bit jumps out as the cause:
Traceback (most recent call last):
File "C:\Program Files (x86)\Vegastrike 5.1\modules\missions\privateer.py", line 34, in Execute
i.Execute()
File "C:\Program Files (x86)\Vegastrike 5.1\modules\random_encounters.py", line 288, in Execute
dynamic_battle.UpdateCombatTurn()
File "C:\Program Files (x86)\Vegastrike 5.1\modules\dynamic_battle.py", line 29, in UpdateCombatTurn
Director.putSaveData(0,"stardate",0,Director.getSaveData(0,"stardate",0)+stardateinc)
File "C:\Program Files (x86)\Vegastrike 5.1/.vegastrike/modules/dj.py", line 2, in <module>
File "C:\Program Files (x86)\Vegastrike 5.1\modules\dj_lib.py", line 75, in <module>
"iso":VS.musicAddList('playlists/threat/iso.m3u'),
MemoryError


Does MemoryError basically mean "I can't find this file, so I'm going to crash now"? Or is it a coincidence that I've had 2 crashes, and both stderr files had a very similar last line?
User avatar
DaveAshton
Merchant
Merchant
 
Posts: 49
Topics: 14
Joined: Mon Aug 15, 2011 9:04 am

Re: Freeze/Crash during bounty mission

Postby philo » Tue Aug 30, 2011 6:35 am

If the music annoys you (and I agree: some of the pieces can get on one's nerves easily) then there are two less invasive ways of dealing with it:
  1. Run "setup.exe" again and set Music to "Off".
  2. Edit the playlists themselves instead of their file names, and let them point to your own mp3 music (I think there's a Howto on the wiki for this)

Deleting or renaming files used by a game will always make it potentially instable. You can never tell what's going to happen because this also largely depends on how the resources are loaded. There may be an error trap which catches all exceptions (basically saying: "Play that media file, but if you can't find it: nevermind, continue anyway") or there may not.
___________________
Main system: Core 2 Duo E8400 2 x 3.00GHz; Geforce 8500 GT (512 Mb); 4 GB DDR2; Onboard sound.
philo
Explorer
Explorer
 
Posts: 15
Topics: 2
Joined: Thu Aug 18, 2011 6:57 am

Re: Freeze/Crash during bounty mission

Postby DaveAshton » Tue Aug 30, 2011 8:26 am

philo wrote:Run "setup.exe" again and set Music to "Off".
I thought of doing that, but I use custom joystick settings, and I don't fancy having to reset those just to turn off the music (vegastrike.config says "#set MusicAndVolume music_off" anyway though... ).

philo wrote:Edit the playlists themselves instead of their file names, and let them point to your own mp3 music (I think there's a Howto on the wiki for this)

This sounds like a good idea, especially if I can make a load of blank mp3s (I'm sure I can find a long youtube video with no sound that I could grab the audio from using VideoLAN), rename them, and chuck them in the right folder.
User avatar
DaveAshton
Merchant
Merchant
 
Posts: 49
Topics: 14
Joined: Mon Aug 15, 2011 9:04 am

Re: Freeze/Crash during bounty mission

Postby philo » Tue Aug 30, 2011 1:18 pm

DaveAshton wrote:I thought of doing that, but I use custom joystick settings, and I don't fancy having to reset those just to turn off the music (vegastrike.config says "#set MusicAndVolume music_off" anyway though... ).


I don't think you need to worry. I have a German keyboard, so I need to adjust quite a few keys in the default config file, and all my customized hotkey settings still work after testing my suggestion. This means that the setup programme only overwrites the settings you change, and leaves everything else intact (which would be the expected standard behaviour).
I should still recommend to backup your config file before running the test for yourself though.
___________________
Main system: Core 2 Duo E8400 2 x 3.00GHz; Geforce 8500 GT (512 Mb); 4 GB DDR2; Onboard sound.
philo
Explorer
Explorer
 
Posts: 15
Topics: 2
Joined: Thu Aug 18, 2011 6:57 am

Re: Freeze/Crash during bounty mission

Postby pheonixstorm » Tue Aug 30, 2011 11:25 pm

by the looks of it there is no exception handling in the code.. Its something that needs more work but who knows when it will hit the list :? There probably isn't ENOUGH error checking anywhere in the code so maybe it could be an update release in itself adding all that in.
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
User avatar
pheonixstorm
Elite
Elite
 
Posts: 1567
Topics: 113
Joined: Mon Jan 25, 2010 7:03 pm

Re: Freeze/Crash during bounty mission

Postby DaveAshton » Mon Sep 05, 2011 2:51 am

Quick update.

I put the music folder back as it should be, then re-ran the setup.exe. Joystick settings stayed as they were, music is now on "shut up" mode, and I've not had a crash (for that, anyway) since.

Thanks for the help :)
User avatar
DaveAshton
Merchant
Merchant
 
Posts: 49
Topics: 14
Joined: Mon Aug 15, 2011 9:04 am



Return to Bug Triage

Who is online

Users browsing this forum: No registered users and 2 guests

cron