2.1 crashes (in XP)

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Nyme
Rookie
Rookie
Posts: 26
Joined: 25 Dec 2008, 19:47

2.1 crashes (in XP)

Post by Nyme »

Hello.

Before I had played 2.0.6 I think, and that worked. I downloaded the new version (stable 2.1) today, installed (with all the options on, including music and the mods) and tried to run. The game crashed when I had set up a skirmish game and pressed the "ready" button. It loads a few seconds and then crashes. The error message was:

Runtime Error!

Program: C:\Program Files\Warzone 2100\warzone2100.exe

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

I tried with two different resolutions, and it didn't work on either. I tried with instructions here
viewtopic.php?f=4&t=394
but it didn't work any better. I also tried searching the forum, but didn't find anything useful.

System specs:
Win XP service pack 3
AMD Athlon 64 3200+
1 GB DDR RAM
NVidia GeForce 6600

What could cause this? If you need any error log files or something like that, just point me to them and I'll find them and post here.
User avatar
jaakan
Trained
Trained
Posts: 75
Joined: 15 Jun 2008, 01:51

Re: 2.1 crashes (in XP)

Post by jaakan »

Get the debug version and file a bug report
not just OS and Hardware but which flags you used, the game settings your using and the steps and ... the name of the map it crashed on

the " --cheat" flag is super buggy so try not to use it when your retesting for the bug you ran in to.

ie : "C:\Program Files\Warzone 2100\warzone2100.exe --debug all --debugfile c:\wzdebug.txt --mod ntw"

http://download.gna.org/warzone/release ... -debug.exe

http://wiki.wz2100.net/Command_Line_Options

http://wiki.wz2100.net/Bug_Reporting
Nyme
Rookie
Rookie
Posts: 26
Joined: 25 Dec 2008, 19:47

Re: 2.1 crashes (in XP)

Post by Nyme »

I have sent a bug report to the system, with all the information I could think of.

This time, with the debug version, the error message was:
Assertion failed!
Program: C:\Program Files\Warzone 2100\warzone2100.exe
File: script_parser.y
Line: 5839
Expression: 0
Thyranim
Trained
Trained
Posts: 190
Joined: 20 Dec 2008, 16:35
Location: Germany

Re: 2.1 crashes (in XP)

Post by Thyranim »

Nyme wrote:I have sent a bug report to the system, with all the information I could think of.
so you've clicked on the "send report"-button when the error-message appeared eh?

so then please read this
Get the debug version and file a bug report
http://wiki.wz2100.net/Bug_Reporting
again
and give some more info here, where you can get help ;)
Nyme
Rookie
Rookie
Posts: 26
Joined: 25 Dec 2008, 19:47

Re: 2.1 crashes (in XP)

Post by Nyme »

Thyranim wrote:so you've clicked on the "send report"-button when the error-message appeared eh?
You assumed I am a complete noob?
https://gna.org/bugs/?12786
That's the report I filed.
Thyranim
Trained
Trained
Posts: 190
Joined: 20 Dec 2008, 16:35
Location: Germany

Re: 2.1 crashes (in XP)

Post by Thyranim »

Nyme wrote:You assumed I am a complete noob?
https://gna.org/bugs/?12786
That's the report I filed.
sry, my fault ;)
User avatar
jaakan
Trained
Trained
Posts: 75
Joined: 15 Jun 2008, 01:51

Re: 2.1 crashes (in XP)

Post by jaakan »

I'm not a developer or anything but last 4 lines in the debug file should help out the developers of this project.

Code: Select all

error   : [scr_error] script parse error   : 
Type mismatch for paramter 0 at player0.slo:113 
Token: 41, Text: ')'
error   : [scr_error] Assert in Warzone: script_parser.y:5839 (false), last script event: '<none>'

Was there a warzone2100.gdmp.... file in temp right after the crash?
Nyme
Rookie
Rookie
Posts: 26
Joined: 25 Dec 2008, 19:47

Re: 2.1 crashes (in XP)

Post by Nyme »

I couldn't find such a file anywhere.
gerard_
Trained
Trained
Posts: 71
Joined: 02 Nov 2006, 19:56

Re: 2.1 crashes (in XP)

Post by gerard_ »

Nyme wrote:I couldn't find such a file anywhere.
I have never used these but could you try lookin in %windir%\minidumps?
Good job on the bugreport, lots and lots of useful information in there.
Nyme
Rookie
Rookie
Posts: 26
Joined: 25 Dec 2008, 19:47

Re: 2.1 crashes (in XP)

Post by Nyme »

gerard_ wrote:I have never used these but could you try lookin in %windir%\minidumps?
Good job on the bugreport, lots and lots of useful information in there.
There were lots of files in minidump, but none of them seemed to be related to Warzone in any way, and the newest file was last modified many months ago.
Tiberian
Trained
Trained
Posts: 128
Joined: 28 Mar 2008, 13:51
Location: Australia

Re: 2.1 crashes (in XP)

Post by Tiberian »

perhaps there is a warzone2100.rpt file laying around in your warzone directory, that should be the crashdump
Nyme
Rookie
Rookie
Posts: 26
Joined: 25 Dec 2008, 19:47

Re: 2.1 crashes (in XP)

Post by Nyme »

NewTiberian wrote:perhaps there is a warzone2100.rpt file laying around in your warzone directory, that should be the crashdump
I found it, but this seems to be a file from my old 2.1 install. Seemingly I forgot to remove the old directory and installed debug version on top of the already existing directory...

Anyway, the file is pretty short:

Code: Select all

-------------------

Error occured on Thursday, December 25, 2008 at 19:36:05.

Program: C:\Program Files\Warzone 2100\warzone2100.exe(warzone2100)
Command line: "C:\Program Files\Warzone 2100\warzone2100.exe" "--mod" "grim.wz" "--fullscreen" "--resolution" "1680x1050" 
Version: Version 2.1.0
Distributor: Warzone 2100 Resurrection Project
Compiled on: Dec 21 2008 19:51:00
Compiled by: GCC 4.2.1-sjlj (mingw32-2)
Executed on: Thu Dec 25 19:35:06 2008

Pointers: 32bit

Compiled against PhysicsFS version: 1.0.1
Running with PhysicsFS version: 1.0.1

C:\Program Files\Warzone 2100\warzone2100.exe caused an Access Violation at location 0351fee9 Reading from location 039af000.


Registers:
eax=41000000 ebx=41000030 ecx=00000004 edx=00000030 esi=039af000 edi=0355d520
eip=0351fee9 esp=0022eddc ebp=00000018 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00210206

Call stack:
0351FEE9


Edit: seems that I had experimented with the flags a bit. But I can't find an another crashdump for the later crashes. Should I remove this file, and the program would create a new one when I tried to run it next time?
Edit2: corrected typo.
User avatar
Phoenix666
Trained
Trained
Posts: 106
Joined: 21 Sep 2008, 20:38
Location: Russia

Re: 2.1 crashes (in XP)

Post by Phoenix666 »

Nyme wrote:Seemingly I forgot to remove the old directory and installed debug version on top of the already existing directory...
try to reinstall in new folder

i have 5-6 versions installed on my system
and i havn't problems with WZ
Nyme
Rookie
Rookie
Posts: 26
Joined: 25 Dec 2008, 19:47

Re: 2.1 crashes (in XP)

Post by Nyme »

I reinstalled in a different folder, and guess what? Now it works. I'll propably install the non-debug version and try if it worked.
User avatar
jaakan
Trained
Trained
Posts: 75
Joined: 15 Jun 2008, 01:51

Re: 2.1 crashes (in XP)

Post by jaakan »

Nyme wrote:I reinstalled in a different folder, and guess what? Now it works. I'll propably install the non-debug version and try if it worked.
cool