autotwin / mesh

Mesh data types
MIT License
1 stars 2 forks source link

new seg fault arising in cubit #10

Closed hovey closed 1 year ago

hovey commented 2 years ago
(atmeshenv) cbh@atlas/Users/cbh/autotwin/mesh> ./quality.sh        (base)
========================== test session starts ===========================
platform darwin -- Python 3.7.9, pytest-7.1.2, pluggy-1.0.0
rootdir: /Users/cbh/autotwin/mesh
plugins: cov-3.0.0
collected 8 items

tests/test_command_line.py ..                                      [ 25%]
tests/test_fac_to_obj.py ..                                        [ 50%]
tests/test_hello.py ..                                             [ 75%]
tests/test_sculpt_stl_to_inp.py .Fatal Python error: Segmentation fault

Current thread 0x00000002010a5600 (most recent call first):
  File "/Applications/Cubit-16.06/Cubit.app/Contents/MacOS/cubit3.py", line 3248 in cmd
  File "/Users/cbh/autotwin/mesh/src/atmesh/sculpt_stl_to_inp.py", line 143 in translate
  File "/Users/cbh/autotwin/mesh/tests/test_sculpt_stl_to_inp.py", line 76 in test_import_cubit_fails
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/python.py", line 192 in pytest_pyfunc_call
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/python.py", line 1761 in runtest
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/runner.py", line 166 in pytest_runtest_call
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/runner.py", line 259 in <lambda>
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/runner.py", line 338 in from_call
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/runner.py", line 259 in call_runtest_hook
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/runner.py", line 219 in call_and_report
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/runner.py", line 130 in runtestprotocol
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/runner.py", line 111 in pytest_runtest_protocol
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/main.py", line 347 in pytest_runtestloop
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/main.py", line 322 in _main
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/main.py", line 268 in wrap_session
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/main.py", line 315 in pytest_cmdline_main
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/config/__init__.py", line 165 in main
  File "/Users/cbh/autotwin/mesh/atmeshenv/lib/python3.7/site-packages/_pytest/config/__init__.py", line 187 in console_main
  File "/Users/cbh/autotwin/mesh/atmeshenv/bin/pytest", line 8 in <module>
./quality.sh: line 16: 47760 Segmentation fault: 11  pytest --cov=atmesh --cov-report term-missing
(atmeshenv) cbh@atlas/Users/cbh/autotwin/mesh>
hovey commented 2 years ago

fyi @elejeune11 arg! out of now where, now a segmentation fault from Cubit in the workflow. How is this arise I DNK. debugging now.

hovey commented 1 year ago

2022-10-05: Cubit 16.08 was released with Python fixes:

hovey commented 1 year ago

CS says still compiling Cubit 16.08 to Python 3.7. Will try upgrade Cubit from 16.06 to 16.08.

hovey commented 1 year ago

Seg fault appears to be fixed in Cubit 16.08.