Wings 3D Development Forum
[fixed] Windows 7, WIngs 2.0.2, Internal Error, TWEAK - 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] Windows 7, WIngs 2.0.2, Internal Error, TWEAK (/showthread.php?tid=1509)

Pages: 1 2


[fixed] Windows 7, WIngs 2.0.2, Internal Error, TWEAK - Fonte Boa - 12-28-2015

I've just installed WIngs 2.0.2 development release without problems, but, when i try to start the app, i just get sucssessive messages "Internal error - log written to wings_crash.dump", one after one, and the app doesnt open.


Dump written 2015-12-28_10-3
Version: 2.0.2
Window: geom
Reason: {function_clause,
[{wings_text,char,
[{282,[]},
{font,
{wx_ref,66,wxFont,[]},
1,8214,13,12,0.013157894736842105,0.001953125},
{4,13,<<>>}],
[{file,"c:/Users/uabdgud/src/wings/src/wings_text.erl"},
{line,176}]},
{wings_text,render_1,3,
[{file,"c:/Users/uabdgud/src/wings/src/wings_text.erl"},
{line,173}]},
{wings_text,render_1,3,
[{file,"c:/Users/uabdgud/src/wings/src/wings_text.erl"},
{line,170}]},
{wings_text,render,3,
[{file,"c:/Users/uabdgud/src/wings/src/wings_text.erl"},
{line,152}]},
{wings_io,text_at,3,
[{file,"c:/Users/uabdgud/src/wings/src/wings_io.erl"},
{line,455}]},
{wings,'-redraw/2-fun-0-',2,
[{file,"c:/Users/uabdgud/src/wings/src/wings.erl"},
{line,290}]},
{wx,batch,1,[{file,"wx.erl"},{line,180}]},
{wings,handle_event_3,2,
[{file,"c:/Users/uabdgud/src/wings/src/wings.erl"},
{line,447}]}]}

Short stack trace:
[]

Long stack trace:
[{wx,batch,1,[{file,"wx.erl"},{line,182}]},
{wings,handle_event_3,2,
[{file,"c:/Users/uabdgud/src/wings/src/wings.erl"},{line,447}]},
{wings_wm,handle_event,3,
[{file,"c:/Users/uabdgud/src/wings/src/wings_wm.erl"},{line,931}]},
{wings_wm,send_event,2,
[{file,"c:/Users/uabdgud/src/wings/src/wings_wm.erl"},{line,903}]},
{wings_wm,do_dispatch,2,
[{file,"c:/Users/uabdgud/src/wings/src/wings_wm.erl"},{line,768}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1337}]},
{wx,foreach,2,[{file,"wx.erl"},{line,193}]},
{wings_wm,redraw_all,0,
[{file,"c:/Users/uabdgud/src/wings/src/wings_wm.erl"},{line,782}]}]


RE: Windows 7, WIngs 2.0.2, Internal Error - micheus - 12-28-2015

Hi Fonte, thanks to take a time to check Wings3D. Smile

As you getting this error just starting Wings3D, could you please check if you remove any old preferences file the problem persists?


RE: Windows 7, WIngs 2.0.2, Internal Error - Fonte Boa - 12-28-2015

By removing preferences.txt, the problem goes away.
It will be hard to discover what causes that.

Since you're following the development closely, tell me one thing:
there isnt anymore the Tweak top toolbar?
I am not talking about Tweak palette, but the old horizontal top tweak toolbar.


RE: Windows 7, WIngs 2.0.2, Internal Error - micheus - 12-28-2015

I see. I didn't noticed it went away. Undecided

I don't think It should go away. We need to listen Dan about that. I know that Björn worked in the Tweak code to fix some problems related to hotkey for Mac users.


RE: Windows 7, WIngs 2.0.2, Internal Error - Fonte Boa - 12-28-2015

I've removed in preferences.txt some lines related to Tweak. Then i've started Wings without problem, but it crashes when i turn on Tweak mode.

The crash.dump is the same i've posted before.

It seems there are some instructions Wings cant load in many files (wings_wm.erl, wings.erl, wings_text.erl etc). The crash.dump mentions an address that seems related to Dgud machine: c:/Users/uabdgud/
Can this be a possible reason for Wings crashes here?

EDIT: WingsTweak top toolbar is working fine in Wings 2.0.1.
EDIT2: Tweak toolbar appears every time user turn on Tweak.


RE: Windows 7, WIngs 2.0.2, Internal Error - micheus - 12-28-2015

(12-28-2015, 09:03 PM)Fonte Boa Wrote: The crash.dump mentions an address that seems related to Dgud machine: c:/Users/uabdgud/
Can this be a possible reason for Wings crashes here?
No. It's just a reference to the place where the code was generated. Smile

Quote:EDIT: WingsTweak top toolbar is working fine in Wings 2.0.1.
EDIT2: Tweak toolbar appears every time user turn on Tweak.
1) I noticed that. Thanks.
2) Thanks for the info. I truth I just noticed the F1, F2 and F3 information there. Maybe because I don't use much Tweak.

Could you please send me you preferences - the first one, I presume you use to backup them before the changes. Smile

/Thanks


RE: Windows 7, WIngs 2.0.2, Internal Error - Fonte Boa - 12-28-2015

I've noticed another problem using Tweak in Wings 2.0.2. The Tweak Vector isnt being shown. Sad
You can set its dimension in Tweak Preferences|Tweak Vector area.

I am appending my usual Preferences.txt, ok?


RE: Windows 7, WIngs 2.0.2, Internal Error - micheus - 12-28-2015

I think you are still the only guy who explorer all the tweak stuff. Smile

Few free to report anything else you think is absent in the new releases. I'll take a look.

Thank you.


RE: Windows 7, WIngs 2.0.2, Internal Error - Fonte Boa - 12-28-2015

<< the only guy who explorer all the tweak stuff >>

I really feel bad about this... And cant believe this is true.
I am talking about very very basic Tweak resources (Tweak top toolbar and Tweak Vector display), not about advanced aspects.

I didnt know Bjorn spent time to give a Tweak code look. Fine. Smile

EDIT: I erased all Tweak references from my preferences.txt and re-started Wings. The Tweak Vector is being displayed! But Tweak top menu isnt being shown.


RE: Windows 7, WIngs 2.0.2, Internal Error, TWEAK - micheus - 12-30-2015

I found the problem here.
Thanks to your preferences I could track better the problem. You will be able to use your old preferences again Smile

The drawn process for the Information on top was causing the problem. It's fixed and now the Tweak information line show up on top and by testing I noticed the tweak vector (the orange one) seems to be working too.

I still need to check the hotkeys issue, so I will not put the fix here yet.