Segmentation Fault on Raspbian Jesse

Hello,

I am attempting to run Audacity 2.0.6 on a clean install of Raspbian Jesse. Audacity is installed through apt, and I am encountering a segmentation fault on start:

pi@raspberrypi:~ $ audacity
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
13:43:13: Debug: GetSupportedCaptureRates() Could not get device info!
13:43:13: Debug: GetSupportedCaptureRates() Could not get device info!
Expression 'stream->capture.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4594
13:43:14: Debug: GetSupportedCaptureRates() Could not get device info!
13:43:14: Debug: DirManager: Created new instance.
13:43:15: Debug: GetSupportedCaptureRates() Could not get device info!
13:43:15: Debug: GetSupportedCaptureRates() Could not get device info!
Segmentation fault

Audacity package info:

pi@raspberrypi:~ $ apt-cache show audacity
Package: audacity
Version: 2.0.6-2
Architecture: armhf
Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Installed-Size: 8213
Depends: audacity-data (= 2.0.6-2), libasound2 (>= 1.0.16), libavcodec56 (>= 6:11~beta1) | libavcodec-extra-56 (>= 6:11~beta1), libavformat56 (>= 6:11~beta1), libavutil54 (>= 6:11~beta1), libc6 (>= 2.15), libexpat1 (>= 2.0.1), libflac++6 (>= 1.3.0), libflac8 (>= 1.3.0), libgcc1 (>= 1:4.4.0), libglib2.0-0 (>= 2.12.0), libid3tag0 (>= 0.15.1b), libmad0 (>= 0.15.1b-3), libmp3lame0, libogg0 (>= 1.0rc3), libportaudio2 (>= 19+svn20101113-2~), libportsmf0, libsbsms10, libsndfile1 (>= 1.0.20), libsoundtouch0 (>= 1.8.0), libsoxr0 (>= 0.1.0), libstdc++6 (>= 4.9), libtwolame0, libvamp-hostsdk3, libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), libvorbisfile3 (>= 1.1.2), libwxbase3.0-0 (>= 3.0.2), libwxgtk3.0-0 (>= 3.0.2)
Suggests: ladspa-plugin
Homepage: http://audacity.sourceforge.net/
Priority: optional
Section: sound
Filename: pool/main/a/audacity/audacity_2.0.6-2_armhf.deb
Size: 2390360
SHA256: a9304edc3e4a9c05f8d43d8a50b0008a0f5a7557470b0dc8b93b923a724dfd9c
SHA1: a70b76d6ea992676b22bc726f23aa572d909d59d
MD5sum: 079ca221761ecbf686933bb7f2dd5a83
Description: fast, cross-platform audio editor
 Audacity is a multi-track audio editor for Linux/Unix, MacOS and
 Windows.  It is designed for easy recording, playing and editing of
 digital audio.  Audacity features digital effects and spectrum
 analysis tools.  Editing is very fast and provides unlimited
 undo/redo.
 .
 Supported file formats include Ogg Vorbis, MP2, MP3, WAV, AIFF, and AU.
Description-md5: f3049c5343ef448931624eb10a0c6627

Does anyone have any troubleshooting steps which they could recommend? Where should I report this bug?

In a nutshell, Audacity doesn’t officially support Raspberry Pi hardware or Pi OS’es, notably because the hardware is underpowered.

One or two developers or users have got it working after a fashion but with more recent Audacity than the obsolete version you have.

What do these terminal commands return?

arecord -l



aplay -l

Gale

Hi,

I just wanted to follow up and note that I have had better success with Ubuntu Mate 15.10 for Raspbian. https://ubuntu-mate.org/raspberry-pi/

See attached screenshot.

It was necessary to expand the root filesystem on the SD card ( /dev/mmcblk0p2) for Audacity to run without segfaulting. Now it seems to be quite stable.

it is possible that I failed to expand the root filesystem on Raspbian Jesse, which would have caused my original issue.
Screenshot.png

Thanks for the follow-up, jbeard4.


Gale