Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

MacOS Python Core Dump when using Syft

Đang mở
#393 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
550
Fork
143
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenMined/PyDP

Tất cả issue của OpenMined/PyDP

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.