Skip to content

MacOS Python Core Dump when using Syft #393

@madhavajay

Description

@madhavajay

Description

We are seeing a weird issue where importing pydp is causing a core dump in Python on MacOS.
It seems as though this is occurring in multiple versions of PyDP and Python. Also even weirder is that these tests were passing perfectly fine not that long ago so its hard to see exactly what has changed.

Interestingly, it seems as though if pydp is imported first this doesn't happen. Perhaps this is something to do with python threads and asyncio, and possibly a third party library or other system dependency which has changed recently.

How to Reproduce

>>> import syft as sy
>>> import pydp
python(3834,0x1157d2dc0) malloc: *** error for object 0x108930240: pointer being freed was not allocated
python(3834,0x1157d2dc0) malloc: *** set a breakpoint in malloc_error_break to debug
[1]    3834 abort      python

Expected Behavior

Not crashing.

Screenshots

Screen Shot 2021-09-16 at 10 25 46 am

System Information

MacOS in GitHub CI (Catalina most likely) and Python 3.7, 3.8, 3.9.
https://github.com/OpenMined/PySyft/runs/3616277301?check_suite_focus=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Bug 🐛Some functionality not working in the codebase as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions