[Gstreamer-bugs] [Bug 136174] New - [alsasink] Aborts on playback

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Thu Mar 4 05:16:30 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=136174

Changed by jdahlin at async.com.br.

--- shadow/136174	Thu Mar  4 08:16:30 2004
+++ shadow/136174.tmp.16779	Thu Mar  4 08:16:30 2004
@@ -0,0 +1,89 @@
+Bug#: 136174
+Product: GStreamer
+Version: HEAD CVS
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gst-plugins
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: jdahlin at async.com.br               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL: 
+Summary: [alsasink] Aborts on playback
+
+System information:
+  Fedora Core 1 with 2.6 kernel from Fedora Development and alsa stuff from
+freshrpms.
+
+Playback with osssink works fine (thought alsa emulation layer) and playing
+the same file with alsaplayer also works fine
+
+Pipeline:
+
+  gst-launch filesrc location=natt_uggla.mp3 ! mad ! alsasink
+
+Error output:
+
+  pcm_plug.c:882: snd_pcm_plug_hw_params: Assertion `err >= 0' failed.
+
+Traceback:
+  
+#0  0x00a3ac32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
+#1  0x00a79989 in raise () from /lib/tls/libc.so.6
+#2  0x00a7b342 in abort () from /lib/tls/libc.so.6
+#3  0x00a73338 in __assert_fail () from /lib/tls/libc.so.6
+#4  0x0042b5b8 in snd_pcm_plug_hw_params (pcm=0x8dc1328, params=0xbff2d010)
+    at pcm_plug.c:910
+#5  0x0041be8a in sndrv_pcm_hw_params (pcm=0x8dc1328, params=0xbff2d010)
+    at pcm_params.c:2260
+#6  0x0040d3d1 in snd_pcm_hw_params (pcm=0x8dc1328, params=0x0) at pcm.c:784
+#7  0x00389f50 in gst_alsa_set_hw_params (this=0x8db2898) at gstalsa.c:1021
+#8  0x0038a693 in gst_alsa_start_audio (this=0x8db2898) at gstalsa.c:1070
+#9  0x00389205 in gst_alsa_change_state (element=0x8db2898) at gstalsa.c:717
+#10 0x0038cbf8 in gst_alsa_sink_change_state (element=0x8db2898)
+    at gstalsasink.c:473
+#11 0x00deab36 in gst_element_set_state (element=0x8db2898,
+    state=GST_STATE_PAUSED) at gstelement.c:2661
+
+#12 0x00ddf524 in gst_bin_change_state (element=0x8db8828) at gstbin.c:728
+#13 0x00dfc790 in gst_pipeline_change_state (element=0x8db8828)
+    at gstpipeline.c:175
+#14 0x00deab36 in gst_element_set_state (element=0x8db8828,
+    state=GST_STATE_PLAYING) at gstelement.c:2661
+#15 0x0804a2cc in ?? ()
+#16 0x08db8828 in ?? ()
+#17 0x00000008 in ?? ()
+#18 0xbff2d528 in ?? ()
+#19 0x0804a16f in ?? ()
+#20 <signal handler called>
+
+(gdb) f 7
+#7  0x00389f50 in gst_alsa_set_hw_params (this=0x8db2898) at gstalsa.c:1021
+1021      ERROR_CHECK (snd_pcm_hw_params (this->handle, hw_params),
+(gdb) p *this->handle
+$5 = {dl_handle = 0x0, name = 0x48 <Address 0x48 out of bounds>, type = 72,
+  stream = SND_PCM_STREAM_PLAYBACK, mode = 65, poll_fd = 12094496,
+  poll_events = 35872, setup = 12094440, access = 159056396,
+  format = 12091960, subformat = 41, channels = 12094440, rate = 12094440,
+  period_size = 12094440, period_time = 3, periods = {min = 0, max = 0,
+    openmin = 0, openmax = 0, integer = 0, empty = 1}, tick_time = 156821544,
+  tstamp_mode = 64, period_step = 4080, sleep_min = 156817016,
+  avail_min = 156808720, start_threshold = 0, stop_threshold = 0,
+  silence_threshold = 156812676, silence_size = 156812752, xfer_align = 32,
+  boundary = 0, info = 156810268, msbits = 156812760, rate_num = 0,
+  rate_den = 0, fifo_size = 156812984, buffer_size = 0, buffer_time = {
+    min = 8, max = 156813008, openmin = 1, openmax = 1, integer = 0,
+    empty = 0}, sample_bits = 0, frame_bits = 156813060, appl = {master = 0x0,
+    ptr = 0x0, fd = 146423056, offset = 0, link_dst_count = 0, link_dst = 0x2,
+    private_data = 0x958c718, changed = 0}, hw = {master = 0xffffffff,
+    ptr = 0x8287600, fd = 1916880735, offset = 7954802,
+    link_dst_count = 1635017060, link_dst = 0xb88b00, private_data = 0x6e656c,
+    changed = 0}, min_align = 0, mmap_rw = 156812676, shadow_mmap = 156813068,
+  donot_close = 32, mmap_channels = 0x0, running_areas = 0x958bc1c,
+  stopped_areas = 0x958c714, ops = 0x0, fast_ops = 0x0, op_arg = 0x958c738,
+  fast_op_arg = 0x0, private_data = 0x8, async_handlers = {next = 0x958c750,
+    prev = 0x3}}




More information about the Gstreamer-bugs mailing list