2025-07-19 21:10 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004453Spring engineGeneralpublic2014-06-23 23:10
Reporterabma 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version97.0.1+git 
Target Version98.0Fixed in Version 
Summary0004453: assert in rts/System/LoadSave/DemoRecorder.cpp:146: failed
Description#9 0x00007f9b7ce39ee2 in __GI___assert_fail (assertion=0x12ced40 "(unsigned)playerNum < playerStats.size()",
    file=0x12ced18 "rts/System/LoadSave/DemoRecorder.cpp", line=146,
    function=0x12cee00 <CDemoRecorder::SetPlayerStats(int, PlayerStatistics const&)::__PRETTY_FUNCTION__> "void CDemoRecorder::SetPlayerStats(int, const PlayerStatistics&)") at assert.c:101
0000010 0x0000000000c98e6f in CDemoRecorder::SetPlayerStats (this=0x3fd3820, playerNum=2, stats=...) at rts/System/LoadSave/DemoRecorder.cpp:146
#11 0x0000000000740298 in CGame::ClientReadNet (this=0x3fda770) at rts/Net/NetCommands.cpp:303
0000012 0x00000000005cc048 in CGame::Update (this=0x3fda770) at rts/Game/Game.cpp:973
0000013 0x0000000000cd1441 in SpringApp::Update (this=0x7fffb2afd2d0) at rts/System/SpringApp.cpp:858
---Type <return> to continue, or q <return> to quit---
0000014 0x0000000000cd158b in SpringApp::Run (this=0x7fffb2afd2d0) at rts/System/SpringApp.cpp:889
#15 0x0000000000c9dec2 in Run (argc=1, argv=0x7fffb2afd4b8) at rts/System/Main.cpp:48
#16 0x0000000000c9e6f0 in main (argc=1, argv=0x7fffb2afd4b8) at rts/System/Main.cpp:107
Additional Information[f=0001017] Connection attempt from
[f=0001017] -> Version: 97.0.1-88-g35627dd develop (Debug Headless)
[f=0001017] -> Address: [127.0.0.1]:45468
[f=0001017] [Game::ClientReadNet] added new player with number 2 to team 0
[f=0001017] -> Connection established (given id 2)
[f=0001033] [Frame Gap Logger] Warning: Frame gap: 107
[f=0001232] Debug: /cheat
[f=0001232] Cheating is disabled!
[f=0001280] Warning: Chat command /Give (unsynced) cannot be executed (cheats required)!
[f=0001280] Debug: /give all
[f=0001388] Warning: Chat command /Give (unsynced) cannot be executed (cheats required)!
[f=0001388] Debug: /give all
[f=0001393] Spectator finished loading and is now ingame
spring: rts/System/LoadSave/DemoRecorder.cpp:146: void CDemoRecorder::SetPlayerStats(int, const PlayerStatistics&): Assertion `(unsigned)playerNum < playerStats.size()' failed.
[f=0001409] Error: Aborted (SIGABRT) in spring 97.0.1-87-gee54c27 develop (Debug)
[f=0001409] Error: Stacktrace for Spring 97.0.1-87-gee54c27 develop (Debug):
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0013332

abma (administrator)

Last edited: 2014-06-23 22:28

View 2 revisions

yeah, versions missmatched but still shouldn't cause a failed assertion?!

~0013336

Kloot (developer)

it could, if the "player" that sent the stats update was actually a spectator that joined later
+Notes

-Issue History
Date Modified Username Field Change
2014-06-23 22:26 abma New Issue
2014-06-23 22:27 abma File Added: 20140623_222600_DeltaSiegeDry_97.0.1-87-gee54c27 develop.sdf
2014-06-23 22:28 abma Note Added: 0013332
2014-06-23 22:28 abma Note Edited: 0013332 View Revisions
2014-06-23 23:02 Kloot Note Added: 0013336
2014-06-23 23:08 Kloot Assigned To => Kloot
2014-06-23 23:08 Kloot Status new => assigned
2014-06-23 23:10 Kloot Changeset attached => spring develop 4732c244
2014-06-23 23:10 Kloot Status assigned => resolved
2014-06-23 23:10 Kloot Resolution open => fixed
+Issue History