After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 63510 - SIGSEGV: Edit, Fill, Autofill (workbook-control-gui.c)
SIGSEGV: Edit, Fill, Autofill (workbook-control-gui.c)
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other Linux
: Normal major
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2001-11-01 01:40 UTC by Alex Barnes
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alex Barnes 2001-11-01 01:40:33 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.
Comment 1 Jody Goldberg 2001-11-01 02:20:00 UTC
Thats the correct fix.  Sorry for the typo.  I fixed it yesterday.