Wings 3D Development Forum
Crash Report - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: Crash Report (/showthread.php?tid=313)



Crash Report - roberts - 05-12-2013

I'm new to Winds3D and just trying it out. I was importing a large (13.7GB) 3ds made from AC3D and Wings3D's import process crashed. I'm running Windows 7. Here is the crash report (the forum won't let me attach it):

Dump written 2013-5-12_9-9
Version: 1.4.1
Window: geom
Reason: function_clause

Short stack trace:
[{wings,command_1,2},
{wings_develop,time_command,2},
{wings,raw_command,4},
{wings_wm,handle_event,3},
{wings_wm,send_event,2},
{wings_wm,do_dispatch,2},
{lists,foreach,2},
{wings_wm,'-redraw_all/0-fun-1-',1}]

Long stack trace:
[{wings,command_1,
[{'EXIT',
{badarg,
[{ets,new,[e3d_tds,[named_table,ordered_set]]},
{e3d_tds,import,1},
{wpc_3ds,'-import_fun/1-fun-0-',2},
{wpa,do_import,3},
{wpa,'-import/3-fun-0-',3},
{wings_file,'-import_filename_1/2-fun-0-',3},
{wp8_file,file_dialog_event,1},
{wings_wm,handle_event,3}]}},
{st,{0,nil},
face,true,[],
{0,nil},
none,
{1,
{default,
[{maps,[]},
{opengl,
[{ambient,
{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{diffuse,
{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{emission,{0.0,0.0,0.0,0.0}},
{shininess,1.0},
{specular,{1.0,1.0,1.0,1.0}},
{vertex_colors,set}]}],
nil,nil}},
[],undefined,true,1,none,none,
{0,{}},
{1,{wings_shape,{no_folder,[]},nil,nil}},
ignore,none,none,
{ignore,ignore},
{'EXIT',
{badarg,
[{ets,new,[e3d_tds,[named_table,ordered_set]]},
{e3d_tds,import,1},
{wpc_3ds,'-import_fun/1-fun-0-',2},
{wpa,do_import,3},
{wpa,'-import/3-fun-0-',3},
{wings_file,'-import_filename_1/2-fun-0-',3},
{wp8_file,file_dialog_event,1},
{wings_wm,handle_event,3}]}},
{[],[]},
true,[]}]},
{wings_develop,time_command,2},
{wings,raw_command,4},
{wings_wm,handle_event,3},
{wings_wm,send_event,2},
{wings_wm,do_dispatch,2},
{lists,foreach,2},
{wings_wm,'-redraw_all/0-fun-1-',1}]

Argument #2:


RE: Crash Report - ggaliens - 05-13-2013

I'll say that even if the import process points to something different and surmountable ... your 14GB model
is going to choke wngs3D out before it ever loads.

What is 14GB ? The disk file ? Or how the thing unfolds inyour app memory as you see it under your other application ?

Good luck with that model ... I think you are going to need it.


RE: Crash Report - roberts - 05-16-2013

The 14GB is the 3ds file. It's a floor plan for a 16x8 room, divided four ways, has a bed, sofa, sink (these three items have lots of polygons), a simple rectangular object for tv and four windows cut into the wall.


RE: Crash Report - Ran13 - 05-16-2013

If you have access to AC3D, export the items separately.
Parsing a 14GB file is likely slamming your memory limit for a 32-bit app (Wings3D).

Exporting separately should maintain the locations of the separate items wrt world origin, so they should import into their proper locations.

You might also consider, if you DO have access to the source file in the source app (AC3D), to try and limit the number of exported faces in those items that have lots of polys. Things like the furniture are likely modeled with higher order surfaces (lathed splines, sub-d, lofted curves, etc.) and these items usually have some sort of "resolution" setting for when they are converted to triangles on export which, 3DS is an all triangle format... just one of the MANY known limitations of the 3DS format.

On the subject of the 3DS format, these items that have "lots of polys" must be made of many separate objects since there is a hard limit on the number of discrete faces/vertices in an individual object in the 3DS format. (~65k per object). Also, be aware that any assigned materials or textures that have names/paths that violate the (ancient) DOS 8.3 file naming convention will have there names truncated in the 3DS export, and will appear that they are no longer referenced.


RE: Crash Report - dgud - 05-20-2013

There is a 2GB limit for 32-bit's app.