1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/step/bug29240
dpasukhi ea86bfe2fa Testing - Removing direct DCAF loading #147
DCAF require VISUALIZATION for correct work.
  In some scenario DRAWEXE can generate a dublicates of the
  internal static singletons. This means each dynamic library
  will have their own instance of the static singleton.
Update all direct library loading to use the DCAF plugin
  mechanism. This will ensure that the DCAF plugin is loaded
  only once and that the correct instance is used.
Originally issue is reproduced only Linux with dlopen with "RTLD_LAZY".
Can be resolved additionally adding "RTLD_LAZY | RTLD_GLOBAL" for dlopen
2024-11-05 17:00:06 +00:00

16 lines
310 B
Plaintext

puts "=========="
puts " 0029240: Data Exchange - Crash during reading STEP file"
puts "=========="
puts ""
pload OCAF
ReadStep D_First [locate_data_file nist_ctc_05_asme1_ap242-1.stp]
XGetOneShape result D_First
checkshape result
checknbshapes result -solid 1 -shell 1 -face 156 -wire 201
Close D_First