Bug #2843 crash on loading file

Having trouble installing or compiling FreeCAD? Get help here.
User avatar
Kunda1
Posts: 5801
Joined: Thu Jan 05, 2017 9:03 pm

Bug #2843 crash on loading file

Postby Kunda1 » Fri Jan 13, 2017 1:22 pm

issue #2843
OP is running:
OS: "openSUSE Leap 42.2"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9591 (Git)
Build type: Unknown
Branch: master
Hash: 675bcc251060d2c597bcea761be5fb672b4ea2bd
Python version: 2.7.12
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.9.1.oce-0.18-dev
According to OP:
* The file attached to the ticket contains a fcstd drawing that was generated and saved without problem.
* FreeCAD crashes upon loading the file.
* The same problem occurs with other files. What they have in common is that they have TechDraw WB's with views and dimensions..

Example file and Backtrace are attached to the ticket.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
sgrogan
Posts: 5424
Joined: Wed Oct 22, 2014 5:02 pm

Re: Bug #2843 crash on loading file

Postby sgrogan » Fri Jan 13, 2017 4:31 pm

I can replicate on Win with softcrash.
Anyfile that has a TechDraw Projection Group fails with

Code: Select all

TIMING - ProjItem GO spent: 0.000 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
Gui::Command::activated(0): Unknown C++ exception thrown
Default Part Cube
Default TechDraw Template
Insert Projection Group (default front view is enough)
Save, Close, and Re-open

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9613 (Git)
Build type: Release
Branch: master
Hash: 0c34f1b749fbb116058caa54754961c6dcb4f92a
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
wmayer
Site Admin
Posts: 14893
Joined: Thu Feb 19, 2009 10:32 am

Re: Bug #2843 crash on loading file

Postby wmayer » Fri Jan 13, 2017 4:43 pm

See my comments in the bug tracker.