perform a bv_maker to get capsul and soma up to date
set mia_processes et populse_mia on up-to-date master branch
run MIA unitary tests locally (bv python3 test.py in populse_mia folder)
UT pass (OK at the end) but a segmentation fault occurs:
Fatal Python error: Segmentation fault
Current thread 0x00007f70cdefa740 (most recent call first):
File
"/casa/host/src/capsul/master/capsul/qt_gui/widgets/pipeline_developer_view.py",
line 2816 in release_pipeline
File
"/casa/host/src/capsul/master/capsul/qt_gui/widgets/pipeline_developer_view.py",
line 2698 in __del__
Segmentation fault
I do not know exactly from where does it come from but I have the intuition that this could be due to recent changes in release_pipeline function that allowed to properly delete a scene (https://github.com/populse/capsul/issues/196).
Minimum steps to reproduce:
bv_maker
to get capsul and soma up to date(bv python3 test.py
in populse_mia folder)UT pass (OK at the end) but a segmentation fault occurs:
I do not know exactly from where does it come from but I have the intuition that this could be due to recent changes in
release_pipeline
function that allowed to properly delete a scene (https://github.com/populse/capsul/issues/196).When I go back to older commits (https://github.com/populse/populse_mia/commit/f1e29bfd7a233aa9d4756c599e2dbb2b04a03d86 for MIA and https://github.com/populse/capsul/commit/9ad538206c71ccd8ba760e02d5b81aa0900efb65 for Capsul), the segmentation fault disappears in tests.
Maybe
sip.transferback()
did not completely solve the issue of PyQt/sip ownership management (as suggested by @denisri) ?.