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 342580 - Lots of critical when exiting with sheet objects in clipboard
Lots of critical when exiting with sheet objects in clipboard
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-05-22 14:20 UTC by Emmanuel Pacaud
Modified: 2006-10-10 10:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Emmanuel Pacaud 2006-05-22 14:20:47 UTC
Open gnumeric, create a sheet object, then select and copy it.

Now close gnumeric, discarding any changes.

gnumeric spits a lot of criticals and warnings, like these ones:

** (gnumeric:13237): CRITICAL **: gnm_cellregion_to_xml: assertion `IS_SHEET (cr->origin_sheet)' failed

** (gnumeric:13237): WARNING **: [GOImage::get_format_from_name] Unknown format name (x-icon)

** (gnumeric:13237): CRITICAL **: gog_graph_export_image: assertion `format != GO_IMAGE_FORMAT_UNKNOWN' failed

** (gnumeric:13237): WARNING **: [GOImage::get_format_from_name] Unknown format name (x-bmp)

** (gnumeric:13237): CRITICAL **: gog_graph_export_image: assertion `format != GO_IMAGE_FORMAT_UNKNOWN' failed

** (gnumeric:13237): WARNING **: [GOImage::get_format_from_name] Unknown format name (x-MS-bmp)

** (gnumeric:13237): CRITICAL **: gog_graph_export_image: assertion `format != GO_IMAGE_FORMAT_UNKNOWN' failed

** (gnumeric:13237): CRITICAL **: dependent_unlink: assertion `IS_SHEET (dep->sheet)' failed
Comment 1 Jon Kåre Hellan 2006-10-09 19:38:17 UTC
These are fixed in HEAD, apart from this one:
** (gnumeric:26533): CRITICAL **: dependent_unlink: assertion `IS_SHEET (dep->sheet)' failed.
Comment 2 Morten Welinder 2006-10-09 22:09:35 UTC
I do not see that one.
Comment 3 Jon Kåre Hellan 2006-10-10 05:40:00 UTC
You have to be running gnome to see it. The clipboard manager, to be precise. You get the message when the clipboard manager asks gnumeric to store the clipboard in gnumeric XML format when exiting.
Comment 4 Jon Kåre Hellan 2006-10-10 10:36:22 UTC
Got rid of this warning by being less clever when storing to clipboard manager on exit. We used to do it from wbcg_finalize, but this led to lifecycle issues. Now we do it explicitly before destroying the workbook object.
Comment 5 Jon Kåre Hellan 2006-10-10 10:36:44 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.