Crash When Running Replays

Crash When Running Replays

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
coherence
Posts: 6
Joined: 23 May 2009, 23:34

Crash When Running Replays

Post 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.
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Re: Crash When Running Replays

Post 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!
User avatar
JohannesH
Posts: 1793
Joined: 07 Apr 2009, 12:43

Re: Crash When Running Replays

Post 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.
coherence
Posts: 6
Joined: 23 May 2009, 23:34

Re: Crash When Running Replays

Post 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.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Crash When Running Replays

Post by imbaczek »

upload a replay that triggers this crash (that's assuming that some replays are viewable.)
coherence
Posts: 6
Joined: 23 May 2009, 23:34

Re: Crash When Running Replays

Post 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.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Crash When Running Replays

Post 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).
User avatar
JohannesH
Posts: 1793
Joined: 07 Apr 2009, 12:43

Re: Crash When Running Replays

Post by JohannesH »

Doesnt matter if I run them from springlobby or directly, still all replays Ive tried crash at creating sky.
coherence
Posts: 6
Joined: 23 May 2009, 23:34

Re: Crash When Running Replays

Post 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).
coherence
Posts: 6
Joined: 23 May 2009, 23:34

Re: Crash When Running Replays

Post 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).
Nemoder
Posts: 73
Joined: 23 Nov 2007, 08:59

Re: Crash When Running Replays

Post by Nemoder »

I tested this replay with my older installer on Debian-testing 64bit and it played fine.
User avatar
JohannesH
Posts: 1793
Joined: 07 Apr 2009, 12:43

Re: Crash When Running Replays

Post 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.
coherence
Posts: 6
Joined: 23 May 2009, 23:34

Re: Crash When Running Replays

Post 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.
Post Reply

Return to “Linux”