BinDeps tries to help with this by ensuring that all packages are getting
their dependencies from the same place, whether that is the system,
building from scratch, or a walled garden like Homebrew.jl. There isn't a
particularly good way to prevent the issue, although
https://github.com/JuliaLang/julia/pull/7490 might help.


On Fri, Sep 18, 2015 at 3:38 AM Andreas Lobinger <[email protected]>
wrote:

> This seems to be even more complicated, the Glib instance provided by Gtk
> and the glib imported at librsvg might not be the same.
>
> On Thursday, September 17, 2015 at 6:02:47 PM UTC+2, Andreas Lobinger
> wrote:
>>
>>
>>
>> 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?
>>
>

Reply via email to