After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 627507 - Charting/ODF crash
Charting/ODF crash
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
git master
Other All
: Normal normal
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2010-08-20 15:22 UTC by Morten Welinder
Modified: 2010-08-20 15:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
First google hit for "filetype:ods" (58.20 KB, application/vnd.oasis.opendocument.spreadsheet)
2010-08-20 15:22 UTC, Morten Welinder
Details

Description Morten Welinder 2010-08-20 15:22:41 UTC
Created attachment 168413 [details]
First google hit for "filetype:ods"

../src/gnumeric ~/Amortisation_Solar.ods

==20411== Invalid read of size 8
==20411==    at 0x53BD925: go_range_increasing (go-rangefunc.c:253)
==20411==    by 0x53BD9D7: go_range_vary_uniformly (go-rangefunc.c:271)
==20411==    by 0x5391B42: make_path_cspline (gog-chart-map.c:345)
==20411==    by 0x5392170: xy_make_path (gog-chart-map.c:509)
==20411==    by 0x157D28DE: gog_xy_view_render (gog-xy.c:1103)
==20411==    by 0x538C61E: gog_chart_view_render (gog-chart.c:1382)
==20411==    by 0x5389F5A: gog_graph_view_render (gog-graph.c:868)
==20411==    by 0x5387CE1: gog_view_render (gog-view.c:775)
==20411==    by 0x53B5EF5: gog_renderer_update (gog-renderer.c:1070)
==20411==    by 0x53F6289: _goc_item_update_bounds (goc-item.c:296)
==20411==    by 0x53F6917: goc_item_invalidate (goc-item.c:458)
==20411==    by 0x53F69DC: goc_item_set (goc-item.c:366)
==20411==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
Comment 1 Morten Welinder 2010-08-20 15:38:54 UTC
I added preconditions that change the crash into criticals.  That's still
wrong, but better.


* (/home/welinder/gnome-src/gnumeric/src/.libs/gnumeric:23815): CRITICAL **: go_range_increasing: assertion `n == 0 || xs != NULL' failed

** (/home/welinder/gnome-src/gnumeric/src/.libs/gnumeric:23815): CRITICAL **: go_range_decreasing: assertion `n == 0 || xs != NULL' failed
Comment 2 Jean Bréfort 2010-08-20 15:47:11 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.