Wings 3D Development Forum
[fixed] Repeat last function [badarg] - 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: [fixed] Repeat last function [badarg] (/showthread.php?tid=2664)



[fixed] Repeat last function [badarg] - Hank - 07-02-2018

Hi there,

Shift + d (repeat last function) is causing below issue:

Dump written 2018-7-2_9-41
Version: 2.1.7
OS: Windows 8 (build 9200), 64-bit edition
GPU: Intel | Intel® HD Graphics 520
Window: geom
Reason: badarg

Stack trace:
[{array,get,2,[{file,"array.erl"},{line,644}]},
{wings_draw_setup,flat_faces_1,5,
[{file,"c:/Users/familjen/src/wings/src/wings_draw_setup.erl"},
{line,243}]},
{wings_draw_setup,plain_flat_faces,6,
[{file,"c:/Users/familjen/src/wings/src/wings_draw_setup.erl"},
{line,234}]},
{wings_pick,do_dlo_pick,5,
[{file,"c:/Users/familjen/src/wings/src/wings_pick.erl"},
{line,960}]},
{wings_dl,map_1,5,
[{file,"c:/Users/familjen/src/wings/src/wings_dl.erl"},{line,276}]},
{wings_pick,dlo_pick,3,
[{file,"c:/Users/familjen/src/wings/src/wings_pick.erl"},
{line,944}]},
{wings_pick,raw_pick,3,
[{file,"c:/Users/familjen/src/wings/src/wings_pick.erl"},
{line,667}]},
{wings_pick,do_pick,3,
[{file,"c:/Users/familjen/src/wings/src/wings_pick.erl"},
{line,647}]},
{wings_tweak,handle_tweak_event_1,1,
[{file,"c:/Users/familjen/src/wings/src/wings_tweak.erl"},
{line,246}]},
{wings,handle_event_tweak,2,
[{file,"c:/Users/familjen/src/wings/src/wings.erl"},{line,359}]},
{wings_wm,handle_event,3,
[{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,972}]},
{wings_wm,send_event,2,
[{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,939}]},
{wings_wm,do_dispatch,2,
[{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,840}]},
{wings_wm,get_and_dispatch,0,
[{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,651}]},
{wings,init_part2,2,
[{file,"c:/Users/familjen/src/wings/src/wings.erl"},{line,104}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]

+ recording:



additionally: in LOG window I got message:

Grabbed focus lost old?: dialog_blanket geom

TWEAK is ON.
Tried with OFF and there's no issue.

BR, Hank


RE: Repeat last function [badarg] - micheus - 07-02-2018

Thanks for report it Hank.

Unfortunately, it's another one hard to repeat. Undecided
Till the end without crash - with Tweak On (Magnet Off):
[Image: hank-issue-2.png]

As the dialog says, it could be not a problem with the hotkey but somewhere in the command and it suggests we should to repeat the process using the command via menus.
The log says the crash was in the preparation of the object to be drawn. I though it could be related to the double face objects overlapped (partially), but as the crash didn't happen on my side now I don't have any other idea.