STEP TransferRoots() Failure

I am having difficulty reading STEP files in OCC 4.0. The annoying part about
it is that the files I am trying to read were written with OpenCascade 4.0.

Here is the message I keep getting during a call to TransferRoots():

-----------------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
0x43385c27 in StepToTopoDS_TranslateFace::Init ()
from /home/occ/CAS4.0/Linux/lib-distribution/libTKSTEP.so
-----------------------------------------------------------

Any help is appreciated!
Rob Smith
res@thermoanalytics.com

Also: Here is a backtrace of the stack:

#0 0x43385c27 in StepToTopoDS_TranslateFace::Init ()
from /home/occ/CAS4.0/Linux/lib-distribution/libTKSTEP.so
#1 0x43378306 in StepToTopoDS_TranslateShell::Init ()
from /home/occ/CAS4.0/Linux/lib-distribution/libTKSTEP.so
#2 0x4337ba54 in StepToTopoDS_Builder::Init ()
from /home/occ/CAS4.0/Linux/lib-distribution/libTKSTEP.so
#3 0x4049e16c in STEPControlStd_ActorRead::TransferShape () at eval.c:41
#4 0x404a1f6b in STEPControlStd_ActorRead::Transfer () at eval.c:41
#5 0x4219f645 in Transfer_ActorOfTransientProcess::Transferring ()
at eval.c:41
#6 0x421aafcf in Transfer_ProcessForTransient::TransferProduct () at eval.c:41
#7 0x421aa58b in Transfer_ProcessForTransient::Transferring () at eval.c:41
#8 0x4049c5d0 in STEPControlStd_ActorRead::TransferShape () at eval.c:41
#9 0x404a1f6b in STEPControlStd_ActorRead::Transfer () at eval.c:41
#10 0x4219f645 in Transfer_ActorOfTransientProcess::Transferring ()
at eval.c:41
#11 0x421aafcf in Transfer_ProcessForTransient::TransferProduct () at eval.c:41
#12 0x421aa58b in Transfer_ProcessForTransient::Transferring () at eval.c:41
#13 0x4049bb0e in STEPControlStd_ActorRead::TransferShape () at eval.c:41
#14 0x404a1f6b in STEPControlStd_ActorRead::Transfer () at eval.c:41
#15 0x4219f645 in Transfer_ActorOfTransientProcess::Transferring ()
at eval.c:41
#16 0x421aafcf in Transfer_ProcessForTransient::TransferProduct () at eval.c:41
---Type to continue, or q to quit---
#17 0x421aa58b in Transfer_ProcessForTransient::Transferring () at eval.c:41
#18 0x421ad104 in Transfer_ProcessForTransient::Transfer () at eval.c:41
#19 0x421a2012 in Transfer_TransferOutput::Transfer () at eval.c:41
#20 0x4225195b in XSControl_TransferReader::TransferOne () at eval.c:41
#21 0x4225f77c in XSControl_Reader::TransferRoots () at eval.c:4

shylesh's picture

Hi Smith,

I had similar problem when I was using
STEPControlStd_Reader r; for reading the step
file.

when I changed to
STEPControl_Reader r ,file was read properly.

Hope this helps u.

Best Rgds
Shylesh