[gimp/wip/Jehan/make-check-CI-master] More printf!



commit 288b560b97f7489722d8df7ff6849038a2c73c93
Author: Jehan <jehan girinstud io>
Date:   Thu Mar 19 16:13:21 2020 +0100

    More printf!
    
    Apparently the deallocation issue happens in gui_exit_callback().
    This is getting so boring.

 app/display/gimpdisplay-foreach.c      | 2 ++
 app/gui/gui-unique.c                   | 2 ++
 app/gui/gui.c                          | 1 +
 app/gui/session.c                      | 2 ++
 app/menus/menus.c                      | 2 ++
 app/tools/gimp-tools.c                 | 4 ++++
 app/widgets/gimpcontrollers.c          | 2 ++
 app/widgets/gimpdevices.c              | 2 ++
 app/widgets/gimplanguagestore-parser.c | 2 ++
 9 files changed, 19 insertions(+)
---
diff --git a/app/display/gimpdisplay-foreach.c b/app/display/gimpdisplay-foreach.c
index 440113effd..6de77b16f2 100644
--- a/app/display/gimpdisplay-foreach.c
+++ b/app/display/gimpdisplay-foreach.c
@@ -157,12 +157,14 @@ gimp_displays_delete (Gimp *gimp)
   /*  this removes the GimpDisplay from the list, so do a while loop
    *  "around" the first element to get them all
    */
+  g_print ("EXIT: %s\n", G_STRFUNC);
   while (! gimp_container_is_empty (gimp->displays))
     {
       GimpDisplay *display = gimp_get_display_iter (gimp)->data;
 
       gimp_display_delete (display);
     }
+  g_print ("EXIT DONE: %s\n", G_STRFUNC);
 }
 
 /**
diff --git a/app/gui/gui-unique.c b/app/gui/gui-unique.c
index 219cb341c6..13fd243cd2 100644
--- a/app/gui/gui-unique.c
+++ b/app/gui/gui-unique.c
@@ -429,8 +429,10 @@ gui_dbus_service_init (Gimp *gimp)
 static void
 gui_dbus_service_exit (void)
 {
+  g_print ("EXIT: %s\n", G_STRFUNC);
   g_bus_unown_name (dbus_name_id);
   g_object_unref (dbus_manager);
+  g_print ("EXIT DONE: %s\n", G_STRFUNC);
 }
 
 #endif
diff --git a/app/gui/gui.c b/app/gui/gui.c
index 23e90c5577..42299d9268 100644
--- a/app/gui/gui.c
+++ b/app/gui/gui.c
@@ -770,6 +770,7 @@ gui_exit_callback (Gimp     *gimp,
 
   gimp_language_store_parser_clean ();
 
+  g_print ("EXIT DONE: %s\n", G_STRFUNC);
   return FALSE; /* continue exiting */
 }
 
diff --git a/app/gui/session.c b/app/gui/session.c
index 79caa11dac..ee93120c0b 100644
--- a/app/gui/session.c
+++ b/app/gui/session.c
@@ -357,6 +357,7 @@ session_save (Gimp     *gimp,
   GFile            *file;
   GError           *error = NULL;
 
+  g_print ("EXIT: %s\n", G_STRFUNC);
   g_return_if_fail (GIMP_IS_GIMP (gimp));
 
   if (sessionrc_deleted && ! always_save)
@@ -425,6 +426,7 @@ session_save (Gimp     *gimp,
   dialogs_save_recent_docks (gimp);
 
   sessionrc_deleted = FALSE;
+  g_print ("EXIT DONE: %s\n", G_STRFUNC);
 }
 
 gboolean
diff --git a/app/menus/menus.c b/app/menus/menus.c
index 4ca8b4b843..d7461fae8c 100644
--- a/app/menus/menus.c
+++ b/app/menus/menus.c
@@ -438,6 +438,7 @@ menus_save (Gimp     *gimp,
   GFile *file;
   gchar *filename;
 
+  g_print ("EXIT: %s\n", G_STRFUNC);
   g_return_if_fail (GIMP_IS_GIMP (gimp));
 
   if (menurc_deleted && ! always_save)
@@ -455,6 +456,7 @@ menus_save (Gimp     *gimp,
   g_object_unref (file);
 
   menurc_deleted = FALSE;
+  g_print ("EXIT DONE: %s\n", G_STRFUNC);
 }
 
 gboolean
diff --git a/app/tools/gimp-tools.c b/app/tools/gimp-tools.c
index 94d22a81ee..b67d3dc768 100644
--- a/app/tools/gimp-tools.c
+++ b/app/tools/gimp-tools.c
@@ -229,6 +229,7 @@ gimp_tools_exit (Gimp *gimp)
 {
   GList *list;
 
+  g_print ("EXIT: %s\n", G_STRFUNC);
   g_return_if_fail (GIMP_IS_GIMP (gimp));
 
   g_clear_object (&toolbox_groups_binding);
@@ -245,6 +246,7 @@ gimp_tools_exit (Gimp *gimp)
 
       gimp_tools_set_tool_options_gui (tool_info->tool_options, NULL);
     }
+  g_print ("EXIT DONE: %s\n", G_STRFUNC);
 }
 
 void
@@ -338,6 +340,7 @@ gimp_tools_save (Gimp     *gimp,
   GimpConfigWriter *writer;
   GFile            *file;
 
+  g_print ("EXIT: %s\n", G_STRFUNC);
   g_return_if_fail (GIMP_IS_GIMP (gimp));
 
   if (save_tool_options && (! tool_options_deleted || always_save))
@@ -386,6 +389,7 @@ gimp_tools_save (Gimp     *gimp,
     }
 
   g_object_unref (file);
+  g_print ("EXIT DONE: %s\n", G_STRFUNC);
 }
 
 gboolean
diff --git a/app/widgets/gimpcontrollers.c b/app/widgets/gimpcontrollers.c
index 9268627121..c63f5d181e 100644
--- a/app/widgets/gimpcontrollers.c
+++ b/app/widgets/gimpcontrollers.c
@@ -194,6 +194,7 @@ gimp_controllers_save (Gimp *gimp)
   GFile                 *file;
   GError                *error = NULL;
 
+  g_print ("EXIT: %s\n", G_STRFUNC);
   g_return_if_fail (GIMP_IS_GIMP (gimp));
 
   manager = gimp_controller_manager_get (gimp);
@@ -215,6 +216,7 @@ gimp_controllers_save (Gimp *gimp)
     }
 
   g_object_unref (file);
+  g_print ("EXIT DONE: %s\n", G_STRFUNC);
 }
 
 GimpContainer *
diff --git a/app/widgets/gimpdevices.c b/app/widgets/gimpdevices.c
index 3145272ea9..0827ee853b 100644
--- a/app/widgets/gimpdevices.c
+++ b/app/widgets/gimpdevices.c
@@ -160,6 +160,7 @@ gimp_devices_save (Gimp     *gimp,
   GFile             *file;
   GError            *error = NULL;
 
+  g_print ("EXIT: %s\n", G_STRFUNC);
   g_return_if_fail (GIMP_IS_GIMP (gimp));
 
   manager = gimp_devices_get_manager (gimp);
@@ -197,6 +198,7 @@ gimp_devices_save (Gimp     *gimp,
   g_object_unref (file);
 
   devicerc_deleted = FALSE;
+  g_print ("EXIT DONE: %s\n", G_STRFUNC);
 }
 
 gboolean
diff --git a/app/widgets/gimplanguagestore-parser.c b/app/widgets/gimplanguagestore-parser.c
index 279fccf27e..bd3fdcb527 100644
--- a/app/widgets/gimplanguagestore-parser.c
+++ b/app/widgets/gimplanguagestore-parser.c
@@ -272,8 +272,10 @@ gimp_language_store_parser_init (void)
 void
 gimp_language_store_parser_clean (void)
 {
+  g_print ("EXIT: %s\n", G_STRFUNC);
   g_hash_table_destroy (l10n_lang_list);
   g_hash_table_destroy (all_lang_list);
+  g_print ("EXIT DONE: %s\n", G_STRFUNC);
 }
 
 /*


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]