Bug#590215: in combo with darkice cheese leaves audio in un-usable state
jamie
jm at mayfirst.org
Sun Jul 25 00:08:55 UTC 2010
Package: cheese
Version: 2.30.1-1
Severity: normal
I'm not sure where this bug should be assigned, but am starting with
cheese since cheese triggers the error. The behavior only happens when
cheese runs in combination with darkice. Running either program
separately works fine.
Steps to reproduce:
* Start a darkice stream to an icecast server
* Start cheese
The result is that after about 5 seconds, darkice will crash with an
ALSA input/output error.
Furthermore, any attempts to use my soundcard to record sound will
fail (until I reload the modules).
Here's the output of the darkice session. If I don't run cheese, darkice
will run for ever. However, 5 seconds after starting cheese, I always
get the Input/output error.
------------
0 jamie at chicken:~$ darkice -c darkice.cfg
DarkIce 0.20.1 live audio streamer, http://darkice.tyrell.hu/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
Using config file: darkice.cfg
Using ALSA DSP input device: hw:0,0
Could not set POSIX real-time scheduling, this may cause recording
skips.
Try to run darkice as the super-user.
DarkIce: AlsaDspSource.cpp:265: Input/output error [0]
255 jamie at chicken:~$
------------
Here's a demonstration of how recording audio works prior to this bug
happening. Running arecord for 2 seconds results in a 16194 byte file:
-------------
0 jamie at chicken:~$ arecord test.wav& sleep 2; killall arecord; ls -l
test.wav
[1] 11016
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Aborted by signal Terminated...
[1]+ Exit 1 arecord test.wav
-rw-r--r-- 1 jamie jamie 16194 Jul 24 19:58 test.wav
0 jamie at chicken:~$
-------------
After the bug happens, the same command results in a 44 byte file
(basically just the wav header):
-------------
0 jamie at chicken:~$ arecord test.wav& sleep 2; killall arecord; ls -l
test.wav
[1] 11070
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Aborted by signal Terminated...
-rw-r--r-- 1 jamie jamie 44 Jul 24 19:59 test.wav
[1]+ Exit 1 arecord test.wav
0 jamie at chicken:~$
-------------
jamie
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-vserver-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cheese depends on:
ii cheese-common 2.30.1-1 Common files for the Cheese tool t
ii gstreamer0.10-plugins-base 0.10.29-4 GStreamer plugins from the "base"
ii gstreamer0.10-plugins-good 0.10.23-4 GStreamer plugins from the "good"
ii gstreamer0.10-x 0.10.29-4 GStreamer plugins for X11 and Pang
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-4 The Cairo 2D vector graphics libra
ii libcanberra-gtk0 0.24-1 Gtk+ helper for playing widget eve
ii libcheese-gtk18 2.30.1-1 A tool to take pictures and videos
ii libdbus-glib-1-2 0.86-1 simple interprocess messaging syst
ii libgconf2-4 2.28.1-3 GNOME configuration database syste
ii libglib2.0-0 2.24.1-1 The GLib library of C routines
ii libgnome-desktop-2-17 2.30.0-2 Utility library for loading .deskt
ii libgstreamer-plugins-base0.10 0.10.29-4 GStreamer libraries from the "base
ii libgstreamer0.10-0 0.10.29-1 Core GStreamer libraries and eleme
ii libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface
ii libgudev-1.0-0 158-1 GObject-based wrapper library for
ii libpango1.0-0 1.28.1-1 Layout and rendering of internatio
ii librsvg2-2 2.26.3-1 SAX-based renderer library for SVG
Versions of packages cheese recommends:
ii gvfs 1.6.2-1 userspace virtual filesystem - ser
cheese suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list