GNOME Bugzilla – Bug 564078
map_pattern_to_xl critical
Last modified: 2008-12-12 21:28:08 UTC
Version: r16998 OS: Ubuntu Intrepid Steps to reproduce: - ssconvert gnumeric/samples/applix/sample.as /tmp/foo.xls Partial console output: ** (/home/s/local/bin/ssconvert:19396): WARNING **: Unknown color (ffff00), converting it to black ** (/home/s/local/bin/ssconvert:19396): CRITICAL **: map_pattern_to_xl: assertion `i >= 0 && i < (int)G_N_ELEMENTS (map_to_excel)' failed ** (/home/s/local/bin/ssconvert:19396): WARNING **: Unknown color (ff0000), converting it to black ** (/home/s/local/bin/ssconvert:19396): CRITICAL **: map_pattern_to_xl: assertion `i >= 0 && i < (int)G_N_ELEMENTS (map_to_excel)' failed ** (/home/s/local/bin/ssconvert:19396): CRITICAL **: map_pattern_to_xl: assertion `i >= 0 && i < (int)G_N_ELEMENTS (map_to_excel)' failed Backtrace: Breakpoint 1, 0xb6f14926 in g_log () from /usr/lib/libglib-2.0.so.0 (gdb) f 2
+ Trace 210687
The table contains 19 patterns, but pattern.c defines 26.
Make that 25 but a placeholder for 0. (Vs 18 + #0) Anyways, 19-23 are applix-specific so we need to map. And 24-25 probably are too.
Criticals fixed, but something is still screwed up in two_way_table_move causing the colour trouble.
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.