[Gstreamer-bugs] [Bug 134007] New - ALSA sink doesn't work by default anymore

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Tue Feb 10 09:21:47 PST 2004


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=134007

Changed by matthias at rpmforge.net.

--- shadow/134007	Tue Feb 10 12:21:46 2004
+++ shadow/134007.tmp.32748	Tue Feb 10 12:21:47 2004
@@ -0,0 +1,75 @@
+Bug#: 134007
+Product: GStreamer
+Version: 0.7.4
+OS: Linux
+OS Details: Fedora Core 1
+Status: NEW   
+Resolution: 
+Severity: major
+Priority: Normal
+Component: gst-plugins
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: matthias at rpmforge.net               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL: 
+Summary: ALSA sink doesn't work by default anymore
+
+I just installed gstreamer 0.7.4 and recompiled rhythmbox 0.7.0 against it.
+I had gstreamer 0.6.4 previously working fine with rhythmbox 0.6.x using
+ALSA. After the upgrade, I got the following error :
+
+rhythmbox: pcm_plug.c:882: snd_pcm_plug_hw_params: Assertion `err >= 0' failed.
+Program received signal SIGABRT, Aborted.
+
+With this backtrace :
+(gdb) bt
+#0  0x00b8bc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
+#1  0x00961989 in raise () from /lib/tls/libc.so.6
+#2  0x00963342 in abort () from /lib/tls/libc.so.6
+#3  0x0095b338 in __assert_fail () from /lib/tls/libc.so.6
+#4  0x051565b8 in snd_pcm_plug_hw_params (pcm=0x91e1ce8, params=0xbff63138)
+    at pcm_plug.c:910
+#5  0x05146e8a in sndrv_pcm_hw_params (pcm=0x91e1ce8, params=0xbff63138)
+    at pcm_params.c:2260
+#6  0x051383d1 in snd_pcm_hw_params (pcm=0x91e1ce8, params=0x0) at pcm.c:784
+#7  0x00f2d767 in gst_alsa_set_eos () from /usr/lib/gstreamer-0.7/libgstalsa.so
+#8  0x00f2dffc in gst_alsa_set_eos () from /usr/lib/gstreamer-0.7/libgstalsa.so
+#9  0x00f2c8cd in gst_alsa_link () from /usr/lib/gstreamer-0.7/libgstalsa.so
+#10 0x00f30cd8 in gst_alsa_sink_get_type ()
+   from /usr/lib/gstreamer-0.7/libgstalsa.so
+#11 0x0028bdfb in gst_element_set_state (element=0x91d19f0,
+    state=GST_STATE_PAUSED) at gstelement.c:2643
+#12 0x0027dc4b in gst_bin_change_state (element=0x91d2d50) at gstbin.c:720
+#13 0x0028bdfb in gst_element_set_state (element=0x91d2d50,
+    state=GST_STATE_PAUSED) at gstelement.c:2643
+#14 0x0027dc4b in gst_bin_change_state (element=0x91b84c8) at gstbin.c:720
+#15 0x002b2453 in gst_thread_change_state (element=0x91b84c8)
+    at gstthread.c:484
+#16 0x0028bdfb in gst_element_set_state (element=0x91b84c8,
+    state=GST_STATE_PAUSED) at gstelement.c:2643
+#17 0x0808037f in rb_player_error_quark ()
+#18 0x080805a6 in rb_player_open ()
+#19 0x08065a09 in rb_shell_player_new ()
+#20 0x08065bce in rb_shell_player_new ()
+#21 0x08065ce0 in rb_shell_player_new ()
+#22 0x0806663a in rb_shell_player_playpause ()
+#23 0x005ed051 in g_cclosure_marshal_VOID__VOID ()
+   from /usr/lib/libgobject-2.0.so.0
+#24 0x005dacb0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
+#25 0x005ecbbf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
+#26 0x005ebc36 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
+
+Changing the 'alsasink' I had in my GConf key to 'alsasink device="hw:0"'
+fixes the problem, but it would be really better to have ALSA support
+working by default, and in all cases, I doubt any error of this kind should
+generate a segfault.
+
+This is using the latest Fedora Core Development 2.6 kernel and ALSA 1.0.2
+userland tools from freshrpms.net.
+
+I now also have another problem with rhythmbox which is that when arriving
+near the end of the song currently being played, the playback simply stops
+a few seconds before the end of the song and it never goes to the next. As
+this is both with a new gstreamer and a new rhythmbox, I don't really know
+which is to blame, I'll have to look more into it.




More information about the Gstreamer-bugs mailing list