>>>>> On Tue, 6 Jul 2004 12:31:14 +0200, Timothee BESSET <ttimo@...> said:
> I can compile and install the CVS version of Emacs and cedet on a
> Linux box with no problem. This crash is happening with both the
> latest release of cedet and the CVS version. So I believe it's
> really an emacs problem, specific to the OSX port.
It seems that the contents of `print_buffer', which is declared just
after `being_printed' in print.c, is corrupted by the following part
when print_depth == PRINT_CIRCLE.
/* Avoid infinite recursion for circular nested structure
in the case where Vprint_circle is nil. */
if (NILP (Vprint_circle))
{
for (i = 0; i < print_depth; i++)
if (EQ (obj, being_printed[i]))
return;
being_printed[print_depth] = obj;
}
I tried to move the following part to just before the above one, and I
could compile CEDET 1.0beta2b.
/* Give up if we go so deep that print_object will get an error. */
/* See similar code in print_object. */
if (print_depth >= PRINT_CIRCLE)
return;
YAMAMOTO Mitsuharu
mituharu@...
|