So I had a crash, and I had LUAUI crap itself, although after several restarts via the /luaui reload command, LUAUI worked properly. All this is a WinXP machine that has run Spring flawlessly for some time.
I saved infolog.txt for both instances. Should I post them? Excerpts follow:
LUA error, happened three times, same message AFAIK:
[ 65963] LuaUI::RunCallIn: error = 2, MouseRelease, [string "LuaUI/Widgets/unit_customformations.lua"]:644: attempt to index local 'next_node' (a nil value)
[ 66118] LuaUI::RunCallIn: error = 2, MouseRelease, [string "LuaUI/Widgets/unit_customformations.lua"]:644: attempt to index local 'next_node' (a nil value)
[ 66185] LuaUI::RunCallIn: error = 2, MouseRelease, [string "LuaUI/Widgets/unit_customformations.lua"]:644: attempt to index local 'next_node' (a nil value)
[ 66247] LuaUI::RunCallIn: error = 2, MouseRelease, [string "LuaUI/Widgets/unit_customformations.lua"]:644: attempt to index local 'next_node' (a nil value)
[ 66269] LuaUI::RunCallIn: error = 2, MouseRelease, [string "LuaUI/Widgets/unit_customformations.lua"]:644: attempt to index local 'next_node' (a nil value)
[ 66270] 5 errors deep in LuaUI, disabling...
[ 66270] 5 errors deep in LuaUI, disabling...
[ 66270] 5 errors deep in LuaUI, disabling...
[ 66270] 5 errors deep in LuaUI, disabling...
[ 66270] 5 errors deep in LuaUI, disabling...
[ 66270] 5 errors deep in LuaUI, disabling...
[ 66270] 5 errors deep in LuaUI, disabling...
[ 66270] 5 errors deep in LuaUI, disabling...
[ 66270] Sorting roster by Allies
[ 66270] Disabled LuaUI
OK, and the Spring crash infolog looked like this:
[ 77760] Stacktrace:
[ 77760] (0) E:\Games\spring 07902\Spring\spring.exe(skirmishAiCallback_Unit_CurrentCommand_0ARRAY1VALS0getParams+0x516) [0x00939D46]
[ 77760] (1) E:\Games\spring 07902\Spring\spring.exe(skirmishAiCallback_Unit_CurrentCommand_0ARRAY1VALS0getParams+0x116d7) [0x0094AF07]
[ 77760] (2) E:\Games\spring 07902\Spring\spring.exe [0x0085254C]
[ 77760] (3) E:\Games\spring 07902\Spring\spring.exe [0x00827B05]
[ 77760] (4) E:\Games\spring 07902\Spring\spring.exe [0x008260AA]
[ 77760] (5) E:\Games\spring 07902\Spring\spring.exe [0x0082485D]
[ 77760] (6) E:\Games\spring 07902\Spring\spring.exe [0x00827450]
[ 77760] (7) E:\Games\spring 07902\Spring\spring.exe [0x00805C4E]
[ 77760] (8) E:\Games\spring 07902\Spring\spring.exe [0x008080E6]
[ 77760] (9) E:\Games\spring 07902\Spring\spring.exe [0x00406576]
[ 77760] (10) E:\Games\spring 07902\Spring\spring.exe [0x00417A00]
[ 77760] (11) E:\Games\spring 07902\Spring\spring.exe [0x0041C182]
[ 77760] (12) E:\Games\spring 07902\Spring\spring.exe [0x008BB325]
[ 77760] (13) E:\Games\spring 07902\Spring\spring.exe [0x008C4A54]
[ 77760] (14) E:\Games\spring 07902\Spring\spring.exe [0x008BA10C]
[ 77760] (15) E:\Games\spring 07902\Spring\spring.exe [0x008BA2F6]
[ 77760] (16) E:\Games\spring 07902\Spring\spring.exe [0x0095FCA8]
[ 77760] (17) E:\Games\spring 07902\Spring\spring.exe [0x0040124B]
[ 77760] (18) E:\Games\spring 07902\Spring\spring.exe [0x004012B8]
[ 77760] (19) C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C816D4F]
Some crashes, and LUAUI problem
Moderator: Moderators
Re: Some crashes, and LUAUI problem
I think you have two different issues. I've had the skirmishAiCallback crash in all 0.79.x.x clients, see:
http://springrts.com/phpbb/viewtopic.ph ... 11#p354711
http://springrts.com/phpbb/viewtopic.ph ... 45#p354845
http://springrts.com/phpbb/viewtopic.ph ... 11#p354711
http://springrts.com/phpbb/viewtopic.ph ... 45#p354845
-
- Posts: 834
- Joined: 19 May 2009, 21:10
Re: Some crashes, and LUAUI problem
Looks like the Custom Formations Widget from BA has similar problem like the one in CA.smokingwreckage wrote:[ 65963] LuaUI::RunCallIn: error = 2, MouseRelease, [string "LuaUI/Widgets/unit_customformations.lua"]:644: attempt to index local 'next_node' (a nil value)
Re: Some crashes, and LUAUI problem
lua bug and the ai bug may actually be related, and may also exhibit itself as desyncs in other cases. we have a hunch as to what may cause this, and it's possible that the fix is already in master, we're not sure though.
-
- Posts: 327
- Joined: 09 Apr 2005, 11:40
Re: Some crashes, and LUAUI problem
Just some details if they help: the custom formations widget went wrong in NOTA plus LOLUI, I restarted LUAUI several times and for no apparent reason it "took" and started working again after the third chat-reload.
Thanks for the info, all! It's good to know.
Thanks for the info, all! It's good to know.
Re: Some crashes, and LUAUI problem
I have been having problems with the custom formations widget in CA too - it was getting horribly stuck then crashing LuaUI. When I dragged a formation line out, the line would remain drawn when I released the mouse button, and the units wouln't actually get the order. After a bit of clicking or time, it would crash as described in OP.
Re: Some crashes, and LUAUI problem
I have the same kind of crash:
The annoying bits are that I can't debug since it doesn't give a widget filename and line, and also it kills the whole LuaUI when it happens too much.
Those errors involving MouseRelease started with 0.79.1.0. Could be just a coincidence, that I got a wrong widget recently, but maybe not.[ 14060] <zwzsg> Wee! I believe I can win!
[ 14151] LuaUI::RunCallIn: error = 2, MouseRelease, [string "R:\more_installed_games\TASpring\Spring7910..."]:641: attempt to index local 'next_node' (a nil value)
[ 14234] Bit is being attacked
[ 14359] LuaUI::RunCallIn: error = 2, MouseRelease, [string "R:\more_installed_games\TASpring\Spring7910..."]:641: attempt to index local 'next_node' (a nil value)
[ 14369] LuaUI::RunCallIn: error = 2, MouseRelease, [string "R:\more_installed_games\TASpring\Spring7910..."]:641: attempt to index local 'next_node' (a nil value)
[ 14492] LuaUI::RunCallIn: error = 2, MouseRelease, [string "R:\more_installed_games\TASpring\Spring7910..."]:641: attempt to index local 'next_node' (a nil value)
[ 14908] LuaUI::RunCallIn: error = 2, MouseRelease, [string "R:\more_installed_games\TASpring\Spring7910..."]:641: attempt to index local 'next_node' (a nil value)
[ 14909] 5 errors deep in LuaUI, disabling...
[ 14909] 5 errors deep in LuaUI, disabling...
[ 14909] 5 errors deep in LuaUI, disabling...
[ 14909] 5 errors deep in LuaUI, disabling...
[ 14909] 5 errors deep in LuaUI, disabling...
[ 14909] 5 errors deep in LuaUI, disabling...
[ 14909] 5 errors deep in LuaUI, disabling...
[ 14909] 5 errors deep in LuaUI, disabling...
[ 14909] Reloaded cmdcolors with: cmdcolors.tmp
[ 14909] Disabled LuaUI
[ 14909] Type '/luaui reload' in the chat to reenable LuaUI.
[ 14909] ===>>> Please report this error to the forum or mantis with your infolog.txt
The annoying bits are that I can't debug since it doesn't give a widget filename and line, and also it kills the whole LuaUI when it happens too much.
Re: Some crashes, and LUAUI problem
yes, we think it was fixed in this commit, which unfortunately isn't included in 79.1. i personally hope 79.2 will be released by the end of the week.