GNOME Bugzilla – Bug 323836
Critical warnings inside libgnomeprint
Last modified: 2008-08-10 18:48:07 UTC
Distribution/Version: Ubuntu Dapper 1. Open a file with gedit using the console 2. Ctrl+P to print 3. Display the preview 4. Close the preview 5. Close the print dialog 6. Ctrl+P You'll notice these warnings: (gedit:32756): GLib-GObject-WARNING **: invalid (NULL) pointer instance (gedit:32756): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed This is not a gedit bug, since I can reproduce it by writing a simple printing application using libgnomeprint. It seems that the print dialog keeps around a pointer to the preview dialog even if the dialog has been destroyed. Since January 2006, this will make every printing-capable application crash.
emmanuele, is this still an issue?
I can still reproduce it with gnome-dictionary, for instance; not that it really matters, now that we have GtkPrint - actually, having applications using libgnomeprintui crash if --g-fatal-criticals is enabled might be a good incentive to port them. :-)
I think we can close this: libgnomeprint and libgnomeprintui have been finally deprecated with GNOME 2.23/2.24 and the desktop is not using them anymore. plus I don't have any incentive to look into the code right now.