• 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 … 7 8 9 10 11 … 35 Next »
[fixed] Crashed when import a glb file.

 
  • 0 Vote(s) - 0 Average
[fixed] Crashed when import a glb file.

tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#1
01-05-2019, 06:25 AM (This post was last modified: 01-06-2019, 04:14 PM by micheus.)
This time,Progress bar indicated almost 99% for importing process.
And Texture and Material items were already set in Outliner window too.
But it seems that import was interupted before mesh display.

Test Environment :
Wings3D v2.2.1(Windows10),and I intalled an newest gltf-patch to it.

I got a crash log a following.
Code:
Dump written 2019-1-4_21-17
Version: 2.2.1
OS: Windows 8 (build 9200), 64-bit edition
GPU: Intel | Intel(R) HD Graphics 400
Window: geom
Reason: {function_clause,
            [{wings_gl,set_uloc,
                 [1,{1,1,1,1}],
                 [{file,"c:/Users/familjen/src/wings/src/wings_gl.erl"},
                  {line,308}]},
             {wings_shaders,set_uloc,3,
                 [{file,"c:/Users/familjen/src/wings/src/wings_shaders.erl"},
                  {line,91}]},
             {lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
             {wings_material,apply_material_2,3,
                 [{file,"c:/Users/familjen/src/wings/src/wings_material.erl"},
                  {line,453}]},
             {wings_draw,'-do_draw_mat_faces/4-fun-0-',4,
                 [{file,"c:/Users/familjen/src/wings/src/wings_draw.erl"},
                  {line,929}]},
             {lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
             {wings_draw,'-draw_mat_faces/4-fun-0-',6,
                 [{file,"c:/Users/familjen/src/wings/src/wings_draw.erl"},
                  {line,915}]},
             {wings_dl,call,2,
                 [{file,"c:/Users/familjen/src/wings/src/wings_dl.erl"},
                  {line,178}]},
             {wings_render,render_work_objects_1,3,
                 [{file,"c:/Users/familjen/src/wings/src/wings_render.erl"},
                  {line,215}]},
             {wings_render,render_work_objects,4,
                 [{file,"c:/Users/familjen/src/wings/src/wings_render.erl"},
                  {line,198}]},
             {wings_render,render_objects,4,
                 [{file,"c:/Users/familjen/src/wings/src/wings_render.erl"},
                  {line,162}]},
             {wings_render,render,1,
                 [{file,"c:/Users/familjen/src/wings/src/wings_render.erl"},
                  {line,55}]},
             {wings,'-redraw/2-fun-0-',2,
                 [{file,"c:/Users/familjen/src/wings/src/wings.erl"},
                  {line,269}]},
             {wx,batch,1,[{file,"wx.erl"},{line,184}]},
             {wings,handle_event_3,2,
                 [{file,"c:/Users/familjen/src/wings/src/wings.erl"},
                  {line,424}]},
             {wings_wm,handle_event,3,
                 [{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},
                  {line,981}]},
             {wings_wm,send_event,2,
                 [{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},
                  {line,948}]},
             {wings_wm,do_dispatch,2,
                 [{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},
                  {line,849}]},
             {wings_wm,redraw_win,1,
                 [{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},
                  {line,890}]},
             {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
             {wings_wm,redraw_all,0,
                 [{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},
                  {line,865}]},
             {wings,init_part2,2,
                 [{file,"c:/Users/familjen/src/wings/src/wings.erl"},
                  {line,106}]},
             {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}

Stack trace:
[{wx,batch,1,[{file,"wx.erl"},{line,186}]},
{wings,handle_event_3,2,
        [{file,"c:/Users/familjen/src/wings/src/wings.erl"},{line,424}]},
{wings_wm,handle_event,3,
           [{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,981}]},
{wings_wm,send_event,2,
           [{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,948}]},
{wings_wm,do_dispatch,2,
           [{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,849}]},
{wings_wm,redraw_win,1,
           [{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,890}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{wings_wm,redraw_all,0,
           [{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,865}]},
{wings,init_part2,2,
        [{file,"c:/Users/familjen/src/wings/src/wings.erl"},{line,106}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]


Best Regards
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,679
Threads: 184
Joined: Jun 2012
#2
01-06-2019, 04:13 PM (This post was last modified: 01-07-2019, 01:44 PM by micheus.)
Thanks tkbd. I updated the wpc_gltf.beam file.

I believe I fixed the problem, but can you please check it it's OK now?
Otherwise, please send me the .gbl file you are using for test.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#3
01-07-2019, 10:20 AM (This post was last modified: 01-07-2019, 10:22 AM by tkbd.)
micheus Wrote:Thanks tkbd. I updated the wpc_gltf.beam file.

I believe I fixed the problem, but can you please check it it's OK now?
Otherwise, please send me the .gbl file you are using for test.
OK,I'm going to test updated file and send you details and sample by e-mail.
(In addition,That file size is 10MB over.)
tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#4
01-07-2019, 11:39 AM (This post was last modified: 01-07-2019, 11:42 AM by tkbd.)
Umm... newer wpc_gltf.beam is broken.
I replaced it, but glTF item was not displayed in the import / export menu.Undecided
(both of Wings3D v2.2.1 and v2.1.7)
Should I send the sample file first?
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,679
Threads: 184
Joined: Jun 2012
#5
01-07-2019, 01:49 PM
Sorry about that. The file was updated and tested out of my dev environment this time. Smile

This was one of those cases in which to use the newest version of Erlang compiler can bring us a problem with the updates. I used the older one now.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



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

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode