tpaviot/oce — Issue #181: STEP tests fail on tp/Standard_Boolean-to-bool
Author: tpaviot
Created: 2011-11-15 21:17:29+00:00
State: open

I rebased tp/Standard_Boolean-to-bool onto master, and ran the testsuite. All ./STEPImport_test tests fail (segfault). Here is the gdb ouput:

(gdb) r
Starting program: /Users/thomas/Devel/oce/cmake-build/test/STEPImport_test/STEPImport_test
Reading symbols for shared libraries .++++++++warning: UUID mismatch detected between:
/Users/thomas/Devel/oce/cmake-build/adm/cmake/TKGeomAlgo/Darwin/i386-Release-64/libTKGeomAlgo.1.0.0.dylib
/Users/thomas/Devel/oce/cmake-build/adm/cmake/TKGeomAlgo/Darwin/i386-Release-64/libTKGeomAlgo.1.0.0.dylib.dSYM/Contents/Resources/DWARF/libTKGeomAlgo.1.0.0.dylib...
.+++++++......... done
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from STEPImportTestSuite
[ RUN ] STEPImportTestSuite.testImportAP203_1
... Step File Reading : /Users/thomas/Devel/oce/test/data/STEP/as1-tu-203.stp
... STEP File Read ...
Elapsed time: 0 Hours 0 Minutes 0.005178 Seconds
CPU user time: 0.01 seconds
CPU system time: 0 seconds
... Step File loaded ...
Elapsed time: 0 Hours 0 Minutes 0.008849 Seconds
CPU user time: 0.01 seconds
CPU system time: 0 seconds
4639 records (entities,sub-lists,scopes), 12211 parameters

... Parameters prepared ... Elapsed time: 0 Hours 0 Minutes 0.012514 Seconds
CPU user time: 0.01 seconds
CPU system time: 0 seconds
Report : 26 unknown entities
... Objets analysed ...
Elapsed time: 0 Hours 0 Minutes 0.017632 Seconds
CPU user time: 0.02 seconds
CPU system time: 0 seconds
STEP Loading done : 2362 Entities

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x000000010006c2a7 in Handle_Standard_Transient::EndScope ()
(gdb) bt
#0 0x000000010006c2a7 in Handle_Standard_Transient::EndScope ()
#1 0x0000000100f83247 in ShapeAnalysis_Surface::~ShapeAnalysis_Surface ()
#2 0x0000000102cb6a90 in ShapeCustom_Surface::ConvertToPeriodic ()
#3 0x0000000102dcecd7 in ShapeAlgo_AlgoContainer::ConvertToPeriodic ()
#4 0x000000010043406e in StepToTopoDS_TranslateFace::Init ()
#5 0x00000001004376bd in StepToTopoDS_TranslateShell::Init ()
#6 0x0000000100422c04 in StepToTopoDS_Builder::Init ()
#7 0x0000000100452619 in STEPControl_ActorRead::TransferEntity ()
#8 0x000000010045aac1 in STEPControl_ActorRead::TransferShape ()
#9 0x0000000100455a57 in STEPControl_ActorRead::TransferEntity ()
#10 0x0000000100458d02 in STEPControl_ActorRead::TransferEntity ()
#11 0x000000010045a115 in STEPControl_ActorRead::TransferEntity ()
#12 0x00000001004585d1 in STEPControl_ActorRead::TransferEntity ()
#13 0x000000010045a115 in STEPControl_ActorRead::TransferEntity ()
#14 0x00000001004585d1 in STEPControl_ActorRead::TransferEntity ()
#15 0x000000010045a7f3 in STEPControl_ActorRead::TransferShape ()
#16 0x000000010045adc4 in STEPControl_ActorRead::Transfer ()
#17 0x0000000100c853ca in Transfer_ActorOfTransientProcess::Transferring ()
#18 0x0000000100c954e4 in Transfer_ProcessForTransient::TransferProduct ()
#19 0x0000000100c980b4 in Transfer_ProcessForTransient::Transferring ()
#20 0x0000000100c98932 in Transfer_ProcessForTransient::Transfer ()
#21 0x0000000100d15216 in XSControl_TransferReader::TransferOne ()
#22 0x0000000100d1167a in XSControl_Reader::TransferEntity ()
#23 0x0000000100d117af in XSControl_Reader::TransferOneRoot ()
#24 0x0000000100009fa9 in STEPImportTestSuite_testImportAP203_1_Test::TestBody ()
#25 0x000000010003033d in testing::internal::HandleExceptionsInMethodIfSupported ()
#26 0x0000000100023320 in testing::Test::Run ()
#27 0x0000000100023eb9 in testing::TestInfo::Run ()
#28 0x0000000100024123 in testing::TestCase::Run ()
#29 0x000000010002536a in testing::internal::UnitTestImpl::RunAllTests ()
#30 0x000000010002fd2d in testing::internal::HandleExceptionsInMethodIfSupported ()
#31 0x00000001000231ae in testing::UnitTest::Run ()
#32 0x0000000100009da1 in main ()
(gdb)