GNOME Bugzilla – Bug 343150
gcalctool crashes when switching to scientific mode
Last modified: 2006-11-30 18:54:37 UTC
Crash is reproducible. Backtrace was generated from '/opt/gnome2/bin/gcalctool' Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1227483456 (LWP 30115)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 68489
Gcalctool crashed in arithmetic operator precedence mode, so transferring to Sami for further investigation. Brent, it would be helpful if you could tell us what version of gcalctool this is (Help->About from the menu bar). It would also be useful to know that you were trying to do, i.e. the calculation you were trying to make of the gcalctool operation you were trying to do. It looks like you were trying to change modes, but it would be helpful to know what was in the display. Thanks.
Rich, The version is 5.8.14, compiled from CVS HEAD yesterday. To reproduce simply open gcalctool and switch to scientific mode. This may be a GTK+ bug, I think I'm seeing a lot of issues with 2.9.2.
Thanks Brent. I'm not seeing the problem here (GNOME 2.14 and gcalctool CVS HEAD), but I'm not using Gtk+ v2.9.2.
I am able to reproduce the problem with gcalctool CVS HEAD and GTK 2.8.6. The cause is still unknown. Perhaps something went wrong when I added undo/redo menu entries.
Reproducible with gcalctool-5.8.13 and gtk+-2.6.10 on OS X 10.3 when changing View to any Basic/Advanced/Financial that is not currently selected. I can give a core dump if you want it.
Created attachment 66614 [details] [review] The Fix. Whoops. =) This is the fix to the crash problem.
Thanks Sami. Change checked into CVS HEAD. I'm also bumped the version number in configure.in to 5.8.15.
Confirming that Sami's patch fixes 5.8.13 for me.
*** Bug 348739 has been marked as a duplicate of this bug. ***
*** Bug 380989 has been marked as a duplicate of this bug. ***