|
From: | Adam Fedor |
Subject: | Re: gdnc segfaulting in sarray.h, internal to gcc-3.2/libobjc/objc |
Date: | Sun, 18 May 2003 20:39:08 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.1) Gecko/20020905 |
Dan Hitt wrote:
Hi Chris, Thanks for the suggestion to use gcc 3.3. I've recompiled all of my sources using gcc3.3, and i segfault in the same place (well, the analogous place in the gcc3.3 source tree). For reference, i'm using version 1.6.0 of gnustep-base on a red hat 7.3 system (and of course gcc 3.3 per your suggestion). Thanks again for your advice.
Richard had a patch to sarray.c that hasn't made it into the gcc sources yet. It might be related...
406,408d405 < if ((array->is_copy_of) && ((array->is_copy_of->ref_count - 1) == 0)) < sarray_free (array->is_copy_of); < 464a462,473 > /* If this is a copy of another array, we clear our pointer to it and > * free it (or decrement its reference count so it will be freed when > * no longer in use). > */ > if (array->is_copy_of) > { > struct sarray *tmp = array->is_copy_of; > > array->is_copy_of = 0; > sarray_free (tmp); > } >
[Prev in Thread] | Current Thread | [Next in Thread] |