all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harald Maier <harald@maierh.de>
To: 2403@emacsbugs.donarmstrong.com
Subject: bug#2403: 23.0.90; emacs bootstrap under AIX hangs at lisp/international/characters.el
Date: Thu, 26 Feb 2009 19:26:00 +0100	[thread overview]
Message-ID: <m2ab89njgn.fsf@ate.maierh> (raw)
In-Reply-To: <20090220050031.37DF264BB2F@ate.maierh> (Harald Maier's message of "Fri, 20 Feb 2009 06:00:30 +0100 (CET)")

Harald Maier <harald@maierh.de> writes:

> I am trying to build emacs-23.0.90 under AIX but it hangs at loading the
> characters.el file:
>
> ----------------------------------------------------------------------
> ...
> Loading /usr/maierha/build/cvs/emacs/lisp/international/mule-cmds.el (source)...
> Loading /usr/maierha/build/cvs/emacs/lisp/case-table.el (source)...
> Loading /usr/maierha/build/cvs/emacs/lisp/international/characters.el (source)...
> ----------------------------------------------------------------------
>
> This happens on AIX 5.2 and AIX 5.3 and I am using the latest CVS
> version. It looks that temacs is in an enless loop. Any idea what the
> problem might be?

I digged a little bit deeper to this problem. temacs is in a endless
loop in the following for loop in the alloca.c file:

--- alloca.c:5101 ---
#if (GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS \
     || GC_MARK_STACK == GC_MARK_STACK_CHECK_GCPROS)
  mark_stack ();
#else
  {
    register struct gcpro *tail;
=>  for (tail = gcprolist; tail; tail = tail->next)
      for (i = 0; i < tail->nvars; i++)
        mark_object (tail->var[i]);
  }
#endif
---------------------
If I examine the values in gdb then I see that the second element of
gcprolist points to itself in the next element. That's why emacs loops.
---------------------
(gdb) p gcprolist
$6 = (struct gcpro *) 0x2ff20b68
(gdb) p *gcprolist
$7 = {
  next = 0x2ff20bcc, 
  var = 0x2ff20b74, 
  nvars = 3
}
(gdb) p *0x2ff20bcc 
$8 = 804391884
(gdb) p * (struct gcpro *) 0x2ff20bcc
$9 = {
  next = 0x2ff20bcc, 
  var = 0x2ff20bc8, 
  nvars = 1
}
---------------------

Any idea how to fix that? As I mentioned before on my site this happens
with AIX 5.2 and 5.3 and it doesn't matter whether it's compiled with
gcc or the IBM compiler. Emacs is configured only with X11 (no gtk an
image support).

Harald






  reply	other threads:[~2009-02-26 18:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-20  5:00 bug#2403: 23.0.90; emacs bootstrap under AIX hangs at lisp/international/characters.el Harald Maier
2009-02-26 18:26 ` Harald Maier [this message]
2009-02-26 18:28   ` Harald Maier
2009-02-26 19:35   ` Eli Zaretskii
2009-02-26 20:02     ` Harald Maier
2009-02-27 10:27       ` Eli Zaretskii
2009-03-06 21:19         ` Criveti Mihai
2009-03-06 23:04           ` Criveti Mihai
2009-03-07  1:34             ` Dan Nicolaescu
2009-03-07  4:39             ` Dan Nicolaescu
2009-03-08 14:20               ` Harald Maier
2009-03-08 19:11                 ` Eli Zaretskii
2009-03-09 18:02                 ` Dan Nicolaescu
2009-03-10  6:18                   ` Criveti Mihai
2009-03-10 19:48                     ` Eli Zaretskii
2009-03-11  5:32                   ` Harald Maier
2009-02-26 20:47   ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=m2ab89njgn.fsf@ate.maierh \
    --to=harald@maierh.de \
    --cc=2403@emacsbugs.donarmstrong.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.