I believe the reporter of this issue has the environment variable
export G_DEBUG=fatal_warnings
set. However, what is happening is that gnome-mplayer is shutting down and trying to gracefully shutdown the threadpool for retrieving metadata. But gtk is not handling a empty/flushed pool correctly and issuing the error.
I put in a workaround to not call this function when running under the control of gecko-mediaplayer
I believe the reporter of this issue has the environment variable
export G_DEBUG= fatal_warnings
set. However, what is happening is that gnome-mplayer is shutting down and trying to gracefully shutdown the threadpool for retrieving metadata. But gtk is not handling a empty/flushed pool correctly and issuing the error.
I put in a workaround to not call this function when running under the control of gecko-mediaplayer
Index: src/gui.c ======= ======= ======= ======= ======= ======= ======= ======= ====
=======
--- src/gui.c (revision 1526)
+++ src/gui.c (working copy)
@@ -1374,16 +1374,21 @@
}
mplayer_ shutdown( ); pool_stop_ unused_ threads( ); pending( ) || thread != NULL pool_unprocesse d(retrieve_ metadata_ pool)) { iteration( ); pool_free( retrieve_ metadata_ pool, TRUE, TRUE);
- g_thread_
- while (gtk_events_
- || g_thread_
- gtk_main_
- }
- g_thread_
- if (control_id != 0) pool_stop_ unused_ threads( ); pending( ) || thread != NULL pool_unprocesse d(retrieve_ metadata_ pool)) { iteration( ); pool_free( retrieve_ metadata_ pool, TRUE, TRUE); pending( ) || thread != NULL) { iteration( );
dbus_ cancel( );
+ if (control_id == 0) {
+ g_thread_
+ while (gtk_events_
+ || g_thread_
+ gtk_main_
+ }
+ g_thread_
+ } else {
+ while (gtk_events_
+ gtk_main_
+ }
-
+ }
+
dbus_unhook();