GNOME Bugzilla – Bug 735654
"incorrect expression" error when switching from hexa to decimal
Last modified: 2014-08-31 14:00:39 UTC
Version 1:3.10.2-0ubuntu1.1 on ubuntu 14.04 32bit How to reproduce: - open gcalctool - choose "Programming mode" - choose "decimal" and enter a decimal number - choose "hexadecimal" to convert the number in hexa - then try to put and other hexadecimal number and you get the error "Incorrect expression" every time I can't find a way to enter a new value at this point and I have to restart the tool. This problem definitvely didn't occur with the previous version on ubuntu 12.04. I filled a bug report to the gcalctool dev team and they confirmed it was an upstream bug. Here is the error output: ** (gcalctool:4245): CRITICAL **: string_splice: assertion '_tmp18_ <= _tmp19_' failed ** (gcalctool:4245): CRITICAL **: string_get_next_char: assertion 'self != NULL' failed ** (gcalctool:4245): CRITICAL **: string_splice: assertion '_tmp18_ <= _tmp19_' failed ** (gcalctool:4245): CRITICAL **: string_get_next_char: assertion 'self != NULL' failed ....
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
could you give details on the commit? is that issue fixed only in 3.13? can you backport to fix to stable?
It's this commit: https://git.gnome.org/browse/gnome-calculator/commit/?id=9ff8396ca73eaade391acc9eceacc1fcfe774cfc I don't know why it wasn't backported.