View Issue Details

IDProjectCategoryView StatusLast Update
0003026Spring engineGeneralpublic2012-03-18 17:56
Reportercleanrock Assigned To 
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionwon't fix 
Product Version87.0.1+git 
Fixed in Version87.0.1+git 
Summary0003026: hanging spring 87.0.1-68-g6cefe1d
DescriptionNot sure if this is of interest but i git a hang speccing a zk game, could be a zk problem but i zk lua should prolly not hang spring, full log attached.

[f=0023681] Error: LuaRules::RunCallIn: error = 2, ProjectileDestroyed, [string "LuaRules/Gadgets/unit_aa_micro_gadget.lua"]:1242: attempt to index field '?' (a nil value)
[f=0023701] Warning: [Watchdog] Hang detection triggered for Spring 87.0.1-68-g6cefe1d 6cefe1d.
[f=0023701] Warning: (in thread: main)
[f=0023701] Error: Stacktrace (main):
[f=0023701] Error: (Note: This stacktrace is not 100% accurate! It just gives an impression.)
[f=0023701] Error: <0> [0xfffffe00]
[f=0023701] Error: <1> [0x1]
[f=0023701] Error: <2> [0xbfedbd9c]
[f=0023701] Error: Stacktrace (audio):
[f=0023701] Error: No Stacktraces for non-MainThread.
[f=0023701] Warning: [Watchdog] Hang detection triggered for Spring 87.0.1-68-g6cefe1d 6cefe1d.
[f=0023701] Warning: (in thread: main)
[f=0023701] Error: Stacktrace (main):
[f=0023701] Error: (Note: This stacktrace is not 100% accurate! It just gives an impression.)
[f=0023701] Error: <0> [0xfffffe00]
[f=0023701] Error: <1> [0x1]
[f=0023701] Error: <2> [0xbfedbd9c]
[f=0023701] Error: Stacktrace (audio):
[f=0023701] Error: No Stacktraces for non-MainThread.
[f=0023701] Error: Aborted (SIGABRT) in spring 87.0.1-68-g6cefe1d 6cefe1d
[f=0023701] Error: Stacktrace:
[f=0023701] Error: <0> [0xb77b1400]
[f=0023701] Error: <1> /home/johanr/projects_other/spring/rts/lib/lua/src/lvm.cpp:462
[f=0023701] Error: <2> /home/johanr/projects_other/spring/rts/lib/lua/src/ldo.cpp:377
[f=0023701] Error: <3> /home/johanr/projects_other/spring/rts/lib/lua/src/lapi.cpp:813
[f=0023701] Error: <4> /home/johanr/projects_other/spring/rts/lib/lua/src/ldo.cpp:119
[f=0023701] Error: <5> /home/johanr/projects_other/spring/rts/lib/lua/src/ldo.cpp:464
[f=0023701] Error: <6> /home/johanr/projects_other/spring/rts/lib/lua/src/lapi.cpp:834
[f=0023701] Error: <7> /home/johanr/projects_other/spring/rts/Lua/LuaHandle.cpp:447
[f=0023701] Error: <8> /home/johanr/projects_other/spring/rts/Lua/LuaHandle.cpp:476
[f=0023701] Error: <9> /home/johanr/projects_other/spring/rts/Lua/LuaHandle.cpp:645
TagsNo tags attached.
Attached Files
hang_infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

cleanrock

2012-03-17 16:33

reporter   ~0008470

frog disabled the gadget (unit_aa_micro_gadget.lua) after this crash but it might be worth looking into if lua is not supposed to be able to crash spring.

cleanrock

2012-03-17 16:35

reporter   ~0008471

I forgot to say that i sent a SIGABRT to spring after it hang to get a stacktrace.

Google_Frog

2012-03-17 17:19

reporter   ~0008472

I don't know my way around that gadget but crashing 20 frames before a hang indicates that it caused it. Lua could be stuck in an infinite loop for all I know and I don't see how you can reasonably stop this from hanging spring.

Kloot

2012-03-18 17:56

developer   ~0008474

Hangs can only be detected (using some time threshold for what constitutes a "hang"), not broken out of in any way that is even remotely safe.

Issue History

Date Modified Username Field Change
2012-03-17 16:23 cleanrock New Issue
2012-03-17 16:23 cleanrock File Added: hang_infolog.txt
2012-03-17 16:33 cleanrock Note Added: 0008470
2012-03-17 16:35 cleanrock Note Added: 0008471
2012-03-17 17:19 Google_Frog Note Added: 0008472
2012-03-18 17:56 Kloot Note Added: 0008474
2012-03-18 17:56 Kloot Status new => closed
2012-03-18 17:56 Kloot Resolution open => won't fix
2012-03-18 17:56 Kloot Fixed in Version => 87.0.1+git