[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in libobjc2 gc_none free
From: |
David Chisnall |
Subject: |
Re: Bug in libobjc2 gc_none free |
Date: |
Sun, 31 Jul 2011 17:33:12 +0100 |
Thanks. This should be fixed in r33665.
Out of interest, what were you running that triggered that bug? It's only
visible with code using class_createInstance() / object_dispose(), and I've not
seen any code that actually uses those two functions.
David
On 29 Jul 2011, at 04:17, Justin Hibbits wrote:
> The gc_none.c free() is simply libc's free(), but gc->allocate_class()
> returns ((id)ptr + 1). This mismatch causes segfaults on FreeBSD. Attached
> is a patch that fixes this, but only for this one scenario. A better patch
> is needed for real.
>
> - Justin
> <fix_free_nogc.diff>
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev
-- Sent from my STANTEC-ZEBRA