Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS Python Core Dump when using Syft #393

Open
madhavajay opened this issue Sep 16, 2021 · 1 comment
Open

MacOS Python Core Dump when using Syft #393

madhavajay opened this issue Sep 16, 2021 · 1 comment
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended

Comments

@madhavajay
Copy link
Contributor

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

@madhavajay madhavajay added the Type: Bug 🐛 Some functionality not working in the codebase as intended label Sep 16, 2021
madhavajay added a commit to tudorcebere/PySyft that referenced this issue Sep 16, 2021
- importing pydp after syft causes a core dump
  OpenMined/PyDP#393
@chinmayshah99
Copy link
Member

Is this still happening ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended
Projects
None yet
Development

No branches or pull requests

2 participants