mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
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
16 lines
310 B
Plaintext
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
|