Program freezes up - 30728?

I make a lot of mistakes while recording, so I quickly stop recording, hit CONTROL+Z and then R again to record. This is usually in less than half a second.

Sometimes I get this error message:

ALSA lib pcm_dsnoop.c:612:(snd_pcm_dsnoop_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
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
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

** (Audacity:30728): CRITICAL **: os_bar_hide: assertion `OS_IS_BAR (bar)' failed

(Audacity:30728): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed

** (Audacity:30728): CRITICAL **: os_bar_set_parent: assertion `OS_IS_BAR (bar)' failed

** (Audacity:30728): CRITICAL **: os_bar_hide: assertion `OS_IS_BAR (bar)' failed

(Audacity:30728): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed

** (Audacity:30728): CRITICAL **: os_bar_set_parent: assertion `OS_IS_BAR (bar)' failed
Expression 'err' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3286
Expression 'ContinuePoll( self, StreamDirection_In, &pollTimeout, &pollCapture )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3813
Expression 'PaAlsaStream_WaitForFrames( stream, &framesAvail, &xrun )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4185

Other times I get this message:

ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred

Thanks in advance!

Please read the pink panel at the top of the page and give us the missing information. I assume you are still using Ubuntu 12.04 and their Audacity 2.0.0 package, as gleaned from your other post.

“GTK_IS_WIDGET” is probably a bug in the old wxGTK used by Ubuntu 12.04.

If you are using pulse, try selecting the (hw) devices in Device Toolbar instead, which won’t be susceptible to freezing if you restart playback or recording too rapidly. Also don’t hold down the Play or Record buttons, as this may also freeze Audacity up.

Because you are now trying to access the device directly through ALSA, if any other program is accessing the device then it will not be available for Audacity. Also this denies exclusive access of a device to PulseAudio, so other programs using PulseAudio will not be able to use that device.


Gale

Yes, you gleaned correctly: Ubuntu 12.04, Audacity ver 2.0.0 via distribution.

Thanks for the help! I’ll try these out.