Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
[fixed] UV mapping - Create Texture option causing a hard crash!
07-05-2018, 06:19 AM (This post was last modified: 08-04-2018 07:44 PM by micheus.)
Post: #1
Exclamation [fixed] UV mapping - Create Texture option causing a hard crash!
Create texture is causing a hard crash and the crash dump contains only a minimal report:
Code:
Dump written 2018-7-5_3-12
Version: 2.1.7
Window: [wings_image,wings_image,<0.72.0>]
Reason: {bad_return_value,
            {ist,1,
                {1,
                 {0,
                  {e3d_image,r8g8b8a8,4,1,lower_left,128,128,
                      <<0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,
                        0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,
        ...

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
07-24-2018, 06:42 AM
Post: #2
RE: UV mapping - Create Texture option causing a hard crash!
I concur. 2.1.7 crashes every time back to windows.
Reply
07-31-2018, 09:15 AM
Post: #3
RE: UV mapping - Create Texture option causing a hard crash!
Any idea when this will be fixed, because its stopping me from using 2.1.7
Reply
07-31-2018, 09:28 AM
Post: #4
RE: UV mapping - Create Texture option causing a hard crash!
That came with the latest performance improvement - new code that I didn't understand yet. I was hoping dgud could have fixed it earlier too. Sad

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
07-31-2018, 11:54 PM (This post was last modified: 08-01-2018 02:25 PM by micheus.)
Post: #5
RE: UV mapping - Create Texture option causing a hard crash!
dgud, By debugging and saving the Erlang console log I got a more detailed report which shown there are two cascade error happening. The wings_crash.dump doesn't contain any useful information except by the 'Reason for termination'.

Maybe this can help to identify which the recent code change caused the bug.
This is the first part/error:
Code:
Internal Error
Version: 2.1.7.28.gdc31.dirty
Window: {autouv,1}

Reason: {{error,no_gl_context,5433},
         [{gl,rec,1,[{file,"gen/gl.erl"},{line,298}]},
          {wings_vbo,draw,3,
                     [{file,"f:/unixlike/src/wings/src/wings_vbo.erl"},
                      {line,41}]},
          {wpc_autouv,draw_background,1,
                      [{file,"f:/unixlike/src/wings/plugins_src/autouv/wpc_autouv.erl"},
                       {line,1889}]},
          {wings_render,render,1,
                        [{file,"f:/unixlike/src/wings/src/wings_render.erl"},
                         {line,57}]},
          {wings,'-redraw/2-fun-0-',2,
                 [{file,"f:/unixlike/src/wings/src/wings.erl"},{line,266}]},
          {wx,batch,1,[{file,"wx.erl"},{line,184}]},
          {wpc_autouv,handle_event,2,
                      [{file,"f:/unixlike/src/wings/plugins_src/autouv/wpc_autouv.erl"},
                       {line,524}]},
          {wings_wm,handle_event,3,
                    [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},
                     {line,972}]},
          {wings_wm,send_event,2,
                    [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},
                     {line,939}]},
          {wings_wm,do_dispatch,2,
                    [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},
                     {line,840}]},
          {wings_wm,redraw_win,1,
                    [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},
                     {line,881}]},
          {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
          {wings_wm,redraw_all,0,
                    [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},
                     {line,856}]},
          {wings,init_part2,2,
                 [{file,"f:/unixlike/src/wings/src/wings.erl"},{line,104}]},
          {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}


Stack trace:
[{wx,batch,1,[{file,"wx.erl"},{line,186}]},
{wpc_autouv,handle_event,2,
             [{file,"f:/unixlike/src/wings/plugins_src/autouv/wpc_autouv.erl"},
              {line,524}]},
{wings_wm,handle_event,3,
           [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,972}]},
{wings_wm,send_event,2,
           [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,939}]},
{wings_wm,do_dispatch,2,
           [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,840}]},
{wings_wm,redraw_win,1,
           [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,881}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{wings_wm,redraw_all,0,
           [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,856}]},
{wings,init_part2,2,
        [{file,"f:/unixlike/src/wings/src/wings.erl"},{line,104}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]


{{noproc,{wx_object,call,[wings_frame,{close,{wx_ref,4004,wxGLCanvas,[]}}]}},
[{wx_object,call,2,[{file,"wx_object.erl"},{line,296}]},
  {wings_wm,delete,1,
            [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,240}]},
  {wings_wm,do_dispatch,2,
            [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,843}]},
  {wings_wm,redraw_win,1,
            [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,881}]},
  {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
  {wings_wm,redraw_all,0,
            [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,856}]},
  {wings,init_part2,2,
         [{file,"f:/unixlike/src/wings/src/wings.erl"},{line,104}]},
  {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}


=ERROR REPORT==== 31-Jul-2018::18:06:46 ===
** Generic server wings_image terminating
** Last message in was {update,0,
                           {e3d_image,r8g8b8a8,4,1,lower_left,128,128,
                               <<97,128,28,255,92,121,25,255,86,112,21,255,83,
                                 108,19,255,86,113,21,255,90,119,24,255,91,121,
                                 25,255,90,118,23,255,87,114,22,255,84,110,20,
                                 ...
                                 242,121,165,242,121,165,242,121,165,242,
                                 21,165,242,121,165,242,121,165,242,121,
                                 165,242>>,
                                  none,"auvBG",[]},
                              nil,nil}}}

** Reason for termination ==
** {bad_return_value,
       {ist,1,
           {1,
            {0,
             {e3d_image,r8g8b8a8,4,1,lower_left,128,128,
                   <97,128,28,255,92,121,25,255,86,112,21,255,83,108,19,255,86,
                   113,21,255,90,119,24,255,91,121,25,255,90,118,23,255,87,114,
                   22,255,84,110,20,255,82,106,19,255,83,107,19,255,85,111,20,

                   ...
                   121,25,255,90,119,24,255,86,113,21,255,83,108,19,255,86,112,
                   21,255,92,121,25,255,97,128,28,255>>,
                 none,"Cube1_auv",[]},
             nil,nil}}}}

** Client wings stacktrace
** [{gen,do_call,4,[{file,"gen.erl"},{line,169}]},
    {gen_server,call,2,[{file,"gen_server.erl"},{line,202}]},
    {wings_image,req,2,
                 [{file,"f:/unixlike/src/wings/src/wings_image.erl"},
                  {line,147}]},
    {wpc_autouv,update_texture,3,
                [{file,"f:/unixlike/src/wings/plugins_src/autouv/wpc_autouv.erl"},
                 {line,347}]},
    {wpc_autouv,handle_event_3,2,
                [{file,"f:/unixlike/src/wings/plugins_src/autouv/wpc_autouv.erl"},
                 {line,644}]},
    {wings_wm,handle_event,3,
              [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,972}]},
    {wings_wm,send_event,2,
              [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,939}]},
    {wings_wm,do_dispatch,2,
              [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,840}]},
    {wings_wm,dispatch_event,1,
              [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,747}]},
    {wings_wm,get_and_dispatch,0,
              [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,651}]},
    {wings,init_part2,2,
           [{file,"f:/unixlike/src/wings/src/wings.erl"},{line,104}]},
    {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]


followed by (maybe because I was using the perlin noise shader?!)
Code:
Internal Error
Version: 2.1.7.28.gdc31.dirty
Window: [wings_image,wings_image,<0.77.0>]
Reason: {bad_return_value,
            {ist,1,
                {1,
                 {0,
                  {e3d_image,r8g8b8a8,4,1,lower_left,128,128,
                      <<97,128,28,255,92,121,25,255,86,112,21,255,83,108,19,
                        255,86,113,21,255,90,119,24,255,91,121,25,255,90,118,
                        ...
                        113,21,255,83,108,19,255,86,112,21,255,92,121,25,255,
                        97,128,28,255>>,
                      none,"Cube1_auv",[]},
                  nil,nil}}}}

=ERROR REPORT==== 31-Jul-2018::18:07:14 ===
    gl: error
    message: "no_gl_context in op: 5069"

=ERROR REPORT==== 31-Jul-2018::18:07:14 ===
    gl: error
    message: "no_gl_context in op: 5085"

=ERROR REPORT==== 31-Jul-2018::18:07:14 ===
    gl: error
    message: "no_gl_context in op: 5089"

=ERROR REPORT==== 31-Jul-2018::18:07:14 ===
    gl: error
    message: "no_gl_context in op: 5091"

...

=ERROR REPORT==== 31-Jul-2018::18:07:14 ===
    gl: error
    message: "no_gl_context in op: 5048"

=ERROR REPORT==== 31-Jul-2018::18:07:14 ===
    gl: error
    message: "no_gl_context in op: 5136"

=ERROR REPORT==== 31-Jul-2018::18:07:14 ===
    gl: error
    message: "no_gl_context in op: 5101"

=INFO REPORT==== 31-Jul-2018::18:07:14 ===
    application: wings
    exited: shutdown
    type: temporary

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
08-01-2018, 05:05 PM
Post: #6
RE: UV mapping - Create Texture option causing a hard crash!
I found it! Smile

Please go to the Fixes for v2.1.7 (Patches)

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
08-02-2018, 05:02 AM
Post: #7
RE: UV mapping - Create Texture option causing a hard crash!
Top Man !

Well done.
Reply


Forum Jump:


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