Export (attached) as DAE file crashes FreeCAD
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Export (attached) as DAE file crashes FreeCAD
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Hi, I don't seem to have permission to file a bug - or I can't see the create button/function. Which is strange because I created a bug a few days ago... Anyway, that is why I am going to ask anyone who can confirm this bug to report it via Mantis:
1. Open the attached file in FreeCAD.
2. Export it as DAE file
3. Watch while FreeCAD thinks then crashes.
Appreciate anyone taking and look at this an raising it further.
Best wishes
Hedgehog
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Hi, I don't seem to have permission to file a bug - or I can't see the create button/function. Which is strange because I created a bug a few days ago... Anyway, that is why I am going to ask anyone who can confirm this bug to report it via Mantis:
1. Open the attached file in FreeCAD.
2. Export it as DAE file
3. Watch while FreeCAD thinks then crashes.
Appreciate anyone taking and look at this an raising it further.
Best wishes
Hedgehog
- Attachments
-
- defect-example.fcstd
- (339.14 KiB) Downloaded 86 times
- kkremitzki
- Veteran
- Posts: 2517
- Joined: Thu Mar 03, 2016 9:52 pm
- Location: Illinois
Re: Export (attached) as DAE file crashes FreeCAD
You didn't specify what you have selected in the tree view, so I decided to do Shift+B and box select the visible part, which got me a few of the meshes in the tree view. I exported these as a DAE and could reproduce the crash:
Code: Select all
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10792 (Git)
Build type: None
Branch: master
Hash: 3b50a786f351339dd0c791b4e0e0e403f86033f0
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Re: Export (attached) as DAE file crashes FreeCAD
Hello Hedgehog,
I'm not saying this causes the crash, I'm just saying you may have trouble exporting to a valid mesh file to print it.
I did save a *.dae file, will report on what it looks like in a few minutes.
Please read the Bug submission guidelines topic at the very top of this forum. It explains that the first thing to do is to post here before creating a bug report.hedgehog wrote:Hi, I don't seem to have permission to file a bug
How did you create this file? It contains a series of unconnected meshes. This is obviously a model to be 3D printed, in my opinion there should not be multiple separate meshes, but a single one forming a manifold "solid mesh".hedgehog wrote:Open the attached file in FreeCAD.
I'm not saying this causes the crash, I'm just saying you may have trouble exporting to a valid mesh file to print it.
I didn't get a crash: FreeCAD did seem to hang for a couple of minutes, meanwhile it used up all my available RAM (7GB out of 8) and went and used up half of my swap partition (4,4GB out of 8). I purchased this desktop PC in 2012 and I've been using one version of Ubuntu or the other, and in all this time this is the first time my swap ever gets used to more than a couple of hundred MBs. Even now after closing FreeCAD and getting my RAM back the swap still uses 700MB, and my system is not very responsive. I'm rebooting as soon as I post this reply!hedgehog wrote:3. Watch while FreeCAD thinks then crashes.
I did save a *.dae file, will report on what it looks like in a few minutes.
Last edited by NormandC on Thu Apr 13, 2017 3:19 am, edited 1 time in total.
Re: Export (attached) as DAE file crashes FreeCAD
Exported .dae file imports back in FreeCAD in seconds, seemingly identical to the original FCStd file. I'm not attaching it here because it's 1.6MB.
BTW all the meshes together have more than 22,000 faces, it is needless to have so many small facets, no 3D printer will take advantage of such a resolution.
Also, I just found that all the meshes that are labeled "MeshXXX" are invalid as they contain no vertex, no edge nor face.
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
BTW all the meshes together have more than 22,000 faces, it is needless to have so many small facets, no 3D printer will take advantage of such a resolution.
Also, I just found that all the meshes that are labeled "MeshXXX" are invalid as they contain no vertex, no edge nor face.
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Re: Export (attached) as DAE file crashes FreeCAD
I just tested export again, this time only selecting the valid meshes. Same thing, FreeCAD starts to use up all my RAM at an astonishingly fast rate.
Re: Export (attached) as DAE file crashes FreeCAD
NormandC wrote:FreeCAD starts to use up all my RAM at an astonishingly fast rate.
Oh dear, your poor RAM. By the way, what is his name? Ok it's not a Ram exactly but I just got a new young billy goat, he is now named Charlie Clive Junior and he is so quiet and adorable. My children took him for a ride in the wheel burrow yesterday. He is only a few months old and is very cute.
Sorry I couldn't resist the comment....
Re: Export (attached) as DAE file crashes FreeCAD
The DAE export script eating all the memory with big files is not something new...
Since the job is done by pycollada and not ourselves, unfortunately it is hard to solve...
Since the job is done by pycollada and not ourselves, unfortunately it is hard to solve...
Re: Export (attached) as DAE file crashes FreeCAD
I never export to COLLADA (had to install the python-collada package), so this explains that. That kind of memory leak is pretty insane!
I see this issue has not been reported to the project: https://github.com/pycollada/pycollada/issues
Since I have no use for COLLADA, I'm not feeling up to reporting it...
I see this issue has not been reported to the project: https://github.com/pycollada/pycollada/issues
Since I have no use for COLLADA, I'm not feeling up to reporting it...
Re: Export (attached) as DAE file crashes FreeCAD
Hi,
Thank you all for your feedback. I'll report this to pycollada. The source of the meshes was someone exporting a DAE file out of SketchUp.
The pycollada issue is here
https://github.com/pycollada/pycollada/issues/64
Thanks again.
Best wishes
Hedgehog
Thank you all for your feedback. I'll report this to pycollada. The source of the meshes was someone exporting a DAE file out of SketchUp.
The pycollada issue is here
https://github.com/pycollada/pycollada/issues/64
Thanks again.
Best wishes
Hedgehog
Re: Export (attached) as DAE file crashes FreeCAD
In my defense I did read that forum post, and understand the need for it.NormandC wrote:Hello Hedgehog,
Please read the Bug submission guidelines topic at the very top of this forum. It explains that the first thing to do is to post here before creating a bug report.hedgehog wrote:Hi, I don't seem to have permission to file a bug
I understood the first paragraph to mean nearly the opposite of your interpretation.
At best we can agree that the first paragraph does not say you must/should post here before posting a bug.
Best wishes
Hedgehog