GNOME Bugzilla – Bug 360672
Crash when pasting from another gnumeric via clipboard
Last modified: 2006-10-09 00:36:31 UTC
Enter the following in gnumeric 1: A1: 1 A2: 2 A3: =A1+A2 Select cells A2:A3 and select Edit/Copy. In gnumeric 2, select Edit/Paste. Gnumeric 2 segfaults. Backtrace:
+ Trace 75257
See also bug 360666
Good catch. The problem is that cell->value is NULL which is a big no-no. It looks like clipboard.c fails to set the CELL_HAS_NEW_EXPR flag.
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report. This patch happens to fix this crash and has been committed. More bugs conspired to make the crash, though. We should not get a NULL value here. That has not yet been tracked down. 2006-10-08 Morten Welinder <terra@gnome.org> * src/cell.c (cell_set_expr_and_value): Set CELL_HAS_NEW_EXPR just like cell_set_expr_internal. Fixes #360672.