GNOME Bugzilla – Bug 533247
Crash in link_single_dep()
Last modified: 2008-05-17 05:37:04 UTC
Version: r16561 OS: Ubuntu Hardy Steps to reproduce: - Enter '=index(imcsch())' (no quotes) into A1 Backtrace: Program received signal SIGSEGV, Segmentation fault.
+ Trace 197770
Thread 3062057568 (LWP 10135)
Seems that the index functionshould check the value type of its first argument and return an error if it is not a cell range.
Created attachment 110945 [details] [review] proposed patch
No more crash with the patch above, but a critical and a value leak: ** (gnumeric:31369): CRITICAL **: go_linear_regression: assertion `n >= 1' failed Leaking 1 values. Leaking string [#N/A] with ref_count=1.
Comment on attachment 110945 [details] [review] proposed patch Looks good. Both branches.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.