View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000712 | Spring engine | General | public | 2007-12-15 19:02 | 2012-06-27 02:29 | ||||
Reporter | quantum | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | crash | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000712: Spring.SendCommands crash | ||||||||
Description | How to reproduce: 1) Get A recent version of CA (http://files.caspring.org/snapshots/latest.sdz.php) 2) Launch the game with a recent SVN build of Spring and select CA. 3) When the game has loaded, make sure LuaUI is enabled then press on "Main Menu", "Help Options" and "Toggle Stall Prevention". Outcome: crash. 4) Repeat step 3 with Spring 0.75b2. Outcome: no crash. | ||||||||
Additional Information | The culprit seems to be line 397 in "LuaUI/Widgets/Rooms/room_help.lua". It reads "Spring.SendCommands{"luaui togglewidget Improved MetalMakers"}". | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
Kloot (developer) 2007-12-15 19:57 |
The corresponding stacktrace suggests that the problem lies with the MouseRelease() call-in: #0 0x0846f606 in luaH_getstr (t=0x0, key=0xbbdaf40) at rts/lib/lua/src/ltable.cpp:457 #1 0x0846fdf7 in luaH_get (t=0x0, key=0xbbdc9f8) at rts/lib/lua/src/ltable.cpp:473 #2 0x084713b7 in luaV_gettable (L=0x9253b58, t=0xbffd778c, key=0xbbdc9f8, val=0xc48cbb8) at rts/lib/lua/src/lvm.cpp:116 0000003 0x08471de7 in luaV_execute (L=0x9253b58, nexeccalls=3) at rts/lib/lua/src/lvm.cpp:435 0000004 0x0848cffe in luaD_call (L=0x9253b58, func=0xf0f93c0, nResults=1) at rts/lib/lua/src/ldo.cpp:377 0000005 0x084801f6 in f_call (L=0x9253b58, ud=0xbffd7a64) at rts/lib/lua/src/lapi.cpp:817 #6 0x0848c777 in luaD_rawrunprotected (L=0x9253b58, f=0x84801cc <f_call>, ud=0xbffd7a64) at rts/lib/lua/src/ldo.cpp:116 #7 0x0848c805 in luaD_pcall (L=0x9253b58, func=0x84801cc <f_call>, u=0xbffd7a64, old_top=8, ef=0) at rts/lib/lua/src/ldo.cpp:461 #8 0x0848000d in lua_pcall (L=0x9253b58, nargs=3, nresults=1, errfunc=0) at rts/lib/lua/src/lapi.cpp:838 #9 0x085938ab in CLuaHandle::RunCallIn (this=0x9974438, hs=@0x88d4c78, inArgs=3, outArgs=1) at rts/Lua/LuaHandle.cpp:174 0000010 0x08271d70 in CLuaUI::MouseRelease (this=0x9974438, x=183, y=772, button=1) at rts/Game/UI/LuaUI.cpp:901 #11 0x0822ef6c in CGuiHandler::MouseRelease (this=0x922f450, x=183, y=772, button=1) at rts/Game/UI/GuiHandler.cpp:1096 0000012 0x0823dbf2 in CMouseHandler::MouseRelease (this=0x8d35970, x=183, y=772, button=1) at rts/Game/UI/MouseHandler.cpp:277 0000013 0x084c3934 in CDefaultMouseInput::HandleSDLMouseEvent (this=0x89802e0, event=@0xbffd7ec0) at rts/System/MouseInput.cpp:179 0000014 0x084c2754 in SpringApp::Run (this=0xbffd7f20, argc=1, argv=0xbffd8014) at rts/System/Main.cpp:973 #15 0x084c2da1 in Run (argc=1, argv=0xbffd8014) at rts/System/Main.cpp:1115 #16 0x084c2f98 in main (argc=Cannot access memory at address 0x5) at rts/System/Main.cpp:1168 |
trepan (reporter) 2007-12-15 21:46 |
fixed with r5011 |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2007-12-15 19:02 | quantum | New Issue | |
2007-12-15 19:57 | Kloot | Note Added: 0001503 | |
2007-12-15 21:46 | trepan | Note Added: 0001506 | |
2007-12-15 21:46 | trepan | Status | new => resolved |
2007-12-15 21:46 | trepan | Resolution | open => fixed |
2012-06-27 02:27 | abma | Status | resolved => assigned |
2012-06-27 02:27 | abma | Assigned To | => abma |
2012-06-27 02:29 | abma | Status | assigned => resolved |