"ln cosh 99999999" causes program to hang for long time / indefinitely

Bug #591892 reported by Mike Fairbank
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcalctool (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: gcalctool

In scientific display mode, enter "ln cosh 99999999". This causes the program to hang for a long time / indefinitely. During this hang, the calculator is unable to redraw itself and does not respond. I waited 5 minutes but got no response so terminated the application.

I am using gcalctool 5.28.2

Thanks.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for the report, that's not reproducible on lucid, could you please try the same on that version and comment back? thanks.

Changed in gcalctool (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :

I can confirm the long hang for Lucid - but I did get 99999998.306852819 as a result in the end, but only after several minutes... The general unresponsiveness has been already reported here: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/347089
so I think this is a duplicate (@Mike: try 10 minutes ;-) )

Revision history for this message
Mike Fairbank (michael-fairbank) wrote :

Thanks Marcel. Yes it looks like this is a duplicate of the bug you cite (347089). It's good that it got the right answer in the end! However it would be better if there was a way to "escape" to cancel the long calculation, and the window redrawing did not stall during the calculation.

Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :

Ok, marking it as a duplicate then - please feel free to add any further comments to the other bug (or even better: to the attached upstream bug).

Changed in gcalctool (Ubuntu):
status: Incomplete → Confirmed
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.