You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ports/unix: standard build crashes with segfaults often on Apple M1 (macOS Ventura 13.4) #11754
I am unable to get micropython to work on my Mac Mini M1.
I get segfaults very often. 43% of the tests in make test fail.
I have done:
git pull
cd ports/unix
make clean submodules
make
Here's an easy test case:
[ned@Neds-mini [ (git)-[master]-] ports/unix] % build-standard/micropython
MicroPython v1.20.0-189-gfd277704c on 2023-06-10; darwin [GCC 4.2.1] version
Use Ctrl-D to exit, Ctrl-E for paste mode
>>> a = array()
zsh: segmentation fault build-standard/micropython
I'm running an Apple Mac Mini (M1, 2020) under Ventura 13.4
git commit hash: fd27770
ports/unix uname -a reports: Darwin Neds-mini 22.5.0 Darwin Kernel Version 22.5.0: Tue Apr 25 04:07:22 PDT 2023; root:xnu-8796.121.2~8/RELEASE_ARM64_T8103 arm64
Activity
dlech commentedon Jun 11, 2023
I am able to reproduce the crash. I did a
git bisectand traced the introduction of the bug to 2757acf.Example stack trace of the crash:
py/nlraarch64: Fix dangerous use of input register.
py/nlraarch64: Fix dangerous use of input register.
py/nlraarch64: Fix dangerous use of input register.
py/nlraarch64: Fix dangerous use of input register.
py/nlraarch64: Fix dangerous use of input register.
py/nlraarch64: Fix dangerous use of input register.