Wings 3D Development Forum
Scene Info Crashes ... - 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: Scene Info Crashes ... (/showthread.php?tid=890)



Scene Info Crashes ... - ggaliens - 09-27-2014

Tools / Scene Info ... I think there are TWO way that this dialog can CRASH ... this video depicts 1 way that it can crash. I'm working on a new version of scene info that does not use math:log10 on ZERO or small numbers since that is bad. But just for the record ... the other bug I may need some help with it ... Dan ... Micheus ... any thoughs on the clicking too fast bug ?

I'll see if it can be reproduced in other table based windows.
Edit: yes ... it does happen in other windows


https://www.youtube.com/watch?v=kW0Vst1vFoo


RE: Scene Info Crashes ... - ggaliens - 09-27-2014

I would like to move forward with the branch I have recently pushed with a pull-request ... even if it takes me a few tries to get "accepted".

I think using prefs as shown is far superior to using math:log10.

The defaults should create a very nicely aligned display. I don't think a mono-spaced font is used here ... but I think that it all still lines up pretty nice with a bit of text based justification I'm employing.


RE: Scene Info Crashes ... - TulipVorlax - 03-10-2015

I was about to submit a bug for this, then i saw your post.
I have a dump :
Code:
Long stack trace:
[{math,log10,[0.0],[]},
{wings,'-get_object_info/2-fun-0-',1,[{file,"wings.erl"},{line,1838}]},
{lists,map,2,[{file,"lists.erl"},{line,1224}]},
{lists,map,2,[{file,"lists.erl"},{line,1224}]},
{wings,get_object_info,2,[{file,"wings.erl"},{line,1850}]},
{wings,'-area_volume_info/1-lc$^0/1-0-',2,[{file,"wings.erl"},{line,1818}]},
{wings,'-area_volume_info/1-lc$^0/1-0-',2,[{file,"wings.erl"},{line,1818}]},
{wings,area_volume_info,1,[{file,"wings.erl"},{line,1818}]}]

So this confirm that the log10 function fail in some circonstances.
Thanks for working on it.

EDIT :
It seems that it was really because an object in the scene had an height of zero.
Removing it solve the problem.
It can be reproduced by extracting a face of a cube.