View Issue Details

IDProjectCategoryView StatusLast Update
0000705File formatspublic2012-05-16 18:53
Reportertetaberta Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Summary0000705: Export to STEP crashes free-cad
DescriptionSteps to reproduce:
- create any 3D geometry e. g. box in Part workbench
- File->Export-> STEP filetype
- FreeCAD crashes with "Illegal storage access..."

Tested on 2 machines running Ubuntu 12.04 and freecad from daily builds ppa: 0.13-git201205142018~precise1
This works fine with older version from repository (0.12R5382)
TagsNo tags attached.
FreeCAD Information

Activities

yorik

2012-05-15 21:25

administrator   ~0002047

I tried here (latest git version) and all works for me...

tetaberta

2012-05-16 04:25

reporter   ~0002049

Hmm, strange... Thanks for looking into this. Maybe it is a problem with some external libraries? Both my systems have some history of distribution upgrades. Running FreeCAD in gdb shows:
Program received signal SIGSEGV, Segmentation fault.
0x00007fff5e95efed in CDF_Session::LoadDriver() () from /usr/lib/libTKCDF-6.5.0.so

the libTKCDF is from libopencascade-ocaf-lite-6.5.0. I remember reading somewhere, that FreeCAD should be compiled against liboce-*. Could this be the problem?

yorik

2012-05-16 10:51

administrator   ~0002050

Could you attach here a freecad file that causes the crash? Just to make sure.

Normally until now there is no problem in using either OCC or OCE, it doesn't make difference...

2012-05-16 11:00

 

fctest.fcstd (2,536 bytes)

tetaberta

2012-05-16 11:04

reporter   ~0002051

Sure, the file in attachment causes the crash

tetaberta

2012-05-16 18:25

reporter   ~0002053

I tried the same thing on a clean install of ubuntu in virtualbox and there it works...

I found out, that I have both versions of opencascade installed - liboce-* and libopencascade-* packages. Removing the liboce-* solved the problem, so it seems that these cannot be installed at the same time. I installed liboce because of netgen, which was otherwise complaining about:
could not open: FWOSPlugin ; reason: libFWOSPlugin.so: cannot open shared object file: No such file or directory
on startup. But it seems to work without it.

So I would consider this solved.

yorik

2012-05-16 18:53

administrator   ~0002054

Okay, glad you had it work. Besides, your little adventure answers a question we had here (if OCC and OCE can coexist) so it wasn't unuseful.

http://forum.freecadweb.org/viewtopic.php?f=8&t=2517&p=19271

Issue History

Date Modified Username Field Change
2012-05-15 18:34 tetaberta New Issue
2012-05-15 21:25 yorik Note Added: 0002047
2012-05-16 04:25 tetaberta Note Added: 0002049
2012-05-16 10:51 yorik Note Added: 0002050
2012-05-16 11:00 tetaberta File Added: fctest.fcstd
2012-05-16 11:04 tetaberta Note Added: 0002051
2012-05-16 18:25 tetaberta Note Added: 0002053
2012-05-16 18:53 yorik Note Added: 0002054
2012-05-16 18:53 yorik Status new => closed
2012-05-16 18:53 yorik Resolution open => no change required