Page 1 of 1

Crash When Running Replays

Posted: 23 May 2009, 23:39
by coherence
Hi,

I always get a crash with Spring 0.79.0.2 when running replays. (I did not have this problem with 0.78). Here is the error I get on the crash.

Code: Select all

Couldnt find wreckage info geovent
Unknown map feature type 
Reading estimate path costs
Pathing data checksum: 98b6dcc1
Creating sky
spring: /build/buildd/spring-0.79.0.2/rts/Game/PlayerHandler.h:35: CPlayer* CPlayerHandler::Player(int): Assertion `unsigned(i) < players.size()' failed.
Aborted
05:25:22 PM: Spring closed.
05:25:22 PM: OnExit (  )
Does anyone know how to fix this or is it just an ol' fashion bug?

UPDATE: I'm running 64-bit Ubuntu 9.04.

Re: Crash When Running Replays

Posted: 25 May 2009, 17:53
by Pendrokar
Did you run a 0.78 Spring version replay in 0.79.0.2?

If yes then the only way to fix it is to download 0.78!

Re: Crash When Running Replays

Posted: 25 May 2009, 22:05
by JohannesH
I get a similar crash, and I'm running replays of the newest version of course. Many, if not most others seem to have the same bug as well.

Re: Crash When Running Replays

Posted: 26 May 2009, 04:31
by coherence
Pendrokar: I'm trying to run 0.79.0.2 replays with 0.79.02 Spring.

JohannesH: I looked on the bug tracker a couple of days ago and I didn't see a bug like this on there. I'll check the tracker again and file a bug if needed. Thanks for the confirmation.

Re: Crash When Running Replays

Posted: 26 May 2009, 16:01
by imbaczek
upload a replay that triggers this crash (that's assuming that some replays are viewable.)

Re: Crash When Running Replays

Posted: 28 May 2009, 04:32
by coherence
I finally got around to filing the bug here:

http://springrts.com/mantis/view.php?id=1428

I uploaded a replay that triggers the crash even though all of the replays that I have since installing 0.79.0.2 trigger the crash.

Re: Crash When Running Replays

Posted: 28 May 2009, 18:18
by Auswaschbar
Did you try to watch them using springlobby? If yes, could you please try to watch directly (just double-click on the demofile, or use console).

Re: Crash When Running Replays

Posted: 29 May 2009, 00:09
by JohannesH
Doesnt matter if I run them from springlobby or directly, still all replays Ive tried crash at creating sky.

Re: Crash When Running Replays

Posted: 30 May 2009, 00:11
by coherence
I indicated this in the bug report but I thought I would post here as well:

Starting it directly (double click) produces the same crash. (i.e. "creating sky" => crash).

Re: Crash When Running Replays

Posted: 30 May 2009, 05:01
by coherence
JohannesH: I talked to someone else on SpringLobby main who said this was working for them and they had 32-bit Jaunty. Do you have 64-bit Jaunty? (I do).

Re: Crash When Running Replays

Posted: 30 May 2009, 06:49
by Nemoder
I tested this replay with my older installer on Debian-testing 64bit and it played fine.

Re: Crash When Running Replays

Posted: 30 May 2009, 10:54
by JohannesH
coherence wrote:JohannesH: I talked to someone else on SpringLobby main who said this was working for them and they had 32-bit Jaunty. Do you have 64-bit Jaunty? (I do).
I have jaunty 32-bit.

Re: Crash When Running Replays

Posted: 03 Jun 2009, 02:02
by coherence
This bug has been fixed and there is an easy work around for anyone wanting to get replays working now. Delete the line...

Code: Select all

name=
From your .springrc file.