MacOS Python Core Dump when using Syft
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
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
- 主要语言
- Python
- 星标
- 551
- 派生
- 142
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenMined/PyDP 的其他 Issue
-
Type: Bug :bug:
难度 2/5 1-3 小时 新手友好度 83/100
-
Type: New Feature :heavy_plus_sign:
难度 4/5 3-5 天 新手友好度 45/100
-
Type: Question :grey_question:
难度 3/5 1-2 天 新手友好度 25/100
-
Type: Question :grey_question:
难度 4/5 3-5 天 新手友好度 32/100
-
Raise different errors based on the error code returned from the DP Library可能已有人在做 @kalra-mohit 于 90 天前认领。 未关闭Type: Improvement :chart_with_upwards_trend:
难度 3/5 1-2 天 新手友好度 35/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
-
[Device Support Request] HOBEIAN ZG-204ZL (Tuya PIR motion sensor with illuminance)可能已有人在做 @lenucksi 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
zigpy/zha-device-handlers#5493 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
drevendev/BeautifulRepo#42 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 84/100
writerslogic/holographic-memory#93 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
antoine-tena/kiln#47 ·
维护者通常 1 天内回复