On Tue, Sep 26, 2006 at 04:46:39PM -0600, chris_anderson@... wrote:
> Hey, I'm having a strange bug and I want to see if others can repeat it. The steps are:
> 1. Load a .gwy file with at least 2 channels
> 2. Run the Revolve Arc process module, making sure to extract the background
> 3. Try hitting Undo, or just quit Gwyddion
> You should get:
> GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
Indeed I got it. It's fixed in CVS (the cause was an unref
of the wrong data field, so that one ended up with too few
references and the other with too many).
> The strange thing about this is that in order for this error to occur several seemingly unrelated things must be true: the image must by a .gwy file, it must start out with at least 2 channels, and you must extract the background when using Revolve Arc.
The condition `it must be a .gwy file' can indicate that
import of the other file formats you tried leaks data
fields. I'm not sure about `at least 2 channels', maybe it
just has less opportunities to crash when the finalization
Anonyms eat their boogers.