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 641917 - [gdppay] Ensure buffer's medata is writeable before setting it
[gdppay] Ensure buffer's medata is writeable before setting it
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.33
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-09 11:52 UTC by Andoni Morales
Modified: 2011-02-14 14:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Ensure medata is writable before setting caps (884 bytes, patch)
2011-02-09 11:52 UTC, Andoni Morales
none Details | Review

Description Andoni Morales 2011-02-09 11:52:53 UTC
Created attachment 180457 [details] [review]
Ensure medata is writable before setting caps

I'm getting the following warning after reconnections feeding the pipeline "appsrc ! gdpdepay ! gdppay " with an http client that gets data from a source "source ! gdppay ! tcpclientsrc". I'm not sure if it the patch makes sense or if it's because I'm doing something wrong :)


GStreamer-WARNING **: (gstbuffer.c:495):gst_buffer_set_caps: runtime check failed: (gst_buffer_is_metadata_writable (buffer))
aborting...

Program received signal SIGABRT, Aborted.
[Cambiando a Thread 0xb6e98b70 (LWP 25263)]
0x0012e416 in __kernel_vsyscall ()
(gdb) bt
  • #0 __kernel_vsyscall
  • #1 raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #2 abort
    at abort.c line 92
  • #3 g_logv
    from /lib/libglib-2.0.so.0
  • #4 g_log
    from /lib/libglib-2.0.so.0
  • #5 g_warn_message
    from /lib/libglib-2.0.so.0
  • #6 gst_buffer_set_caps
    at gstbuffer.c line 495
  • #7 gst_gdp_pay_reset_streamheader
    at gstgdppay.c line 477
  • #8 gst_gdp_pay_sink_event
    at gstgdppay.c line 730
  • #9 gst_pad_send_event
    at gstpad.c line 5365
  • #10 gst_pad_push_event
    at gstpad.c line 5217
  • #11 gst_gdp_depay_chain
    at gstgdpdepay.c line 378
  • #12 gst_pad_chain_data_unchecked
    at gstpad.c line 4231
  • #13 gst_pad_push_data
    at gstpad.c line 4463

Comment 1 Wim Taymans 2011-02-14 14:52:44 UTC
commit f7dbec909163ad197cf152fd8214a9ad4a58ae9a
Author: Andoni Morales Alastruey <amorales@flumotion.com>
Date:   Wed Feb 9 12:45:23 2011 +0100

    gdppay: ensure buffer's metadata is writable before setting caps