[Bug 773546] leak in ensure_profiles (double free or corruption)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 7 16:39:59 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=773546

--- Comment #20 from Florent ThiƩry <florent.thiery at ubicast.eu> ---
Slightly different on GT3e (SKL)

(gdb) bt
#0  0x00007fb0cbaeb04f in raise () at /usr/lib/libc.so.6
#1  0x00007fb0cbaec47a in abort () at /usr/lib/libc.so.6
#2  0x00007fb0cbb28c50 in __libc_message () at /usr/lib/libc.so.6
#3  0x00007fb0cbb2efe6 in malloc_printerr () at /usr/lib/libc.so.6
#4  0x00007fb0cbb2f7de in _int_free () at /usr/lib/libc.so.6
#5  0x00007fb0cbb31f58 in _int_realloc () at /usr/lib/libc.so.6
#6  0x00007fb0cbb334f9 in realloc () at /usr/lib/libc.so.6
#7  0x00007fb0cc4cec58 in g_realloc () at /usr/lib/libglib-2.0.so.0
#8  0x00007fb0cc49c869 in  () at /usr/lib/libglib-2.0.so.0
#9  0x00007fb0cc49cbe8 in g_array_append_vals () at /usr/lib/libglib-2.0.so.0
#10 0x00007fb0c9cfb5b0 in ensure_profiles (display=display at entry=0x16f0640) at
gstvaapidisplay.c:565
#11 0x00007fb0c9cfcaa8 in ensure_profiles (display=0x16f0640) at
gstvaapidisplay.c:1515
#12 0x00007fb0c9cfcaa8 in gst_vaapi_display_get_encode_profiles
(display=0x16f0640) at gstvaapidisplay.c:1513
#13 0x00007fb0c9d11189 in get_compatible_profile (encoder=0x7fb0ac003800) at
gstvaapiencoder.c:482
#14 0x00007fb0c9d11189 in get_profile (encoder=encoder at entry=0x7fb0ac003800) at
gstvaapiencoder.c:504
#15 0x00007fb0c9d11189 in get_config_attribute
(encoder=encoder at entry=0x7fb0ac003800,
type=type at entry=VAConfigAttribRateControl,
out_value_ptr=out_value_ptr at entry=0x7fb0c323499c) at gstvaapiencoder.c:517
#16 0x00007fb0c9d11efd in get_rate_control_mask (encoder=0x7fb0ac003800) at
gstvaapiencoder.c:849
#17 0x00007fb0c9d11efd in gst_vaapi_encoder_set_rate_control
(encoder=0x7fb0ac003800, rate_control=GST_VAAPI_RATECONTROL_CQP) at
gstvaapiencoder.c:893
#18 0x00007fb0c9d12407 in set_property (value=<optimized out>, prop_id=1,
encoder=0x7fb0ac003800) at gstvaapiencoder.c:779
---Type <return> to continue, or q <return> to quit---
#19 0x00007fb0c9d12407 in gst_vaapi_encoder_set_property
(encoder=encoder at entry=0x7fb0ac003800, prop_id=1, value=<optimized out>,
value at entry=0x0) at gstvaapiencoder.c:824
#20 0x00007fb0c9d1263e in gst_vaapi_encoder_init_properties
(encoder=0x7fb0ac003800) at gstvaapiencoder.c:1033
#21 0x00007fb0c9d1263e in gst_vaapi_encoder_init (display=<optimized out>,
encoder=0x7fb0ac003800) at gstvaapiencoder.c:1080
#22 0x00007fb0c9d1263e in gst_vaapi_encoder_new (klass=<optimized out>,
display=<optimized out>) at gstvaapiencoder.c:1131
#23 0x00007fb0c9ce5643 in ensure_encoder (encode=encode at entry=0x19386a0) at
gstvaapiencode.c:407
#24 0x00007fb0c9ce5d7f in gst_vaapiencode_set_format (venc=0x19386a0,
state=0x1912540) at gstvaapiencode.c:476
#25 0x00007fb0ca6d6346 in gst_video_encoder_setcaps (caps=0x18e65e0,
encoder=0x19386a0) at gstvideoencoder.c:613
#26 0x00007fb0ca6d6346 in gst_video_encoder_sink_event_default
(encoder=0x19386a0, event=0x7fb0b00050b0) at gstvideoencoder.c:965
#27 0x00007fb0c9ce5097 in gst_vaapiencode_sink_event (venc=0x19386a0,
event=0x7fb0b00050b0) at gstvaapiencode.c:626
#28 0x00007fb0cd5d8da7 in gst_pad_send_event_unchecked
(pad=pad at entry=0x18d6de0, event=event at entry=0x7fb0b00050b0, type=<optimized
out>, type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5609
#29 0x00007fb0cd5d923e in gst_pad_push_event_unchecked
(pad=pad at entry=0x18d6ba0, event=0x7fb0b00050b0,
type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5265
#30 0x00007fb0cd5d9640 in push_sticky (pad=pad at entry=0x18d6ba0,
ev=ev at entry=0x7fb0c3234d50, user_data=user_data at entry=0x7fb0c3234db0) at
gstpad.c:3808
#31 0x00007fb0cd5d7337 in events_foreach (pad=pad at entry=0x18d6ba0,
func=func at entry=0x7fb0cd5d94f0 <push_sticky>,
user_data=user_data at entry=0x7fb0c3234db0) at gstpad.c:603
#32 0x00007fb0cd5e38e1 in check_sticky (event=0x7fb0b00050b0, pad=0x18d6ba0) at
gstpad.c:3865
#33 0x00007fb0cd5e38e1 in gst_pad_push_event (pad=0x18d6ba0,
event=event at entry=0x7fb0b00050b0) at gstpad.c:5396
#34 0x00007fb0cadc0867 in gst_queue_push_one (queue=0x1914220) at
gstqueue.c:1429
#35 0x00007fb0cadc0867 in gst_queue_loop (pad=<optimized out>) at
gstqueue.c:1506
#36 0x00007fb0cd60d9a1 in gst_task_func (task=0x18e33b0) at gsttask.c:334
#37 0x00007fb0cc4f1ace in  () at /usr/lib/libglib-2.0.so.0
#38 0x00007fb0cc4f10d5 in  () at /usr/lib/libglib-2.0.so.0
#39 0x00007fb0cbe5d454 in start_thread () at /usr/lib/libpthread.so.0
#40 0x00007fb0cbba07df in clone () at /usr/lib/libc.so.6

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list