all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Criveti Mihai <crivetimihai@gmail.com>
Cc: 2403@emacsbugs.donarmstrong.com
Subject: bug#2403: 23.0.90; emacs bootstrap under AIX hangs at lisp/international/characters.el
Date: Fri, 6 Mar 2009 17:34:28 -0800 (PST)	[thread overview]
Message-ID: <200903070134.n271YSbR017278@rodan.ics.uci.edu> (raw)
In-Reply-To: <900b86670903061504l376cb08eid6947619379d69ee@mail.gmail.com> (Criveti Mihai's message of "Sat, 7 Mar 2009 01:04:25 +0200")

Criveti Mihai <crivetimihai@gmail.com> writes:

  > Emacs is confiugred --with-x=no, ulimits are all unlimited.
  > 
  > cmihai@phobos:/home/cmihai/newbuild/emacs/src$ LC_ALL=C ./temacs
  > --batch --load loadup bootstrap dump
  > Loading loadup.el (source)...
  > Using load-path (/home/cmihai/newbuild/emacs/lisp
  > /home/cmihai/newbuild/emacs/lisp/emacs-lisp
  > /home/cmihai/newbuild/emacs/lisp/language
  > /home/cmihai/newbuild/emacs/lisp/international
  > /home/cmihai/newbuild/emacs/lisp/textmodes)
  > Loading emacs-lisp/byte-run (source)...
  > Loading emacs-lisp/backquote (source)...
  > Loading subr (source)...
  > Loading version.el (source)...
  > Loading widget (source)...
  > Loading custom (source)...
  > Loading emacs-lisp/map-ynp (source)...
  > Loading cus-start (source)...
  > Loading international/mule (source)...
  > Loading international/mule-conf.el (source)...
  > Loading env (source)...
  > Loading format (source)...
  > Loading bindings (source)...
  > Loading /home/cmihai/newbuild/emacs/lisp/files.el (source)...
  > Loading /home/cmihai/newbuild/emacs/lisp/cus-face.el (source)...
  > Loading /home/cmihai/newbuild/emacs/lisp/faces.el (source)...
  > Loading /home/cmihai/newbuild/emacs/lisp/minibuffer.el (source)...
  > Loading /home/cmihai/newbuild/emacs/lisp/button.el (source)...
  > Loading /home/cmihai/newbuild/emacs/lisp/startup.el (source)...
  > Lists of integers (garbage collection statistics) are normal output
  > while building Emacs; they do not indicate a problem.
  > ((120124 . 7654) (6419 . 3) (556 . 148) 484706 22404 (37 . 1) (22 . 5)
  > (9678 . 6198))
  > Loading /home/cmihai/newbuild/emacs/lisp/ldefs-boot.el (source)...
  > ((142077 . 5261) (9199 . 0) (564 . 140) 1422768 22404 (107 . 33) (22 .
  > 5) (17962 . 1946))
  > Loading /home/cmihai/newbuild/emacs/lisp/abbrev.el (source)...
  > Loading /home/cmihai/newbuild/emacs/lisp/simple.el (source)...
  > Loading /home/cmihai/newbuild/emacs/lisp/help.el (source)...
  > Loading /home/cmihai/newbuild/emacs/lisp/jka-cmpr-hook.el (source)...
  > Loading /home/cmihai/newbuild/emacs/lisp/epa-hook.el (source)...
  > Loading /home/cmihai/newbuild/emacs/lisp/international/mule-cmds.el (source)...
  > Loading /home/cmihai/newbuild/emacs/lisp/case-table.el (source)...
  > Loading /home/cmihai/newbuild/emacs/lisp/international/characters.el (source)...
  > 
  > 
  > Freezes here.
  > 
  > truss ./temacs --batch --load loadup bootstrap
  > statx("/home/cmihai/newbuild/emacs/lisp/case-table.el", 0x2FF219D0,
  > 128, 010) = 0
  > open("/home/cmihai/newbuild/emacs/lisp/case-table.el", O_RDONLY|O_LARGEFILE) = 4
  > kread(4, " ; ; ;   c a s e - t a b".., 511)     = 511
  > klseek(4, 0, 0, 0x00000000)                     = 0
  > close(4)                                        = 0
  > statx("/home/cmihai/newbuild/emacs/lisp/case-table.el", 0x2FF21490,
  > 128, 010) = 0
  > open("/home/cmihai/newbuild/emacs/lisp/case-table.el", O_RDONLY|O_LARGEFILE) = 4
  > close(4)                                        = 0
  > Loading /home/cmihai/newbuild/emacs/lisp/case-table.el
  > (source)...kwrite(2, " L o a d i n g   / h o m".., 66)   = 66
  > 
  > kwrite(2, "\n", 1)                              = 1
  > kfcntl(2, F_GETFL, 0x2FF22FFC)                  = 67110914
  > statx("/home/cmihai/newbuild/emacs/lisp/case-table.el", 0x2FF0C888,
  > 128, 010) = 0
  > open("/home/cmihai/newbuild/emacs/lisp/case-table.el", O_RDONLY|O_LARGEFILE) = 4
  > kread(4, " ; ; ;   c a s e - t a b".., 6452)    = 6452
  > close(4)                                        = 0
  > readlink("/home", "", 100)                      Err#22 EINVAL
  > readlink("/home/cmihai", "", 100)               Err#22 EINVAL
  > readlink("/home/cmihai/newbuild", "", 100)      Err#22 EINVAL
  > readlink("/home/cmihai/newbuild/emacs", "", 100) Err#22 EINVAL
  > readlink("/home/cmihai/newbuild/emacs/lisp", "", 100) Err#22 EINVAL
  > readlink("/home/cmihai/newbuild/emacs/lisp/case-table.el", "", 100)
  > Err#22 EINVAL
  > statx("/home/cmihai/newbuild/emacs/lisp/international/characters.elc",
  > 0x2FF219D0, 128, 010) Err#2  ENOENT
  > statx("/home/cmihai/newbuild/emacs/lisp/international/characters.elc.gz",
  > 0x2FF219D0, 128, 010) Err#2  ENOENT
  > statx("/home/cmihai/newbuild/emacs/lisp/international/characters.el",
  > 0x2FF219D0, 128, 010) = 0
  > open("/home/cmihai/newbuild/emacs/lisp/international/characters.el",
  > O_RDONLY|O_LARGEFILE) = 4
  > kread(4, " ; ; ;   c h a r a c t e".., 511)     = 511
  > klseek(4, 0, 0, 0x00000000)                     = 0
  > close(4)                                        = 0
  > statx("/home/cmihai/newbuild/emacs/lisp/international/characters.el",
  > 0x2FF21490, 128, 010) = 0
  > open("/home/cmihai/newbuild/emacs/lisp/international/characters.el",
  > O_RDONLY|O_LARGEFILE) = 4
  > close(4)                                        = 0
  > Loading /home/cmihai/newbuild/emacs/lisp/international/characters.el
  > (source)...kwrite(2, " L o a d i n g   / h o m".., 80)     = 80
  > 
  > kwrite(2, "\n", 1)                              = 1
  > kfcntl(2, F_GETFL, 0x2FF22FFC)                  = 67110914
  > statx("/home/cmihai/newbuild/emacs/lisp/international/characters.el",
  > 0x2FF0C888, 128, 010) = 0
  > open("/home/cmihai/newbuild/emacs/lisp/international/characters.el",
  > O_RDONLY|O_LARGEFILE) = 4
  > kread(4, " ; ; ;   c h a r a c t e".., 38015)   = 38015
  > close(4)                                        = 0
  > readlink("/home", "", 100)                      Err#22 EINVAL
  > readlink("/home/cmihai", "", 100)               Err#22 EINVAL
  > readlink("/home/cmihai/newbuild", "", 100)      Err#22 EINVAL
  > readlink("/home/cmihai/newbuild/emacs", "", 100) Err#22 EINVAL
  > readlink("/home/cmihai/newbuild/emacs/lisp", "", 100) Err#22 EINVAL
  > readlink("/home/cmihai/newbuild/emacs/lisp/international", "", 100)
  > Err#22 EINVAL
  > readlink("/home/cmihai/newbuild/emacs/lisp/international/characters.el",
  > "", 100) Err#22 EINVAL
  > statx("/home/cmihai/newbuild/emacs/etc/charsets/GB2312.map",
  > 0x2FF20BF0, 128, 010) = 0
  > open("/home/cmihai/newbuild/emacs/etc/charsets/GB2312.map",
  > O_RDONLY|O_LARGEFILE) = 4
  > kfcntl(4, F_GETFL, 0x2FF22FFC)                  = 67108864
  > kioctl(4, 22528, 0x00000000, 0x00000000)        Err#25 ENOTTY
  > kioctl(4, 22528, 0x00000000, 0x00000000)        Err#25 ENOTTY
  > kread(4, " #   G e n e r a t e d  ".., 4096)    = 4096
  > kread(4, " x 5 F C 5\n 0 x 3 1 5 9".., 4096)    = 4096
  > kread(4, " 6 D E C\n 0 x 3 4 6 4  ".., 4096)    = 4096
  > kread(4, " 7 6 E   0 x 5 9 4 9\n 0".., 4096)    = 4096
  > kread(4, " F 6\n 0 x 3 A 7 9   0 x".., 4096)    = 4096
  > kread(4, " 5   0 x 8 3 0 E\n 0 x 3".., 4096)    = 4096
  > kread(4, "\n 0 x 4 1 3 0   0 x 6 D".., 4096)    = 4096
  > kread(4, " 0 x 6 6 A E\n 0 x 4 4 3".., 4096)    = 4096
  > kread(4, " x 4 7 4 5   0 x 6 8 6 5".., 4096)    = 4096
  > kread(4, " 4 A 5 0   0 x 5 E 0 2\n".., 4096)    = 4096
  > kread(4, " 3 1 6\n 0 x 4 D 5 B   0".., 4096)    = 4096
  > kread(4, " 6 5   0 x 7 E E 3\n 0 x".., 4096)    = 4096
  > kread(4, " 0   0 x 7 F B D\n 0 x 5".., 4096)    = 4096
  > kread(4, "   0 x 8 6 C 0\n 0 x 5 6".., 4096)    = 4096
  > kread(4, " 0 x 5 A 2 F   0 x 8 B C".., 4096)    = 4096
  > kread(4, " x 5 D 4 6   0 x 8 4 1 C".., 4096)    = 4096
  > kread(4, " 5 6 5 8\n 0 x 6 0 5 A  ".., 4096)    = 4096
  > kread(4, " C D 7\n 0 x 6 3 7 5   0".., 4096)    = 4096
  > kread(4, " 2 B   0 x 7 E D 4\n 0 x".., 4096)    = 4096
  > kread(4, " C\n 0 x 6 A 5 3   0 x 6".., 4096)    = 4096
  > kread(4, "\n 0 x 6 D 7 0 - 0 x 6 D".., 4096)    = 4096
  > kread(4, " 0 x 8 9 3 6\n 0 x 7 1 5".., 4096)    = 4096
  > kread(4, " x 7 4 7 4   0 x 8 D 9 1".., 4096)    = 3443
  > kread(4, " x 7 4 7 4   0 x 8 D 9 1".., 4096)    = 0
  > close(4)                                        = 0
  > close(4)                                        Err#9  EBADF
  > sbrk(0x00000000)                                = 0x20898000
  > sbrk(0x00069000)                                = 0x20898000
  > 
  > 
  > It just freezes here.

Can you please run that command in the debugger and see what is going on?

From the symptoms it might be that emacs calls a libc function that
returns malloced memory, and then it tries to do a realloc on that. 

A similar problem is solved by the BROKEN_GET_CURRENT_DIR_NAME
in src/s/aix4-2.h

Can you verify if this issue is malloc related?






  reply	other threads:[~2009-03-07  1:34 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
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 [this message]
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=200903070134.n271YSbR017278@rodan.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=2403@emacsbugs.donarmstrong.com \
    --cc=crivetimihai@gmail.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.