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-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


Messages In This Thread
RE: UV mapping - Create Texture option causing a hard crash! - micheus - 07-31-2018 11:54 PM

Forum Jump:


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