demo crash (0.72b2)

demo crash (0.72b2)

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

Moderator: Moderators

Post Reply
keithjr
Posts: 110
Joined: 30 Jun 2006, 18:45

demo crash (0.72b2)

Post by keithjr »

Hi, I thought I'd start using this new forum to its fullest potential and make a new thread for a new problem.

Whenever I try to run a demo using the -D syntax, the screen goes black as if trying to load the splash screen, then I'm returned to my desktop (where the screen resolution is now less than the desktop res, cause me to have to scroll around until I kill X), and I get the following console output:

Code: Select all

keithjr@helios:~/.springdir/localhost.localdomain:0.0$ spring -D home/keithjr/.springdir/localhost.localdomain\:0.0/demos/060706-FloodedDesert-0.72b1.sdf
I: workdir is '/home/keithjr/.springdir/localhost.localdomain:0.0'
I: type spring-setup to configure spring
spring is using data directory: /home/keithjr/.springdir/localhost.localdomain:0.0
spring.bin: rts/Game/PreGame.cpp:308: void CPreGame::UpdateClientNet(): Assertion `state == WAIT_ON_MAP' failed.
sh: line 1:  6435 Aborted                 /usr/bin/spring.bin -f "/home/keithjr/.springdir/localhost.localdomain:0.0/demos/060706-FloodedDesert-0.72b1.sdf"
I made sure to use the full path to the demo file.

It's really not that bad, and I'm not trying to hassle anybody, just thought I'd let people know the problem is out there. I can start a normal spring game just fine.

The assertion error probably implies that the map is not being loaded correctly. I have it set up right now so that the default map should be the one that the replay was created with. Do I need any other arguments?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

probably bug in spring, I'll look at it sometime
keithjr
Posts: 110
Joined: 30 Jun 2006, 18:45

Post by keithjr »

Oh here's a thought.... do I need to start up spring as a server? I can't check right now but I can later tonight perhaps.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Post by knorke »

Did you try a different replay?
This happens for me too, for _some_ replays.
It seems it has to do with the mapname or something, maybe it doesn't like spaces in the names or something.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

The only replay I had readily available here works fine - could you send me the broken replay (e-mail to: tobivollebregt gmail com)?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

Don't know if this is also true for the linux version, but you can't watch replays of games that you hosted originally with the current release.
keithjr
Posts: 110
Joined: 30 Jun 2006, 18:45

Post by keithjr »

LordMatt wrote:Don't know if this is also true for the linux version, but you can't watch replays of games that you hosted originally with the current release.
Wait, so if I simply start up a spring standard 1v1 skirmish (using debspring's spring-setup) and play, and finish, I cannot view the demo that had just been recorded automatically? Or am I misunderstanding you?

I just varified the error I had with another skirmish on another map. Can ANYBODY tell me what I'm doing wrong? It seems to be something on my end.

Edit: I've got a trace file, small, only 1.3kb, of my attempt to run a demo if anybody is interested.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Tobi wrote:The only replay I had readily available here works fine - could you send me the broken replay (e-mail to: tobivollebregt gmail com)?
I think you missed the post i just quoted?
Send to Tobi.
keithjr
Posts: 110
Joined: 30 Jun 2006, 18:45

Post by keithjr »

I did. A few days ago. He's a busy guy, don't hurry him :wink:

seriously I'm not stressed about this, just reporting a problem which is looking less and less like a bug and more and more like my system
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

keithjr wrote:
LordMatt wrote:Don't know if this is also true for the linux version, but you can't watch replays of games that you hosted originally with the current release.
Wait, so if I simply start up a spring standard 1v1 skirmish (using debspring's spring-setup) and play, and finish, I cannot view the demo that had just been recorded automatically? Or am I misunderstanding you?
Again, I don't have the Linux version, so I don't know if what you are looking at is the same as what I am, but I am unable to watch any replays of games that I host (though if I record a replay of a game in which I was not the host, I can watch it without problems). I can also watch games started through spring.exe, rather than the lobby. HTH
keithjr
Posts: 110
Joined: 30 Jun 2006, 18:45

Post by keithjr »

Ok, I misunderstood you.

Currently linux players are confined to the spring executable as we lack a working lobby. We have a couple of script systems (thanks to fbo and, recently, hollowsoul), but not multiplay hosting yet. Thanks, though!

I think I'll take a stroll through the source and see what the assertion error really means and why it is coming up...
keithjr
Posts: 110
Joined: 30 Jun 2006, 18:45

Post by keithjr »

I've confirmed the same results from 3 different demos on 3 different maps (flooded desert, country crossing, castles), and have tried using

Code: Select all

spring.bin path/to/demo.sdf
and

Code: Select all

spring -D path/to/demo.sdf
(the latter using deb-spring script rather than the spring binary), and the results have been the exact same.
keithjr
Posts: 110
Joined: 30 Jun 2006, 18:45

Post by keithjr »

If somebody has a working demo that has been tested, could you please send it to me so I can confirm the problem is with loading and not with recording?

keithv2 at gmail
Post Reply

Return to “Linux”