Audacity crashes on startup

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
matiasw
Posts: 7
Joined: Mon Aug 19, 2013 3:57 am
Operating System: Please select

Audacity crashes on startup

Post by matiasw » Mon Aug 19, 2013 4:02 am

Hi,
I'm trying to run a fresh-from-the-repository Audacity on Ubuntu 12.04.2 (3.2.0-52 x64). The program crashes on startup:

Code: Select all

ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
audacity: symbol lookup error: audacity: undefined symbol: Pa_GetStreamHostApiType
My (integrated) sound card is otherwise functional. It is an "Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)".
Audacity is version 2.0.0-1ubuntu0.1.

Have a great day.

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity crashes on startup

Post by steve » Mon Aug 19, 2013 9:21 am

Please could you open a terminal window and enter:

Code: Select all

audacity
and then post the terminal output in full.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

matiasw
Posts: 7
Joined: Mon Aug 19, 2013 3:57 am
Operating System: Please select

Re: Audacity crashes on startup

Post by matiasw » Mon Aug 19, 2013 1:50 pm

steve wrote:Please could you open a terminal window and enter:

Code: Select all

audacity
and then post the terminal output in full.
That's what's betwixt the code tags.

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity crashes on startup

Post by steve » Mon Aug 19, 2013 3:28 pm

That looks too short for a standard Ubuntu setup.
Is your sound system customised in any way? Do you have PulseAudio installed?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

biggil
Posts: 8
Joined: Mon Nov 18, 2013 5:49 am
Operating System: Please select

Re: Audacity crashes on startup

Post by biggil » Wed Jul 30, 2014 4:54 am

you have a problem with the port audio libraries version
if you installed yourself port audio in /usr/local/lib, try to uninstall it.

I compiled and installed myself, as I need it to develop.
Installation in /usr/local
Later I downloaded Audacity and got the same error as you.
I found other portaudio libs installed in /usr/lib/x86_64-linux-gnu/
I copied /usr/lib/x86_64-linux-gnu/libportaudio* into /usr/local/lib/

and Audacity can now start.

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity crashes on startup

Post by steve » Wed Jul 30, 2014 5:26 am

The post that you replied to is almost a year old. I doubt that the original poster is still monitoring this topic.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

mbnoimi
Posts: 2
Joined: Sun Jul 31, 2016 8:16 am
Operating System: Linux *buntu

Re: Audacity crashes on startup

Post by mbnoimi » Sun Jul 31, 2016 8:19 am

I've very sorry for bringing this thread from the death but I've similar problem under Linux Mint 17.3 x64

How can I fix this problem?!

Code: Select all

$ audacity

(process:26550): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(process:26550): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(process:26550): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(process:26550): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
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
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
audacity: symbol lookup error: audacity: undefined symbol: Pa_GetStreamHostApiType

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

Re: Audacity crashes on startup

Post by Gale Andrews » Sun Jul 31, 2016 1:45 pm

mbnoimi wrote:I've very sorry for bringing this thread from the death but I've similar problem under Linux Mint 17.3 x64

How can I fix this problem?!
Where did you obtain Audacity? Do you know what version number it is?

Have you ever compiled PortAudio or some audio application that uses it? If so, then the answer above by biggil is correct.

Here is an easy to follow explanation of the problem and how to check where Audacity is looking for its PortAudio libraries https://sukritkalra94.wordpress.com/201 ... ype-error/.

If you are using Linux Mint's installed Audacity package, then the problem seems to be a bad system update and you should report it to Linux Mint. The solution is the same, though - point to the PortAudio libs in usr/lib. See this post: http://forum.audacityteam.org/viewtopic ... 48&t=92380.


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

Post Reply