Page 1 of 1

demo crash (0.72b2)

Posted: 07 Jul 2006, 01:03
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?

Posted: 07 Jul 2006, 10:32
by Tobi
probably bug in spring, I'll look at it sometime

Posted: 07 Jul 2006, 14:41
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.

Posted: 08 Jul 2006, 04:55
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.

Posted: 08 Jul 2006, 11:26
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)?

Posted: 08 Jul 2006, 18:51
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.

Posted: 10 Jul 2006, 00:22
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.

Posted: 10 Jul 2006, 09:54
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.

Posted: 10 Jul 2006, 14:55
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

Posted: 10 Jul 2006, 23:31
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

Posted: 11 Jul 2006, 18:27
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...

Posted: 19 Jul 2006, 04:00
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.

Posted: 26 Jul 2006, 22:41
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