segfault, apparently related to AxisLine
Recipe
— Open the attached segfault.gnumeric spreadsheet. Call this the "primary".
— In another window, open the attached segfault-data.csv file. Call this the "secondary".
— Select all.
— Copy.
— Return to the primary.
— On the first sheet (named equation-of-time.csv) glance at the AxisLine
at the bottom of the plot. There are widely-spaced 3-digit labels,
178 180 et cetera, which is qualitatively different from the Axis at
the top of the plot.
— Select the second sheet (named "aa") then select cell A1.
— Paste.
— (XXX) Observe that things seem more-or-less normal at this point.
— Use control-PageUp or use the mouse to select the first sheet.
— Observe immediate segfault. A stack trace is attached.
Additional Clue
— Repeat the previous recipe down to and including step (XXX).
— Rather than looking at the first page, File->SaveAs foo.gnumeric, then exit.
— Open foo.gnumeric.
— Look at the first sheet.
— Observe that this does not cause a segfault; evidently saving and re-opening
did something significant.
— Observe that the AxisLine at the bottom of the plot has mysteriously changed.
There are now closely-spaced two-digit numbers, matching the Axis at the top
of the plot.
Remarks
This is 100% reproducible chez moi.
This bug is not high priority for me, because there is a workaround.
The workaround is to delete the AxisLine.
Platform
This is observed using a recent version of gnumeric, compiled from git sources.
:; uname -srmo
Linux 5.7.1+ x86_64 GNU/Linux
:; lsb_release -a
LSB Version: core-11.1.0ubuntu2-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: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-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
:; /usr/src/gnome/gnumeric/src/gnumeric --version
gnumeric version '1.12.49'
datadir := '/usr/src/gnome/install/share/gnumeric/1.12.49'
libdir := '/usr/src/gnome/gnumeric'
:; git log
commit 0f355ab1e9009f80ec88bc7474e74119442c2e0e
Date: Mon Aug 24 09:56:44 2020 +0000
Edited by Morten Welinder