GNOME Bugzilla – Bug 769939
gl: hang on joining thread
Last modified: 2016-08-21 16:13:33 UTC
When running tests/check/generic/states.forever with latest git. Running suite(s): states_bad libDeckLinkAPI.so: cannot open shared object file: No such file or directory libDeckLinkAPI.so: cannot open shared object file: No such file or directory 66%: Checks: 3, Failures: 0, Errors: 1 generic/states.c:189:E:general:test_state_changes_down_seq:0: (after this point) Test timeout expired This is fairly rare. A GST_DEBUG=5 log shows: 0:00:22.738031796 7657 0x1980c00 INFO glcontext gstglcontext.c:644:gst_gl_context_finalize:<glcontextglx2> joining gl thread 0:00:36.571151253 7607 0x1980c00 INFO GST_INIT gst.c:989:gst_deinit: deinitializing GStreamer
Created attachment 333370 [details] [review] fix race using gl_thread This fixes one race, but the test still occasionally hangs (the logs don't show a hang after join anymore though).
Comment on attachment 333370 [details] [review] fix race using gl_thread commit 2776cef25d2a98668b73272aecfe77e684e6627e Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> Date: Mon Aug 15 16:14:25 2016 +0100 glcontext: fix race joining thread on finalize https://bugzilla.gnome.org/show_bug.cgi?id=769939
> This fixes one race, but the test still occasionally hangs > (the logs don't show a hang after join anymore though). Just ran -bad generic/states.forever for 45 minutes, and didn't get any hang. Let's close this bug and open a new bug about the new hang, ideally with more information such as backtrace/debug log etc.