[Bug 725048] The display handle isn't freed correctly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 3 04:42:21 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=725048
  GStreamer | gst-plugins-gl | git

--- Comment #8 from Adrien SCH. <adrien.schwartzentruber at gmail.com> 2014-03-03 13:04:27 UTC ---
Did you apply you patch against vaapidecode (unref the ref to the pool) ?
Because after an update to MESA 10.0.3 I receive a SEGFAULT when the test
application unref the pipeline.

Back trace : 

Thread 4 (Thread 0x7ffff530f700 (LWP 10778)):
#0  __lll_lock_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007ffff6a50f3b in _L_lock_974 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007ffff6a50d8b in __GI___pthread_mutex_lock (mutex=0x7fffd42cbb98) at
pthread_mutex_lock.c:64
#3  0x00007ffff612c8ba in xcb_writev () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007ffff74df686 in _XSend () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007ffff74d6082 in XQueryExtension () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007ffff74ca342 in XInitExtension () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007fffec51740d in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#8  0x00007fffec5372cd in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#9  0x00007fffec53b60c in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#10 0x00007fffec5161d3 in glXMakeCurrentReadSGI () from
/usr/lib/x86_64-linux-gnu/libGL.so.1
#11 0x00007fffec2f97c5 in vaDestroySurfaceGLX_impl_libva (ctx=0x7fffe4059ad0,
gl_surface=0x7fffd45426a0) at va_glx_impl.c:914
#12 0x00007fffed81bd8f in _gst_vaapi_texture_destroy_objects
(texture=<optimized out>) at gstvaapitexture.c:80
#13 gst_vaapi_texture_destroy (texture=0x7fffd4325400) at gstvaapitexture.c:118
#14 0x00007fffecd944c2 in gst_vaapi_object_finalize (object=0x7fffd4325400) at
gstvaapiobject.c:51
#15 0x00007fffecd943ff in gst_vaapi_mini_object_free (object=0x7fffd4325400) at
gstvaapiminiobject.c:34
#16 gst_vaapi_mini_object_unref (object=0x7fffd4325400) at
gstvaapiminiobject.c:137
#17 0x00007fffecd94472 in gst_vaapi_mini_object_replace
(old_object_ptr=<optimized out>, new_object=<optimized out>) at
gstvaapiminiobject.c:170
#18 0x00007fffecd94585 in gst_vaapi_object_replace_internal
(new_object=<optimized out>, old_object_ptr=<optimized out>) at
gstvaapiobject_priv.h:238
#19 gst_vaapi_object_replace (old_object_ptr=<optimized out>,
new_object=<optimized out>) at gstvaapiobject.c:142
#20 0x00007fffed81c2c5 in gst_vaapi_texture_replace (old_texture_ptr=<optimized
out>, new_texture=<optimized out>) at gstvaapitexture.c:380
#21 0x00007fffede44a50 in meta_texture_free (meta=0x7fffe4002940) at
gstvaapivideometa_texture.c:43
#22 0x00007ffff780d1e1 in _gst_buffer_free (buffer=0x7fffdc003a60) at
gstbuffer.c:563
#23 0x00007ffff7811173 in default_stop (pool=0x7fffdc00f090) at
gstbufferpool.c:382
#24 0x00007ffff7810ecc in do_stop (pool=pool at entry=0x7fffdc00f090) at
gstbufferpool.c:402
#25 0x00007ffff7811a00 in gst_buffer_pool_set_active
(pool=pool at entry=0x7fffdc00f090, active=active at entry=0) at gstbufferpool.c:468
#26 0x00007ffff7811ad8 in gst_buffer_pool_finalize (object=0x7fffdc00f090) at
gstbufferpool.c:197
#27 0x00007fffede45417 in gst_vaapi_video_buffer_pool_finalize
(object=0x7fffdc00f090) at gstvaapivideobufferpool.c:64
#28 0x00007ffff6eb5afa in g_object_unref (_object=0x7fffdc00f090) at
/tmp/buildd/glib2.0-2.38.2/./gobject/gobject.c:3197
#29 0x00007ffff780245f in gst_object_unref (object=<optimized out>) at
gstobject.c:275
#30 0x00007fffefb92b06 in gst_video_decoder_finalize (object=0x7fffe402bc20) at
gstvideodecoder.c:841
#31 0x00007ffff6eb5afa in g_object_unref (_object=0x7fffe402bc20) at
/tmp/buildd/glib2.0-2.38.2/./gobject/gobject.c:3197
#32 0x00007ffff780245f in gst_object_unref (object=<optimized out>) at
gstobject.c:275
#33 0x00007ffff7806931 in gst_bin_remove_func (bin=0x7fffe4019110,
element=<optimized out>) at gstbin.c:1564
#34 0x00007ffff780af03 in gst_bin_dispose (object=0x7fffe4019110) at
gstbin.c:528
#35 0x00007ffff6eb5a6c in g_object_unref (_object=0x7fffe4019110) at
/tmp/buildd/glib2.0-2.38.2/./gobject/gobject.c:3160
#36 0x00007ffff780245f in gst_object_unref (object=<optimized out>) at
gstobject.c:275
#37 0x00007ffff7806931 in gst_bin_remove_func (bin=0x7fffe8002090,
element=<optimized out>) at gstbin.c:1564
#38 0x00007ffff780af03 in gst_bin_dispose (object=0x7fffe8002090) at
gstbin.c:528
#39 0x00007ffff6eb5a6c in g_object_unref (_object=0x7fffe8002090) at
/tmp/buildd/glib2.0-2.38.2/./gobject/gobject.c:3160
#40 0x0000000000401f30 in display_run () at ../main.c:131
#41 0x0000000000401fc1 in run_display (user_data=0x0) at ../main.c:154
#42 0x00007ffff7b47095 in g_thread_proxy (data=0x651a30) at
/tmp/buildd/glib2.0-2.38.2/./glib/gthread.c:798
#43 0x00007ffff6a4ee0e in start_thread (arg=0x7ffff530f700) at
pthread_create.c:311
#44 0x00007ffff71db0fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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