From aa252493898ecf5feabb88517c19e104ac965a02 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Fri, 6 Sep 2024 10:55:02 +0600 Subject: [PATCH] Test debug messages for crash localising --- source/ubinstall-gtk.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index 243f8d8..3c1a4a5 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -1209,6 +1209,7 @@ void *on_install_success(main_window *widgets){ void *on_setup_system_configuration(void *data); void *on_setup_system_configuration(void * data){ + yon_debug_output("$s\n","Entered thread"); main_window *widgets = (main_window*)data; if (widgets){}; int size; @@ -1759,15 +1760,17 @@ void on_page_navigation_clicked(GtkWidget *self, main_window *widgets){ } if (!main_config.configure_mode){ + yon_debug_output("$s\n","Entered saving"); if (!main_config.install_complete){ gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION); } if (gtk_progress_bar_get_fraction(GTK_PROGRESS_BAR(widgets->InstallationProgress))>0.9){ + yon_debug_output("$s\n","Entered saving before installation done"); gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION); gtk_label_set_text(GTK_LABEL(widgets->InstallationLabel),CONFIGURATION_LABEL); pthread_t tid; - pthread_create(&tid,NULL,on_setup_system_configuration,widgets); yon_debug_output("%s\n","installation ending configuration startup"); + pthread_create(&tid,NULL,on_setup_system_configuration,widgets); } else { pthread_t tid; pthread_create(&tid,NULL,on_save_system_configuration,widgets);