GNOME Bugzilla – Bug 564499
xl_chart_read_end critical when reading exported xls
Last modified: 2008-12-15 18:30:11 UTC
Version: r17011 OS: Ubuntu Intrepid Steps to reproduce: - ssconvert /gnumeric/samples/chart-fill-tests.gnumeric /tmp/foo.xls - gnumeric /tmp/foo.xls Console output: [ssconvert step] WARNING **: unexpected plot type GogPolarPlot WARNING **: unexpected plot type GogPolarPlot WARNING **: unexpected plot type GogPolarPlot WARNING **: unexpected plot type GogPolarPlot WARNING **: unexpected plot type GogPolarPlot [gnumeric step] CRITICAL **: xl_chart_read_end: assertion `s->plot != NULL' failed CRITICAL **: xl_chart_read_end: assertion `s->plot != NULL' failed CRITICAL **: xl_chart_read_end: assertion `s->plot != NULL' failed CRITICAL **: xl_chart_read_end: assertion `s->plot != NULL' failed CRITICAL **: xl_chart_read_end: assertion `s->plot != NULL' failed Backtrace:
+ Trace 210791
Well, it is not so harmful. We do not crash. Probably we should replace these warnings and criticals by log entries reported to the user so that he would know what went wrong. The other way is to extend xls format to support all our plot types.
We need to turn all criticals caused by data errors into g_warnings (and later maybe something else). We need this because... 1. There is a G_something setting that actually does turn criticals into crashes. And it is turned on by something out there. 2. There are compilation choices that will turn off the checks. Then we surely will crash. 3. As you note, eventually we want to tell the user in a sane way.
For now, the right thing to use is XL_CHECK_CONDITION_VAL and XL_CHECK_CONDITION.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.