[Bug 780442] gtreamer-vaapi render multi video in single pipeline causing videos not killed with vaapisink in wayland

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 17 13:12:24 UTC 2017


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

--- Comment #14 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
I'm testing the patch but I got this crash when finishing a video:

GLib (gthread-posix.c): Unexpected error from C library during
'pthread_mutex_lock': Invalid argument.  Aborting.
[Thread 0x7fffa6613700 (LWP 20844) exited]

Thread 1 "gst-play-1.0" received signal SIGABRT, Aborted.
__GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
58      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#1  0x00007ffff5fac40a in __GI_abort () at abort.c:89
#2  0x00007ffff6904a80 in g_thread_abort (status=22, function=0x7ffff6966370
"pthread_mutex_lock") at gthread-posix.c:78
#3  0x00007ffff6904998 in g_mutex_lock (mutex=0x7fffa00054e0) at
gthread-posix.c:215
#4  0x00007ffff443b6b7 in frame_release_callback (data=0x7fffd8026840,
wl_buffer=0x7fffb0034ad0) at gstvaapiwindow_wayland.c:429
#5  0x00007ffff5091038 in ffi_call_unix64 () from
/usr/lib/x86_64-linux-gnu/libffi.so.6
#6  0x00007ffff5090a9a in ffi_call () from
/usr/lib/x86_64-linux-gnu/libffi.so.6
#7  0x00007ffff28d4702 in wl_closure_invoke (closure=0x8700f0, flags=1,
target=0x7fffb0034ad0, opcode=0, data=0x7fffd8026840) at src/connection.c:935
#8  0x00007ffff28d2388 in dispatch_event (display=0x822cd0,
queue=0x7fffb00083e0) at src/wayland-client.c:1310
#9  0x00007ffff28d16fc in dispatch_queue (display=0x822cd0,
queue=0x7fffb00083e0) at src/wayland-client.c:1456
#10 0x00007ffff28d14e3 in wl_display_dispatch_queue_pending (display=0x822cd0,
queue=0x7fffb00083e0) at src/wayland-client.c:1698
#11 0x00007ffff28d107e in wl_display_dispatch_queue (display=0x822cd0,
queue=0x7fffb00083e0) at src/wayland-client.c:1674
#12 0x00007ffff28d0cf7 in wl_display_roundtrip_queue (display=0x822cd0,
queue=0x7fffb00083e0) at src/wayland-client.c:1121
#13 0x00007ffff443a2b0 in gst_vaapi_window_wayland_destroy
(window=0x7fffa0005440) at gstvaapiwindow_wayland.c:350
#14 0x00007ffff43de114 in gst_vaapi_object_finalize (object=0x7fffa0005440) at
gstvaapiobject.c:50
#15 0x00007ffff43ddcbb in gst_vaapi_mini_object_free (object=0x7fffa0005440) at
gstvaapiminiobject.c:39
#16 0x00007ffff43ddf98 in gst_vaapi_mini_object_unref_internal
(object=0x7fffa0005440) at ./gstvaapiminiobject.h:203
#17 0x00007ffff43de0a0 in gst_vaapi_mini_object_replace
(old_object_ptr=0x81f410, new_object=0x0) at gstvaapiminiobject.c:173
#18 0x00007ffff43ea3a8 in gst_vaapi_object_replace_internal
(old_object_ptr=0x81f410, new_object=0x0) at ./gstvaapiobject_priv.h:215
#19 0x00007ffff43ea378 in gst_vaapi_window_replace (old_window_ptr=0x81f410,
new_window=0x0) at gstvaapiwindow.c:291
#20 0x00007ffff439d808 in gst_vaapisink_stop (base_sink=0x81ef70) at
gstvaapisink.c:1240
#21 0x00007ffff719f5b1 in gst_base_sink_change_state (element=0x81ef70,
transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbasesink.c:5242
#22 0x00007ffff6e5a193 in gst_element_change_state (element=0x81ef70,
transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2743
#23 0x00007ffff6e5cd0e in gst_element_set_state_func (element=0x81ef70,
state=GST_STATE_NULL) at gstelement.c:2697
---Type <return> to continue, or q <return> to quit---q
Quit

-- 
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