Hi. I built gnumeric 1.12.46 and dependencies on RHEL6, out-of-tree (i.e. not in /usr). When I run ssconvert, i get back "go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed" warnings even though the conversion does work: $ ssconvert -v -S Test.xlsx '%s.txt' ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:21738): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed
** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:21738): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:21738): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:21738): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ... Using exporter Gnumeric_stf:stf_assistant ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23627): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23627): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23627): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23627): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ... I reran with GO_DEBUG=rsm: $ GO_DEBUG=rsm ssconvert -v -S Test.xlsx '%s.txt' Registering resource [go:graph/gog-3d-box-prefs.ui] Registering resource [go:graph/gog-axis-prefs.ui] Registering resource [go:graph/gog-axis-color-map-prefs.ui] Registering resource [go:graph/gog-color-scale-prefs.ui] Registering resource [go:graph/gog-equation-prefs.ui] Registering resource [go:graph/gog-error-bar-prefs.ui] Registering resource [go:graph/gog-graph-prefs.ui] Registering resource [go:graph/gog-guru-type-selector.ui] Registering resource [go:graph/gog-guru.ui] Registering resource [go:graph/gog-object-prefs.ui] Registering resource [go:graph/gog-plot-prefs.ui] Registering resource [go:graph/gog-reg-curve-prefs.ui] Registering resource [go:graph/gog-reg-eqn-prefs.ui] Registering resource [go:graph/gog-series-labels-prefs.ui] Registering resource [go:graph/gog-series-prefs.ui] Registering resource [go:graph/gog-theme-editor.ui] Registering resource [go:graph/new-theme-prefs.ui] Registering resource [go:gtk/go-3d-rotation-sel.ui] Registering resource [go:gtk/go-arrow-sel.ui] Registering resource [go:gtk/go-font-sel.ui] Registering resource [go:gtk/go-format-sel.ui] Registering resource [go:gtk/go-image-save-dialog-extra.ui] Registering resource [go:gtk/go-image-sel.ui] Registering resource [go:gtk/go-rotation-sel.ui] Registering resource [go:utils/go-style-prefs.ui] Registering resource [go:gtk/goffice-old.css] Registering resource [go:gtk/goffice.css] Registering resource [go:utils/svg-patterns.xml] Registering resource [go:utils/unknown_image.png] Registering resource [go:graph/bar-none.png] Registering resource [go:graph/bar-vplus.png] Registering resource [go:graph/bar-vminus.png] Registering resource [go:graph/bar-vboth.png] Registering resource [go:graph/bar-hplus.png] Registering resource [go:graph/bar-hminus.png] Registering resource [go:graph/bar-hboth.png] Registering resource [go:plot_radar/radar.xpm] Registering resource [go:plot_radar/polar.xpm] Registering resource [go:plot_distrib/dist.xpm] Registering resource [go:plot_surface/surface.xpm] Registering resource [go:plot_surface/contour.xpm] Registering resource [go:plot_surface/matrix.xpm] Registering resource [go:plot_pie/pie.xpm] Registering resource [go:plot_pie/doughnut.xpm] Registering resource [go:plot_xy/bubble.xpm] Registering resource [go:plot_xy/color.xpm] Registering resource [go:plot_xy/dropbar.xpm] Registering resource [go:plot_xy/minmax.xpm] Registering resource [go:plot_xy/scatter.xpm] Registering resource [go:plot_barcol/linegraph.xpm] Registering resource [go:plot_barcol/area.xpm] Registering resource [go:plot_barcol/bar.xpm] Registering resource [go:plot_barcol/column.xpm] Registering resource [go:plot_barcol/dropbar.xpm] Registering resource [go:plot_barcol/minmax.xpm] ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ... Using exporter Gnumeric_stf:stf_assistant Unregistering resource [go:plot_radar/radar.xpm] Unregistering resource [go:plot_radar/polar.xpm] Unregistering resource [go:plot_distrib/dist.xpm] Unregistering resource [go:plot_surface/surface.xpm] Unregistering resource [go:plot_surface/contour.xpm] Unregistering resource [go:plot_surface/matrix.xpm] Unregistering resource [go:plot_pie/pie.xpm] Unregistering resource [go:plot_pie/doughnut.xpm] Unregistering resource [go:plot_xy/bubble.xpm] Unregistering resource [go:plot_xy/color.xpm] Unregistering resource [go:plot_xy/dropbar.xpm] Unregistering resource [go:plot_xy/minmax.xpm] Unregistering resource [go:plot_xy/scatter.xpm] Unregistering resource [go:plot_barcol/linegraph.xpm] Unregistering resource [go:plot_barcol/area.xpm] Unregistering resource [go:plot_barcol/bar.xpm] Unregistering resource [go:plot_barcol/column.xpm] Unregistering resource [go:plot_barcol/dropbar.xpm] Unregistering resource [go:plot_barcol/minmax.xpm] ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ... The assertions seem to be coming from utils/go-rsm.c in goffice (we are using 0.10.46): void go_rsm_register_file (const char *id, gconstpointer data, size_t len) { GORSMResource *r; g_return_if_fail (id != NULL); g_return_if_fail (g_hash_table_lookup (rsm, id) == NULL); if (debug) g_printerr ("Registering resource [%s]\n", id); r = g_new (GORSMResource, 1); r->data = data; r->len = len; g_hash_table_insert (rsm, g_strdup (id), r); } void go_rsm_unregister_file (const char *id) { g_return_if_fail (id != NULL); g_return_if_fail (g_hash_table_lookup (rsm, id) != NULL); if (debug) g_printerr ("Unregistering resource [%s]\n", id); g_hash_table_remove (rsm, id); } Any ideas why the assertions are failing? -- albert chin (ch...@thewrittenword.com) _______________________________________________ gnumeric-list mailing list gnumeric-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnumeric-list