View Issue Details

IDProjectCategoryView StatusLast Update
0001908Spring engineUnit Scriptingpublic2011-05-04 18:42
ReporterSirMaverick Assigned Tozerver  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.81.2.1 
Fixed in Version0.82.7+git 
Summary0001908: SIGSEGV in UnitScript.cpp:232
DescriptionProgram received signal SIGSEGV, Segmentation fault.
0x087e09b6 in CUnitScript::Tick (this=0xf3bcb58, deltaTime=33) at /spring/spring/spring-git/rts/Sim/Units/COB/UnitScript.cpp:232
232 pieces[ai->piece]->updated = true;
(gdb) bt
#0 0x087e09b6 in CUnitScript::Tick (this=0xf3bcb58, deltaTime=33) at /spring/spring/spring-git/rts/Sim/Units/COB/UnitScript.cpp:232
#1 0x087df876 in CUnitScriptEngine::Tick (this=0x8c8008c, deltaTime=33) at /spring/spring/spring-git/rts/Sim/Units/COB/UnitScriptEngine.cpp:81
#2 0x08369967 in CGame::SimFrame (this=0xac9a67b8) at /spring/spring/spring-git/rts/Game/Game.cpp:3514
0000003 0x0836aff3 in CGame::ClientReadNet (this=0xac9a67b8) at /spring/spring/spring-git/rts/Game/Game.cpp:3805
0000004 0x08365eb6 in CGame::Update (this=0xac9a67b8) at /spring/spring/spring-git/rts/Game/Game.cpp:2788
0000005 0x0886e9e5 in SpringApp::Update (this=0xbffff510) at /spring/spring/spring-git/rts/System/SpringApp.cpp:862
#6 0x0886ed04 in SpringApp::Run (this=0xbffff510, argc=2, argv=0xbffff5e4) at /spring/spring/spring-git/rts/System/SpringApp.cpp:990
#7 0x0889a3f8 in Run (argc=2, argv=0xbffff5e4) at /spring/spring/spring-git/rts/System/Main.cpp:111
#8 0x0889a444 in main (argc=2, argv=0xbffff5e4) at /spring/spring/spring-git/rts/System/Main.cpp:127
TagsNo tags attached.
Attached Files
20100429_233327_unnamed_0.81.2.sdf (Attachment missing)
infolog.txt (Attachment missing)
20100513_164730_unnamed_0.81.2.sdf (Attachment missing)
Checked infolog.txt for Errors

Relationships

duplicate of 0001822 closed Spring Crash 
duplicate of 0002336 resolvedzerver Game Crash in UnitScript.cpp:223 
related to 0001877 resolvedabma Crash in UnitScripts 
related to 0001919 resolvedKloot replay from desynced game shows different games 
has duplicate 0002131 closed 1v1 no AI conflict terra crash 
related to 0002052 closed Conflict Terra crash 
related to 0002258 resolvedKloot Lua rules crashing spring.exe (UnitPreDamaged) in lauxlib.cpp:636 

Activities

hoijui

2010-04-30 07:47

reporter   ~0004862

Last edited: 2010-04-30 07:48

if you still have it, i guess the infolog.txt would be nice to have too.

And maybe some background data like:
does it happen often, only once, was anything special going on?

SirMaverick

2010-04-30 18:52

reporter   ~0004867

I don't have the infolog anymore.

First time I saw this crash.

Only special thing is heavy use of bladewings (flying kamikaze mines).

tvo

2010-05-01 14:34

reporter   ~0004873

Did everyone crash with this stacktrace, or only one player?

tvo

2010-05-01 17:14

reporter   ~0004877

[17:11:33] <[0K]SirMaverick> afaik some
[17:11:40] <[0K]SirMaverick> not all, but most
[17:12:39] <[RoX]Tobi> all same stack trace?
[17:12:49] <[0K]SirMaverick> dunno about others
[17:13:16] <[0K]SirMaverick> that stacktrace is from repalying demo
[17:14:50] <[RoX]Tobi> ah nice

tvo

2010-05-02 13:33

reporter   ~0004882

unable to reproducable it (using replay)

SirMaverick

2010-05-02 18:18

reporter   ~0004883

Last edited: 2010-05-02 18:19

After it crashed in game I run once with release version, then with debug version to get stack trace. I crashed both times.

Ran it now, several times with release and debug version. Crashed only once, different stacktrace. Might be memory corruption?

Stacktrace:
./spring [0x854109f]
[0xb77ef400] # NOTE: no path -> not translating
./spring [0x8477756]
./spring [0x8473831]
./spring [0x80c878a]
./spring [0x80e1348]
./spring [0x80e5499]
./spring [0x84ee4aa]
./spring [0x84f4375]
./spring [0x8529933]
./spring [0x8529dbb]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb6e6ab55]
./spring [0x8088ac1]
Translated Stacktrace:
/spring/spring-git/rts/System/Platform/CrashHandler.cpp:280
/usr/include/c++/4.4/bits/stl_list.h:151
/spring/spring-git/rts/Sim/Units/COB/UnitScriptEngine.cpp:81
/spring/spring-git/rts/Game/Game.cpp:3515
/spring/spring-git/rts/System/Sync/SyncChecker.h:40
/spring/spring-git/rts/Game/Game.cpp:2790
/spring/spring-git/rts/System/SpringApp.cpp:862
/spring/spring-git/rts/System/SpringApp.cpp:990
/spring/spring-git/rts/System/Main.cpp:64
/spring/spring-git/rts/System/Main.cpp:128
??:0
??:0

SirMaverick

2010-05-13 17:06

reporter   ~0004913

Crashed again. This time I was only one.

hoijui

2010-07-12 21:18

reporter   ~0005082

give infolog (and if makes sense, other files) again please (can not hurt)

SirMaverick

2010-07-12 22:54

reporter   ~0005084

2010-05-13 17:06 SirMaverick Note Added: 0004913
2010-05-13 17:08 SirMaverick File Added: infolog.txt
2010-05-13 17:13 SirMaverick File Added: 20100513_164730_unnamed_0.81.2.sdf

zerver

2010-10-14 20:09

reporter   ~0005738

please try with current spring version, if bug still exists, please reopen this report

zerver

2011-05-04 18:42

reporter   ~0006607

this is resolved for sure, see 0002336

Issue History

Date Modified Username Field Change
2010-04-30 00:55 SirMaverick New Issue
2010-04-30 00:55 SirMaverick File Added: 20100429_233327_unnamed_0.81.2.sdf
2010-04-30 07:47 hoijui Note Added: 0004862
2010-04-30 07:48 hoijui Note Edited: 0004862
2010-04-30 11:50 jK Relationship added has duplicate 0001877
2010-04-30 11:51 jK Relationship deleted has duplicate 0001877
2010-04-30 11:51 jK Relationship added related to 0001877
2010-04-30 18:52 SirMaverick Note Added: 0004867
2010-05-01 14:34 tvo Note Added: 0004873
2010-05-01 17:14 tvo Note Added: 0004877
2010-05-02 13:33 tvo Note Added: 0004882
2010-05-02 18:18 SirMaverick Note Added: 0004883
2010-05-02 18:19 SirMaverick Note Edited: 0004883
2010-05-13 17:06 SirMaverick Note Added: 0004913
2010-05-13 17:08 SirMaverick File Added: infolog.txt
2010-05-13 17:13 SirMaverick File Added: 20100513_164730_unnamed_0.81.2.sdf
2010-07-12 16:41 Kloot Relationship added related to 0001919
2010-07-12 21:18 hoijui Note Added: 0005082
2010-07-12 22:54 SirMaverick Note Added: 0005084
2010-08-12 13:36 zerver Relationship added duplicate of 0001822
2010-08-22 14:17 Kloot Relationship added related to 0002052
2010-09-18 20:16 hoijui Relationship added has duplicate 0002131
2010-10-14 20:09 zerver Note Added: 0005738
2010-10-14 20:09 zerver Status new => closed
2010-10-14 20:09 zerver Resolution open => unable to reproduce
2011-05-04 10:04 abma Relationship added related to 0002258
2011-05-04 18:41 zerver Assigned To => zerver
2011-05-04 18:41 zerver Status closed => assigned
2011-05-04 18:41 zerver Resolution unable to reproduce => reopened
2011-05-04 18:41 zerver Relationship added duplicate of 0002336
2011-05-04 18:42 zerver Note Added: 0006607
2011-05-04 18:42 zerver Status assigned => resolved
2011-05-04 18:42 zerver Fixed in Version => 0.82.7+git
2011-05-04 18:42 zerver Resolution reopened => fixed