bit editor causes calculator to crash after 2nd bit change.

Bug #325579 reported by Tom Bresson
2
Affects Status Importance Assigned to Milestone
gcalctool (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gcalctool

Trying to use the biteditor in the gcalctool, after clicking on the second bit (any pattern) the calculator will crash.

Trailing Zeros must be enabled for this crash to occur.

To Reproduce:
-Launch gcalctool
-Enable Scientific Mode
-Switch to Binary Mode
-Enable Trailing Zeros
-Enable bit editor
-Switch more than 2 bits

There are a few other methods to reproduce this bug, but the bug can be reproduced by switching the options in a way so that gcalctool allows for the bit editor to be active while trailing zeros are enabled. This seems to cause the crash to occur every time.

Must be a bug with the bit editor too, because the bit editor won't be enabled with trailing zeros enabled, until you close and open the calculator and switch the Trailing Zero state. Output from the terminal is listed below.

[tom@tom-laptop:~]$ gcalctool (02-05 09:13)
gcalctool: gtk.c:1626: bit_toggle_cb: Assertion `display_get_unsigned_integer(&v->display, &value)' failed.
[1] 6997 abort gcalctool
[tom@tom-laptop:~]$

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/gcalctool
NonfreeKernelModules: fglrx
Package: gcalctool 5.24.1-0ubuntu1
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/usr/bin/zsh
SourcePackage: gcalctool
Uname: Linux 2.6.27-11-generic x86_64

Tags: apport-bug
Revision history for this message
Tom Bresson (turfyman) wrote :
description: updated
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Also, please answer these questions:
* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will greatly aid us in tracking down your problem and resolving this bug.

Changed in gcalctool:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Invalid
status: Invalid → Incomplete
Tom Bresson (turfyman)
description: updated
description: updated
Tom Bresson (turfyman)
description: updated
Revision history for this message
Pedro Villavicencio (pedro) wrote :

The crash isn't reproducible here, please report it with apport with the following instructions:

If you are running the Ubuntu Stable Release you might need to enable apport in /etc/default/apport and restart.

If you are using Ubuntu with the Gnome desktop environment - launch nautilus and navigate to your /var/crash directory and double click on the crash report you wish to submit.
If you are using Kubuntu or Xubuntu you can file the crash using /usr/share/apport/apport-qt --crash-file=/var/crash/_my_crash_report.crash in a terminal - where _my_crash_report.crash is the crash you would like to report.

Changed in gcalctool:
status: Incomplete → Invalid
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.