GNOME Bugzilla – Bug 568634
Crash for undo of cross-workbook-cut-and-paste
Last modified: 2009-01-22 15:31:51 UTC
Version: 1.8.3 What were you doing when the application crashed? I had cut/pasted a row between two spreadsheets, and tried to undo the operation in both. (Their cells contained text and were formatted as "general"; the target sheet was marked "always on top" in the window manager.) I don't know yet whether these details are relevant or the crash is reproducible. I'll follow up if it happens again! Distribution: Gentoo Base System release 2.0.0 Gnome Release: 2.24.3 2009-01-14 (Gentoo) BugBuddy Version: 2.24.2 System: Linux 2.6.28-gentoo #2 SMP Wed Jan 14 02:27:29 PST 2009 i686 X Vendor: The X.Org Foundation X Vendor Release: 10503000 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: gnome Memory status: size: 58232832 vsize: 58232832 resident: 34549760 share: 18210816 rss: 34549760 rss_rlim: 18446744073709551615 CPU usage: start_time: 1232587061 rtime: 3215 utime: 3095 stime: 120 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/gnumeric' [Thread debugging using libthread_db enabled] [New Thread 0xb6898710 (LWP 1512)] 0xb7fb6424 in __kernel_vsyscall ()
+ Trace 211747
Thread 1 (Thread 0xb6898710 (LWP 1512))
----------- .xsession-errors (15808 sec old) --------------------- e-data-server-ui-Message: Key file does not have key 'imap:__justinb04@imap.aim.com_' ** (nm-applet:3832): WARNING **: Unhandled setting secret type (write) 'connection/autoconnect' : 'gboolean' ** (nm-applet:3832): WARNING **: Unhandled setting secret type (write) 'connection/timestamp' : 'guint64' ** (nm-applet:3832): WARNING **: Unhandled setting secret type (write) 'connection/read-only' : 'gboolean' ** (nm-applet:3832): WARNING **: Unhandled setting secret type (write) '802-11-wireless/ssid' : 'GArray_guchar_' ** (nm-applet:3832): WARNING **: Unhandled setting secret type (write) '802-11-wireless/channel' : 'guint' ** (nm-applet:3832): WARNING **: Unhandled setting secret type (write) '802-11-wireless/bssid' : 'GArray_guchar_' ...Too much output, ignoring rest... --------------------------------------------------
This behavior does seem to be reproducible. Run Gnumeric. File -> New. (Now editing a new spreadsheet.) Type "test" into a cell. Select it & cut. Switch to first spreadsheet. Paste. Undo. As gnumeric crashes, I see this output: ** (gnumeric:8155): WARNING **: Failed to find scg for sheet Sheet1 Cannot access memory at address 0xe0102 Cannot access memory at address 0xe0102 I'd be happy to test a non-optimized debug build and/or a development version, especially if others have trouble reproducing the crash.
Confirmed in trunk when the two workbooks are opened in the same gnumeric instance. No crash if they are opened in two different instances. In both case, undo does not restore the contents of the initial cell.
oooh. tasty. Here's a trace for the trunk. The specific failure in the 1.8 trunk has clearly been handled in the trunk, but it would appear only to fall over in a different location. (gdb) where
+ Trace 211763
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. I don't think we'll ever do a new 1.8.x, but the patch at http://svn.gnome.org/viewvc/gnumeric?view=revision&revision=17082 ought to apply with little trouble.