Skip to content

Python zsh: segmentation fault at the end of the script #181

@ogencoglu

Description

@ogencoglu

Component
PyDIP - 3.5.1 (latest)

Describe the bug

I have a long python script that performs various computations with numpy, pandas, scipy etc.
At one place, I have replaced my scipy.ndimage.binary_fill_holes() with dip.FillHoles() and it works as expected and is faster. But at the end of the script, python crashes and I get

zsh: segmentation fault

I don't get the error at FillHoles stage but only at the very end (related to destructor, garbage collector maybe?)

Any tips would be appreciated.

System information:

  • MacOS
  • Python3.12
  • pip installed in virtualenv

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions