Wings 3D Development Forum

Full Version: [fixed] Problem with wxWindow?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There is an issue when if you open "AutoUV" window, then right click, to open pop-up with different segmentation options, and then close "AutoUV" window, while pop-up is still open, it crashes.
I applied "wings_menu.beam" patch, and this problem still there, but happens on random occasions. Now, after applying patch, there is another problem with all pop-up menus, they go outside of the screen. So I have to click at the very top of the geometry window for the whole list to be in view.

Log of the crash when it happens, with "wings_menu.beam" patch:

Code:
wings-2.2.9
Reading preferences from: c:/Users/vnl/AppData/Roaming/Wings3D/Preferences.txt
Using OpenCL via gpu:Name AMD Accelerated Parallel Processing:VSN: OpenCL 2.1 AMD-APP (2841.19)
CRASH {{badarg,"This"},{wxWindow,setForegroundColour,2}} [{wxe_util,rec,1,
                                                           [{file,
                                                             "wxe_util.erl"},
                                                            {line,110}]},
                                                          {wings_menu,
                                                           '-setup_colors/3-lc$^1/1-1-',
                                                           2,
                                                           [{file,
                                                             "wings_menu.erl"},
                                                            {line,685}]},
                                                          {wings_menu,
                                                           setup_colors,3,
                                                           [{file,
                                                             "wings_menu.erl"},
                                                            {line,685}]},
                                                          {wings_menu,
                                                           setup_colors,3,
                                                           [{file,
                                                             "wings_menu.erl"},
                                                            {line,691}]},
                                                          {wings_menu,
                                                           popup_events,5,
                                                           [{file,
                                                             "wings_menu.erl"},
                                                            {line,403}]},
                                                          {wings_menu,
                                                           '-wx_popup_menu/6-fun-3-',
                                                           7,
                                                           [{file,
                                                             "wings_menu.erl"},
                                                            {line,194}]}]

Another log of the crash without any patches (this one is consistent):
1. create cube and select it
2. right click -> UV Mapping
3. right click, then close "AutoUV Segmenting" window, while pop-up still open.

Code:
wings-2.2.9
Reading preferences from: c:/Users/vnl/AppData/Roaming/Wings3D/Preferences.txt
Using OpenCL via gpu:Name AMD Accelerated Parallel Processing:VSN: OpenCL 2.1 AMD-APP (2841.19)
CRASH {{badarg,"This"},{wxWindow,setForegroundColour,2}} [{wxe_util,rec,1,
                                                           [{file,
                                                             "wxe_util.erl"},
                                                            {line,110}]},
                                                          {wings_menu,
                                                           '-setup_colors/3-lc$^1/1-1-',
                                                           2,
                                                           [{file,
                                                             "wings_menu.erl"},
                                                            {line,704}]},
                                                          {wings_menu,
                                                           setup_colors,3,
                                                           [{file,
                                                             "wings_menu.erl"},
                                                            {line,704}]},
                                                          {wings_menu,
                                                           setup_colors,3,
                                                           [{file,
                                                             "wings_menu.erl"},
                                                            {line,710}]},
                                                          {wings_menu,
                                                           popup_events,5,
                                                           [{file,
                                                             "wings_menu.erl"},
                                                            {line,405}]},
                                                          {wings_menu,
                                                           '-wx_popup_menu/6-fun-3-',
                                                           7,
                                                           [{file,
                                                             "wings_menu.erl"},
                                                            {line,194}]}]
Quote:There is an issue when if you open "AutoUV" window, then right click, to open pop-up with different segmentation options, and then close "AutoUV" window, while pop-up is still open, it crashes.
That is some of those case we may never face the bug. It's an unusual procedure. Smile

Thanks for report it.
Fix in the next release.