Hi, Well, I couldn't figure out why it's happening, but I managed to isolate it.
To reproduce the bug, we can run only nxtomomill/converter/edf/tests/test_edf2nx.py::test_edf_to_nx_converter IMO the issue is in the pytest.mark.parametrize call @pytest.mark.parametrize("progress", (None, tqdm(desc="conversion from edf"))) Removing that line, and defining progress in the test, the segmentation fault doesn't occur. def test_edf_to_nx_converter(duplicate_data, external_path_type): + progress = tqdm(desc="conversion from edf") # or progress None So, the first I think is that the issue is in the parametrize and/or tqdm, but I made a little poc, and the error is not reproducible: ``` @pytest.mark.parametrize("progress", (None, tqdm(desc="hola"))) def test_poc(progress): if progress is not None: progress.total = 100 progress.n = 20 progress.refresh() assert 1==1 ``` So, now I suspect that the bug is in python3-nxtomomill side. -- cheers, Emmanuel Arias ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ eam...@debian.org ⢿⡄⠘⠷⠚⠋⠀ OpenPGP: 13796755BBC72BB8ABE2AEB5 FA9DEC5DE11C63F1 ⠈⠳⣄
signature.asc
Description: PGP signature