gcalctool crashes on launch

Bug #660798 reported by Ivan Ysh
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gcalctool (Ubuntu)
Fix Released
Medium
Unassigned
Maverick
Fix Released
Medium
Robert Ancell

Bug Description

Binary package hint: gcalctool

Description: Ubuntu 10.10
Release: 10.10
  Установлен: 5.32.0-0ubuntu2

When i launch gcalctool from Applications->Standart->calc, i see a label in bottom pane:"Запускается Калькулятор" ("Launching calc" in eng), and then nothing happend. Or i can run it from term:
saeol@saeol-laptop:~$ gcalctool
Ошибка сегментирования
saeol@saeol-laptop:~$
It crashes. Thats all. (Sorry for my poor english ;)

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gcalctool 5.32.0-0ubuntu2
Uname: Linux 2.6.35my1 i686
Architecture: i386
Date: Fri Oct 15 00:24:53 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 LANG=ru_RU.utf8
 SHELL=/bin/bash
SourcePackage: gcalctool

Revision history for this message
Ivan Ysh (gadjin) wrote :
Revision history for this message
Ivan Ysh (gadjin) wrote :

When i launch it with arg, it work:
saeol@saeol-laptop:~$ gcalctool -s 2*2*2
8
saeol@saeol-laptop:~$
When i launch it with random arg like 'ggg', '123'. it show me help,
BUT if i run it with '#foo', it write 'Ошибка сегментирования' :
saeol@saeol-laptop:~$ gcalctool #foo
Ошибка сегментирования
saeol@saeol-laptop:~$

Revision history for this message
GVA (gva230) wrote :

RUS: После сегодняшнего обновления gcalсtool, он перестал запускаться.

ENG: After today update of gcalсtool it's don't run.

Revision history for this message
Victor Vargas (kamus) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in gcalctool (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Ivan Ysh (gadjin) wrote :

Backtrace of gcalctool

Changed in gcalctool (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Robert Ancell (robert-ancell) wrote :

This is caused by the change in bug #631665

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted gcalctool into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in gcalctool (Ubuntu Maverick):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Ivan Ysh (gadjin) wrote :

I tested gcalctool 5.32.0-0ubuntu3. When I launch it from terminal:

saeol@saeol-laptop:~$ gcalctool

(process:11105): Gtk-CRITICAL **: set_table: assertion `buffer->tag_table == NULL' failed
saeol@saeol-laptop:~$

and calc launch GUI normally (as i can see). Shall i upload new backtrace and other dbg files, or that message normal ?

Revision history for this message
Ivan Ysh (gadjin) wrote :

I see a translation in rosetta of this app. Some strings translated... like that:

eng string: foo '%s' foo2
ru translation : rufoo "%s" rufoo2

Maybe that can cause errors?

P.S. i write a new version of translation
P.P.S. IMHO

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU verification for Maverick:
I have reproduced the problem with gcalctool 5.32.0-0ubuntu2 in maverick and have verified that the version of gcalctool 5.32.0-0ubuntu3 in -proposed fixes the issue. I've tested with ru_RU.UTF-8 and gcalctool segfaults.

Marking as verification-done

tags: added: verification-done
removed: verification-needed
Revision history for this message
Aron Xu (happyaron) wrote :

This patch will make zh_CN locale not working, all numeric keys will be shown translated, so calculation cannot be performed.

Screenshot attached.

tags: added: verification-failed
removed: verification-done
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for spotting this Aron. Regression confirmed in Maverick-proposed.

Changed in gcalctool (Ubuntu Maverick):
assignee: nobody → Robert Ancell (robert-ancell)
status: Fix Committed → In Progress
importance: Undecided → Medium
tags: added: regression-proposed
Revision history for this message
Robert Ancell (robert-ancell) wrote :

The patch in bug 631665 enabled the localized digit feature. The attached patch disables this feature.

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted gcalctool into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in gcalctool (Ubuntu Maverick):
status: In Progress → Fix Committed
tags: removed: verification-failed
tags: added: verification-needed
Revision history for this message
Aron Xu (happyaron) wrote :

Confirm 5.32.0-0ubuntu4 won't cause problem in zh_CN locale, still need someone to verify if ru locale's crash still exist.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU verification for Maverick:
I have reproduced the problem with gcalctool 5.32.0-0ubuntu1 in maverick and have verified that the version of gcalctool 5.32.0-0ubuntu4 in -proposed fixes the issue. I've verified that gcalctool doesn't segfault at launch with locales C, es_ES, fr_FR, pt_PT, ru_RU and zh_CN

Marking as verification-done

tags: added: verification-done
removed: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote :

Copied to natty, too.

Changed in gcalctool (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcalctool - 5.32.0-0ubuntu4

---------------
gcalctool (5.32.0-0ubuntu4) maverick-proposed; urgency=low

  * debian/patches/05_disable_digit_localization.patch:
    - Disable digit localization - the previous patch got it to work but it
      doesn't work in Chinese. (LP: #660798)
 -- Robert Ancell <email address hidden> Wed, 20 Oct 2010 19:52:14 +1100

Changed in gcalctool (Ubuntu Maverick):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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