table_children = gtk_container_get_children(GTK_CONTAINER(table));
+ if (!table_children) return;
/* dispctrl_right has an extra table for cosmetic reasons. */
if (GTK_IS_TABLE_OR_GRID (table_children->data))
table = (GTK_TABLE_OR_GRID *) GTK_WIDGET(table_children->data);
Happens also in Ubuntu-14.04.3 (Same version of galculator).
This is the place causing segmentation fault, and here is easy fix (not sure what is breaks).
--- ui_orig.c 2015-08-19 20:19:23.409562722 +0300
+++ src/ui.c 2015-08-19 20:20:54.113560996 +0300
@@ -591,6 +591,7 @@
if (!table) return;
table_children = gtk_container_ get_children( GTK_CONTAINER( table)) ; TABLE_OR_ GRID (table_ children- >data)) table_children- >data);
+ if (!table_children) return;
/* dispctrl_right has an extra table for cosmetic reasons. */
if (GTK_IS_
table = (GTK_TABLE_OR_GRID *) GTK_WIDGET(