pegerto / mdakit_sasa

Toolkit to calculate the surface accessible area of a molecular dynamic trajectory
https://mdakit-sasa.readthedocs.io/en/latest/index.html
GNU General Public License v2.0
4 stars 2 forks source link

Windows run fail if access violation on the native code of freesasa #4

Closed pegerto closed 11 months ago

pegerto commented 1 year ago

Expected behavior

Free sasa implementation fail on windows.

Actual behavior

Implementation faiis on window.

Windows fatal exception: access violation

Thread 0x000016[28](https://github.com/pegerto/mdakit_sasa/actions/runs/6444612837/job/17497801486#step:8:29) (most recent call first):
  File "C:\Miniconda\envs\mdakit_sasa-test\Lib\threading.py", line 331 in wait
  File "C:\Miniconda\envs\mdakit_sasa-test\Lib\threading.py", line 6[29](https://github.com/pegerto/mdakit_sasa/actions/runs/6444612837/job/17497801486#step:8:30) in wait
  File "C:\Miniconda\envs\mdakit_sasa-test\Lib\site-packages\tqdm\_monitor.py", line 60 in run
  File "C:\Miniconda\envs\mdakit_sasa-test\Lib\threading.py", line 1045 in _bootstrap_inner
  File "C:\Miniconda\envs\mdakit_sasa-test\Lib\threading.py", line 1002 in _bootstrap

Thread 0x00001a54 (most recent call first):
  File "C:\Miniconda\envs\mdakit_sasa-test\Lib\site-packages\execnet\gateway_base.py", line 474 in read
  File "C:\Miniconda\envs\mdakit_sasa-test\Lib\site-packages\execnet\gateway_base.py", line 507 in from_io
  File "C:\Miniconda\envs\mdakit_sasa-test\Lib\site-packages\execnet\gateway_base.py", line 1049 in _thread_receiver
  File "C:\Miniconda\envs\mdakit_sasa-test\Lib\site-packages\execnet\gateway_base.py", line 296 in run
mdakit_sasa/tests/analysis/test_sasaanalysis.py::TestSASAAnalysis::test_residue_sasa_calculation 
  File "C:\Miniconda\envs\mdakit_sasa-test\Lib\site-packages\execnet\gateway_base.py", line [36](https://github.com/pegerto/mdakit_sasa/actions/runs/6444612837/job/17497801486#step:8:37)1 in _perform_spawn
[gw0] node down: Not properly terminated

Extend the test cases to window service kills the executio of our test.

pegerto commented 1 year ago

https://github.com/mittinatten/freesasa/issues/95