Opened 6 years ago

Closed 6 years ago

#786 closed defect (fixed)

Selection menu crash

Reported by: beherith Owned by:
Priority: minor Milestone: BAR Beta release
Component: Chili Version:
Keywords: Cc:

Description

Unfortunately the infolog is not too informative: [f=0032365] [bawidgets.lua] Error: Error in Update(): [string "LuaUI/Widgets/chili/controls/object.lua"]:452: attempt to index field 'parent' (a nil value) [f=0032365] [bawidgets.lua] Error: Removed widget: Selection Menu

Change History (6)

comment:1 by Bluestone, 6 years ago

are there any more lines to the stacktrace? that line number is inside chili

or do you know how to reproduce it?

Last edited 6 years ago by Bluestone (previous) (diff)

comment:2 by Bluestone, 6 years ago

key question: was there a facbar crash immediately/shortly before this happened?

[f=0026850] [bawidgets.lua] Error: Error in Update(): [string "LuaUI/Widgets/bgu_facbar.lua"]:223: attempt to index local 'qButton' (a nil value) [f=0026850] [bawidgets.lua] Error: Removed widget: Factory Bar [f=0028851] -> Leveler is being attacked! [f=0029190] [bawidgets.lua] Error: Error in Update(): [string "LuaUI/Widgets/chili/controls/object.lua"]:450: attempt to index field 'parent' (a nil value) [f=0029190] [bawidgets.lua] Error: Removed widget: Selection Menu

Last edited 6 years ago by Bluestone (previous) (diff)

comment:3 by Bluestone, 6 years ago

n2s, possibly this is facbar crashing & then sMenu trying to calling a WG object which itself passes pointers to Chili that would have deferenced to facbar controls

comment:4 by beherith, 6 years ago

Yes:

[f=0031512] [bawidgets.lua] Error: Error in Update(): [string "LuaUI/Widgets/bgu_facbar.lua"]:170: attempt to index field 'boStack' (a nil value) [f=0031512] [bawidgets.lua] Error: Removed widget: Factory Bar [f=0031809] <[teh]Beherith[PiRO]> aww facbar crash [f=0032082] <[Fx]Bluestone> ticket pls [f=0032201] <[teh]Beherith[PiRO]> sure [f=0032365] [bawidgets.lua] Error: Error in Update(): [string "LuaUI/Widgets/chili/controls/object.lua"]:452: attempt to index field 'parent' (a nil value) [f=0032365] [bawidgets.lua] Error: Removed widget: Selection Menu

comment:5 by Bluestone, 6 years ago

k, occurs if sMenu was selected during a facbar crash & occurs when is subsequently deselected

comment:6 by Bluestone, 6 years ago

Resolution: fixed
Status: newclosed

fixed by removing ShowFacBar and HideFacBar from WG when facbar unloads

Note: See TracTickets for help on using tickets.