On Thursday, September 17, 2015 at 10:54:29 AM UTC+2, Jameson wrote: > > If RsvgHandle is a GObject object then, yes, it's almost certainly trying > to write to STDERR that it detected a double-free error (GObject handles > are finalized automatically by GLib.jl, so calling gc_unref manually will > result in the object getting freed twice). >
The librsvg reference tells me: Returns a new rsvg handle. Must be freed with *g_object_unref. *So i put the gc_unref into the finalizer. But another thing: Wouldn't it be somehow better, that STDERR is available for functions to report error messages?