The audacity settings overdub and sample rate of 44100 are what is set by default out of the box. Playthrough is not set, and was not set. I set mono as there is only one mic.
When sound activiation recording is not set Audacity runs for at least 10 minutes without crashing, the time I have observed it, but this by itself may not be meaningful. Sound activiation recording pauses and restarts often while simple recording does not, so it could be that pause and play repeatedly or some similar artifact is the problem. However, I do not observe audacity crash without sound activation – note my original post was about audacity crashing when sound activation is set.
So let me ask you, if you set sound activiation recording with a threshold such that audacity is in and out fairly often, how long do you observe that it works without crashing?
Just to make sure we are on the same page, I have deleted the config directory completely, and reinstalled audacity yet again using the software installer on Ubuntu. I started audacity and turned off the default ‘overdub’ - a check mark does not appear there now. As always, playthrough is not checked. When running audactiy with sound activation recording it crashes, this time in about 7 minutes, a rather long run, the error and standard output is on the console is as follows. Note, no editing or even playback is done. All I do is hit record and wait for it to evaporate off the screen.
1> audacity >& log_24
Aborted (core dumped)
1> cat log_24
ALSA lib pcm_dsnoop.c:612:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
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
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
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
Expression ‘ret’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 1670
Expression ‘AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 1830
Expression ‘PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2092
Expression ‘PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2764
Expression ‘stream->playback.pcm’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 4541
Expression ‘stream->playback.pcm’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 4541
**
Gdk:ERROR:/build/buildd/gtk+2.0-2.24.13/gdk/gdkregion-generic.c:1110:miUnionNonO: assertion failed: (y1 < y2)