Wings 3D Development Forum
[fixed] Wings 2.0 32bit on Windows 7 64bit crashing - 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] Wings 2.0 32bit on Windows 7 64bit crashing (/showthread.php?tid=1318)



[fixed] Wings 2.0 32bit on Windows 7 64bit crashing - oort - 08-20-2015

When I first started using Wings 2.0 32bit, I would get a crash when Wings3D first started. Then it worked fine. The next time a would start Wings3D the crash would happen again. Below is the crash report.

This has gone away, but when I render with YafaRay Wings3D has a hard crash. The crash happens shortly after the console window opens.

Edit: Now I am getting the crash when first starting Wings3D again. Undecided

Thanks,
oort

Dump written 2015-8-19_18-39
Version: 2.0
Window: geom
Reason: function_clause

Short stack trace:
[]

Long stack trace:
[{gb_trees,get_1,
[{controller,console},nil],
[{file,"gb_trees.erl"},{line,243}]},
{wings_wm,win_size,1,[{file,"wings_wm.erl"},{line,545}]},
{wings,move_windows_1,2,[{file,"wings.erl"},{line,1753}]},
{wings,move_windows,1,[{file,"wings.erl"},{line,1735}]},
{wings,handle_event_3,2,[{file,"wings.erl"},{line,469}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,931}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,903}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,767}]}]


RE: Wings 2.0 32bit on Windows 7 64bit crashing - micheus - 08-20-2015

Yafaray hard crash log I'm getting;

Code:
=ERROR REPORT==== 20-Aug-2015::03:39:08 ===
Error in process <0.39.0> with exit value:
{function_clause,[{wxTextCtrl,appendText,
                              [{wx_ref,519,wxTextCtrl,[]},
                               <<"INFO: YafaRay 0.1.5\r\n">>],
                              [{file,"gen/wxTextCtrl.erl"},{line,127}]},
                  {wings_console,put_chars,2,
                                 [{file,"wings_console.erl"},{line,281}]},
                  {wings_console,io_request,2,
                                 [{file,"wings_console.erl"},{line,242}]},
                  {wings_console,server_loop,1,
                                 [{file,"wings_console.erl"},{line,163}]}]}

=ERROR REPORT==== 20-Aug-2015::03:39:08 ===
Error in process <0.326.0> with exit value:
{terminated,[{io,put_chars,[<0.39.0>,unicode,"INFO: YafaRay 0.1.5\r\n"],[]},
             {wings_job,job,1,[{file,"wings_job.erl"},{line,365}]},
             {wings_job,'-run/3-fun-0-',3,
                        [{file,"wings_job.erl"},{line,338}]}]}

To fix it and continue testing the yafaray plugin please replace these file: wings_job.beam and wings.beam (zip file)
(to be placed in a place like this: C:\Program Files\wings3d_2.0\lib\wings-2.0\ebin)


RE: [confirmed] Wings 2.0 32bit on Windows 7 64bit crashing - oort - 08-20-2015

I just discovered that as long as the "Log Window" (used to be "Console Window") is closed before exiting Wings3D, the crashes go away.

I think this explains the crashes when trying to render with YafaRay as well.

Thanks,
oort


RE: [confirmed] Wings 2.0 32bit on Windows 7 64bit crashing - micheus - 08-20-2015

Humm. The crash I got was in the first render I did. After apply this fix I could have a render finished.
I will check this too. Thanks for the info oort.


RE: [confirmed] Wings 2.0 32bit on Windows 7 64bit crashing - dgud - 08-20-2015

Fixed both issues commit: f23b557