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 667582 - [0.11] [souphttpsrc] Crashes when reading data into buffer
[0.11] [souphttpsrc] Crashes when reading data into buffer
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.11.x
Other Linux
: Normal blocker
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-09 16:30 UTC by Sebastian Dröge (slomo)
Modified: 2012-01-11 13:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2012-01-09 16:30:21 UTC
gst-launch-0.11 souphttpsrc location=http://gstreamer.freedesktop.org \! fakesink
ls: cannot access gst-launch-0.11: No such file or directory
process 13672 is executing new program: /home/slomo/Projects/gstreamer/head-0.11/samples/.libs/lt-gst-launch-0.11
[Thread debugging using libthread_db enabled]
Setting pipeline to PAUSED ...
[New Thread 0x7ffff2e85700 (LWP 13688)]
[New Thread 0x7ffff2684700 (LWP 13689)]
Pipeline is PREROLLING ...
[New Thread 0x7ffff1e83700 (LWP 13690)]
[New Thread 0x7ffff1682700 (LWP 13691)]

GStreamer-CRITICAL **: gst_buffer_resize: assertion `gst_buffer_is_writable (buffer)' failed
aborting...

Program received signal SIGABRT, Aborted.

Thread 140737260308224 (LWP 13689)

  • #0 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #1 *__GI_abort
    at abort.c line 92
  • #2 g_logv
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmessages.c line 557
  • #3 g_log
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmessages.c line 577
  • #4 gst_buffer_resize
    at gstbuffer.c line 825
  • #5 gst_soup_http_src_got_chunk_cb
    at gstsouphttpsrc.c line 953
  • #6 g_closure_invoke
    at /tmp/buildd/glib2.0-2.28.6/./gobject/gclosure.c line 767
  • #7 signal_emit_unlocked_R
    at /tmp/buildd/glib2.0-2.28.6/./gobject/gsignal.c line 3252
  • #8 g_signal_emit_valist
    at /tmp/buildd/glib2.0-2.28.6/./gobject/gsignal.c line 2983
  • #9 g_signal_emit
    at /tmp/buildd/glib2.0-2.28.6/./gobject/gsignal.c line 3040
  • #10 ??
    from /usr/lib/libsoup-2.4.so.1
  • #11 ??
    from /usr/lib/libsoup-2.4.so.1
  • #12 g_closure_invoke
    at /tmp/buildd/glib2.0-2.28.6/./gobject/gclosure.c line 767
  • #13 signal_emit_unlocked_R
    at /tmp/buildd/glib2.0-2.28.6/./gobject/gsignal.c line 3252
  • #14 g_signal_emit_valist
    at /tmp/buildd/glib2.0-2.28.6/./gobject/gsignal.c line 2983
  • #15 g_signal_emit
  • #16 ??
    from /usr/lib/libsoup-2.4.so.1
  • #17 g_main_dispatch
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c line 2440
  • #18 g_main_context_dispatch
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c line 3013
  • #19 g_main_context_iterate
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c line 3091
  • #20 g_main_loop_run
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c line 3299
  • #21 gst_soup_http_src_create
    at gstsouphttpsrc.c line 1163
  • #22 gst_base_src_get_range
    at gstbasesrc.c line 2269
  • #23 gst_base_src_loop
    at gstbasesrc.c line 2489
  • #24 gst_task_func
    at gsttask.c line 322
  • #25 g_thread_pool_thread_proxy
    at /tmp/buildd/glib2.0-2.28.6/./glib/gthreadpool.c line 319
  • #26 g_thread_create_proxy
    at /tmp/buildd/glib2.0-2.28.6/./glib/gthread.c line 1897
  • #27 start_thread
    at pthread_create.c line 304
  • #28 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 112
  • #29 ??

Comment 1 Sebastian Dröge (slomo) 2012-01-11 13:11:40 UTC
commit e3c8c4f8b0af4120131eb7b80babd7124c77efa8
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Wed Jan 11 14:10:46 2012 +0100

    souphttpsrc: Fix buffer handling
    
    souphttpsrc is now usable again and doesn't crash anymore
    whenever something is read from a HTTP connection.