[closed] Pirate Radio Kit: Mopidy crashes


#1

Hi,
I got my mono pirate radio (RPi Zero W + PhatBeat) and installed it. Everything installed fine but Mopidy seems t crash frequently :

pi@raspberrypi:~ $ sudo service mopidy status                                                                                                                                                                
mopidy.service - Mopidy music server                                                                                                                                                                       
Loaded: loaded (/lib/systemd/system/mopidy.service; enabled; vendor preset: enabled)                                                                                                                      
Active: failed (Result: signal) since Tue 2017-09-19 08:50:17 CEST; 1min 0s ago                                                                                                                           
Process: 24975 ExecStart=/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf (code=killed, signal=SEGV)                                                                              
 Process: 24970 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)                                                                                                      
 Process: 24967 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)                                                                                                                
 Main PID: 24975 (code=killed, signal=SEGV)                                                                                                                                                                  
                                                                                                                                                                                                         
Sep 19 07:48:33 raspberrypi mopidy[24975]: INFO     New MPD connection from [::ffff:192.168.1.56]:57044                                                                                                      
Sep 19 07:48:44 raspberrypi mopidy[24975]: INFO     New MPD connection from [::ffff:192.168.1.56]:57050                                                                                                      
Sep 19 07:48:55 raspberrypi mopidy[24975]: INFO     New MPD connection from [::ffff:192.168.1.56]:57056                                                                                                      
Sep 19 07:49:06 raspberrypi mopidy[24975]: INFO     New MPD connection from [::ffff:192.168.1.56]:57076                                                                                                      
Sep 19 08:28:29 raspberrypi mopidy[24975]: INFO     Logged in to Spotify in online mode                                                                                                                      
Sep 19 08:49:15 raspberrypi mopidy[24975]: Using device: phat-beat                                                                                                                                           
Sep 19 08:49:15 raspberrypi mopidy[24975]: sh: 1: festival: not found                                                                                                                                        
Sep 19 08:50:17 raspberrypi systemd[1]: mopidy.service: Main process exited, code=killed, status=11/SEGV                                                                                                     
Sep 19 08:50:17 raspberrypi systemd[1]: mopidy.service: Unit entered failed state.        

Any idea where to look further to debug?


#2

This is a known issue with the dmix ALSA plugin in Stretch breaking Pi VU Meter for reasons I’ve been unable to track down so far. You can fix it by dropping dmix, which you can do by replacing your /etc/asound.conf with: https://raw.githubusercontent.com/pimoroni/pivumeter/master/dependencies/etc/asound.conf


#3

Thanks, seems to be stable now.