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
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁
eamanu@debian.org
⢿⡄⠘⠷⠚⠋⠀ OpenPGP: 13796755BBC72BB8ABE2AEB5 FA9DEC5DE11C63F1
⠈⠳⣄
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmh62yUACgkQ+p3sXeEc Y/GUdQ/+IbJ5EqqDeExZ7imPfYtDhCUlleqBEdBhQYkY46BdIEWL8LIZb5AQQ1Lz S3TrRxBk7FV+3hjdtTQ+TdBAvfl9EvarEG8v7yVhyASglh8glWGF8VVbNIJDojLe uvEXkRqA+kLNXsb0yaus3VEr1AbMrSGvRPDL9m7tP3VZ5O5l7xe12rPpq5bqW5gH SmGSWvcD5FFr5kp49S85cerADECDZx8eip7wCGkSAAV5RLytA96RfEx4AxUBdFbq a++3xuoscsOVKIasdn60LW+xaIc4D5YzRf3CDXnUmbbab3xd004RvG9LgqE3VsG2 i9628/qUHYUjl7IldeCLK3LSr8O2vvcu79i2HEVhEbTzVZjmq19kGBkhhTiudS8C sHHqOyZk8Fjw2k/JfvAnz0G6g3cu9QEhkK/EPO0/HotzufpeB8Ruacnu+9J56xn7 v9zegH834GK6tXHnjQZth6IoOr/rNwKj43JpgOUMH4820fp/ba0NtCl1dn98STMW frofLaHvhEQsWMV6Kkqw/lmPLYrwojvFvhid4aDZDnIJq88UXAJWyk5nBuScVJND wFovRWJ1jxFX7XN0IC8rblvx08BWJ3NLg613JCp9jfPMt+1theKqM98ECY/k+B4N 9dpy7tfPq/UCEc/s7ftdutM8Z0DK101NnqxEeGkTzLEdbPr