Wings 3D Development Forum
autosaver / function_clause - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: autosaver / function_clause (/showthread.php?tid=2893)



autosaver / function_clause - Hank - 01-15-2020

hi there,

I got this error today.
Steps? hard to say, but I used 'scale vertex' so they get to the same position and later 'cleanup'


Dump written 2020-1-15_10-19
Version: 2.2.5
OS: Windows 8 (build 9200), 64-bit edition
GPU: Intel | Intel® HD Graphics 520
Window: autosaver
Reason: function_clause

Short stack trace:
[{gb_trees,get_1,2,[{file,"gb_trees.erl"},{line,244}]},
{wings_we,'-do_renumber/3-lc$^2/1-0-',2,[{file,"wings_we.erl"},{line,709}]},
{wings_we,do_renumber,3,[{file,"wings_we.erl"},{line,709}]},
{wings_we,renumber,3,[{file,"wings_we.erl"},{line,279}]},
{wings_ff_wings,renumber,5,[{file,"wings_ff_wings.erl"},{line,1318}]},
{wings_ff_wings,export,3,[{file,"wings_ff_wings.erl"},{line,1251}]},
{wings_file,autosave,1,[{file,"wings_file.erl"},{line,621}]},
{wings_file,autosave_event,3,[{file,"wings_file.erl"},{line,600}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1015}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,991}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,883}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,792}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,681}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]

Long stack trace:
[{gb_trees,get_1,[-151,nil],[{file,"gb_trees.erl"},{line,244}]},
{wings_we,'-do_renumber/3-lc$^2/1-0-',2,[{file,"wings_we.erl"},{line,709}]},
{wings_we,do_renumber,3,[{file,"wings_we.erl"},{line,709}]},
{wings_we,renumber,3,[{file,"wings_we.erl"},{line,279}]},
{wings_ff_wings,renumber,5,[{file,"wings_ff_wings.erl"},{line,1318}]},
{wings_ff_wings,export,3,[{file,"wings_ff_wings.erl"},{line,1251}]},
{wings_file,autosave,1,[{file,"wings_file.erl"},{line,621}]},
{wings_file,autosave_event,3,[{file,"wings_file.erl"},{line,600}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1015}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,991}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,883}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,792}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,681}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]

BR, Hank


RE: autosaver / function_clause - micheus - 01-25-2020

Quote:Steps? hard to say, but I used 'scale vertex' so they get to the same position and later 'cleanup'
Any change of the other faces around them be set as a hole?

I was checking the source code and the problem was related to checking holes in the renumber IDs process. It should be an unusual situation what happened.