segfault in gog_chart_view_render
Observed behavior When I open the following .gnumeric file, I get an immediate segfault. segfault.gnumeric
This is 100% reproducible chez moi.
NOTE: I have minimized this example as much as I can. I've spent hours minimizing. I've got it to the point where further minimizations lead to an immediate segfault. I didn't create this spreadsheet; it was sent to me and I just wanted to use it.
Here is a related file that does not immediately segfault, which allows you to look around. Clearing column H causes a segfault (select column H, hit DEL-key), as do many other actions. segfault3.gnumeric
Note that one of the series in the plot has a relatively uncommon "added point" attribute; I have no idea whether this is a clue or a red herring.
Here is a stack trace: segfault.logg
This is observed with a bog-standard distributed version (1.12.38) and also with a new-ish version (1.12.47) compiled from git sources.
:; /usr/src/gnome/gnumeric/src/gnumeric --version gnumeric version '1.12.47' datadir := '/usr/src/gnome/install/share/gnumeric/1.12.47' libdir := '/usr/src/gnome/gnumeric'
:; uname -srmo Linux 4.19.42+ x86_64 GNU/Linux
:; lsb_release -a LSB Version: core-9.20170808ubuntu1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-9.20170808ubuntu1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-9.20170808ubuntu1-noarch Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic