Re: [julia-users] debugging tips for GC?

2016-09-14 Thread Andreas Lobinger
Hello, On Tuesday, September 13, 2016 at 10:17:30 PM UTC+2, Yichao Yu wrote: > > On Tue, Sep 13, 2016 at 4:11 PM, Yichao Yu > wrote: > >> I'm able to reproduce it in rr and found the issue. >> TL;DR the issue is at >>

Re: [julia-users] debugging tips for GC?

2016-09-13 Thread Yichao Yu
On Tue, Sep 13, 2016 at 4:11 PM, Yichao Yu wrote: > I'm able to reproduce it in rr and found the issue. > > TL;DR the issue is at https://github.com/JuliaGraphics/Cairo.jl/blame/ > master/src/Cairo.jl#L625, where it passes the ownership of a cairo > pointer to julia, causing a

Re: [julia-users] debugging tips for GC?

2016-09-13 Thread Yichao Yu
I'm able to reproduce it in rr and found the issue. TL;DR the issue is at https://github.com/JuliaGraphics/Cairo.jl/blame/master/src/Cairo.jl#L625, where it passes the ownership of a cairo pointer to julia, causing a double free. Here's the rough process of my debugging, I'm not really sure how

Re: [julia-users] debugging tips for GC?

2016-09-13 Thread Yichao Yu
On Tue, Sep 13, 2016 at 3:31 PM, Andreas Lobinger wrote: > Hello colleague, > > On Tuesday, September 13, 2016 at 7:25:38 PM UTC+2, Yichao Yu wrote: >> >> >> On Tue, Sep 13, 2016 at 12:49 PM, Andreas Lobinger >> wrote: >> >>> Hello colleagues, >>> >>> i'm

Re: [julia-users] debugging tips for GC?

2016-09-13 Thread Andreas Lobinger
Hello colleague, On Tuesday, September 13, 2016 at 7:25:38 PM UTC+2, Yichao Yu wrote: > > > On Tue, Sep 13, 2016 at 12:49 PM, Andreas Lobinger > wrote: > >> Hello colleagues, >> >> i'm trying to find out, why this >> ... >> > fails miserably. I guess, but cannot track it

Re: [julia-users] debugging tips for GC?

2016-09-13 Thread Yichao Yu
On Tue, Sep 13, 2016 at 12:49 PM, Andreas Lobinger wrote: > Hello colleagues, > > i'm trying to find out, why this > >_ >_ _ _(_)_ | A fresh approach to technical computing > (_) | (_) (_)| Documentation: http://docs.julialang.org >

[julia-users] debugging tips for GC?

2016-09-13 Thread Andreas Lobinger
Hello colleagues, i'm trying to find out, why this _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "?help" for help. | | | | | | |/ _` | | | | |_| | | | (_|