# Sonic pi crashes on Rpi 4 model B

**URL:** https://in-thread.sonic-pi.net/t/sonic-pi-crashes-on-rpi-4-model-b/4459
**Category:** Support, Help & Resources
**Created:** [October 4, 2020, 8:38am UTC](https://in-thread.sonic-pi.net/t/sonic-pi-crashes-on-rpi-4-model-b/4459 "2020-10-04T08:38:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![submitReportToPast](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@submitReportToPast](https://in-thread.sonic-pi.net/u/submitReportToPast)
#### Post date: [October 4, 2020, 8:38am UTC](https://in-thread.sonic-pi.net/t/sonic-pi-crashes-on-rpi-4-model-b/4459/1 "2020-10-04T08:38:47Z")

</div>

Sonic pi crashes on Rpi 4 model B

See the link here , created it using concatenating all the files using cat ./log/\*.log - [https://justpaste.it/38xbp](https://justpaste.it/38xbp)

Debug output -

```ruby
$uname --kernel-release 
4.19.118-v7l+
$uname --hardware-platform 
unknown
$uname --kernel-version 
#1311 SMP Mon Apr 27 14:26:42 BST 2020

```

```ruby
ruby --version
ruby 2.5.5p157 (2019-03-15 revision 67260) [arm-linux-gnueabihf]

```

and `Sonic Pi v3.1`

### More info about the sonic-pi app first start -

This is really weird because it opened up fine the first time. The `play 20` command was tested and did not produce any errors.

* * *

A small nitpick is about when and how the crash appeared. I viewed the details. But praise the gods of weird UI, the details could not be copied. And the message was nowhere to be found.

There was no information to use to debug the problem. So like all software experts, I searched the web and found the location where it stores the logs.

To conclude - It would be much better if the error message at least told the user two things  
1.Here’s the location for log files. Get them.  
2. Copy the details using this button.

* * *

Or the super awesome version - [Error message] …

1. Press the submit button to submit the bug report, no private data is sent.
2. Here is how you can view the data to be transmitted.
3. The destination where it is sent. And the Privacy policy.

You can use a free online service for it. For example - I think a DSL project used Github Gists for it? But you can use what you want.

Here’s another reproduction -

```ruby
Sonic Pi Boot Error

Apologies, a critical error occurred during startup:

 Critical error! - Could not boot Sonic Pi Server.

Please consider reporting a bug at
http://github.com/samaaron/sonic-pi/issues

```

And there’s not much point in trying to read the tiny, constricted, prison cell of a window for reading ‘the details’. Just view the logs in .sonic-pi directory inside your home directory. Home directory is `/home/username` for example if username is rat, look in `/home/rat` directory.

### Note

This is a couple days old report. Finally got the time to report it.

Please, please report back if anyone can or cannot reproduce it. The steps are find its icon, click on its icon and wait a bit. The message does not pop up immediately after the first window opens.

And I’m not even using a exotic setup. Just a good old keyboard and mouse, wired to USB. Wifi is on, Bluetooth is on.  
Though it could be possible some package is missing. apt depends turn up nothing(no missing packages) for `sonic-pi`, sonic-pi-server and `sonic-visualizer`.

---

<div class="post-metadata">

### Author: ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)
#### Post date: [October 4, 2020, 9:40am UTC](https://in-thread.sonic-pi.net/t/sonic-pi-crashes-on-rpi-4-model-b/4459/2 "2020-10-04T09:40:18Z")

</div>

Hi,

Just install the latest version available on linux by Robin. [Sonic PI 3.2.2 deb file for Raspbian released](https://in-thread.sonic-pi.net/t/sonic-pi-3-2-2-deb-file-for-raspbian-released/3606)  
Linux is not officially supported due to lack of time. If you want to help visit Patreon 🙂

---

<div class="post-metadata">

### Author: ![ethancrawford](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@ethancrawford](https://in-thread.sonic-pi.net/u/ethancrawford)
#### Post date: [October 4, 2020, 10:39am UTC](https://in-thread.sonic-pi.net/t/sonic-pi-crashes-on-rpi-4-model-b/4459/3 "2020-10-04T10:39:00Z")

</div>

Hello @submitReportToPast.

See here for an explanation of the v3.1 on Raspbian issue:

> [@Sonic Pi 3.1 now on Raspbian Buster NOt FULLY WORKING](https://in-thread.sonic-pi.net/t/sonic-pi-3-1-now-on-raspbian-buster-not-fully-working/2758):
>
> I’ve just updated/upgraded a Raspbian Buster SD card and noticed that it now contains Sonic-Pi 3.1 Running it on a Pi4 now. Not yet fully tested, and it will probably have some bugs that have been cured in 3.2dev, but at least you can run it on Buster now. EDIT It does not appear to have erlang support or the two osmid binaries. Consequently there is no midi or OSC support working in it. You can see this from the log files and from looking at dpkg -L sonic-pi and dpkg -L sonic-pi-server

TLDR: it is a broken/incomplete version built by the RPi team outside of Sam’s control, which of course unfortunately provides a poor user experience for users attempting to use the latest Sonic Pi available through official Raspbian channels.

As nlb has alluded to, Robin has kindly managed to make the most recent release (v3.2.2) available on his own website. Feel free to give that one a go 👍
