Segmentation Fault on Raspbian Jesse

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
jbeard4
Posts: 4
Joined: Mon Dec 21, 2015 1:39 pm
Operating System: Please select

Segmentation Fault on Raspbian Jesse

Post by jbeard4 » Mon Dec 21, 2015 1:55 pm

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:

Code: Select all

[email protected]:~ $ 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:

Code: Select all

[email protected]:~ $ apt-cache show audacity
Package: audacity
Version: 2.0.6-2
Architecture: armhf
Maintainer: Debian Multimedia Maintainers <[email protected]>
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?

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Segmentation Fault on Raspbian Jesse

Post by Gale Andrews » Mon Dec 21, 2015 3:35 pm

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?

Code: Select all

arecord -l

Code: Select all

aplay -l

Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

jbeard4
Posts: 4
Joined: Mon Dec 21, 2015 1:39 pm
Operating System: Please select

Re: Segmentation Fault on Raspbian Jesse

Post by jbeard4 » Tue Dec 22, 2015 3:46 am

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.
Attachments
Screenshot.png
Screenshot.png (138.85 KiB) Viewed 1075 times

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Segmentation Fault on Raspbian Jesse

Post by Gale Andrews » Tue Dec 22, 2015 10:58 am

Thanks for the follow-up, jbeard4.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply