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));
+    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);

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1474571

Title:
  galculator segfaults in paper mode and selecting prefrences

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/galculator/+bug/1474571/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to