galculator segfaults in paper mode and selecting prefrences

Bug #1474571 reported by Lyn Perrine
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Ubuntu MATE
Fix Released
Medium
Unassigned
galculator (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

To reproduce in Lubuntu 15.10 launch galculator select paper mode as the view. Then select edit prefrences. And then galculator will have a segmentation fualt in the terminal.

galculator:
  Installed: 2.1.3-1
  Candidate: 2.1.3-1
  Version table:
 *** 2.1.3-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ wily/universe i386 Packages
        100 /var/lib/dpkg/status
Description: Ubuntu Wily Werewolf (development branch)
Release: 15.10

I expected the prefrences dialog to open in paper mode. Instead galcualator has a segmentation fault.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: galculator 2.1.3-1
ProcVersionSignature: Ubuntu 4.0.0-4.6-generic 4.0.7
Uname: Linux 4.0.0-4-generic i686
ApportVersion: 2.17.3-0ubuntu4
Architecture: i386
CurrentDesktop: LXDE
Date: Tue Jul 14 14:44:26 2015
InstallationDate: Installed on 2015-07-14 (0 days ago)
InstallationMedia: Lubuntu 15.10 "Wily Werewolf" - Alpha i386 (20150714)
SourcePackage: galculator
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Lyn Perrine (walterorlin) wrote :
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1474571

tags: added: iso-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in galculator (Ubuntu):
status: New → Confirmed
Revision history for this message
sudodus (nio-wiklund) wrote :

Confirmed

Changed in galculator (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Aapo Rantalainen (aapo-rantalainen) wrote :

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

Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

I've contacted the upstream developer.

Revision history for this message
gravy45 (gravy45) wrote :

Also in 15.10 daily 20150829, after setting to paper mode, cannot key in numbers.

Revision history for this message
Lyn Perrine (walterorlin) wrote :

gravy that sounds like https://bugs.launchpad.net/ubuntu/+source/galculator/+bug/1402459 which is also set to confirmed. Althuogh this one might need to be upstreamed as well. https://bugs.launchpad.net/ubuntu/+source/galculator/+bug/1402459

Revision history for this message
gravy45 (gravy45) wrote :

Yes, thanks.

Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

There is a new upstream release that fixes this issue.

Changed in ubuntu-mate:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :
Changed in galculator (Ubuntu):
status: Confirmed → In Progress
Changed in ubuntu-mate:
status: Confirmed → In Progress
Changed in galculator (Ubuntu):
status: In Progress → Fix Released
Changed in ubuntu-mate:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.