Wings 3D Development Forum

Full Version: [fixed] case_clause / W3D crashes unxepected.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
OS/ Linux Mint

W3D crashes unxepected.


Dump written 2018-12-7_18-41
Version: 2.2.1
Window: [wings_frame,wings_frame,<0.70.0>]
Reason: {case_clause,
#{action => undefined,
ch =>
{split,
{wx_ref,74,wxSplitterWindow,[]},
splitVertically,
{split,
{wx_ref,1032,wxSplitterWindow,[]},
splitHorizontally,
{split,
{wx_ref,766,wxSplitterWindow,[]},
splitHorizontally,
{win,
{wx_ref,661,wxPanel,[]},
{wx_ref,644,wxPanel,<0.81.0>},
wings_outliner,"Outliner",
{{wx_ref,662,wxPanel,[]},
{wx_ref,666,wxStaticText,[]}},
#{close => true,move => true}},
{win,
{wx_ref,741,wxPanel,[]},
{wx_ref,687,wxSplitterWindow,<0.82.0>},
{object,geom},
"Geometry Graph",
{{wx_ref,742,wxPanel,[]},
{wx_ref,746,wxStaticText,[]}},
#{close => true,move => true}}},
{split,
{wx_ref,1079,wxSplitterWindow,[]},
splitHorizontally,
{win,
{wx_ref,1006,wxPanel,[]},
{wx_ref,767,wxPanel,<0.83.0>},
{tweak,tweak_palette},
"Tweak",
{{wx_ref,1007,wxPanel,[]},
{wx_ref,1011,wxStaticText,[]}},
#{close => true,move => true}},
{split,
{wx_ref,1686,wxSplitterWindow,[]},
splitHorizontally,
{win,
{wx_ref,1053,wxPanel,[]},
{wx_ref,1033,wxPanel,<0.84.0>},
{plugin,sel_groups},
"Selection Groups",
{{wx_ref,1054,wxPanel,[]},
{wx_ref,1058,wxStaticText,[]}},
#{close => true,move => true}},
{win,
{wx_ref,1660,wxPanel,[]},
{wx_ref,1089,wxScrolledWindow,<0.85.0>},
palette,"Palette",
{{wx_ref,1661,wxPanel,[]},
{wx_ref,1665,wxStaticText,[]}},
#{close => true,move => true}}}}},
{win,
{wx_ref,603,wxPanel,[]},
{wx_ref,555,wxGLCanvas,[]},
geom,"Geometry",
{{wx_ref,604,wxPanel,[]},
{wx_ref,608,wxStaticText,[]}},
#{close => false,move => false}}},
frame => {wx_ref,35,wxFrame,<0.70.0>},
loose => #{},op => undefined,
szr => {wx_ref,73,wxBoxSizer,[]}}}

Stack trace:
[{wings_frame,handle_event,2,[{file,"wings_frame.erl"},{line,401}]},
{wx_object,handle_msg,5,[{file,"wx_object.erl"},{line,468}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]

BR, Hank
This one is related to the window's layout.
I'm not expecting this in Windows, but if you share your preferences I can check it here.

Also, did you have a layout defined in previous version and it is crashing now or did you just defined one; closed Wings3D and after restarting it you get the crash?
Hank, I know it has some time since you got this, but do you remember if you closed any window or changed any layout when it happened?

Anyway, I did a workaround that should avoid this unexpected crash and it will display some information in the log window to try to help us to discover the root of the problem (hopefully Smile).

[EDIT]
The patch was removed since it was causing the Wing3D to hang on startup.
I do believe this is fixed, re-report if not.