[gstreamer-bugs] [Bug 566769] New: Crash in FLAC with remote files, not with local

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jan 6 05:35:54 PST 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=566769

  GStreamer | gst-plugins-good | Ver: 0.10.18
           Summary: Crash in FLAC with remote files, not with local
           Product: GStreamer
           Version: 0.10.18
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: palfrey at tevp.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


While trying to play a remote file (over DAAP) using Rhythmbox, I saw the
following crash:

0xb29b6c5f in FLAC__bitreader_read_raw_uint32 (br=0xb346c000, val=0xb1daee74,
bits=8) at bitreader.c:507
507                             *val = br->buffer[br->consumed_words] >>
(FLAC__BITS_PER_WORD-bits);
(gdb) bt
#0  0xb29b6c5f in FLAC__bitreader_read_raw_uint32 (br=0xb346c000,
val=0xb1daee74, bits=8) at bitreader.c:507
#1  0xb29e70ed in frame_sync_ (decoder=0xb37b6248) at stream_decoder.c:1966
#2  0xb29ea43a in FLAC__stream_decoder_process_single (decoder=0xb37b6248) at
stream_decoder.c:1056
#3  0xb38167ba in gst_flac_dec_chain (pad=0x8abbed8, buf=0x8b87868) at
gstflacdec.c:1527
#4  0xb71d74f9 in gst_pad_chain_unchecked (pad=0x8abbed8, buffer=0x8b87868) at
gstpad.c:3523
#5  0xb71d7bc6 in gst_pad_push (pad=0x8b5d058, buffer=0x8b87868) at
gstpad.c:3691
#6  0xb385e88a in gst_type_find_element_chain (pad=0xb3448bd0,
buffer=0x8b87868) at gsttypefindelement.c:584
#7  0xb71d74f9 in gst_pad_chain_unchecked (pad=0xb3448bd0, buffer=0x8b87868) at
gstpad.c:3523
#8  0xb71d7bc6 in gst_pad_push (pad=0x8b553f0, buffer=0x8b87868) at
gstpad.c:3691
#9  0xb71c9c9a in gst_proxy_pad_do_chain (pad=0x8b54e20, buffer=0x8b87868) at
gstghostpad.c:193
#10 0xb71d74f9 in gst_pad_chain_unchecked (pad=0x8b54e20, buffer=0x8b87868) at
gstpad.c:3523
#11 0xb71d7bc6 in gst_pad_push (pad=0x8b5d358, buffer=0x8b87868) at
gstpad.c:3691
#12 0xb7246f11 in gst_base_src_loop (pad=0x8b5d358) at gstbasesrc.c:2111
#13 0xb71f3340 in gst_task_func (task=0x8aea5f0, tclass=0x8abb618) at
gsttask.c:192
#14 0xb6fc7f16 in g_thread_pool_thread_proxy (data=0x8abb6a8) at
/data/tparker/builder/sources/glib2.0_2.18.1-1/glib/gthreadpool.c:265
#15 0xb6fc687f in g_thread_create_proxy (data=0xb35a5fc8) at
/data/tparker/builder/sources/glib2.0_2.18.1-1/glib/gthread.c:635
#16 0xb7d0d4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#17 0xb6e8061e in clone () from /lib/i686/cmov/libc.so.6
(gdb) bt full
#0  0xb29b6c5f in FLAC__bitreader_read_raw_uint32 (br=0xb346c000,
val=0xb1daee74, bits=8) at bitreader.c:507
No locals.
#1  0xb29e70ed in frame_sync_ (decoder=0xb37b6248) at stream_decoder.c:1966
        x = 0
        first = 0
#2  0xb29ea43a in FLAC__stream_decoder_process_single (decoder=0xb37b6248) at
stream_decoder.c:1056
        got_a_frame = 0
#3  0xb38167ba in gst_flac_dec_chain (pad=0x8abbed8, buf=0x8b87868) at
gstflacdec.c:1527
        s = <value optimized out>
        dec = (GstFlacDec *) 0x8b48000
        got_audio_frame = <value optimized out>
        __FUNCTION__ = "gst_flac_dec_chain"
#4  0xb71d74f9 in gst_pad_chain_unchecked (pad=0x8abbed8, buffer=0x8b87868) at
gstpad.c:3523
        caps = <value optimized out>
        caps_changed = 0
        chainfunc = (GstPadChainFunction) 0xb3816560 <gst_flac_dec_chain>
        ret = <value optimized out>
        __PRETTY_FUNCTION__ = "gst_pad_chain_unchecked"
#5  0xb71d7bc6 in gst_pad_push (pad=0x8b5d058, buffer=0x8b87868) at
gstpad.c:3691
        peer = (GstPad *) 0x8abbed8
        ret = <value optimized out>
        caps = (GstCaps *) 0x81a0780
        caps_changed = 0
        __PRETTY_FUNCTION__ = "gst_pad_push"
#6  0xb385e88a in gst_type_find_element_chain (pad=0xb3448bd0,
buffer=0x8b87868) at gsttypefindelement.c:584
        typefind = (GstTypeFindElement *) 0x8a97280
        res = <value optimized out>
        __PRETTY_FUNCTION__ = "gst_type_find_element_chain"
#7  0xb71d74f9 in gst_pad_chain_unchecked (pad=0xb3448bd0, buffer=0x8b87868) at
gstpad.c:3523
        caps = <value optimized out>
        caps_changed = 0
        chainfunc = (GstPadChainFunction) 0xb385e820
<gst_type_find_element_chain>
        ret = <value optimized out>
        __PRETTY_FUNCTION__ = "gst_pad_chain_unchecked"
#8  0xb71d7bc6 in gst_pad_push (pad=0x8b553f0, buffer=0x8b87868) at
gstpad.c:3691
        peer = (GstPad *) 0xb3448bd0
        ret = <value optimized out>
        caps = (GstCaps *) 0x0
        caps_changed = 0
        __PRETTY_FUNCTION__ = "gst_pad_push"
#9  0xb71c9c9a in gst_proxy_pad_do_chain (pad=0x8b54e20, buffer=0x8b87868) at
gstghostpad.c:193
        res = -32
#10 0xb71d74f9 in gst_pad_chain_unchecked (pad=0x8b54e20, buffer=0x8b87868) at
gstpad.c:3523
        caps = <value optimized out>
        caps_changed = 0
        chainfunc = (GstPadChainFunction) 0xb71c9c70 <gst_proxy_pad_do_chain>
        ret = <value optimized out>
        __PRETTY_FUNCTION__ = "gst_pad_chain_unchecked"
#11 0xb71d7bc6 in gst_pad_push (pad=0x8b5d358, buffer=0x8b87868) at
gstpad.c:3691
        peer = (GstPad *) 0x8b54e20
        ret = <value optimized out>
        caps = (GstCaps *) 0x0
        caps_changed = 0
        __PRETTY_FUNCTION__ = "gst_pad_push"
#12 0xb7246f11 in gst_base_src_loop (pad=0x8b5d358) at gstbasesrc.c:2111
        src = (GstBaseSrc *) 0x8b475f0
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) bt

Notably, playing the same file locally doesn't result in a crash, so I'm
guessing the problem might be in Gstreamer feeding enough data to FLAC rather
than a bug in FLAC itself. This is reproducible *every* time I try it.

rhythmbox: 0.11.5-0ubuntu8
gstreamer0.10-plugins-good: 0.10.7-3ubuntu0.1
libgstreamer0.10-0: 0.10.18-4ubuntu1
libflac8: 1.2.1-1.2


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=566769.




More information about the Gstreamer-bugs mailing list