GNOME Bugzilla – Bug 88057
Crashed while copy and pasting
Last modified: 2004-12-22 21:47:04 UTC
Package: Gnumeric Severity: critical Version: 1.1.4 Synopsis: Crashed while copy and pasting Bugzilla-Product: Gnumeric Bugzilla-Component: General BugBuddy-GnomeVersion: 2.0 (1.117.1) Description: While copy and pasting stuff things crashed. I have a spreadsheet and a recipie but the file is confidential ;-(. Debugging Information: Backtrace was generated from '/gnome/head/INSTALL/bin/gnumeric' [New Thread 1024 (LWP 9376)] 0x40e5f319 in __wait4 () from /lib/libc.so.6
+ Trace 25003
Thread 1 (Thread 1024 (LWP 9376))
------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-07-12 15:58 ------- Reassigning to the default owner of the component, jody@gnome.org.
1. select F71::I72 2. cut 3. paste one line below 4. Copy F70 5. Paste in F71 Kaboom!
Yummy 2 bugs for the price of 1. Your sheet pinpointed some old cruft in the XL importer that was breaking when importing our exported xls if it contained #REF! That is fixed in head (I'll backport soon)> This dependent ref error is trickier.
This was subtle. Its good that you found this now it would have been a brutal source of crashes. It boiled down to a trivial oversight in some convenience code. dependent_unlink (Dependent *, CellPos *) permitted the 2nd arg to be NULL and defaulted to using A1 in that case. Which is completely wrong if we were unlinking a cell. Normally this was not an issue because the cell routines always passed in a position. However, the relocation code operated on dependents directly and just passed in NULL.