Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
Hiding axis crashes Wings3D
12-20-2014, 01:19 PM (This post was last modified: 12-20-2014 03:55 PM by micheus.)
Post: #1
Hiding axis crashes Wings3D
Can someone else check if disabling/hiding axis is causing the crash?
If so, please report the video card you are using.
Do the test without any project opened (mainly without save it first Wink )

I started notice that recently. I'm not sure if the recent drive update was the cause. I'm using a AMD Radeon R9

The dump file should look like this:
Quote:Dump written 2014-12-20_9-42
Version: 1.5.2
Window: geom
Reason: {badmatch,[0,23,1061,595,0,0,0,0,0,0,0,0,0,0,0,0]}

Short stack trace:
[]

Long stack trace:
[{wings_render,dummy_axis_letter,0,[{file,"wings_render.erl"},{line,464}]},
{wings_render,render,1,[{file,"wings_render.erl"},{line,55}]},
{wings,'-redraw/2-fun-0-',2,[{file,"wings.erl"},{line,233}]},
{wings,handle_event_3,2,[{file,"wings.erl"},{line,396}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,825}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,797}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,698}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1323}]}]

That badmatch says that for some strange reason we are getting a list of values greater than four items - as the OpenGL function glGet(GL_VIEWPORT) should return to the code.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
12-20-2014, 04:22 PM
Post: #2
RE: Hiding axis crashes Wings3D
I requested this issue here: http://www.wings3d.com/forum/showthread....983&page=4
and thought it's only my problem.
The error appears only when in preferences/misc 'Wings crashes if axes are turned off' is ticked.
Tested with Intel HD and Nvidia GTX 620 TI.
My error log:

Dump written 2014-12-20_17-15
Version: 1.5.3
Window: geom
Reason: {badmatch,[2,-11,1664,939,0,0,0,0,0,0,0,0,0,0,0,0]}

Short stack trace:
[]

Long stack trace:
[{wings_render,dummy_axis_letter,0,[{file,"wings_render.erl"},{line,466}]},
{wings_render,render,1,[{file,"wings_render.erl"},{line,55}]},
{wings,'-redraw/2-fun-0-',2,[{file,"wings.erl"},{line,243}]},
{wings,handle_event_3,2,[{file,"wings.erl"},{line,413}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,825}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,797}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,698}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1336}]}]

My gallery: marcone.pl
Reply
12-20-2014, 06:03 PM (This post was last modified: 12-20-2014 06:05 PM by micheus.)
Post: #3
RE: Hiding axis crashes Wings3D
Thanks Hank.
I remembered about that. Indeed it has one or two more reports about this.

I would like to try check if it is related to any video card brand, but there are exceptions - that is the main problem. In another PC with on-board Intel® HD Graphics (Core i5) I don't have this problem and as I told before, I just noticed this problem in my own PC recently.

But it's good I got it. Now I can try apply a fix for that. Wink

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
12-20-2014, 07:21 PM
Post: #4
RE: Hiding axis crashes Wings3D
(12-20-2014 04:22 PM)Hank Wrote:  I requested this issue here: http://www.wings3d.com/forum/showthread....983&page=4
and thought it's only my problem.
Hank, in order to avoid this crash got to the Preferences dialog -> Misc and uncheck "Wings crashes if axes are turned off" in the Workarounds group box.

This will avoid the code with the problem be called and then you don't get the crash. When I have a fix for that I'll post in the the proper session.
Thanks

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
12-20-2014, 08:56 PM
Post: #5
RE: Hiding axis crashes Wings3D
That is the file for replacement for 1.5.3 version: wings_render.beam

It should replace the file into ebin folder (like this C:\Program Files\wings3d_1.5.3\lib\wings-1.5.3\ebin)

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
12-20-2014, 09:11 PM
Post: #6
RE: Hiding axis crashes Wings3D
Interesting.

I think I was trying to hack myself and mlab free from a bug like this by messing with wings_render.beam.

Hank complained. Rightly so I think. I reverted. I'll live with whatever was happing to me.
Reply
12-22-2014, 03:48 PM
Post: #7
RE: Hiding axis crashes Wings3D
(12-20-2014 08:56 PM)micheus Wrote:  That is the file for replacement for 1.5.3 version: wings_render.beam

It should replace the file into ebin folder (like this C:\Program Files\wings3d_1.5.3\lib\wings-1.5.3\ebin)

Working fine. Thanks

My gallery: marcone.pl
Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)