GNOME Bugzilla – Bug 63510
SIGSEGV: Edit, Fill, Autofill (workbook-control-gui.c)
Last modified: 2004-12-22 21:47:04 UTC
1. Put 5 in C5, 7 in E5 2. Highlight C5:E5 3. Select Edit, Fill, Autofill... 4. Crash Here's a patch to fix it (the crash that is, the fact that it doesn't actually fill anything in I'll fix in bug 63160): Index: workbook-control-gui.c =================================================================== RCS file: /cvs/gnome/gnumeric/src/workbook-control-gui.c,v retrieving revision 1.181 diff -u -r1.181 workbook-control-gui.c --- workbook-control-gui.c 2001/10/27 20:06:49 1.181 +++ workbook-control-gui.c 2001/11/01 01:21:35 @@ -1830,8 +1830,7 @@ else template.end.col = sel->end.col; - cmd_autofill (wbc, sheet, sel->start.col, sel->start.row, - FALSE, + cmd_autofill (wbc, sheet, FALSE, sel->start.col, sel->start.row, template.end.col - sel->start.col + 1, template.end.row - sel->start.row + 1, sel->end.col, sel->end.row); P.S. I'm a bit of a gnubie, but open-source rocks! The only reason I found this bug was because I was looking into 63160 and didn't understand why the parameters for cmd_autofill were different in workbook-control-gui.c.
Thats the correct fix. Sorry for the typo. I fixed it yesterday.