2025-06-14 04:54 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001428Spring engineLinuxpublic2009-06-02 17:08
Reportercoherence 
Assigned ToKloot 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.79.0.2 
Target VersionFixed in Version0.79.1.0+git 
Summary0001428: Running replays results in a crash
DescriptionAfter installing spring 0.79.0.2 I played several games and found that when I tried to watch the replays through SpringLobby I got the following error:

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 ( )

Also double clicking the replay in the file browser results in the crash as well. I have attached a replay that doesn't work for me.

I am running Ubuntu 9.04. I posted about this in the forums here:

http://springrts.com/phpbb/viewtopic.php?f=20&t=18933

TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • ? file icon local_20090523_120321_DeltaSiegeDry_0.79.0.sdf (1,844,280 bytes) 2009-05-28 04:30
  • txt file icon script.txt (1,152 bytes) 2009-05-30 14:32 -
    [GAME]
    {
    	HostIP=localhost;
    	HostPort=8452;
    	IsHost=1;
    	MyPlayerName=Player;
    
    	ModHash=2436105014;
    	MapHash=3901729851;
    	Mapname=SmallDivide.smf;
    	GameType=Balanced Annihilation V6.92;
    
    	startpostype=3;
    	[mapoptions]
    	{
    	}
    	[modoptions]
    	{
    		diminishingmms=0;
    		disablemapdamage=0;
    		fixedallies=0;
    		ghostedbuildings=1;
    		limitdgun=0;
    		mo_comgate=0;
    		mo_coop=0;
    		mo_greenfields=0;
    		mo_noowner=0;
    		mo_noshare=1;
    		mo_nowrecks=0;
    		maxspeed=3;
    		maxunits=500;
    		minspeed=0.3;
    		mo_hilltime=15;
    		startenergy=1000;
    		startmetal=1000;
    		deathmode=com;
    		gamemode=0;
    	}
    	NumRestrictions=0;
    	[RESTRICT]
    	{
    	}
    
    	NumPlayers=1;
    	NumUsers=2;
    
    	[PLAYER1]
    	{
    		Name=Player;
    		CountryCode=;
    		Spectator=0;
    		Rank=0;
    		IsFromDemo=0;
    		Team=0;
    	}
    	[AI0]
    	{
    		Name=Bot1;
    		ShortName=RAI;
    		Version=0.601;
    		Team=1;
    		Host=1;
    	}
    
    	[TEAM1]
    	{
    		TeamLeader=1;
    		StartPosX=600;
    		StartPosZ=600;
    		AllyTeam=1;
    		RGBColor=0.941176 0.823529 0;
    		Side=ARM;
    		Handicap=0;
    	}
    	[TEAM0]
    	{
    		TeamLeader=1;
    		StartPosX=3600;
    		StartPosZ=3600;
    		AllyTeam=0;
    		RGBColor=1 1 0;
    		Side=ARM;
    		Handicap=0;
    	}
    
    	[ALLYTEAM0]
    	{
    		NumAllies=0;
    	}
    	[ALLYTEAM1]
    	{
    		NumAllies=0;
    	}
    }
    
    txt file icon script.txt (1,152 bytes) 2009-05-30 14:32 +

-Relationships
related to 0001440resolvedKloot replay doesn't work 
+Relationships

-Notes

~0003524

imbaczek (reporter)

the replay works here. could you please post a bit more details about your system?

~0003528

Kloot (developer)

Works here also.

~0003529

coherence (reporter)

Great, so it sounds like the replays are being created correctly. Did this work on Ubuntu for you guys? Were you using the Launchpad package? Thanks for looking into this.

I'm running 64-bit Ubuntu 9.04. I have a Core 2 Duo Intel processor, 4 GB ram, and some kind of Nvidia graphics card. I'm using the current 0.79.0.2 package from the Spring Jaunty launchpad repository. Let me know if there is any more information that you need.

~0003533

Auswaschbar (reporter)

Baczek, Kloot, did you try watching directly or with springlobby?

~0003535

imbaczek (reporter)

i started it directly.

~0003536

Kloot (developer)

Same.

~0003556

coherence (reporter)

Just FYI to keep the bug up-to-date:

I upgraded to the 0.79.1 package, created a replay, ran the replay and got an identical crash.

~0003560

Auswaschbar (reporter)

Can you upload the script.txt springlobby generates when watching this? its usually located in ~/.spring/script.txt

~0003563

coherence (reporter)

No script.txt generates when I watch the replay. I've uploaded the script file that is generated when I run a single player game in case it can be of use.

~0003573

SirMaverick (reporter)

As posted in http://springrts.com/mantis/view.php?id=1440

I have the same error with replays. I can't watch my own recordings or the one posted in 1440. (The replay posted here fails due to different map hash, content error).

I use Springlobby under Linux. Happens when starting from Springlobby or from command line.

~0003586

SirMaverick (reporter)

How to reproduce: Set name in .springrc to "name=".

If you delete "name=" from .springrc, replay works, "name=unnamed" gets added automatically to .springrc.

I have no clue why name was set to empty string.

~0003588

Kloot (developer)

Thank you, fix is on its way now.
+Notes

-Issue History
Date Modified Username Field Change
2009-05-28 04:30 coherence New Issue
2009-05-28 04:30 coherence File Added: local_20090523_120321_DeltaSiegeDry_0.79.0.sdf
2009-05-28 11:23 imbaczek Note Added: 0003524
2009-05-28 12:57 Kloot Note Added: 0003528
2009-05-28 16:31 coherence Note Added: 0003529
2009-05-28 18:13 Auswaschbar Note Added: 0003533
2009-05-28 18:15 imbaczek Note Added: 0003535
2009-05-28 18:35 Kloot Note Added: 0003536
2009-05-30 04:38 coherence Note Added: 0003556
2009-05-30 11:34 Auswaschbar Note Added: 0003560
2009-05-30 14:31 coherence Note Added: 0003563
2009-05-30 14:32 coherence File Added: script.txt
2009-06-01 07:06 SirMaverick Note Added: 0003573
2009-06-01 10:36 Kloot Relationship added related to 0001440
2009-06-02 02:24 SirMaverick Note Added: 0003586
2009-06-02 17:08 Kloot Note Added: 0003588
2009-06-02 17:08 Kloot Status new => resolved
2009-06-02 17:08 Kloot Fixed in Version => 0.79.1.0+git
2009-06-02 17:08 Kloot Resolution open => fixed
2009-06-02 17:08 Kloot Assigned To => Kloot
+Issue History