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 674100 - gdp segfault in 0.11
gdp segfault in 0.11
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.11.x
Other Linux
: Normal major
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-14 11:35 UTC by Nicola
Modified: 2012-04-16 13:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicola 2012-04-14 11:35:13 UTC
gdp data protocol doesn't work anymore in 0.11

this pipeline, that works fine in 0.10, now segfault:

gst-launch videotestsrc ! gdppay ! gdpdepay ! fakesink

Program received signal SIGSEGV, Segmentation fault.

Thread 140737300510464 (LWP 18456)

  • #0 gst_segment_copy_into
    at /usr/include/x86_64-linux-gnu/bits/string3.h line 52
  • #1 gst_event_copy_segment
    at gstevent.c line 989
  • #2 gst_base_sink_default_event
    at gstbasesink.c line 2921
  • #3 gst_fake_sink_event
    at gstfakesink.c line 385
  • #4 gst_base_sink_event
    at gstbasesink.c line 2986
  • #5 gst_pad_send_event_unchecked
    at gstpad.c line 4616
  • #6 gst_pad_push_event_unchecked
    at gstpad.c line 4334
  • #7 push_sticky
    at gstpad.c line 3167
  • #8 events_foreach
    at gstpad.c line 514
  • #9 check_sticky
    at gstpad.c line 3201
  • #10 gst_pad_push_event
    at gstpad.c line 4447
  • #11 gst_gdp_depay_chain
    at gstgdpdepay.c line 380
  • #12 gst_pad_chain_data_unchecked
    at gstpad.c line 3501
  • #13 gst_pad_push_data
    at gstpad.c line 3705
  • #14 gst_gdp_pay_reset_streamheader
    at gstgdppay.c line 470
  • #15 gst_gdp_pay_sink_event
    at gstgdppay.c line 675
  • #16 gst_pad_send_event_unchecked
    at gstpad.c line 4616
  • #17 gst_pad_push_event_unchecked
    at gstpad.c line 4334
  • #18 push_sticky
    at gstpad.c line 3167
  • #19 events_foreach
    at gstpad.c line 514
  • #20 check_sticky
    at gstpad.c line 3201
  • #21 gst_pad_push_event
    at gstpad.c line 4447
  • #22 gst_base_src_loop
    at gstbasesrc.c line 2538
  • #23 gst_task_func
    at gsttask.c line 308
  • #24 g_thread_pool_thread_proxy
    at gthreadpool.c line 309
  • #25 g_thread_proxy
    at gthread.c line 801
  • #26 start_thread
    at pthread_create.c line 304
  • #27 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 112
  • #28 ??

Comment 1 Wim Taymans 2012-04-16 13:56:46 UTC
commit d3428719077efe0a201b86cf64b3411d0493ea6d
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Mon Apr 16 15:35:23 2012 +0200

    segment: add rude serialization
    
    Ass serialize and deserialize functions for GstSegment so that gdp and
    gst_structure_to_string show the segment values. We convert to a GstSegment
    first to make things easier..