bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs CVS on OSX: malloc error when installing cedet


From: YAMAMOTO Mitsuharu
Subject: Re: Emacs CVS on OSX: malloc error when installing cedet
Date: Wed, 07 Jul 2004 00:03:43 +0900
User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Tue, 6 Jul 2004 12:31:14 +0200, Timothee BESSET <ttimo@idsoftware.com> 
>>>>> 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@math.s.chiba-u.ac.jp




reply via email to

[Prev in Thread] Current Thread [Next in Thread]