After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 357976 - [flutsdemux] segfault
[flutsdemux] segfault
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: dont know
git master
Other Linux
: Normal normal
: 0.10.11
Assigned To: Wim Taymans
GStreamer Maintainers
: 364995 479734 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-09-27 14:50 UTC by Zaheer Abbas Merali
Modified: 2007-09-24 16:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Zaheer Abbas Merali 2006-09-27 14:50:21 UTC
It will segfault trying to allocate too much memory if the segment start is too much > 0 as it will try and allocate buffer for silence that is too large.
Comment 1 Wim Taymans 2006-09-28 10:50:39 UTC
        * gst/audiorate/gstaudiorate.c: (gst_audio_rate_reset),
        (gst_audio_rate_sink_event), (gst_audio_rate_convert),
        (gst_audio_rate_convert_segments), (gst_audio_rate_chain):
        Keep sink and src segment to keep track of time and support more
        input formats.
        Fix bogus next_offset and run_time calculation, don't understand how
        this could have worked before. Fixes #357976.
        Remove some unneeded vars.
Comment 2 Zaheer Abbas Merali 2006-09-28 14:53:20 UTC
Core was generated by `gst-launch-0.10 tcpclientsrc host=192.168.1.233 ! flutsdemux es-pids=256:257 ! audio/mpeg ! mad ! audiorate ! fakesink'
Program terminated with signal 5, Trace/breakpoint trap.

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libgstreamer-0.10.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgstreamer-0.10.so.0
Reading symbols from /usr/lib/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/libz.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libgobject-2.0.so.0...done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /usr/lib/libgthread-2.0.so.0...done.
Loaded symbols for /usr/lib/libgthread-2.0.so.0
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib/gstreamer-0.10/libgsttcp.so...done.
Loaded symbols for /usr/lib/gstreamer-0.10/libgsttcp.so
Reading symbols from /usr/lib/libgstbase-0.10.so.0...done.
Loaded symbols for /usr/lib/libgstbase-0.10.so.0
Reading symbols from /usr/lib/libgstdataprotocol-0.10.so.0...done.
Loaded symbols for /usr/lib/libgstdataprotocol-0.10.so.0
Reading symbols from /home/zaheer/.gstreamer-0.10/plugins/libgstflumpegdemux.so...done.
Loaded symbols for /home/zaheer/.gstreamer-0.10/plugins/libgstflumpegdemux.so
Reading symbols from /usr/lib/gstreamer-0.10/libgstmad.so...done.
Loaded symbols for /usr/lib/gstreamer-0.10/libgstmad.so
Reading symbols from /usr/lib/libgsttag-0.10.so.0...done.
Loaded symbols for /usr/lib/libgsttag-0.10.so.0
Reading symbols from /usr/lib/libmad.so.0...done.
Loaded symbols for /usr/lib/libmad.so.0
Reading symbols from /usr/lib/libid3tag.so.0...done.
Loaded symbols for /usr/lib/libid3tag.so.0
Reading symbols from /usr/lib/gstreamer-0.10/libgstaudiorate.so...done.
Loaded symbols for /usr/lib/gstreamer-0.10/libgstaudiorate.so
Reading symbols from /usr/lib/gstreamer-0.10/libgstcoreelements.so...done.
Loaded symbols for /usr/lib/gstreamer-0.10/libgstcoreelements.so
  • #0 IA__g_logv
    at gmessages.c line 502
  • #0 IA__g_logv
    at gmessages.c line 502
  • #1 IA__g_log
    at gmessages.c line 517
  • #2 IA__g_malloc
    at gmem.c line 135
  • #3 gst_buffer_new_and_alloc
    from /usr/lib/libgstreamer-0.10.so.0
  • #4 gst_fluts_demux_chain
    at gstmpegtsdemux.c line 1454
  • #5 gst_pad_alloc_buffer
    from /usr/lib/libgstreamer-0.10.so.0
  • #6 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #7 gst_base_src_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #8 gst_task_set_lock
    from /usr/lib/libgstreamer-0.10.so.0
  • #9 g_thread_pool_thread_proxy
    at gthreadpool.c line 265
  • #10 g_thread_create_proxy
    at gthread.c line 553
  • #11 start_thread
    at pthread_create.c line 261
  • #12 clone
    from /lib/libc.so.6

Comment 3 Edward Hervey 2006-09-29 07:58:54 UTC
zaheer, this seems to be a bug in fluts requesting too much in buffer_alloc, not an audiorate bug AFAIK.
Comment 4 Tim-Philipp Müller 2006-10-17 20:11:25 UTC
What's the status on this? Has this been fixed in flutsdemux? Should it be moved over to fluendo's trac?

Comment 5 Tim-Philipp Müller 2006-10-27 10:36:07 UTC
*** Bug 364995 has been marked as a duplicate of this bug. ***
Comment 6 Wim Taymans 2006-11-28 16:52:38 UTC
That codepath has been changed since then. Closing, please reopen if something similar reappears.
Comment 7 Philip Withnall 2007-09-24 16:50:15 UTC
*** Bug 479734 has been marked as a duplicate of this bug. ***