View Issue Details

IDProjectCategoryView StatusLast Update
0002317Spring engineGeneralpublic2011-02-03 19:17
Reportersatirik Assigned Tozerver  
PriorityhighSeveritycrashReproducibilityhave not tried
Status closedResolutionno change required 
Product Version0.82.7.1 
Summary0002317: Chain freeze only when playing
DescriptionI was playing (for once) using the MT version, i froze a first time after few minutes, then i rejoined midgame, i refroze few seconds after catching, i rejoinded and froze again few seconds after catching, then i gave up playing, i just rejoined to spec and it didn't freeze anymore
TagsNo tags attached.
Attached Files
infolog_freeze.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

satirik

2011-01-23 15:46

reporter   ~0006295

i tried to remove all the latest widget i installed before the third try and it froze again

zerver

2011-01-24 00:41

reporter   ~0006300

From the look of it, some LUA code froze in MouseRelease().

The draw thread is obviously still running, since the two stacktraces are not identical, but is probably in some endless loop. The sim thread is waiting for the draw thread to release the LUA lock. Cannot see why this would happen only with MT. Try disabling more widgets.

Draw:
https://github.com/spring/spring/blob/0.82.7.1/rts/lib/lua/src/lvm.cpp#L566
https://github.com/spring/spring/blob/0.82.7.1/rts/lib/lua/src/ldo.cpp#L377
https://github.com/spring/spring/blob/0.82.7.1/rts/lib/lua/src/lapi.cpp#L822
https://github.com/spring/spring/blob/0.82.7.1/rts/lib/lua/src/ldo.cpp#L119
https://github.com/spring/spring/blob/0.82.7.1/rts/lib/lua/src/ldo.cpp#L464
https://github.com/spring/spring/blob/0.82.7.1/rts/lib/lua/src/lapi.cpp#L843
https://github.com/spring/spring/blob/0.82.7.1/rts/Lua/LuaHandle.cpp#L226
https://github.com/spring/spring/blob/0.82.7.1/rts/Lua/LuaHandle.cpp#L255
https://github.com/spring/spring/blob/0.82.7.1/rts/Lua/LuaHandle.h#L363
https://github.com/spring/spring/blob/0.82.7.1/rts/System/EventHandler.cpp#L546
https://github.com/spring/spring/blob/0.82.7.1/rts/Game/UI/MouseHandler.cpp#L323
https://github.com/spring/spring/blob/0.82.7.1/rts/System/Input/MouseInput.cpp#L86
/slave/mingwlibs/include/boost/optional/optional.hpp:275
https://github.com/spring/spring/blob/0.82.7.1/rts/System/SpringApp.cpp#L1173
https://github.com/spring/spring/blob/0.82.7.1/rts/System/Main.cpp#L55
https://github.com/spring/spring/blob/0.82.7.1/rts/System/Main.cpp#L91

Sim:
/slave/mingwlibs/include/boost/thread/win32/basic_timed_mutex.hpp:L91
https://github.com/spring/spring/blob/0.82.7.1/rts/lib/gml/gmlfun.h#L327
https://github.com/spring/spring/blob/0.82.7.1/rts/System/EventHandler.cpp#L349
https://github.com/spring/spring/blob/0.82.7.1/rts/Game/Game.cpp#L3582
https://github.com/spring/spring/blob/0.82.7.1/rts/System/Sync/SyncChecker.h#L40
https://github.com/spring/spring/blob/0.82.7.1/rts/Game/Game.cpp#L2834
https://github.com/spring/spring/blob/0.82.7.1/rts/System/SpringApp.cpp#L1006
https://github.com/spring/spring/blob/0.82.7.1/rts/lib/gml/gmlsrv.h#L431

satirik

2011-01-24 15:08

reporter   ~0006303

i played another game with the ST version after that one, and it froze again, i installed back spring 0.82.7 to see (but still didn't play)

satirik

2011-01-24 23:10

reporter   ~0006304

ok my bad, i didn't mean "only with MT" but "only when playing, with the MT version", meaning it doesn't happen when specing

zerver

2011-01-25 12:45

reporter   ~0006306

IMO Spring needs some mechanism to detect the currently executing lua file and print it in the stack trace.

satirik

2011-01-26 00:56

reporter   ~0006309

Last edited: 2011-01-26 00:56

i disabled every single widget i had except iceui and i played a full game vs ai without freezing, but don't ask me to try widget after widget until i find which one fails, it takes 10min ingame before freezing

zerver

2011-02-03 19:17

reporter   ~0006331

Since this is a (likely 3rd party) widget problem, I'm closing the issue

Issue History

Date Modified Username Field Change
2011-01-23 15:45 satirik New Issue
2011-01-23 15:45 satirik File Added: infolog_freeze.txt
2011-01-23 15:46 satirik Note Added: 0006295
2011-01-23 16:57 zerver Status new => assigned
2011-01-23 16:57 zerver Assigned To => zerver
2011-01-24 00:41 zerver Note Added: 0006300
2011-01-24 15:08 satirik Note Added: 0006303
2011-01-24 23:09 satirik Summary Chain freeze only when playing with MT => Chain freeze only when playing
2011-01-24 23:10 satirik Note Added: 0006304
2011-01-25 12:45 zerver Note Added: 0006306
2011-01-26 00:56 satirik Note Added: 0006309
2011-01-26 00:56 satirik Note Edited: 0006309
2011-02-03 19:17 zerver Note Added: 0006331
2011-02-03 19:17 zerver Status assigned => closed
2011-02-03 19:17 zerver Resolution open => no change required