[MacPorts] #50585: Gnumeric will crash when selecting Matrix graphic
MacPorts
noreply at macports.org
Thu Feb 11 14:45:18 PST 2016
#50585: Gnumeric will crash when selecting Matrix graphic
-----------------------+----------------------
Reporter: m.rick@… | Owner: devans@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gnumeric |
-----------------------+----------------------
Comment (by devans@…):
The Matrix plots (and others, too, I think) require you to select an
appropriately sized region of cells in the spreadsheet. At least 2
rows/columns for MatrixXY and 3 for MatrixXYZ. The error described here
results from not doing this and causes the crash in MatrixXY plots due to
unexpected NULL data while trying to construct the sample plot view.
MatrixXYZ doesn't actually crash due to an earlier fix committed to
goffice
[https://git.gnome.org/browse/goffice/commit/?id=813eabc31ed3cd7765312f78ae1cbb7c2085ebb9
here] and released with goffice 0.10.24.
Relevant code (in goffice) is gog_xyz_matrix_plot_build_matrix() in
plugins/plot_surface/gog-xyz-surface.c which handles both cases.
This is fairly low level code and it would be better if there were a check
for this condition at the gnumeric GUI level with a corresponding error
dialog reminding the user to select his data region properly before trying
to insert the chart.
--
Ticket URL: <https://trac.macports.org/ticket/50585#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list