• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Bug Reports v
« Previous 1 … 20 21 22 23 24 … 35 Next »
[fixed] This one is for Dan G ... it has his name in the dump.

 
  • 0 Vote(s) - 0 Average
[fixed] This one is for Dan G ... it has his name in the dump.

Pages (2): 1 2 Next »
ggaliens
Offline

Erlang Hacker
Posts: 954
Threads: 143
Joined: Nov 2012
#1
04-10-2016, 06:16 PM (This post was last modified: 05-06-2016, 08:41 PM by micheus.)
This one is for Dan G ... it has his name in the dump.

It seems like in course of executing a hot key bound to a function ... a spurious bug (hit or miss) happens. This is the dump. The message to the user is "internal error - log written to ..." I only get this like 10% or 5% of times hot key is used. Very spurious bug.


Code:
Reason: {badarg,[{unicode,characters_to_binary,
                          [[[[69,120,101,99,117,116,105,110,103,32,116,104,
                              101,32,99,111,109,109,97,110,100,32,34,86,101,
                              114,116,101,120,124,67,111,110,110,101,99,116,
                              32,67,117,116,115,34,10,98,111,117,110,100,32,
                              116,111,32,116,104,101,32,104,111,116,107,101,
                              121,32,
                              {bindkey,vertex,120},
                              32,99,97,117,115,101,100,32,97,110,32,101,114,
                              114,111,114,46]],
                            0]],
                          []},
                 {wxStaticText,new,4,
                               [{file,"gen/wxStaticText.erl"},{line,105}]},
                 {wings_dialog,build,5,
                               [{file,"c:/Users/uabdgud/src/wings/src/wings_dialog.erl"},
                                {line,873}]},
                 {lists,foldl,3,[{file,"lists.erl"},{line,1262}]},
                 {wings_dialog,build_box,7,
                               [{file,"c:/Users/uabdgud/src/wings/src/wings_dialog.erl"},
                                {line,1266}]},
                 {wings_dialog,build,5,
                               [{file,"c:/Users/uabdgud/src/wings/src/wings_dialog.erl"},
                                {line,814}]},
                 {wings_dialog,build,4,
                               [{file,"c:/Users/uabdgud/src/wings/src/wings_dialog.erl"},
                                {line,766}]},
                 {wings_dialog,'-build_dialog/3-fun-0-',3,
                               [{file,"c:/Users/uabdgud/src/wings/src/wings_dialog.erl"},
                                {line,725}]}]}

Short stack trace:
[]

Long stack trace:
[{wx,batch,1,[{file,"wx.erl"},{line,182}]},
{wings_dialog,dialog_1,5,
               [{file,"c:/Users/uabdgud/src/wings/src/wings_dialog.erl"},
                {line,262}]},
{wings,execute_command,3,
        [{file,"c:/Users/uabdgud/src/wings/src/wings.erl"},{line,668}]},
{wings_develop,time_command,2,
                [{file,"c:/Users/uabdgud/src/wings/src/wings_develop.erl"},
                 {line,81}]},
{wings,raw_command,4,
        [{file,"c:/Users/uabdgud/src/wings/src/wings.erl"},{line,638}]},
{wings_wm,handle_event,3,
           [{file,"c:/Users/uabdgud/src/wings/src/wings_wm.erl"},{line,932}]},
{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}]}]
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#2
04-11-2016, 02:48 PM
I'm sure you are know how to use the Erlang console for that, but anyway here is what that list of chars means:
[Image: hot-key-error_zps2490d09a.png]
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
ggaliens
Offline

Erlang Hacker
Posts: 954
Threads: 143
Joined: Nov 2012
#3
04-11-2016, 03:21 PM (This post was last modified: 04-11-2016, 03:23 PM by ggaliens.)
Yep. I was aware of that. Did that.

It looks like you cheated and put in extra quotes. Why would you do that ? The missing quotes in my mind may very well be "A BUG".
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#4
04-11-2016, 03:52 PM (This post was last modified: 04-11-2016, 03:53 PM by micheus.)
(04-11-2016, 03:21 PM)ggaliens Wrote: It looks like you cheated and put in extra quotes. Why would you do that ?
Teach me an other way to get a readable text for that list and I start using it from now on.

I just needed to confirm it's a hotkey message. Nothing else. I hope dgud can check it.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
ggaliens
Offline

Erlang Hacker
Posts: 954
Threads: 143
Joined: Nov 2012
#5
04-11-2016, 04:15 PM
Right ... but if the error is from there ... maybe part of the error is the no quotes in the first place ? I just don't know. I think this is a problem related ... but not the same as what I have had early yesterday. And I did mention ... that somehow ... I manged to forge ahead and get past my hotkeys problem.

I wish I could better "contain" a bug. Capture it as real and actionable. Sometimes you have to swim around a bug like a shark and just take a nibble and then you don't get another bite.
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#6
04-11-2016, 04:28 PM
(04-11-2016, 04:15 PM)ggaliens Wrote: Right ... but if the error is from there ... maybe part of the error is the no quotes in the first place ?
No.

I can take a look for the problem only if I have the same preferences file as you. But, if you want to look around, start checking that the text is formatted by the wings_hotkey:handle_error/2, that is why
Quote:%%%
%%% Error handling.
%%%
handle_error(Ev, Cmd) ->
Key = bindkey(Ev, Cmd),
KeyName = format_hotkey(Key, pretty),
CmdStr = wings_utilConfusedtringify(Cmd),
Msg1 = "Executing the command \"" ++ CmdStr ++ "\"\nbound to the hotkey " ++
KeyName ++ " caused an error.",

...
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
ggaliens
Offline

Erlang Hacker
Posts: 954
Threads: 143
Joined: Nov 2012
#7
04-11-2016, 06:30 PM
So ... probably there are two errors. One with the original command which was hotkeyed ... and another creating a proper debug or error trace after the hot keyed command fails.

Yes ... maybe the bug is in Stringify.
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#8
04-11-2016, 08:10 PM
(04-11-2016, 06:30 PM)ggaliens Wrote: Yes ... maybe the bug is in Stringify.
I couldn't affirm that. In that case the crash should occurs in the previous assignment line: CmdStr = wings_utilConfusedtringify(Cmd),
not in the dialog building.

Anyway, without be able to reproduce, it's just speculation.

If you will try to fix this bug, please let know. It uses to be my task do that.
All this talking, speculation, are not helping.

We probably will need someone else to experience the problem and finally share his preference file.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#9
04-11-2016, 08:42 PM
Nevermind. I found it.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
ggaliens
Offline

Erlang Hacker
Posts: 954
Threads: 143
Joined: Nov 2012
#10
04-11-2016, 08:57 PM (This post was last modified: 04-11-2016, 10:06 PM by ggaliens.)
I was trying to fix it. Please tell me about it. I would like to retest stuff with the fix applied when you get time to share.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode