unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: bug-gnu-emacs@gnu.org, cedet-devel@lists.sourceforge.net,
	emacs-devel@gnu.org
Subject: Re: Emacs CVS on OSX: malloc error when installing cedet
Date: Wed, 07 Jul 2004 00:03:43 +0900	[thread overview]
Message-ID: <wlwu1htbxs.wl@church.math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <9B70BB7C-CF37-11D8-9EA8-000D9329B314@idsoftware.com>

>>>>> 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	other threads:[~2004-07-06 15:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-06 10:31 Emacs CVS on OSX: malloc error when installing cedet Timothee BESSET
2004-07-06 15:03 ` YAMAMOTO Mitsuharu [this message]
2004-07-06 22:00 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wlwu1htbxs.wl@church.math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=cedet-devel@lists.sourceforge.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).