mitmproxy / mitmproxy/mitmproxy
apple m1 cannot allocate write+execute memory for ffi.callback().
Open
Nobody has claimed this yet.
kind/bug
upstream
- Dominant language
- Python
- Stars
- 45.1k
- Forks
- 4.7k
- Avg merge
- 21h 12m
- Merged PRs (30d)
- 16
Description
Problem Description
A clear and concise description of what the bug is.
Steps to reproduce the behavior:
- using m1 mac
- pip install mitmproxy,
- print mitmproxy. and appear error cannot allocate write+execute memory for ffi.callback()...
System Information
python env 3.9.1
Platform: macOS-11.2.3-arm64-arm-64bit
Mitmproxy: 6.0.2
OpenSSL: OpenSSL 1.1.1i 8 Dec 2020
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported installation and import steps on an Apple M1 Mac with Python 3.9.1, mitmproxy 6.0.2, and macOS 11.2.3. Investigate the ffi.callback() write+execute memory allocation failure; done means mitmproxy imports without that error on the reported platform.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100