gdImageDestroy() segfaults randomly when the program makes anything long after creating an image
It stops segfaulting when I comment out //FreeImage(v); line in finalize() function in nGDImage.c.
So it looks like garbage collector tries to free an image which hasn't been created to that moment or smth like that...
gdImageDestroy() segfaults randomly when the program makes anything long after creating an image
It stops segfaulting when I comment out //FreeImage(v); line in finalize() function in nGDImage.c.
So it looks like garbage collector tries to free an image which hasn't been created to that moment or smth like that...