GLib (gthread-posix.c): Unexpected error from C library during 'pthread_mutex_lock': Invalid argument. Aborting.

Nicolas Dufresne nicolas.dufresne at collabora.com
Tue Sep 23 07:12:29 PDT 2014


Le 2014-09-23 09:57, Sergei Vorobyov a écrit :
> The art of debugging is about zooming in on the real problem, cutting 
> off trivial or nonessential things, not to debug everything altogether 
> with the biggest hammer available.
Up to you, my far guess is that you actually unref too much something 
somewhere, and endup doing "use after free" object that holds a mutex 
and crash. Normally, valgrind, with the environment 
G_SLICE=always_malloc gives an overview of that very quickly, and can 
often be done before cutting down you pipeline. I say you, because it's 
an habit to blame the new and shiny code, but obviously it's not 
impossible that libvaapi or the graphic driver is bugged. You have 
already said that without HW acceleration it's fine.

Nicolas


More information about the gstreamer-devel mailing list