Comments (8)
Hi there,
it looks like the Erlang/Elixir-based IO server isn't booting on your machine. Do you happen to be running on one of the new M1/M2 Macs? Would it be possible to let me know the CPU type of your machine?
from sonic-pi.
Yes, my Computer is a M1 Pro from 2021.
Thanks for teh quick answer!
from sonic-pi.
I've noticed that there does seem to be an issue with certain Apple Silicon machines booting Sonic Pi in rosetta mode. I have tested it on a M2 MacBook Air and have had many reports of it working fine on other Apple Silicon machines - so I'm wondering if it's a very specific difference causing the issue.
Unfortunately there's not much I can do to fix things at this stage. Luckily I did just manage to find the funds to get an Apple M2 machine which is arriving this week. This means that the next release of Sonic Pi will feature an Apple Silicon native build - but that's unlikely to be any time before the summer. Apologies.
from sonic-pi.
Alright, glad to hear for the M1 version!
Also it did run on my Mac 3 weeks ago. So it may be something specific, its weird. I will dig into it and try solving it. If I manage to solve it, I will report!
No worries, I thank you for providing this great service and Program! I love it! Now I have some time digging in Super collider I guess
from sonic-pi.
Hello! I have the same problem.
When I check in Console -> Crash Reports, I see that beam.smp crashes. It’s always a scheduler. Sometimes it’s 1_scheduler, other time it’s 3_scheduler..
`-------------------------------------
Translated Report (Full Report Below)
Process: beam.smp [5034]
Path: /Applications/Sonic Pi.app/Contents/Resources/app/server/beam/tau/_build/prod/rel/tau/erts-13.0.4/bin/beam.smp
Identifier: beam.smp
Version: ???
Code Type: X86-64 (Translated)
Parent Process: Exited process [5031]
Responsible: Sonic Pi [4951]
User ID: 502
Date/Time: 2023-03-06 21:44:56.8003 +0800
OS Version: macOS 13.2.1 (22D68)
Report Version: 12
Anonymous UUID: DFBFE5F9-5376-AF52-5C13-8FF2D634CDE9
Time Awake Since Boot: 130000 seconds
System Integrity Protection: disabled
Crashed Thread: 5 1_scheduler
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000058
Exception Codes: 0x0000000000000001, 0x0000000000000058
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [5034]
VM Region Info: 0x58 is not in any region. Bytes before following region: 140722646155176
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
mapped file 7ffc8b560000-7ffc9602c000 [170.8M] r-x/r-x SM=COW ...t_id=20e9c233
Thread 0:: Dispatch queue: com.apple.main-thread
0 ??? 0x7ff88fdba9a8 ???
1 libsystem_kernel.dylib 0x7ff800a1f2da __select + 10
2 beam.smp 0x10319f2b2 erts_sys_main_thread + 207
3 beam.smp 0x1030380d3 erl_start + 11414
4 beam.smp 0x102fa22c9 main + 9
5 dyld 0x2035ae310 start + 2432
Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffc96614 0x7ff7ffc92000 + 17940
1 runtime 0x7ff7ffca2530 0x7ff7ffc92000 + 66864
2 runtime 0x7ff7ffca3f30 0x7ff7ffc92000 + 73520
Thread 2:: sys_sig_dispatc
0 ??? 0x7ff88fdba9a8 ???
1 libsystem_kernel.dylib 0x7ff800a16fe6 read + 10
2 beam.smp 0x10319f50e signal_dispatcher_thread_func + 63
3 beam.smp 0x103208648 thr_wrapper + 160
4 libsystem_pthread.dylib 0x7ff800a55259 _pthread_start + 125
5 libsystem_pthread.dylib 0x7ff800a50c7b thread_start + 15
Thread 3:: sys_msg_dispatc
0 ??? 0x7ff88fdba9a8 ???
1 libsystem_kernel.dylib 0x7ff800a1911a __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff800a557e1 _pthread_cond_wait + 1243
3 beam.smp 0x1032064e9 ethr_cond_wait + 9
4 beam.smp 0x10305b55f erts_cnd_wait + 73
5 beam.smp 0x10305ad1b sys_msg_dispatcher_func + 316
6 beam.smp 0x103208648 thr_wrapper + 160
7 libsystem_pthread.dylib 0x7ff800a55259 _pthread_start + 125
8 libsystem_pthread.dylib 0x7ff800a50c7b thread_start + 15
Thread 4:: async_1
0 ??? 0x7ff88fdba9a8 ???
1 libsystem_kernel.dylib 0x7ff800a1911a _psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff800a557e1 pthread_cond_wait + 1243
3 beam.smp 0x103208d1b wait + 323
4 beam.smp 0x1030f2b94 async_main + 614
5 beam.smp 0x103208648 thr_wrapper + 160
6 libsystem_pthread.dylib 0x7ff800a55259 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff800a50c7b thread_start + 15
Thread 5 Crashed:: 1_scheduler
0 0x1038808dc ???
1 beam.smp 0x103127fe8 erts_call_nif_early + 66
2 ??? 0x14c459890 ???
Thread 6:: 2_scheduler
0 ??? 0x7ff88fdba9a8 ???
1 libsystem_kernel.dylib 0x7ff800a1f2da select + 10
2 beam.smp 0x103208fb3 wait + 987
3 beam.smp 0x102fae850 erts_schedule + 13116
4 ??? 0x14c4095da ???
5 ??? 0x14c409c30 ???
Thread 7:: 3_scheduler
0 ??? 0x7ff88fdba9a8 ???
1 libsystem_kernel.dylib 0x7ff800a1f2da select + 10
2 beam.smp 0x103208fb3 wait + 987
3 beam.smp 0x102fae850 erts_schedule + 13116
4 ??? 0x14c4095da ???
5 ??? 0x14c409c`
from sonic-pi.
Version 3.3.1 works well on Mac m1 pro.
Latests versions are crashing.
The problem seems to be caused by some kind of elixir update::
- https://elixirforum.com/t/segmentation-fault-after-update-elixir-and-erlang/39871;
- https://stackoverflow.com/questions/70993494/install-elixir-on-m1-mac.
from sonic-pi.
@ifedyukin it's definitely something to do with Elixir - but I'm not quite sure what. I gave a workshop yesterday to about 60 people - all of which were using recent Apple MacBook Pros with Apple Silicon and it worked just fine on them all. So it must be something peculiar wrt very specific hardware configurations.
I did manage to compile a native ARM64 version of Sonic Pi but there are definitely some weird timing niggles with it that require further testing. Still, I'm hopeful I'll be able to release a fully ARM64 native version in the summer. I'll also push out some beta ARM64 releases to Patreon supporters to test prior to the full release.
from sonic-pi.
Version 3.3.1 works well on Mac m1 pro. Latests versions are crashing.
The problem seems to be caused by some kind of elixir update::
* https://elixirforum.com/t/segmentation-fault-after-update-elixir-and-erlang/39871; * https://stackoverflow.com/questions/70993494/install-elixir-on-m1-mac.
Thank you for the information. 3.3.1 is running at my system too without crashing.
Very Nice!
from sonic-pi.
Related Issues (20)
- Build scripts fails when it tries to use cmake with the too many threads as option Command failed: /usr/bin/cmake --build . --config Debug --target install -- -v -j25
- anomolous behaviour for midi_sysex on Linux versions of Sonic Pi HOT 3
- Sonic Pi Boot Error on Mac OS 14.0 HOT 1
- Boot Problem MacOS 14 HOT 3
- problems while starting the program HOT 1
- Critical error! - Could not boot Sonic Pi Server. OS: Linux Mint 21.1 HOT 1
- Cannot start Sonic Pi 4.5.0: GUI was unable to connect to the Ruby server. (Windows 10) HOT 1
- Error building v4.4.0 on Linux HOT 4
- Unable to connect to SuperCollider :( (Linux Mint)
- Midi events: values assigned to two variables (syntax query) HOT 2
- [FR] add XDG support for macOS and Linux HOT 1
- Building v4.5.0 on Linux HOT 7
- GUI was unable to connect to the Ruby server. (Windows 11) HOT 1
- Graphical glitches when using Sonic Pi under KDE Plasma with fractional scaling HOT 1
- Building on windows - qt cmake and ruby HOT 6
- sonic pi error on boot HOT 1
- Sonic Pi Boot Error HOT 11
- "Server boot error" HOT 1
- Sonic PI in winget is outdated HOT 3
- Errror boot macOs Monterey HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonic-pi.