• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Bug Reports Wings3D for Mac OS - bug reports [fixed] Wings3D crash in AutoUV edit.

 
  • 0 Vote(s) - 0 Average
[fixed] Wings3D crash in AutoUV edit.

tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#1
11-16-2021, 12:29 PM (This post was last modified: 06-07-2023, 05:43 PM by micheus.)
I got some crash logs with AutoUV edit operation.
It happend on UV remapping.
Quote:Dump written 2021-11-3_19-50
Version: 2.2.7
Window: {autouv,1}
Reason: badarith

Stack trace:
[{auv_mapping,calc_scale,6,[{file,"auv_mapping.erl"},{line,1195}]},
{auv_mapping,stretch_setup,3,[{file,"auv_mapping.erl"},{line,1046}]},
{auv_mapping,stretch_opt,2,[{file,"auv_mapping.erl"},{line,1024}]},
{wpc_autouv,'-remap/2-fun-3-',6,[{file,"wpc_autouv.erl"},{line,1901}]},
{wings_sel,mapfold_1,6,[{file,"wings_sel.erl"},{line,636}]},
{wings_sel,mapfold,3,[{file,"wings_sel.erl"},{line,289}]},
{wpc_autouv,remap,2,[{file,"wpc_autouv.erl"},{line,1903}]},
{wpc_autouv,handle_command_1,2,[{file,"wpc_autouv.erl"},{line,862}]},
{wpc_autouv,handle_command,2,[{file,"wpc_autouv.erl"},{line,850}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1031}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,998}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,890}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,799}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,685}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]

OS: macOS Mojave Version 10.14.6 (Build 18G9323)
GPU: Intel Inc. | Intel Iris OpenGL Engine


Another crash happend on uniform UV scale to max
Quote:Dump written 2021-11-3_22-7
Version: 2.2.7
Window: {autouv,1}
Reason: badarith

Stack trace:
[{wpc_autouv,stretch,2,[{file,"wpc_autouv.erl"},{line,1832}]},
{wings_sel,map_1,5,[{file,"wings_sel.erl"},{line,589}]},
{wings_sel,map,2,[{file,"wings_sel.erl"},{line,125}]},
{wpc_autouv,handle_command_1,2,[{file,"wpc_autouv.erl"},{line,875}]},
{wpc_autouv,handle_command,2,[{file,"wpc_autouv.erl"},{line,850}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1031}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,998}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,890}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,799}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,685}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]

OS: macOS Mojave Version 10.14.6 (Build 18G9323)
GPU: Intel Inc. | Intel Iris OpenGL Engine


Last one of crash, I have been forgot the details.
Perhaps the drag occurred trying to select a window....
Quote:Dump written 2021-11-14_21-11
Version: 2.2.7
Window: [wings_geom_win,<0.103.0>]
Reason: {case_clause,command_list_begin_drag}

Stack trace:
[{wings_geom_win,handle_event,2,[{file,"wings_geom_win.erl"},{line,507}]},
{wx_object,handle_msg,5,[{file,"wx_object.erl"},{line,500}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]


Best Regard!
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,676
Threads: 183
Joined: Jun 2012
#2
06-05-2023, 06:03 AM
tkbd, do you remember (and have) the model you were working when got these two initial report.

By looking at the code it seems there were some mesh inconsistence since it generated a division by zero - which an area should not be zero size.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#3
06-06-2023, 10:06 AM (This post was last modified: 06-06-2023, 10:15 AM by tkbd.)
Hi! micheus.
Thanks for remembering this thread!
The bug still occurs.
So,I sent to you a wings file.
Best regards!

FYI: I found two patterns of crash log error occur.
Apply Max Uniform to the all of UVcharts
Apply RemapUV to the all of UVcharts

In both of cases that caused by trying to edit for very small size UV charts.


Code:
Dump written 2023-6-6_18-49
Version: 2.2.9
Window: [wings,wings,<0.88.0>]
Reason: {{badarg,"This"},{wxGLCanvas,swapBuffers,1}}

Stack trace:
[{wxe_util,rec,1,[{file,"wxe_util.erl"},{line,110}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1342}]},
{wings_wm,redraw_all,0,[{file,"wings_wm.erl"},{line,913}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]


Code:
Dump written 2023-6-6_19-9
Version: 2.2.9
Window: {autouv,6}
Reason: badarith

Stack trace:
[{auv_mapping,calc_scale,6,[{file,"auv_mapping.erl"},{line,1195}]},
{auv_mapping,stretch_setup,3,[{file,"auv_mapping.erl"},{line,1046}]},
{auv_mapping,stretch_opt,2,[{file,"auv_mapping.erl"},{line,1024}]},
{wpc_autouv,'-remap/2-fun-3-',6,[{file,"wpc_autouv.erl"},{line,1975}]},
{wings_sel,mapfold_1,6,[{file,"wings_sel.erl"},{line,636}]},
{wings_sel,mapfold,3,[{file,"wings_sel.erl"},{line,289}]},
{wpc_autouv,remap,2,[{file,"wpc_autouv.erl"},{line,1977}]},
{wpc_autouv,handle_command_1,2,[{file,"wpc_autouv.erl"},{line,864}]},
{wpc_autouv,handle_command,2,[{file,"wpc_autouv.erl"},{line,852}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1038}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,1005}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,897}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,806}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,692}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]

OS: macOS Mojave Version 10.14.6 (Build 18G9323)
GPU: Intel Inc. | Intel Iris OpenGL Engine
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,676
Threads: 183
Joined: Jun 2012
#4
06-07-2023, 09:08 PM
Fixed.

The patch is available in Patches/Fixes for Wings3D for v2.2.9 (auv_fix.tar)

Thanks.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#5
06-07-2023, 11:15 PM (This post was last modified: 06-07-2023, 11:17 PM by tkbd.)
Thank you for the fix and the mail reply Smile
I used to have troubled this bug, so it will helps me.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode