Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

MacOS Python Core Dump when using Syft

Aperta
#393 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by reproducing the import order from the issue on the listed macOS and Python versions, then compare it with importing pydp first. Use the linked GitHub Actions run and the minimal import example to identify whether the crash depends on the CI environment or an external dependency. Done means importing syft followed by pydp no longer aborts Python.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Type: Bug :bug:

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

Lingua principale
Python
Stelle
550
Fork
143
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenMined/PyDP

Tutte le issue di OpenMined/PyDP

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.