1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_5/bug24849_2
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

22 lines
531 B
Plaintext

puts "================"
puts "CR24849"
puts "================"
puts ""
###############################################
## Crash on Pipe creation
###############################################
pload OCAF
Open [locate_data_file bug24849_Study1_GEOM.cbf] D
GetShape D 0:1:465:1:1:2 f
GetShape D 0:1:283:1:1:2 w
explode w e
wire ww w_2
pipe result ww f 2
checknbshapes result -vertex 4 -edge 8 -wire 7 -face 7 -shell 2 -solid 2 -compsolid 0 -compound 1 -shape 31
checkview -display result -2d -path ${imagedir}/${test_image}.png