I’m running Audacity 2.1.0 built from tarball, running on Debian 8 (jessie), and using JACK. Configuration command line was “./configure --with-ffmpeg=local” because trying to compile with the distro-provided ffmpeg fails with lots of errors (please fix that).
When I added a label to a section of audio and hit play, Audacity produced an error dialog and/or crash altogether a couple seconds later. The crash happened like this: a blank dialog box popped up and the main Audacity window stopped responding to clicks. If you grab the main window and wiggle it around, the dialog box might fill itself in (see first attachment). Sometimes the window wiggle will cause Audacity to crash altogether. If Audacity keeps going and you press the “continue” button, it’ll hang up again the same way with a greater chance of crashing altogether.
When the crash happens, this is printed to the xterm used to invoke Audacity:
$ audacity
(Audacity:26103): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
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
ALSA lib pcm_route.c:947:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Cannot lock down 82274202 byte memory area (Cannot allocate memory)
11:03:52 PM: Debug: DirManager: Created new instance.
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
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
(Audacity:26103): Gtk-CRITICAL **: IA__gtk_range_set_range: assertion 'min < max' failed
(Audacity:26103): Gtk-CRITICAL **: IA__gtk_range_set_range: assertion 'min < max' failed
(Audacity:26103): Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion 'GDK_IS_WINDOW (window)' failed
(Audacity:26103): Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion 'GDK_IS_WINDOW (window)' failed
11:04:09 PM: Debug: AudioIO::GetBestRate() for playback
11:04:09 PM: Debug: GetBestRate() suggested rate 44100 Hz
11:04:09 PM: Debug: GetBestRate() Returning next higher rate - 48000 Hz
../src/gtk/clipbrd.cpp(71): assert "!ms_clipboard" failed in wxClipboardSync(): reentrancy in clipboard code
Trace/breakpoint trap
When I start up Audacity again, I get a dialog telling me that some projects didn’t save correctly – understandable given that there was a crash. The dialog is drawn too short, causing the buttons to get smashed up (see the second attachment).