galculator segfaults in paper mode and selecting prefrences

Bug #1474571 reported by Lyn Perrine on 2015-07-14
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ubuntu-mate
Medium
Unassigned
galculator (Ubuntu)
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)

Lyn Perrine (walterorlin) wrote :
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
Launchpad Janitor (janitor) wrote :

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

Changed in galculator (Ubuntu):
status: New → Confirmed
sudodus (nio-wiklund) wrote :

Confirmed

Changed in galculator (Ubuntu):
importance: Undecided → Medium

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

Martin Wimpress (flexiondotorg) wrote :

I've contacted the upstream developer.

gravy45 (gravy45) wrote :

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

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

gravy45 (gravy45) wrote :

Yes, thanks.

There is a new upstream release that fixes this issue.

Changed in ubuntu-mate:
status: New → Confirmed
importance: Undecided → Medium
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  Edit
Everyone can see this information.

Other bug subscribers