Audacity will open its GUI, but everything beyond leads to system crash

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.
vandoornw
Posts: 24
Joined: Sun Sep 09, 2018 6:52 am
Operating System: Linux *buntu

Audacity will open its GUI, but everything beyond leads to system crash

Post by vandoornw » Sun Sep 09, 2018 9:30 am

Version: Wouldn't I just love to be able to tell the version number - but I can't. Audacity doesn't get that far.
OS: Linux Mint 18.3 64b, installed from installation disk early September 2018, fully updated. Fresh install, all seems absolutely fine.
Dell XPS 13 9350 laptop, SSD, single boot
Installed Audacity from package manager, along with ffmpeg and lame mp3 encoder.

I'm trying to get started, but - no luck (have been a happy user of Audacity under Windows for years, but Windows is now dead for me).
When starting from the menu button, the welcome screen and GUI open. The welcome screen looks OK, although not one link, when clicked, works. The user interface gets created, but it looks damaged in a lot of places (a few irregular black areas, clusters of wrong pixels). Nothing can be clicked that leads to any reaction, and after a few test clicks (wherever) one of three things happen:
  • the mouse pointer freezes (necessitating power down);
  • session is killed off (need to login again);
  • computer reboots.
When starting from the command line, a *lot* of messages are displayed, that make no sense to me, but might to someone who knows the code (that output follows at the end of my post). Audacity starts in virtually the same way as from the menu, with as only differnce that the welcome screen misses roughly half the characters of the texts on it, apparently randomly distributed.

About the version: I can't get to the help screen. And from the command line,

Code: Select all

audacity --version
I get only this:

Code: Select all

(Audacity:5285): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
And yes - I have looked at the FAQ, but did not find anything useful for my situation, nor did my attempts at searching the forum (but my search terms could have been unhelpful, of course). So I am now stuck with nowhere to go - but here!

What follows now is the log of a session from the command prompt. Start-up, a few clicks, and a reboot (so the trapped output may NOT be complete because of that reboot; I have no way of telling). When the same lines occur more than twice, I have replaced them with a 'repeats x times' line to keep the output short.

Code: Select all

(Audacity:27151): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
(above line repeats 3 times)
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
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736
Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1904
Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2171
Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2840
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
(above line repeats 100 times)
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736
Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1904
Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2171
Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2840
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
07:44:57: Debug: Unknown accel modifier: 'left'
07:44:57: Debug: Unknown accel modifier: 'click/left'
07:44:57: Debug: Unrecognized accel key 'drag', accel string ignored.
07:44:57: Debug: Unknown accel modifier: 'left'
07:44:57: Debug: Unrecognized accel key 'click', accel string ignored.
07:44:57: Debug: Unknown accel modifier: 'right'
07:44:57: Debug: Unrecognized accel key 'click', accel string ignored.
07:44:57: Debug: Unknown accel modifier: 'left'
07:44:57: Debug: Unknown accel modifier: 'click/left'
07:44:57: Debug: Unrecognized accel key 'drag', accel string ignored.
07:44:57: Debug: Unknown accel modifier: 'left'
07:44:57: Debug: Unrecognized accel key 'click', accel string ignored.
07:44:57: Debug: Unknown accel modifier: 'right'
07:44:57: Debug: Unrecognized accel key 'click', accel string ignored.

(Audacity:27151): GLib-GObject-WARNING **: /build/glib2.0-b4FPyK/glib2.0-2.48.2/./gobject/gsignal.c:2635: instance '0x22252a0' has no handler with id '143'

(Audacity:27151): GLib-GObject-WARNING **: /build/glib2.0-b4FPyK/glib2.0-2.48.2/./gobject/gsignal.c:2635: instance '0x1e08d10' has no handler with id '97'
1: »0⋅1/1⋅1/1⋅1/1
1: »0⋅1/1⋅1/1⋅1/1

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

Re: Audacity will open its GUI, but everything beyond leads to system crash

Post by steve » Mon Sep 24, 2018 10:46 am

A lot of "debug" output during start-up from a terminal is normal on Linux. This is what I get:

Code: Select all

~$ audacity

(Audacity:6466): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Analyzer>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/BassEnhancer>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/CompensationDelay>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Compressor>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Crusher>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Deesser>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Emphasis>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/EnvelopeFilter>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Equalizer12Band>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Equalizer30Band>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Equalizer5Band>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Equalizer8Band>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Exciter>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Filter>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Filterclavier>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Flanger>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Gate>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/HaasEnhancer>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Limiter>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/MonoCompressor>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/MonoInput>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Monosynth>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/MultiChorus>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/MultiSpread>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/MultibandCompressor>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/MultibandEnhancer>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/MultibandGate>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/MultibandLimiter>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Organ>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Phaser>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Pulsator>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Reverb>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/ReverseDelay>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/RingModulator>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/RotarySpeaker>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Saturator>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/SidechainCompressor>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/SidechainGate>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/SidechainLimiter>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/StereoTools>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/TapeSimulator>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/TransientDesigner>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/VintageDelay>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Vinyl>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/Vocoder>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/XOver2Band>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/XOver3Band>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: Duplicate plugin <http://calf.sourceforge.net/plugins/XOver4Band>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/calf.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/local/lib/lv2/calf.lv2/
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
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
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736
Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1904
Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2171
Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2840
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736
Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1904
Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2171
Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2840
Expression 'stream->playback.pcm' failed in 'src/hos
Most of it relates either to Audacity scanning for supported plug-ins, or scanning for supported audio hardware.

Crashing on start-up is of course not normal.
vandoornw wrote:
Sun Sep 09, 2018 9:30 am
The user interface gets created, but it looks damaged in a lot of places (a few irregular black areas, clusters of wrong pixels).
That sounds like a graphics driver problem.

As a test, try installing "FileZilla" with your package manager and see if that looks "normal". (FileZilla is built on WxWidgets, which is what Audacity uses for its GUI).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

vandoornw
Posts: 24
Joined: Sun Sep 09, 2018 6:52 am
Operating System: Linux *buntu

Re: Audacity will open its GUI, but everything beyond leads to system crash

Post by vandoornw » Mon Sep 24, 2018 2:38 pm

Hi Steve,

Thanks for responding.

Filezilla looks absolutely fine, and works. Just in case: here's its 'about' information:

Code: Select all

FileZilla Client
----------------

Version:          3.15.0.2

Build information:
  Compiled for:   x86_64-pc-linux-gnu
  Compiled on:    x86_64-pc-linux-gnu
  Build date:     2016-02-25
  Compiled with:  gcc (Ubuntu 5.3.1-10ubuntu1) 5.3.1 20160224
  Compiler flags: -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu++14

Linked against:
  wxWidgets:      3.0.2
  GnuTLS:         3.4.10
  SQLite:         3.11.0

Operating system:
  Name:           Linux 4.15.0-33-generic x86_64
  Version:        4.15
  CPU features:   sse sse2 sse3 ssse3 sse4.1 sse4.2 avx avx2 aes pclmulqdq rdrnd bmi2 bmi2 adx
  Settings dir:   /home/wouter/.config/filezilla/

Wouter

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

Re: Audacity will open its GUI, but everything beyond leads to system crash

Post by steve » Mon Sep 24, 2018 3:29 pm

See if you can get the "About Audacity" screen up (Audacity Help menu), and then try to copy the "Build Information" and paste into your reply.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

vandoornw
Posts: 24
Joined: Sun Sep 09, 2018 6:52 am
Operating System: Linux *buntu

Re: Audacity will open its GUI, but everything beyond leads to system crash

Post by vandoornw » Mon Sep 24, 2018 3:45 pm

Hi Steve,

Interesting in that it more or less worked (it failed consistently originally). The window with the information looks as damaged (and illegible) as always, but here's the result of copy/paste:

Code: Select all

Audacity 2.1.2
Build Information

File Format Support
libmad
(MP3 Importing)
Enabled
libvorbis
(Ogg Vorbis Import and Export)
Enabled
libid3tag
(ID3 tag support)
Enabled
libflac
(FLAC import and export)
Enabled
libtwolame
(MP2 export)
Enabled
QuickTime
(Import via QuickTime)
Disabled
ffmpeg
(FFmpeg Import/Export)
Enabled
gstreamer
(Import via GStreamer)
Disabled
Core Libraries
libsoxr
(Sample rate conversion)
Enabled
PortAudio
(Audio playback and recording)
v19
wxWidgets
(Cross-platform GUI library)
3.0.2
Features
Nyquist
(Plug-in support)
Enabled
LADSPA
(Plug-in support)
Enabled
Vamp
(Plug-in support)
Enabled
Audio Units
(Plug-in support)
Disabled
VST
(Plug-in support)
Enabled
LV2
(Plug-in support)
Enabled
PortMixer
(Sound card mixer support)
Enabled
SoundTouch
(Pitch and Tempo Change support)
Enabled
SBSMS
(Extreme Pitch and Tempo Change support)
Enabled
Build Information
Program build date: 
Jan 29 2016
Commit Id:
No revision identifier was provided
Build type:
Release build
Installation Prefix: 
/usr
Settings folder: 
/home/wouter/.audacity-data
Attached a screenshot which shows the damaged main window as well as the near-rubbish in the 'about' window.

Wouter
Attachments
Audacity.png
Audacity.png (176.58 KiB) Viewed 463 times

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

Re: Audacity will open its GUI, but everything beyond leads to system crash

Post by steve » Mon Sep 24, 2018 5:01 pm

How strange. I've not seen anything like that before.

Just to rule out one possibility, with Audacity closed, try deleting the folder:
/home/wouter/.audacity-data
(it will be recreated when Audacity is next started).
Then start Audacity.
Any difference?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

vandoornw
Posts: 24
Joined: Sun Sep 09, 2018 6:52 am
Operating System: Linux *buntu

Re: Audacity will open its GUI, but everything beyond leads to system crash

Post by vandoornw » Mon Sep 24, 2018 6:13 pm

Actually, yes! Not to the point of usabilty, but I do get a lot further.

- The 'about' screen is now unblemished.
- It is possible to get to a new track and start recording in it (not connected a mic at the moment, so it records just silence, but still - breakthrough of sorts)!

But:
- the damage on the main screen continues to exist
- after recording for a few seconds, the entire screen (not just the audacity window) starts to show quickly changing patterns over the windows
- there are *very* large delays on startup, when opening a new window for a gtrack, and when starting recording. Order of magnitude ten-twenty seconds each time.

Certainly better than before!

Wouter

PS: is there some sort of debugging that can be switched on? Might it help at all?

vandoornw
Posts: 24
Joined: Sun Sep 09, 2018 6:52 am
Operating System: Linux *buntu

Re: Audacity will open its GUI, but everything beyond leads to system crash

Post by vandoornw » Mon Sep 24, 2018 6:14 pm

Additinal information: after quitting Audacity's last run (of one), the artifacts keep coming. Have to restart the computer to get back to a normal screen.

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

Re: Audacity will open its GUI, but everything beyond leads to system crash

Post by steve » Mon Sep 24, 2018 7:00 pm

vandoornw wrote:
Mon Sep 24, 2018 6:13 pm
PS: is there some sort of debugging that can be switched on? Might it help at all?
There is a "log" window. If I recall correctly, it is in the Help menu for Audacity 2.1.2.
It is unlikely to help, but no harm taking a look.

Most of the debugging is turned off in release builds so as to avoid bombarding users with irrelevant information. To turn it on requires building the application from the source code, which is not very hard on Linux, but if you are going to all that trouble it would be better to build the new Audacity 2.3.0 version. Do you have any experience (or interest) in building software from source code?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

vandoornw
Posts: 24
Joined: Sun Sep 09, 2018 6:52 am
Operating System: Linux *buntu

Re: Audacity will open its GUI, but everything beyond leads to system crash

Post by vandoornw » Tue Sep 25, 2018 6:40 am

It'd be something worth trying, sure.

I do have some 30 years software development experience, but am heavily out of date. If it's inside an IDE I might eventually get there. If it's makefiles and command-line utils I'll be right at home.

Is there a page somewhere with instructions from scratch?

Wouter

Post Reply