segfault in goc_canvas_invalidate_region
Submitted by John Denker
Created attachment 295580 vulnerable to segfault
It might be good to take a look at goc_canvas_invalidate_region.
I've been getting segfaults. The "priv" pointer is zero.
The attached file demonstrates the problem. Type a single "=" sign in cell A1 (or anywhere else) and then click on cell B1 (or anywhere else). Observe immediate segfault.
This is not urgent for me; there are lots of obvious ways of patching the code to make the problem go away. Somebody who knows more than me can decide what is best.
$x/gnumeric --version gnumeric version '1.12.20' datadir := '/usr/src/gnumeric/gitball/gnumeric/1.12.20' libdir := '/usr/src/gnumeric/gitball/'
uname -a Linux asclepias 3.18.0+ #2 SMP Sun Dec 21 18:25:03 MST 2014 x86_64 x86_64 x86_64 GNU/Linux
Attachment 295580, "vulnerable to segfault":