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 767437 - segfault in gst_element_set_context_default (through vaapi)
segfault in gst_element_set_context_default (through vaapi)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
unspecified
Other Linux
: Normal major
: 1.8.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 767452 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-06-09 09:20 UTC by Dirk-Jan C. Binnema
Modified: 2016-06-23 10:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Platform info (46.84 KB, text/plain)
2016-06-09 15:55 UTC, Sergio Torres Soldado (zenx)
  Details
GST_DEBUG log (33.11 KB, text/plain)
2016-06-10 09:43 UTC, Sergio Torres Soldado (zenx)
  Details
Backtrace with G_DEBUG (11.05 KB, text/plain)
2016-06-10 09:52 UTC, Sergio Torres Soldado (zenx)
  Details
backport patch from master (7.36 KB, patch)
2016-06-10 11:14 UTC, Víctor Manuel Jáquez Leal
committed Details | Review

Description Dirk-Jan C. Binnema 2016-06-09 09:20:45 UTC
When trying to stream from remote RTSP-server, quite often I'm seeing a segfault while connecting / try to start the stream; from the backtrace I think VAAPI is the culprit. I can reproduce this fairly easy, simply using something like

   gst-play-1.0 rtsp://....

and warnings:

Now playing rtsp://192.168.100.23:554/stream
Pipeline is live.
WARNING Could not read from resource.
WARNING debug information: gstrtspsrc.c(4847): gst_rtspsrc_reconnect (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
Could not receive any UDP packets for 5,0000 seconds, maybe your firewall is blocking it. Retrying using a TCP connection.
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0

** (gst-play-1.0:12694): CRITICAL **: gst_vaapi_video_context_get_display: assertion 'GST_IS_CONTEXT (context)' failed

(gst-play-1.0:12694): GStreamer-CRITICAL **: gst_context_get_context_type: assertion 'GST_IS_CONTEXT (context)' failed

(gst-play-1.0:12694): GStreamer-CRITICAL **: gst_mini_object_ref: assertion 'mini_object != NULL' failed

(gst-play-1.0:12694): GStreamer-CRITICAL **: gst_context_get_context_type: assertion 'GST_IS_CONTEXT (context)' failed

Note, I'm using gstreamer from git, except for gst-vaapi from Fedora 24; I have seen the same problem with the Fedora-provided gstreamer (1.8.1) as well.

The actual crash is in gst_element_set_context_default. element->contexts is a list of 1 element, however, the element data is NULL, which strcmp does not appreciate.

gdb% frame 1
  • #1 gst_element_set_context_default
    at gstelement.c line 3118
  • #0 __strcmp_sse2_unaligned
    from /lib64/libc.so.6
  • #1 gst_element_set_context_default
    at gstelement.c line 3118
  • #2 plugin_set_context
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #3 gst_vaapi_video_context_propagate
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #4 gst_vaapi_ensure_display
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #5 gst_vaapi_plugin_base_ensure_display
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #6 gst_vaapidecode_open
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #7 gst_video_decoder_change_state
    at gstvideodecoder.c line 2533
  • #8 gst_element_change_state
    at gstelement.c line 2650
  • #9 gst_element_set_state_func
    at gstelement.c line 2604
  • #10 gst_bin_element_set_state
    at gstbin.c line 2542
  • #11 gst_bin_change_state_func
    at gstbin.c line 2884
  • #12 gst_vaapi_decode_bin_change_state
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #13 gst_element_change_state
    at gstelement.c line 2650
  • #14 gst_element_set_state_func
    at gstelement.c line 2604
  • #15 connect_pad
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #16 analyze_new_pad
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #17 pad_added_cb
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #18 caps_notify_cb
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #19 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #20 signal_emit_unlocked_R
    from /lib64/libgobject-2.0.so.0
  • #21 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #22 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #23 g_object_dispatch_properties_changed
    from /lib64/libgobject-2.0.so.0
  • #24 gst_object_dispatch_properties_changed
    at gstobject.c line 455
  • #25 g_object_notify_by_pspec
    from /lib64/libgobject-2.0.so.0
  • #26 store_sticky_event
    at gstpad.c line 5094
  • #27 gst_pad_push_event
    at gstpad.c line 5371
  • #28 gst_pad_set_caps
    at ../../../gst/gstcompat.h line 58
  • #29 gst_base_transform_setcaps
    at gstbasetransform.c line 1387
  • #30 gst_base_transform_sink_eventfunc
    at gstbasetransform.c line 1939
  • #31 gst_capsfilter_sink_event
    from /usr/lib64/gstreamer-1.0/libgstcoreelements.so
  • #32 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #33 gst_pad_push_event_unchecked
    at gstpad.c line 5252
  • #34 push_sticky
    at gstpad.c line 3797
  • #35 events_foreach
    at gstpad.c line 603
  • #36 check_sticky
    at gstpad.c line 3854
  • #37 gst_pad_push_event
    at gstpad.c line 5383
  • #38 gst_h264_parse_update_src_caps
    from /usr/lib64/gstreamer-1.0/libgstvideoparsersbad.so
  • #39 gst_h264_parse_set_caps
    from /usr/lib64/gstreamer-1.0/libgstvideoparsersbad.so
  • #40 gst_base_parse_sink_event_default
    at gstbaseparse.c line 1186
  • #41 gst_h264_parse_event
    from /usr/lib64/gstreamer-1.0/libgstvideoparsersbad.so
  • #42 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #43 gst_pad_send_event
    at gstpad.c line 5764
  • #44 send_sticky_event
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #45 foreach_dispatch_function
    at gstpad.c line 5863
  • #46 events_foreach
    at gstpad.c line 603
  • #47 gst_pad_sticky_events_foreach
    at gstpad.c line 5894
  • #48 connect_pad
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #49 analyze_new_pad
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #50 pad_added_cb
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #51 caps_notify_cb
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #52 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #53 signal_emit_unlocked_R
    from /lib64/libgobject-2.0.so.0
  • #54 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #55 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #56 g_object_dispatch_properties_changed
    from /lib64/libgobject-2.0.so.0
  • #57 gst_object_dispatch_properties_changed
    at gstobject.c line 455
  • #58 g_object_notify_by_pspec
    from /lib64/libgobject-2.0.so.0
  • #59 store_sticky_event
    at gstpad.c line 5094
  • #60 gst_pad_push_event
    at gstpad.c line 5371
  • #61 gst_rtp_h264_set_src_caps
    from /usr/lib64/gstreamer-1.0/libgstrtp.so
  • #62 gst_rtp_h264_depay_setcaps
    from /usr/lib64/gstreamer-1.0/libgstrtp.so
  • #63 gst_rtp_base_depayload_setcaps
    at gstrtpbasedepayload.c line 326
  • #64 gst_rtp_base_depayload_handle_event
    at gstrtpbasedepayload.c line 608
  • #65 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #66 gst_pad_send_event
    at gstpad.c line 5764
  • #67 send_sticky_event
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #68 foreach_dispatch_function
    at gstpad.c line 5863
  • #69 events_foreach
    at gstpad.c line 603
  • #70 gst_pad_sticky_events_foreach
    at gstpad.c line 5894
  • #71 connect_pad
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #72 analyze_new_pad
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #73 type_found
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #74 ffi_call_unix64
    from /lib64/libffi.so.6
  • #75 ffi_call
    from /lib64/libffi.so.6
  • #76 g_cclosure_marshal_generic
    from /lib64/libgobject-2.0.so.0
  • #77 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #78 signal_emit_unlocked_R
    from /lib64/libgobject-2.0.so.0
  • #79 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #80 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #81 gst_type_find_element_sink_event
    from /usr/lib64/gstreamer-1.0/libgstcoreelements.so
  • #82 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #83 gst_pad_push_event_unchecked
    at gstpad.c line 5252
  • #84 push_sticky
    at gstpad.c line 3797
  • #85 events_foreach
    at gstpad.c line 603
  • #86 check_sticky
    at gstpad.c line 3854
  • #87 gst_pad_push_event
    at gstpad.c line 5383
  • #88 event_forward_func
    at gstpad.c line 2984
  • #89 gst_pad_forward
    at gstpad.c line 2938
  • #90 gst_pad_event_default
    at gstpad.c line 3035
  • #91 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #92 gst_pad_push_event_unchecked
    at gstpad.c line 5252
  • #93 push_sticky
    at gstpad.c line 3797
  • #94 events_foreach
    at gstpad.c line 603
  • #95 check_sticky
    at gstpad.c line 3854
  • #96 gst_pad_push_event
    at gstpad.c line 5383
  • #97 event_forward_func
    at gstpad.c line 2984
  • #98 gst_pad_forward
    at gstpad.c line 2938
  • #99 gst_pad_event_default
    at gstpad.c line 3035
  • #100 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #101 gst_pad_push_event_unchecked
    at gstpad.c line 5252
  • #102 push_sticky
    at gstpad.c line 3797
  • #103 events_foreach
    at gstpad.c line 603
  • #104 check_sticky
    at gstpad.c line 3854
  • #105 gst_pad_push_event
    at gstpad.c line 5383
  • #106 event_forward_func
    at gstpad.c line 2984
  • #107 gst_pad_forward
    at gstpad.c line 2938
  • #108 gst_pad_event_default
    at gstpad.c line 3035
  • #109 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #110 gst_pad_push_event_unchecked
    at gstpad.c line 5252
  • #111 push_sticky
    at gstpad.c line 3797
  • #112 events_foreach
    at gstpad.c line 603
  • #113 check_sticky
    at gstpad.c line 3854
  • #114 gst_pad_push_data
    at gstpad.c line 4425
  • #115 gst_pad_push
    at gstpad.c line 4566
  • #116 gst_rtp_pt_demux_chain
    from /usr/lib64/gstreamer-1.0/libgstrtpmanager.so
  • #117 gst_pad_chain_data_unchecked
    at gstpad.c line 4195
  • #118 gst_pad_push_data
    at gstpad.c line 4447
  • #119 gst_pad_push
    at gstpad.c line 4566
  • #120 pop_and_push_next
    from /usr/lib64/gstreamer-1.0/libgstrtpmanager.so
  • #121 gst_rtp_jitter_buffer_loop
    from /usr/lib64/gstreamer-1.0/libgstrtpmanager.so
  • #122 gst_task_func
    at gsttask.c line 334
  • #123 g_thread_pool_thread_proxy
    from /lib64/libglib-2.0.so.0
  • #124 g_thread_proxy
    from /lib64/libglib-2.0.so.0
  • #125 start_thread
    from /lib64/libpthread.so.0
  • #126 clone
    from /lib64/libc.so.6

Comment 1 Dirk-Jan C. Binnema 2016-06-09 09:22:37 UTC
Oh, here's part of the debugging session:

gdb% frame 1
  • #1 gst_element_set_context_default
    at gstelement.c line 3118

Comment 2 Víctor Manuel Jáquez Leal 2016-06-09 10:25:37 UTC
Thanks for reporting this.

Can you run

G_DEBUG=fatal-warnings gdb --args gst-play-1.0 rtsp://192.168.100.23:554/stream

And post the backtrace???

I would like to know why the vaapi elements are receiving a NULL context.
Comment 3 Víctor Manuel Jáquez Leal 2016-06-09 14:43:32 UTC
*** Bug 767452 has been marked as a duplicate of this bug. ***
Comment 4 Sergio Torres Soldado (zenx) 2016-06-09 15:07:43 UTC
Victor,

 I am trying to run my program with G_DEBUG=fatal-warnings, but I don't seem to get any output.
Comment 5 Víctor Manuel Jáquez Leal 2016-06-09 15:45:48 UTC
(In reply to Sergio Torres Soldado (zenx) from comment #4)
> Victor,
> 
>  I am trying to run my program with G_DEBUG=fatal-warnings, but I don't seem
> to get any output.

Hi Sergio,

Also thank you for taking your time to sort this out.

Could you paste the console output (the "libva info" messages and so on)?
Comment 6 Víctor Manuel Jáquez Leal 2016-06-09 15:46:33 UTC
Ah, could you tell which versions of gstreamer and gstreamer-vaapi are you using?
Comment 7 Sergio Torres Soldado (zenx) 2016-06-09 15:52:44 UTC
They are all from the 1.8.1 release.
Comment 8 Sergio Torres Soldado (zenx) 2016-06-09 15:55:11 UTC
Created attachment 329482 [details]
Platform info
Comment 9 Sergio Torres Soldado (zenx) 2016-06-10 09:43:31 UTC
Created attachment 329540 [details]
GST_DEBUG log
Comment 10 Sergio Torres Soldado (zenx) 2016-06-10 09:52:37 UTC
Created attachment 329541 [details]
Backtrace with G_DEBUG
Comment 11 Víctor Manuel Jáquez Leal 2016-06-10 11:14:47 UTC
Created attachment 329558 [details] [review]
backport patch from master

@Sergio, @djcb 

Could you apply this patch and check if it fixes the crash?
Comment 12 Sergio Torres Soldado (zenx) 2016-06-10 14:28:01 UTC
(In reply to Víctor Manuel Jáquez Leal from comment #11)
> Created attachment 329558 [details] [review] [review]
> backport patch from master
> 
> @Sergio, @djcb 
> 
> Could you apply this patch and check if it fixes the crash?

Hi Victor,

Thank you for your help. The problem still occurs but much less often, I don't have a deterministic way of reproducing the bug. It seems to occur when I create a large number of pipelines (>10), I don't know if it is a driver limitation or something related. I will continue testing.
Comment 13 Julien Isorce 2016-06-10 21:41:18 UTC
Just in case, is fatal-warnings really effective ? I am always using a '_', not a '-' in between.
Comment 14 Dirk-Jan C. Binnema 2016-06-11 06:41:57 UTC
@victor: thanks for looking into so quickly! 

I tried with gst-vaapi (git/master), and haven't been able to reproduce so far. However, it seems that the crash only happpened with certain (local) rtsp servers, and since those have changed, perhaps the same paths aren't hit anymore.
Comment 15 Dirk-Jan C. Binnema 2016-06-13 08:56:31 UTC
Below is the backtrace with fatal-warnings; and I can confirm that I can reproduce this with 1.8.1, but not with master - so seems it's fixed already.

gdb% bt
  • #0 g_logv
    from /lib64/libglib-2.0.so.0
  • #1 g_log
    from /lib64/libglib-2.0.so.0
  • #2 gst_vaapi_video_context_get_display
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #3 plugin_set_context
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #4 _gst_context_get_from_query.part.1
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #5 gst_vaapi_video_context_prepare
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #6 gst_vaapi_ensure_display
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #7 gst_vaapi_plugin_base_ensure_display
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #8 gst_vaapidecode_open
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #9 gst_video_decoder_change_state
    at gstvideodecoder.c line 2533
  • #10 gst_element_change_state
    at gstelement.c line 2650
  • #11 gst_element_set_state_func
    at gstelement.c line 2604
  • #12 gst_bin_element_set_state
    at gstbin.c line 2542
  • #13 gst_bin_change_state_func
    at gstbin.c line 2884
  • #14 gst_vaapi_decode_bin_change_state
    from /usr/lib64/gstreamer-1.0/libgstvaapi.so
  • #15 gst_element_change_state
    at gstelement.c line 2650
  • #16 gst_element_set_state_func
    at gstelement.c line 2604
  • #17 connect_pad
  • #18 analyze_new_pad
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #19 pad_added_cb
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #20 caps_notify_cb
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #21 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #22 signal_emit_unlocked_R
    from /lib64/libgobject-2.0.so.0
  • #23 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #24 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #25 g_object_dispatch_properties_changed
    from /lib64/libgobject-2.0.so.0
  • #26 gst_object_dispatch_properties_changed
    at gstobject.c line 455
  • #27 g_object_notify_by_pspec
    from /lib64/libgobject-2.0.so.0
  • #28 store_sticky_event
    at gstpad.c line 5094
  • #29 gst_pad_push_event
    at gstpad.c line 5371
  • #30 gst_pad_set_caps
    at ../../../gst/gstcompat.h line 58
  • #31 gst_base_transform_setcaps
    at gstbasetransform.c line 1387
  • #32 gst_base_transform_sink_eventfunc
    at gstbasetransform.c line 1939
  • #33 gst_capsfilter_sink_event
    from /usr/lib64/gstreamer-1.0/libgstcoreelements.so
  • #34 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #35 gst_pad_push_event_unchecked
    at gstpad.c line 5252
  • #36 push_sticky
    at gstpad.c line 3797
  • #37 events_foreach
    at gstpad.c line 603
  • #38 check_sticky
    at gstpad.c line 3854
  • #39 gst_pad_push_event
    at gstpad.c line 5383
  • #40 gst_h264_parse_update_src_caps
    from /usr/lib64/gstreamer-1.0/libgstvideoparsersbad.so
  • #41 gst_h264_parse_set_caps
    from /usr/lib64/gstreamer-1.0/libgstvideoparsersbad.so
  • #42 gst_base_parse_sink_event_default
    at gstbaseparse.c line 1186
  • #43 gst_h264_parse_event
    from /usr/lib64/gstreamer-1.0/libgstvideoparsersbad.so
  • #44 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #45 gst_pad_send_event
    at gstpad.c line 5764
  • #46 send_sticky_event
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #47 foreach_dispatch_function
    at gstpad.c line 5863
  • #48 events_foreach
    at gstpad.c line 603
  • #49 gst_pad_sticky_events_foreach
    at gstpad.c line 5894
  • #50 connect_pad
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #51 analyze_new_pad
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #52 pad_added_cb
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #53 caps_notify_cb
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #54 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #55 signal_emit_unlocked_R
    from /lib64/libgobject-2.0.so.0
  • #56 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #57 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #58 g_object_dispatch_properties_changed
    from /lib64/libgobject-2.0.so.0
  • #59 gst_object_dispatch_properties_changed
    at gstobject.c line 455
  • #60 g_object_notify_by_pspec
    from /lib64/libgobject-2.0.so.0
  • #61 store_sticky_event
    at gstpad.c line 5094
  • #62 gst_pad_push_event
    at gstpad.c line 5371
  • #63 gst_rtp_h264_set_src_caps
    from /usr/lib64/gstreamer-1.0/libgstrtp.so
  • #64 gst_rtp_h264_depay_setcaps
    from /usr/lib64/gstreamer-1.0/libgstrtp.so
  • #65 gst_rtp_base_depayload_setcaps
    at gstrtpbasedepayload.c line 326
  • #66 gst_rtp_base_depayload_handle_event
    at gstrtpbasedepayload.c line 608
  • #67 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #68 gst_pad_send_event
    at gstpad.c line 5764
  • #69 send_sticky_event
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #70 foreach_dispatch_function
    at gstpad.c line 5863
  • #71 events_foreach
    at gstpad.c line 603
  • #72 gst_pad_sticky_events_foreach
    at gstpad.c line 5894
  • #73 connect_pad
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #74 analyze_new_pad
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #75 type_found
    from /usr/lib64/gstreamer-1.0/libgstplayback.so
  • #76 ffi_call_unix64
    from /lib64/libffi.so.6
  • #77 ffi_call
    from /lib64/libffi.so.6
  • #78 g_cclosure_marshal_generic
    from /lib64/libgobject-2.0.so.0
  • #79 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #80 signal_emit_unlocked_R
    from /lib64/libgobject-2.0.so.0
  • #81 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #82 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #83 gst_type_find_element_sink_event
    from /usr/lib64/gstreamer-1.0/libgstcoreelements.so
  • #84 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #85 gst_pad_push_event_unchecked
    at gstpad.c line 5252
  • #86 push_sticky
    at gstpad.c line 3797
  • #87 events_foreach
    at gstpad.c line 603
  • #88 check_sticky
    at gstpad.c line 3854
  • #89 gst_pad_push_event
    at gstpad.c line 5383
  • #90 event_forward_func
    at gstpad.c line 2984
  • #91 gst_pad_forward
    at gstpad.c line 2938
  • #92 gst_pad_event_default
    at gstpad.c line 3035
  • #93 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #94 gst_pad_push_event_unchecked
    at gstpad.c line 5252
  • #95 push_sticky
    at gstpad.c line 3797
  • #96 events_foreach
    at gstpad.c line 603
  • #97 check_sticky
    at gstpad.c line 3854
  • #98 gst_pad_push_event
    at gstpad.c line 5383
  • #99 event_forward_func
    at gstpad.c line 2984
  • #100 gst_pad_forward
    at gstpad.c line 2938
  • #101 gst_pad_event_default
    at gstpad.c line 3035
  • #102 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #103 gst_pad_push_event_unchecked
    at gstpad.c line 5252
  • #104 push_sticky
    at gstpad.c line 3797
  • #105 events_foreach
    at gstpad.c line 603
  • #106 check_sticky
    at gstpad.c line 3854
  • #107 gst_pad_push_event
    at gstpad.c line 5383
  • #108 event_forward_func
    at gstpad.c line 2984
  • #109 gst_pad_forward
    at gstpad.c line 2938
  • #110 gst_pad_event_default
    at gstpad.c line 3035
  • #111 gst_pad_send_event_unchecked
    at gstpad.c line 5594
  • #112 gst_pad_push_event_unchecked
    at gstpad.c line 5252
  • #113 push_sticky
    at gstpad.c line 3797
  • #114 events_foreach
    at gstpad.c line 603
  • #115 check_sticky
    at gstpad.c line 3854
  • #116 gst_pad_push_data
    at gstpad.c line 4425
  • #117 gst_pad_push
    at gstpad.c line 4566
  • #118 gst_rtp_pt_demux_chain
    from /usr/lib64/gstreamer-1.0/libgstrtpmanager.so
  • #119 gst_pad_chain_data_unchecked
    at gstpad.c line 4195
  • #120 gst_pad_push_data
    at gstpad.c line 4447
  • #121 gst_pad_push
    at gstpad.c line 4566
  • #122 pop_and_push_next
    from /usr/lib64/gstreamer-1.0/libgstrtpmanager.so
  • #123 gst_rtp_jitter_buffer_loop
    from /usr/lib64/gstreamer-1.0/libgstrtpmanager.so
  • #124 gst_task_func
    at gsttask.c line 334
  • #125 g_thread_pool_thread_proxy
    from /lib64/libglib-2.0.so.0
  • #126 g_thread_proxy
    from /lib64/libglib-2.0.so.0
  • #127 start_thread
    from /lib64/libpthread.so.0
  • #128 clone
    from /lib64/libc.so.6

Comment 16 Víctor Manuel Jáquez Leal 2016-06-13 15:38:18 UTC
(In reply to djcb from comment #15)
> Below is the backtrace with fatal-warnings; and I can confirm that I can
> reproduce this with 1.8.1, but not with master - so seems it's fixed already.

Did you apply the posted patch? I guess not.

But it looks like the needed patch. Slomo is going to kill me, since 1.8.2 was done last week :(
Comment 17 Tim-Philipp Müller 2016-06-13 15:51:38 UTC
I'm sure there'll be a 1.8.3 :)
Comment 18 Víctor Manuel Jáquez Leal 2016-06-14 12:52:51 UTC
(In reply to Sergio Torres Soldado (zenx) from comment #12) 
> Thank you for your help. The problem still occurs but much less often, I
> don't have a deterministic way of reproducing the bug. It seems to occur
> when I create a large number of pipelines (>10), I don't know if it is a
> driver limitation or something related. I will continue testing.

I'm going to push this patch to branch 1.8 aiming release 1.8.3

@Sergio, let me know if you can still reproduce the bug.
Comment 19 Víctor Manuel Jáquez Leal 2016-06-14 12:54:44 UTC
Comment on attachment 329558 [details] [review]
backport patch from master

commited 

commit c211403af94fdef90394f60944c5d6d7be3b1e62
Author: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Date:   Thu Apr 21 12:57:30 2016 +0200
Comment 20 Víctor Manuel Jáquez Leal 2016-06-14 12:56:16 UTC
Closing the bug. If it remains reproducible, let's reopen this bug.