Closed rayegun closed 3 years ago
I'm not sure I understand enough of this to be able to help. Clearly, it is trying to free something that has been freed before. I suppose this is the kind of thing that RR could help with.
Fixed by cfb15eae8a7ce97070bb7383f0b36e1594e5bc05
When using
libgb.GxB_init(libgb.GrB_NONBLOCKING, cglobal(:jl_malloc), cglobal(:jl_calloc), cglobal(:jl_realloc), cglobal(:jl_free), true)
instead of
libgb.GrB_init(libgb.GrB_NONBLOCKING)
we segfault with:
We want to do this so Julia responds to memory pressure from SuiteSparse:GraphBLAS. But GC triggers the above segfault. Will need to investigate further.
@ViralBShah this isn't urgent, but towards the end of next week I might need some pointers (haha) on this. For now I'm leaving it as
libgb.GrB_init(libgb.GrB_NONBLOCKING)
, but I'd like to solve this before 1.0.