11-12-2021, 02:02 AM
I've just downloaded 2.2.7 and am having the same crash. Based on a message in the log about textures I've done a quick test :
To test, in another program I've created a single cube and saved as an obj. This opens fine in 2.2.7. I then applied an image texture to the cube and saved again. This one crashes. The log is below.
Log below:
Dump written 2021-11-12_9-22
Version: 2.2.7
Window: geom
Reason: function_clause
Short stack trace:
[{wings,command_1,2,[{file,"wings.erl"},{line,767}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,87}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,643}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1032}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,998}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,890}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,799}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,685}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]
Long stack trace:
[{wings,command_1,
[{'EXIT',
{{{badarg,none},
[{string,casefold,1,[{file,"string.erl"},{line,387}]},
{wings_image,'-handle_call/3-fun-6-',2,
[{file,"wings_image.erl"},{line,332}]},
{wings_image,'-handle_call/3-lc$^8/1-0-',2,
[{file,"wings_image.erl"},{line,337}]},
{wings_image,handle_call,3,[{file,"wings_image.erl"},{line,336}]},
{gen_server,try_handle_call,4,
[{file,"gen_server.erl"},{line,715}]},
{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,744}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]},
{gen_server,call,
[wings_image,
{find_image,"c:/Users/shane/Desktop","Marbl24l.jpg"},
infinity]}}},
{st,{0,nil},
face,true,[],
{0,nil},
none,
{1,
{default,
[{maps,[]},
{opengl,
[{diffuse,
{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{emission,{0.0,0.0,0.0,1.0}},
{metallic,0.1},
{roughness,0.8},
{vertex_colors,set}]}],
nil,nil}},
[],undefined,true,1,none,none,
{0,{}},
{1,{wings_shape,{no_folder,[{no_folder,{open,{0,nil}}}]},nil,nil}},
ignore,none,none,
{ignore,ignore},
{'EXIT',
{{{badarg,none},
[{string,casefold,1,[{file,"string.erl"},{line,387}]},
{wings_image,'-handle_call/3-fun-6-',2,
[{file,"wings_image.erl"},{line,332}]},
{wings_image,'-handle_call/3-lc$^8/1-0-',2,
[{file,"wings_image.erl"},{line,337}]},
{wings_image,handle_call,3,
[{file,"wings_image.erl"},{line,336}]},
{gen_server,try_handle_call,4,
[{file,"gen_server.erl"},{line,715}]},
{gen_server,handle_msg,6,
[{file,"gen_server.erl"},{line,744}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,226}]}]},
{gen_server,call,
[wings_image,
{find_image,"c:/Users/shane/Desktop","Marbl24l.jpg"},
infinity]}}},
{[],[]},
true,[]}],
[{file,"wings.erl"},{line,767}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,87}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,643}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1032}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,998}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,890}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,799}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,685}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]
Argument #2:
To test, in another program I've created a single cube and saved as an obj. This opens fine in 2.2.7. I then applied an image texture to the cube and saved again. This one crashes. The log is below.
Log below:
Dump written 2021-11-12_9-22
Version: 2.2.7
Window: geom
Reason: function_clause
Short stack trace:
[{wings,command_1,2,[{file,"wings.erl"},{line,767}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,87}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,643}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1032}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,998}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,890}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,799}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,685}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]
Long stack trace:
[{wings,command_1,
[{'EXIT',
{{{badarg,none},
[{string,casefold,1,[{file,"string.erl"},{line,387}]},
{wings_image,'-handle_call/3-fun-6-',2,
[{file,"wings_image.erl"},{line,332}]},
{wings_image,'-handle_call/3-lc$^8/1-0-',2,
[{file,"wings_image.erl"},{line,337}]},
{wings_image,handle_call,3,[{file,"wings_image.erl"},{line,336}]},
{gen_server,try_handle_call,4,
[{file,"gen_server.erl"},{line,715}]},
{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,744}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]},
{gen_server,call,
[wings_image,
{find_image,"c:/Users/shane/Desktop","Marbl24l.jpg"},
infinity]}}},
{st,{0,nil},
face,true,[],
{0,nil},
none,
{1,
{default,
[{maps,[]},
{opengl,
[{diffuse,
{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{emission,{0.0,0.0,0.0,1.0}},
{metallic,0.1},
{roughness,0.8},
{vertex_colors,set}]}],
nil,nil}},
[],undefined,true,1,none,none,
{0,{}},
{1,{wings_shape,{no_folder,[{no_folder,{open,{0,nil}}}]},nil,nil}},
ignore,none,none,
{ignore,ignore},
{'EXIT',
{{{badarg,none},
[{string,casefold,1,[{file,"string.erl"},{line,387}]},
{wings_image,'-handle_call/3-fun-6-',2,
[{file,"wings_image.erl"},{line,332}]},
{wings_image,'-handle_call/3-lc$^8/1-0-',2,
[{file,"wings_image.erl"},{line,337}]},
{wings_image,handle_call,3,
[{file,"wings_image.erl"},{line,336}]},
{gen_server,try_handle_call,4,
[{file,"gen_server.erl"},{line,715}]},
{gen_server,handle_msg,6,
[{file,"gen_server.erl"},{line,744}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,226}]}]},
{gen_server,call,
[wings_image,
{find_image,"c:/Users/shane/Desktop","Marbl24l.jpg"},
infinity]}}},
{[],[]},
true,[]}],
[{file,"wings.erl"},{line,767}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,87}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,643}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1032}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,998}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,890}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,799}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,685}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]
Argument #2: