Things I know:
0: Crystal is using libgc, which is a conservative GC.
1: I am not running out of memory or disk, so no failed allocations.
2: I am keeping references to everything I allocate on my side, so it should not be a case of GC error on my side.
I'm at a loss when it comes to figuring out the actual issue here. Is it the GC that finds some memory allocated by coz that it (invalidly) think should be freed, or is it some pthread or ld issue? I'm afraid my C chops isn't strong enough to figure out the answer to that question.
So, I am trying to create coz bindings for Crystal. I'm running into this error that I don't really understand.
I am getting a whole bunch of the following error, often past the stage where the profiled parts is actually located:
Things I know: 0: Crystal is using libgc, which is a conservative GC. 1: I am not running out of memory or disk, so no failed allocations. 2: I am keeping references to everything I allocate on my side, so it should not be a case of GC error on my side.
I'm at a loss when it comes to figuring out the actual issue here. Is it the GC that finds some memory allocated by coz that it (invalidly) think should be freed, or is it some pthread or ld issue? I'm afraid my C chops isn't strong enough to figure out the answer to that question.