GNU bug report logs - #17169
fails to start with (setq force-load-messages t) in ~/.emacs

Previous Next

Package: emacs;

Reported by: Ivan Shmakov <ivan <at> siamics.net>

Date: Wed, 2 Apr 2014 09:46:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17169 in the body.
You can then email your comments to 17169 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17169; Package emacs. (Wed, 02 Apr 2014 09:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ivan Shmakov <ivan <at> siamics.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 02 Apr 2014 09:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ivan Shmakov <ivan <at> siamics.net>
To: submit <at> debbugs.gnu.org
Subject: fails to start with (setq force-load-messages t) in ~/.emacs 
Date: Wed, 02 Apr 2014 09:45:28 +0000
Package:  emacs

	As of ad37c460d20, Emacs fails early in startup should ~/.emacs
	set force-load-messages to t.  Consider, e. g.:

$ cat < .emacs 
(setq force-load-messages t)
$ HOME="$PWD" emacs --debug-init 
…^G^G^Gemacs: NSTATICS too small; try increasing and recompiling Emacs.
$ reset ; stty intr ^C ; ## restore sane tty settings 

	A version built 2014-03-13 is apparently not affected.

-- 
FSF associate member #7257




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17169; Package emacs. (Wed, 02 Apr 2014 16:30:03 GMT) Full text and rfc822 format available.

Message #8 received at 17169 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Shmakov <ivan <at> siamics.net>
Cc: 17169 <at> debbugs.gnu.org
Subject: Re: bug#17169: fails to start with (setq force-load-messages t)
 in	~/.emacs
Date: Wed, 02 Apr 2014 19:29:20 +0300
> From: Ivan Shmakov <ivan <at> siamics.net>
> Date: Wed, 02 Apr 2014 09:45:28 +0000
> 
> Package:  emacs
> 
> 	As of ad37c460d20, Emacs fails early in startup should ~/.emacs
> 	set force-load-messages to t.  Consider, e. g.:
> 
> $ cat < .emacs 
> (setq force-load-messages t)
> $ HOME="$PWD" emacs --debug-init 
> …^G^G^Gemacs: NSTATICS too small; try increasing and recompiling Emacs.
> $ reset ; stty intr ^C ; ## restore sane tty settings 
> 
> 	A version built 2014-03-13 is apparently not affected.

Please provide the full information about your system and build that
is normally reported by "M-x report-emacs-bug RET".

FWIW, I checked this on 2 different systems, and I see at least 350
free slots in the staticvec[] array, before the current value of
NSTATICS will be reached.  So I wonder how come on your system you are
so close to the limit that a single extra symbol overflows it.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17169; Package emacs. (Wed, 02 Apr 2014 17:44:01 GMT) Full text and rfc822 format available.

Message #11 received at 17169 <at> debbugs.gnu.org (full text, mbox):

From: Ivan Shmakov <ivan <at> siamics.net>
To: 17169 <at> debbugs.gnu.org
Subject: Re: bug#17169: fails to start with (setq force-load-messages t) in
 ~/.emacs
Date: Wed, 02 Apr 2014 17:43:25 +0000
[Message part 1 (text/plain, inline)]
>>>>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>>>> From: Ivan Shmakov Date: Wed, 02 Apr 2014 09:45:28 +0000

 >> Package: emacs

 >> As of ad37c460d20, Emacs fails early in startup should ~/.emacs set
 >> force-load-messages to t.

[…]

 > Please provide the full information about your system and build that
 > is normally reported by "M-x report-emacs-bug RET".

	ACK, MIMEd.

 > FWIW, I checked this on 2 different systems, and I see at least 350
 > free slots in the staticvec[] array, before the current value of
 > NSTATICS will be reached.  So I wonder how come on your system you
 > are so close to the limit that a single extra symbol overflows it.

	What bothers me the most here is how force-load-messages
	interferes with an otherwise working build?

-- 
FSF associate member #7257
[Message part 2 (text/plain, inline)]
In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu)
 of 2014-04-02 on violet.siamics.net
Configured using:
 `configure --prefix=/home/private/users/ivan --disable-silent-rules
 --enable-dependency-tracking --enable-gcc-warnings --without-pop
 --without-sound --without-x-toolkit --without-gpm --without-dbus
 --without-gconf --without-gsettings --without-makeinfo --without-x
 --with-wide-int --with-gnutls --with-zlib'

Configured features:
NOTIFY GNUTLS LIBXML2 ZLIB

Important settings:
  value of $LANG: ru_RU.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Loading term/xterm...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

Load-path shadows:
/home/private/users/ivan/devel/emacs-2014/lisp/emacs-lisp/gulp hides /home/private/users/ivan/devel/emacs-2014/lisp/obsolete/gulp

Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047
rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils xterm
time-date cyril-util tooltip electric uniquify ediff-hook vc-hooks
lisp-float-type tabulated-list newcomment lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button
faces cus-face macroexp files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process gfilenotify multi-tty emacs)

Memory information:
((conses 16 73891 5754)
 (symbols 48 16971 0)
 (miscs 40 72 91)
 (strings 32 10266 6226)
 (string-bytes 1 284946)
 (vectors 16 7420)
 (vector-slots 8 328750 26229)
 (floats 8 51 298)
 (intervals 56 181 0)
 (buffers 960 13)
 (heap 1024 6815 1238))

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17169; Package emacs. (Wed, 02 Apr 2014 20:21:02 GMT) Full text and rfc822 format available.

Message #14 received at 17169 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Shmakov <ivan <at> siamics.net>
Cc: 17169 <at> debbugs.gnu.org
Subject: Re: bug#17169: fails to start with (setq force-load-messages t)
 in	~/.emacs
Date: Wed, 02 Apr 2014 23:20:48 +0300
> From: Ivan Shmakov <ivan <at> siamics.net>
> Date: Wed, 02 Apr 2014 17:43:25 +0000
> 
> In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu)
>  of 2014-04-02 on violet.siamics.net
> Configured using:
>  `configure --prefix=/home/private/users/ivan --disable-silent-rules
>  --enable-dependency-tracking --enable-gcc-warnings --without-pop
>  --without-sound --without-x-toolkit --without-gpm --without-dbus
>  --without-gconf --without-gsettings --without-makeinfo --without-x
>  --with-wide-int --with-gnutls --with-zlib'
> 
> Configured features:
> NOTIFY GNUTLS LIBXML2 ZLIB

Strange.  One of the 2 system I checked is very similar to this one.

> 	What bothers me the most here is how force-load-messages
> 	interferes with an otherwise working build?

That part is quite clear: it requires one more slot in the staticvec[]
array.

Can you run Emacs under GDB, put a breakpoint in staticpro, and when
it breaks, show the backtrace and the value of staticidx?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17169; Package emacs. (Thu, 03 Apr 2014 06:36:02 GMT) Full text and rfc822 format available.

Message #17 received at 17169 <at> debbugs.gnu.org (full text, mbox):

From: Ivan Shmakov <ivan <at> siamics.net>
To: 17169 <at> debbugs.gnu.org
Subject: Re: bug#17169: fails to start with (setq force-load-messages t) in
 ~/.emacs 
Date: Thu, 03 Apr 2014 06:35:09 +0000
[Message part 1 (text/plain, inline)]
>>>>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>>>> From: Ivan Shmakov Date: Wed, 02 Apr 2014 17:43:25 +0000

[…]

 >> What bothers me the most here is how force-load-messages interferes
 >> with an otherwise working build?

 > That part is quite clear: it requires one more slot in the
 > staticvec[] array.

 > Can you run Emacs under GDB, put a breakpoint in staticpro, and when
 > it breaks, show the backtrace and the value of staticidx?

	Sure, MIMEd.

	The first time the breakpoint fires, staticidx is 1417.  I then
	set the breakpoint condition to “staticidx > 2040”, and get one
	another backtrace, this one suggesting that bidi_initialize ()
	was called recursively:

#1  0x00000000004760b9 in bidi_initialize () at ../../src/bidi.c:770
…
#21 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
…
#41 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
…
#61 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
#62 0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=0, bytepos=0, 
#63 0x0000000000425f55 in reseat_to_string (multibyte=<optimized out>, 
#64                       display_string (string=string <at> entry=0x57475c "", 
#65 0x0000000000426935 in display_mode_element (it=it <at> entry=0x7fffffffbda0, 
#66 0x0000000000427dd9 in display_mode_element (it=it <at> entry=0x7fffffffbda0, 
#67 0x0000000000428771 in display_mode_line (w=w <at> entry=0xb09420, 
#68 0x0000000000428a18 in display_mode_lines (w=w <at> entry=0xb09420)
#69 0x0000000000428bed in redisplay_mode_lines (window=11572261, 
#70 0x000000000043342b in echo_area_display (
#71 0x000000000043355e in message3_nolog (m=m <at> entry=14734561)
#72 0x000000000043370b in message3 (m=m <at> entry=14734561)
#73 0x00000000004f3f1b in Fmessage (nargs=<optimized out>, 
#74 0x00000000004fb75a in Ffuncall (nargs=<optimized out>, 
#75 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
#76 0x00000000004fb32f in funcall_lambda (fun=8231213, nargs=nargs <at> entry=4, 
#77 0x00000000004fb68b in Ffuncall (nargs=nargs <at> entry=5, 
#78 0x00000000004fd2d9 in call4 (fn=<optimized out>, arg1=<optimized out>, 
#79 0x000000000051d5f9 in Fload (file=14735265, 
#80 0x0000000000475bb5 in uniprop_table (prop=<optimized out>)
#81 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
#82 0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=1, bytepos=1, 

-- 
FSF associate member #7257
[Message part 2 (text/plain, inline)]
Breakpoint 1, staticpro (
    varaddress=varaddress <at> entry=0xa7d398 <bidi_type_table>)
    at ../../src/alloc.c:5297
5297	  if (staticidx >= NSTATICS)
(gdb) bt 
#0  staticpro (varaddress=varaddress <at> entry=0xa7d398 <bidi_type_table>)
    at ../../src/alloc.c:5297
#1  0x00000000004760b9 in bidi_initialize () at ../../src/bidi.c:770
#2  0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=0, bytepos=0, 
    frame_window_p=frame_window_p <at> entry=false, 
    bidi_it=bidi_it <at> entry=0x7fffffffbcd8) at ../../src/bidi.c:813
#3  0x0000000000425f55 in reseat_to_string (multibyte=<optimized out>, 
    field_width=<optimized out>, precision=<optimized out>, charpos=0, 
    string=140737488338136, s=<optimized out>, it=0x7fffffffb340)
    at ../../src/xdisp.c:6587
#4  display_string (string=string <at> entry=0x57475c "", 
    lisp_string=lisp_string <at> entry=11491442, 
    face_string=face_string <at> entry=14993985, 
    face_string_pos=face_string_pos <at> entry=1, start=start <at> entry=0, 
    it=it <at> entry=0x7fffffffb340, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, max_x=<optimized out>, 
    max_x <at> entry=0, multibyte=<optimized out>) at ../../src/xdisp.c:22967
#5  0x0000000000426935 in display_mode_element (it=it <at> entry=0x7fffffffb340, 
    depth=<optimized out>, depth <at> entry=1, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, elt=14993985, 
    props=<optimized out>, props <at> entry=11491442, risky=risky <at> entry=0)
    at ../../src/xdisp.c:21734
#6  0x0000000000427dd9 in display_mode_element (it=it <at> entry=0x7fffffffb340, 
    depth=1, depth <at> entry=0, field_width=field_width <at> entry=0, 
    precision=precision <at> entry=0, elt=<optimized out>, elt <at> entry=14940422, 
    props=11491442, risky=risky <at> entry=0) at ../../src/xdisp.c:21906
#7  0x0000000000428771 in display_mode_line (w=w <at> entry=0xb09420, 
    face_id=MODE_LINE_FACE_ID, format=14940422) at ../../src/xdisp.c:21423
#8  0x0000000000428a18 in display_mode_lines (w=w <at> entry=0xb09420)
    at ../../src/xdisp.c:21366
#9  0x0000000000428bed in redisplay_mode_lines (window=11572261, 
    force=force <at> entry=false) at ../../src/xdisp.c:21324
#10 0x000000000043342b in echo_area_display (
    update_frame_p=update_frame_p <at> entry=1) at ../../src/xdisp.c:11107
#11 0x000000000043355e in message3_nolog (m=m <at> entry=13797553)
    at ../../src/xdisp.c:10093
#12 0x000000000043370b in message3 (m=13797553) at ../../src/xdisp.c:10035
#13 0x0000000000433c40 in message_with_string (
    m=m <at> entry=0x5720e4 "Loading %s...", string=8851465, log=1)
    at ../../src/xdisp.c:10180
#14 0x000000000051d54a in Fload (file=8851465, noerror=noerror <at> entry=11491442, 
    nomessage=nomessage <at> entry=11491490, nosuffix=nosuffix <at> entry=11491442, 
    must_suffix=<optimized out>, must_suffix <at> entry=11491490)
    at ../../src/lread.c:1351
#15 0x00000000004fcfb0 in Fautoload_do_load (fundef=8851582, 
    funname=funname <at> entry=16238434, macro_only=11491442)
    at ../../src/eval.c:1970
#16 0x00000000004fb5c3 in Ffuncall (nargs=2, args=0x7fffffffc4a8)
    at ../../src/eval.c:2879
#17 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488340128, args=0x2)
    at ../../src/bytecode.c:919
#18 0x00000000004fb32f in funcall_lambda (fun=9394725, nargs=nargs <at> entry=3, 
    arg_vector=arg_vector <at> entry=0x7fffffffc680) at ../../src/eval.c:3049
#19 0x00000000004fb68b in Ffuncall (nargs=4, args=0x7fffffffc678)
    at ../../src/eval.c:2876
#20 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488340592, args=0x4)
    at ../../src/bytecode.c:919
#21 0x00000000004fb32f in funcall_lambda (fun=9400901, nargs=nargs <at> entry=3, 
    arg_vector=arg_vector <at> entry=0x7fffffffc898) at ../../src/eval.c:3049
#22 0x00000000004fb68b in Ffuncall (nargs=4, args=0x7fffffffc890)
    at ../../src/eval.c:2876
#23 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488341128, args=0x4)
    at ../../src/bytecode.c:919
#24 0x00000000004fb3c7 in funcall_lambda (fun=9354613, nargs=nargs <at> entry=1, 
    arg_vector=0x7fffffffcac0, arg_vector <at> entry=0x7fffffffca40)
    at ../../src/eval.c:2983
#25 0x00000000004fb68b in Ffuncall (nargs=2, args=0x7fffffffca38)
    at ../../src/eval.c:2876
#26 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488341552, args=0x2)
    at ../../src/bytecode.c:919
#27 0x00000000004fb3c7 in funcall_lambda (fun=9356213, nargs=nargs <at> entry=2, 
    arg_vector=0x7fffffffcc40, arg_vector <at> entry=0x7fffffffcbb0)
    at ../../src/eval.c:2983
#28 0x00000000004fb68b in Ffuncall (nargs=3, args=0x7fffffffcba8)
    at ../../src/eval.c:2876
#29 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488341920, args=0x3)
    at ../../src/bytecode.c:919
#30 0x00000000004fb32f in funcall_lambda (fun=9334101, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffcda0) at ../../src/eval.c:3049
#31 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffcd98)
    at ../../src/eval.c:2876
#32 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488342416, args=0x1)
    at ../../src/bytecode.c:919
#33 0x00000000004fb32f in funcall_lambda (fun=9331597, nargs=nargs <at> entry=1, 
    arg_vector=arg_vector <at> entry=0x7fffffffcf80) at ../../src/eval.c:3049
#34 0x00000000004fb68b in Ffuncall (nargs=2, args=0x7fffffffcf78)
    at ../../src/eval.c:2876
#35 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=93, args=0x2)
    at ../../src/bytecode.c:919
#36 0x00000000004fb32f in funcall_lambda (fun=9307053, nargs=nargs <at> entry=1, 
    arg_vector=arg_vector <at> entry=0x7fffffffd160) at ../../src/eval.c:3049
#37 0x00000000004fb68b in Ffuncall (nargs=2, args=0x7fffffffd158)
    at ../../src/eval.c:2876
#38 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488343376, args=0x2)
    at ../../src/bytecode.c:919
#39 0x00000000004fb32f in funcall_lambda (fun=9306325, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffd340) at ../../src/eval.c:3049
#40 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffd338)
    at ../../src/eval.c:2876
#41 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=7, args=0x1)
    at ../../src/bytecode.c:919
#42 0x00000000004fb32f in funcall_lambda (fun=9307253, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffd500) at ../../src/eval.c:3049
#43 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffd4f8)
    at ../../src/eval.c:2876
#44 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488344304, args=0x1)
    at ../../src/bytecode.c:919
#45 0x00000000004fb32f in funcall_lambda (fun=9307941, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffd6d0) at ../../src/eval.c:3049
#46 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffd6c8)
    at ../../src/eval.c:2876
#47 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488344768, args=0x1)
    at ../../src/bytecode.c:919
#48 0x00000000004fb32f in funcall_lambda (fun=9309021, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffd8f8) at ../../src/eval.c:3049
#49 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffd8f0)
    at ../../src/eval.c:2876
#50 0x00000000004fb8f9 in funcall_nil (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/eval.c:2366
#51 0x00000000004fa1cd in run_hook_with_args (nargs=1, args=0x7fffffffd8f0, 
    funcall=0x4fb8f0 <funcall_nil>) at ../../src/eval.c:2551
#52 0x00000000004fa2f6 in Frun_hooks (nargs=1, args=0x7fffffffd998)
    at ../../src/eval.c:2393
#53 0x00000000004fb75a in Ffuncall (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/eval.c:2796
#54 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488345504, args=0x2)
    at ../../src/bytecode.c:919
#55 0x00000000004fb3c7 in funcall_lambda (fun=8159821, nargs=nargs <at> entry=1, 
    arg_vector=0x7fffffffdb80, arg_vector <at> entry=0x7fffffffdb00)
    at ../../src/eval.c:2983
#56 0x00000000004fb68b in Ffuncall (nargs=2, args=0x7fffffffdaf8)
    at ../../src/eval.c:2876
#57 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488345848, args=0x2)
    at ../../src/bytecode.c:919
#58 0x00000000004fb3c7 in funcall_lambda (fun=9574469, nargs=nargs <at> entry=0, 
    arg_vector=0x7fffffffdd50, arg_vector <at> entry=0x7fffffffdc70)
    at ../../src/eval.c:2983
#59 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffdc68)
    at ../../src/eval.c:2876
#60 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488346208, args=0x1)
    at ../../src/bytecode.c:919
#61 0x00000000004fb3c7 in funcall_lambda (fun=8613661, nargs=nargs <at> entry=0, 
    arg_vector=0x7fffffffdf00, arg_vector <at> entry=0x7fffffffde48)
    at ../../src/eval.c:2983
#62 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffde40)
    at ../../src/eval.c:2876
#63 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488346680, args=0x1)
    at ../../src/bytecode.c:919
#64 0x00000000004fb3c7 in funcall_lambda (fun=fun <at> entry=8610149, 
    nargs=nargs <at> entry=0, arg_vector=0x0, arg_vector <at> entry=0x7fffffffdf80)
    at ../../src/eval.c:2983
#65 0x00000000004fa824 in apply_lambda (fun=8610149, args=<optimized out>)
    at ../../src/eval.c:2924
#66 0x00000000004fab7b in eval_sub (form=form <at> entry=14770054)
    at ../../src/eval.c:2260
#67 0x00000000004fe101 in Feval (form=14770054, lexical=<optimized out>)
    at ../../src/eval.c:2003
#68 0x00000000004f9d0e in internal_condition_case (
    bfun=bfun <at> entry=0x48cdc0 <top_level_2>, handlers=<optimized out>, 
    hfun=hfun <at> entry=0x491250 <cmd_error>) at ../../src/eval.c:1354
#69 0x000000000048cda6 in top_level_1 (ignore=ignore <at> entry=11491442)
    at ../../src/keyboard.c:1191
#70 0x00000000004f9c1b in internal_catch (tag=11538786, 
    func=func <at> entry=0x48cd40 <top_level_1>, arg=11491442)
    at ../../src/eval.c:1118
#71 0x0000000000490e5f in command_loop () at ../../src/keyboard.c:1152
#72 recursive_edit_1 () at ../../src/keyboard.c:777
#73 0x0000000000491162 in Frecursive_edit () at ../../src/keyboard.c:845
#74 0x00000000004073cb in main (argc=<optimized out>, argv=0x7fffffffe2e8)
    at ../../src/emacs.c:1654
(gdb) print staticidx 
$1 = 1417
(gdb) 
[Message part 3 (text/plain, inline)]
(gdb) print staticidx 
$4 = 2041
(gdb) bt 
#0  staticpro (varaddress=varaddress <at> entry=0xa7d398 <bidi_type_table>)
    at ../../src/alloc.c:5297
#1  0x00000000004760b9 in bidi_initialize () at ../../src/bidi.c:770
#2  0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=0, bytepos=0, 
    frame_window_p=frame_window_p <at> entry=false, 
    bidi_it=bidi_it <at> entry=0x7fffffff8448) at ../../src/bidi.c:813
#3  0x0000000000425f55 in reseat_to_string (multibyte=<optimized out>, 
    field_width=<optimized out>, precision=<optimized out>, charpos=0, 
    string=140737488323656, s=<optimized out>, it=0x7fffffff7ab0)
    at ../../src/xdisp.c:6587
#4  display_string (string=string <at> entry=0x57475c "", 
    lisp_string=lisp_string <at> entry=11491442, 
    face_string=face_string <at> entry=14993985, 
    face_string_pos=face_string_pos <at> entry=1, start=start <at> entry=0, 
    it=it <at> entry=0x7fffffff7ab0, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, max_x=<optimized out>, 
    max_x <at> entry=0, multibyte=<optimized out>) at ../../src/xdisp.c:22967
#5  0x0000000000426935 in display_mode_element (it=it <at> entry=0x7fffffff7ab0, 
    depth=<optimized out>, depth <at> entry=1, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, elt=14993985, 
    props=<optimized out>, props <at> entry=11491442, risky=risky <at> entry=0)
    at ../../src/xdisp.c:21734
#6  0x0000000000427dd9 in display_mode_element (it=it <at> entry=0x7fffffff7ab0, 
    depth=1, depth <at> entry=0, field_width=field_width <at> entry=0, 
    precision=precision <at> entry=0, elt=<optimized out>, elt <at> entry=14940422, 
    props=11491442, risky=risky <at> entry=0) at ../../src/xdisp.c:21906
#7  0x0000000000428771 in display_mode_line (w=w <at> entry=0xb09420, 
    face_id=MODE_LINE_FACE_ID, format=14940422) at ../../src/xdisp.c:21423
#8  0x0000000000428a18 in display_mode_lines (w=w <at> entry=0xb09420)
    at ../../src/xdisp.c:21366
#9  0x0000000000428bed in redisplay_mode_lines (window=11572261, 
    force=force <at> entry=false) at ../../src/xdisp.c:21324
#10 0x000000000043342b in echo_area_display (
    update_frame_p=update_frame_p <at> entry=1) at ../../src/xdisp.c:11107
#11 0x000000000043355e in message3_nolog (m=m <at> entry=15059441)
    at ../../src/xdisp.c:10093
#12 0x000000000043370b in message3 (m=m <at> entry=15059441)
    at ../../src/xdisp.c:10035
#13 0x00000000004f3f1b in Fmessage (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/editfns.c:3452
#14 0x00000000004fb75a in Ffuncall (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/eval.c:2796
#15 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488325152, args=0x3)
    at ../../src/bytecode.c:919
#16 0x00000000004fb32f in funcall_lambda (fun=8231213, nargs=nargs <at> entry=4, 
    arg_vector=arg_vector <at> entry=0x7fffffff8c18) at ../../src/eval.c:3049
#17 0x00000000004fb68b in Ffuncall (nargs=nargs <at> entry=5, 
    args=args <at> entry=0x7fffffff8c10) at ../../src/eval.c:2876
#18 0x00000000004fd2d9 in call4 (fn=<optimized out>, arg1=<optimized out>, 
    arg2=arg2 <at> entry=15059921, arg3=<optimized out>, arg4=<optimized out>)
    at ../../src/eval.c:2663
#19 0x000000000051d5f9 in Fload (file=15044753, 
    noerror=noerror <at> entry=11491490, nomessage=nomessage <at> entry=11491490, 
    nosuffix=nosuffix <at> entry=11491490, must_suffix=<optimized out>, 
    must_suffix <at> entry=11491490) at ../../src/lread.c:1305
#20 0x0000000000475bb5 in uniprop_table (prop=<optimized out>)
    at ../../src/chartab.c:1340
#21 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
#22 0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=0, bytepos=0, 
    frame_window_p=frame_window_p <at> entry=false, 
    bidi_it=bidi_it <at> entry=0x7fffffff9a98) at ../../src/bidi.c:813
#23 0x0000000000425f55 in reseat_to_string (multibyte=<optimized out>, 
    field_width=<optimized out>, precision=<optimized out>, charpos=0, 
    string=140737488329368, s=<optimized out>, it=0x7fffffff9100)
    at ../../src/xdisp.c:6587
#24 display_string (string=string <at> entry=0x57475c "", 
    lisp_string=lisp_string <at> entry=11491442, 
    face_string=face_string <at> entry=14993985, 
    face_string_pos=face_string_pos <at> entry=1, start=start <at> entry=0, 
    it=it <at> entry=0x7fffffff9100, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, max_x=<optimized out>, 
    max_x <at> entry=0, multibyte=<optimized out>) at ../../src/xdisp.c:22967
#25 0x0000000000426935 in display_mode_element (it=it <at> entry=0x7fffffff9100, 
    depth=<optimized out>, depth <at> entry=1, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, elt=14993985, 
    props=<optimized out>, props <at> entry=11491442, risky=risky <at> entry=0)
    at ../../src/xdisp.c:21734
#26 0x0000000000427dd9 in display_mode_element (it=it <at> entry=0x7fffffff9100, 
    depth=1, depth <at> entry=0, field_width=field_width <at> entry=0, 
    precision=precision <at> entry=0, elt=<optimized out>, elt <at> entry=14940422, 
    props=11491442, risky=risky <at> entry=0) at ../../src/xdisp.c:21906
#27 0x0000000000428771 in display_mode_line (w=w <at> entry=0xb09420, 
    face_id=MODE_LINE_FACE_ID, format=14940422) at ../../src/xdisp.c:21423
#28 0x0000000000428a18 in display_mode_lines (w=w <at> entry=0xb09420)
    at ../../src/xdisp.c:21366
#29 0x0000000000428bed in redisplay_mode_lines (window=11572261, 
    force=force <at> entry=false) at ../../src/xdisp.c:21324
#30 0x000000000043342b in echo_area_display (
    update_frame_p=update_frame_p <at> entry=1) at ../../src/xdisp.c:11107
#31 0x000000000043355e in message3_nolog (m=m <at> entry=15044881)
    at ../../src/xdisp.c:10093
#32 0x000000000043370b in message3 (m=m <at> entry=15044881)
    at ../../src/xdisp.c:10035
#33 0x00000000004f3f1b in Fmessage (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/editfns.c:3452
#34 0x00000000004fb75a in Ffuncall (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/eval.c:2796
#35 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488330864, args=0x3)
    at ../../src/bytecode.c:919
#36 0x00000000004fb32f in funcall_lambda (fun=8231213, nargs=nargs <at> entry=4, 
    arg_vector=arg_vector <at> entry=0x7fffffffa268) at ../../src/eval.c:3049
#37 0x00000000004fb68b in Ffuncall (nargs=nargs <at> entry=5, 
    args=args <at> entry=0x7fffffffa260) at ../../src/eval.c:2876
#38 0x00000000004fd2d9 in call4 (fn=<optimized out>, arg1=<optimized out>, 
    arg2=arg2 <at> entry=15045297, arg3=<optimized out>, arg4=<optimized out>)
    at ../../src/eval.c:2663
#39 0x000000000051d5f9 in Fload (file=15002081, 
    noerror=noerror <at> entry=11491490, nomessage=nomessage <at> entry=11491490, 
    nosuffix=nosuffix <at> entry=11491490, must_suffix=<optimized out>, 
    must_suffix <at> entry=11491490) at ../../src/lread.c:1305
#40 0x0000000000475bb5 in uniprop_table (prop=<optimized out>)
    at ../../src/chartab.c:1340
#41 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
#42 0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=0, bytepos=0, 
    frame_window_p=frame_window_p <at> entry=false, 
    bidi_it=bidi_it <at> entry=0x7fffffffb0e8) at ../../src/bidi.c:813
#43 0x0000000000425f55 in reseat_to_string (multibyte=<optimized out>, 
    field_width=<optimized out>, precision=<optimized out>, charpos=0, 
    string=140737488335080, s=<optimized out>, it=0x7fffffffa750)
    at ../../src/xdisp.c:6587
#44 display_string (string=string <at> entry=0x57475c "", 
    lisp_string=lisp_string <at> entry=11491442, 
    face_string=face_string <at> entry=14993985, 
    face_string_pos=face_string_pos <at> entry=1, start=start <at> entry=0, 
    it=it <at> entry=0x7fffffffa750, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, max_x=<optimized out>, 
    max_x <at> entry=0, multibyte=<optimized out>) at ../../src/xdisp.c:22967
#45 0x0000000000426935 in display_mode_element (it=it <at> entry=0x7fffffffa750, 
    depth=<optimized out>, depth <at> entry=1, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, elt=14993985, 
    props=<optimized out>, props <at> entry=11491442, risky=risky <at> entry=0)
    at ../../src/xdisp.c:21734
#46 0x0000000000427dd9 in display_mode_element (it=it <at> entry=0x7fffffffa750, 
    depth=1, depth <at> entry=0, field_width=field_width <at> entry=0, 
    precision=precision <at> entry=0, elt=<optimized out>, elt <at> entry=14940422, 
    props=11491442, risky=risky <at> entry=0) at ../../src/xdisp.c:21906
#47 0x0000000000428771 in display_mode_line (w=w <at> entry=0xb09420, 
    face_id=MODE_LINE_FACE_ID, format=14940422) at ../../src/xdisp.c:21423
#48 0x0000000000428a18 in display_mode_lines (w=w <at> entry=0xb09420)
    at ../../src/xdisp.c:21366
#49 0x0000000000428bed in redisplay_mode_lines (window=11572261, 
    force=force <at> entry=false) at ../../src/xdisp.c:21324
#50 0x000000000043342b in echo_area_display (
    update_frame_p=update_frame_p <at> entry=1) at ../../src/xdisp.c:11107
#51 0x000000000043355e in message3_nolog (m=m <at> entry=15002177)
    at ../../src/xdisp.c:10093
#52 0x000000000043370b in message3 (m=m <at> entry=15002177)
    at ../../src/xdisp.c:10035
#53 0x00000000004f3f1b in Fmessage (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/editfns.c:3452
#54 0x00000000004fb75a in Ffuncall (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/eval.c:2796
#55 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488336576, args=0x3)
    at ../../src/bytecode.c:919
#56 0x00000000004fb32f in funcall_lambda (fun=8231213, nargs=nargs <at> entry=4, 
    arg_vector=arg_vector <at> entry=0x7fffffffb8b8) at ../../src/eval.c:3049
#57 0x00000000004fb68b in Ffuncall (nargs=nargs <at> entry=5, 
    args=args <at> entry=0x7fffffffb8b0) at ../../src/eval.c:2876
#58 0x00000000004fd2d9 in call4 (fn=<optimized out>, arg1=<optimized out>, 
    arg2=arg2 <at> entry=14738049, arg3=<optimized out>, arg4=<optimized out>)
    at ../../src/eval.c:2663
#59 0x000000000051d5f9 in Fload (file=14738465, 
    noerror=noerror <at> entry=11491490, nomessage=nomessage <at> entry=11491490, 
    nosuffix=nosuffix <at> entry=11491490, must_suffix=<optimized out>, 
    must_suffix <at> entry=11491490) at ../../src/lread.c:1305
#60 0x0000000000475bb5 in uniprop_table (prop=<optimized out>)
    at ../../src/chartab.c:1340
#61 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
#62 0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=0, bytepos=0, 
    frame_window_p=frame_window_p <at> entry=false, 
    bidi_it=bidi_it <at> entry=0x7fffffffc738) at ../../src/bidi.c:813
#63 0x0000000000425f55 in reseat_to_string (multibyte=<optimized out>, 
    field_width=<optimized out>, precision=<optimized out>, charpos=0, 
    string=140737488340792, s=<optimized out>, it=0x7fffffffbda0)
    at ../../src/xdisp.c:6587
#64 display_string (string=string <at> entry=0x57475c "", 
    lisp_string=lisp_string <at> entry=11491442, 
    face_string=face_string <at> entry=14993985, 
    face_string_pos=face_string_pos <at> entry=1, start=start <at> entry=0, 
    it=it <at> entry=0x7fffffffbda0, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, max_x=<optimized out>, 
    max_x <at> entry=0, multibyte=<optimized out>) at ../../src/xdisp.c:22967
#65 0x0000000000426935 in display_mode_element (it=it <at> entry=0x7fffffffbda0, 
    depth=<optimized out>, depth <at> entry=1, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, elt=14993985, 
    props=<optimized out>, props <at> entry=11491442, risky=risky <at> entry=0)
    at ../../src/xdisp.c:21734
#66 0x0000000000427dd9 in display_mode_element (it=it <at> entry=0x7fffffffbda0, 
    depth=1, depth <at> entry=0, field_width=field_width <at> entry=0, 
    precision=precision <at> entry=0, elt=<optimized out>, elt <at> entry=14940422, 
    props=11491442, risky=risky <at> entry=0) at ../../src/xdisp.c:21906
#67 0x0000000000428771 in display_mode_line (w=w <at> entry=0xb09420, 
    face_id=MODE_LINE_FACE_ID, format=14940422) at ../../src/xdisp.c:21423
#68 0x0000000000428a18 in display_mode_lines (w=w <at> entry=0xb09420)
    at ../../src/xdisp.c:21366
#69 0x0000000000428bed in redisplay_mode_lines (window=11572261, 
    force=force <at> entry=false) at ../../src/xdisp.c:21324
#70 0x000000000043342b in echo_area_display (
    update_frame_p=update_frame_p <at> entry=1) at ../../src/xdisp.c:11107
#71 0x000000000043355e in message3_nolog (m=m <at> entry=14734561)
    at ../../src/xdisp.c:10093
#72 0x000000000043370b in message3 (m=m <at> entry=14734561)
    at ../../src/xdisp.c:10035
#73 0x00000000004f3f1b in Fmessage (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/editfns.c:3452
#74 0x00000000004fb75a in Ffuncall (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/eval.c:2796
#75 0x000000000052e67d in exec_byte_code (bytestr=17040509, vector=17299533, 
    maxdepth=17283597, args_template=5, nargs=140737488342288, args=0x3)
    at ../../src/bytecode.c:919
#76 0x00000000004fb32f in funcall_lambda (fun=8231213, nargs=nargs <at> entry=4, 
    arg_vector=arg_vector <at> entry=0x7fffffffcf08) at ../../src/eval.c:3049
#77 0x00000000004fb68b in Ffuncall (nargs=nargs <at> entry=5, 
    args=args <at> entry=0x7fffffffcf00) at ../../src/eval.c:2876
#78 0x00000000004fd2d9 in call4 (fn=<optimized out>, arg1=<optimized out>, 
    arg2=arg2 <at> entry=14734913, arg3=<optimized out>, arg4=<optimized out>)
    at ../../src/eval.c:2663
#79 0x000000000051d5f9 in Fload (file=14735265, 
    noerror=noerror <at> entry=11491490, nomessage=nomessage <at> entry=11491490, 
    nosuffix=nosuffix <at> entry=11491490, must_suffix=<optimized out>, 
    must_suffix <at> entry=11491490) at ../../src/lread.c:1305
#80 0x0000000000475bb5 in uniprop_table (prop=<optimized out>)
    at ../../src/chartab.c:1340
#81 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
#82 0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=1, bytepos=1, 
    frame_window_p=frame_window_p <at> entry=false, 
    bidi_it=bidi_it <at> entry=0x7fffffffdb58) at ../../src/bidi.c:813
#83 0x00000000004219a8 in init_iterator (it=0x7fffffffd1c0, w=0xb095c8, 
    charpos=1, bytepos=<optimized out>, row=<optimized out>, 
    base_face_id=DEFAULT_FACE_ID) at ../../src/xdisp.c:3017
#84 0x000000000042eaa0 in resize_mini_window (w=0xb095c8, exact_p=1)
    at ../../src/xdisp.c:10734
#85 0x000000000041a244 in with_echo_area_buffer (w=0xb095c8, 
    which=<optimized out>, fn=0x42ee70 <resize_mini_window_1>, a1=11572680, 
    a2=11491490) at ../../src/xdisp.c:10418
#86 0x0000000000433cfa in resize_echo_area_exactly ()
    at ../../src/xdisp.c:10654
#87 0x000000000049a9c9 in command_loop_1 () at ../../src/keyboard.c:1367
#88 0x00000000004f9d0e in internal_condition_case (
    bfun=bfun <at> entry=0x499b40 <command_loop_1>, handlers=<optimized out>, 
    hfun=hfun <at> entry=0x491250 <cmd_error>) at ../../src/eval.c:1354
#89 0x000000000048cd2e in command_loop_2 (ignore=ignore <at> entry=11491442)
    at ../../src/keyboard.c:1174
#90 0x00000000004f9c1b in internal_catch (tag=11538786, 
    func=func <at> entry=0x48cd10 <command_loop_2>, arg=11491442)
    at ../../src/eval.c:1118
#91 0x0000000000490e77 in command_loop () at ../../src/keyboard.c:1153
#92 recursive_edit_1 () at ../../src/keyboard.c:777
#93 0x0000000000491162 in Frecursive_edit () at ../../src/keyboard.c:845
#94 0x00000000004073cb in main (argc=<optimized out>, argv=0x7fffffffe2e8)
    at ../../src/emacs.c:1654
(gdb) 

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17169; Package emacs. (Thu, 03 Apr 2014 15:59:01 GMT) Full text and rfc822 format available.

Message #20 received at 17169 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Shmakov <ivan <at> siamics.net>
Cc: 17169 <at> debbugs.gnu.org
Subject: Re: bug#17169: fails to start with (setq force-load-messages t)
 in	~/.emacs
Date: Thu, 03 Apr 2014 18:58:53 +0300
> From: Ivan Shmakov <ivan <at> siamics.net>
> Date: Thu, 03 Apr 2014 06:35:09 +0000
> 
>  >> What bothers me the most here is how force-load-messages interferes
>  >> with an otherwise working build?
> 
>  > That part is quite clear: it requires one more slot in the
>  > staticvec[] array.

This was wrong: as you show, the problem is infinite recursion in
calling bidi_initialize.

>  > Can you run Emacs under GDB, put a breakpoint in staticpro, and when
>  > it breaks, show the backtrace and the value of staticidx?
> 
> 	Sure, MIMEd.
> 
> 	The first time the breakpoint fires, staticidx is 1417.  I then
> 	set the breakpoint condition to “staticidx > 2040”, and get one
> 	another backtrace, this one suggesting that bidi_initialize ()
> 	was called recursively:

Boy, am I glad that I asked.  Because now I see some snafu here;
there's nothing wrong with size of the staticvec[] array.

> #1  0x00000000004760b9 in bidi_initialize () at ../../src/bidi.c:770
> …
> #21 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
> …
> #41 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
> …
> #61 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
> #62 0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=0, bytepos=0, 
> #63 0x0000000000425f55 in reseat_to_string (multibyte=<optimized out>, 
> #64                       display_string (string=string <at> entry=0x57475c "", 

This is a symptom of a serious problem, but I don't know yet what is
the root cause here.

> Breakpoint 1, staticpro (
>     varaddress=varaddress <at> entry=0xa7d398 <bidi_type_table>)
>     at ../../src/alloc.c:5297
> 5297	  if (staticidx >= NSTATICS)
> (gdb) bt 
> #0  staticpro (varaddress=varaddress <at> entry=0xa7d398 <bidi_type_table>)
>     at ../../src/alloc.c:5297
> #1  0x00000000004760b9 in bidi_initialize () at ../../src/bidi.c:770
> #2  0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=0, bytepos=0, 
>     frame_window_p=frame_window_p <at> entry=false, 
>     bidi_it=bidi_it <at> entry=0x7fffffffbcd8) at ../../src/bidi.c:813
> #3  0x0000000000425f55 in reseat_to_string (multibyte=<optimized out>, 
>     field_width=<optimized out>, precision=<optimized out>, charpos=0, 
>     string=140737488338136, s=<optimized out>, it=0x7fffffffb340)
>     at ../../src/xdisp.c:6587
> #4  display_string (string=string <at> entry=0x57475c "", 
>     lisp_string=lisp_string <at> entry=11491442, 
>     face_string=face_string <at> entry=14993985, 
>     face_string_pos=face_string_pos <at> entry=1, start=start <at> entry=0, 
>     it=it <at> entry=0x7fffffffb340, field_width=<optimized out>, 
>     precision=<optimized out>, precision <at> entry=0, max_x=<optimized out>, 
>     max_x <at> entry=0, multibyte=<optimized out>) at ../../src/xdisp.c:22967
> #5  0x0000000000426935 in display_mode_element (it=it <at> entry=0x7fffffffb340, 
>     depth=<optimized out>, depth <at> entry=1, field_width=<optimized out>, 
>     precision=<optimized out>, precision <at> entry=0, elt=14993985, 
>     props=<optimized out>, props <at> entry=11491442, risky=risky <at> entry=0)
>     at ../../src/xdisp.c:21734
> #6  0x0000000000427dd9 in display_mode_element (it=it <at> entry=0x7fffffffb340, 
>     depth=1, depth <at> entry=0, field_width=field_width <at> entry=0, 
>     precision=precision <at> entry=0, elt=<optimized out>, elt <at> entry=14940422, 
>     props=11491442, risky=risky <at> entry=0) at ../../src/xdisp.c:21906
> #7  0x0000000000428771 in display_mode_line (w=w <at> entry=0xb09420, 
>     face_id=MODE_LINE_FACE_ID, format=14940422) at ../../src/xdisp.c:21423
> #8  0x0000000000428a18 in display_mode_lines (w=w <at> entry=0xb09420)
>     at ../../src/xdisp.c:21366
> #9  0x0000000000428bed in redisplay_mode_lines (window=11572261, 
>     force=force <at> entry=false) at ../../src/xdisp.c:21324
> #10 0x000000000043342b in echo_area_display (
>     update_frame_p=update_frame_p <at> entry=1) at ../../src/xdisp.c:11107
> #11 0x000000000043355e in message3_nolog (m=m <at> entry=13797553)
>     at ../../src/xdisp.c:10093
> #12 0x000000000043370b in message3 (m=13797553) at ../../src/xdisp.c:10035
> #13 0x0000000000433c40 in message_with_string (
>     m=m <at> entry=0x5720e4 "Loading %s...", string=8851465, log=1)
>     at ../../src/xdisp.c:10180
> #14 0x000000000051d54a in Fload (file=8851465, noerror=noerror <at> entry=11491442, 
>     nomessage=nomessage <at> entry=11491490, nosuffix=nosuffix <at> entry=11491442, 
>     must_suffix=<optimized out>, must_suffix <at> entry=11491490)
>     at ../../src/lread.c:1351
> #15 0x00000000004fcfb0 in Fautoload_do_load (fundef=8851582, 
>     funname=funname <at> entry=16238434, macro_only=11491442)
>     at ../../src/eval.c:1970

This far things are fine, although I'd like to know what kind of
autoload caused Emacs to load some Lisp file here, and what was that
file (the value of 'file' in frame 14 or of 'string' in frame 13
should tell you that).  You'd need to "source .gdbinit" to be able to
display Lisp strings with "xstring".

> #79 0x000000000051d5f9 in Fload (file=14735265, 
>     noerror=noerror <at> entry=11491490, nomessage=nomessage <at> entry=11491490, 
>     nosuffix=nosuffix <at> entry=11491490, must_suffix=<optimized out>, 
>     must_suffix <at> entry=11491490) at ../../src/lread.c:1305
> #80 0x0000000000475bb5 in uniprop_table (prop=<optimized out>)
>     at ../../src/chartab.c:1340
> #81 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
> #82 0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=1, bytepos=1, 
>     frame_window_p=frame_window_p <at> entry=false, 
>     bidi_it=bidi_it <at> entry=0x7fffffffdb58) at ../../src/bidi.c:813
> #83 0x00000000004219a8 in init_iterator (it=0x7fffffffd1c0, w=0xb095c8, 
>     charpos=1, bytepos=<optimized out>, row=<optimized out>, 
>     base_face_id=DEFAULT_FACE_ID) at ../../src/xdisp.c:3017
> #84 0x000000000042eaa0 in resize_mini_window (w=0xb095c8, exact_p=1)
>     at ../../src/xdisp.c:10734
> #85 0x000000000041a244 in with_echo_area_buffer (w=0xb095c8, 
>     which=<optimized out>, fn=0x42ee70 <resize_mini_window_1>, a1=11572680, 
>     a2=11491490) at ../../src/xdisp.c:10418
> #86 0x0000000000433cfa in resize_echo_area_exactly ()
>     at ../../src/xdisp.c:10654

This part I don't understand.  It says that bidi_initialize called
uniprop_table, as it should, but then uniprop_table called Fload to
load the file uni-bidi.el.  This last part should not happen, because
uni-bidi.el is preloaded when Emacs is dumped, by virtue of this part
in characters.el (which is loaded by temacs during the build):

  ;; If bootstrapping without generated uni-*.el files, table not defined.
  (let ((table (unicode-property-table-internal 'bidi-class)))
    (when table
      (map-char-table (lambda (key val)
			(cond
			 ((memq val '(R AL RLO RLE))
			  (modify-category-entry key ?R))
			 ((memq val '(L LRE LRO))
			  (modify-category-entry key ?L))))
		      table)))

This calls unicode-property-table-internal, which should load
uni-bidi.el.  This code runs at "temacs -l loadup dump" time, so the
result is that uni-bidi.el gets loaded and dumped into the Emacs
binary.  Therefore, the call to uniprop_table from bidi_initialize
should have found that the table is already loaded, and refrain from
trying to load it.

(The rest is clear: once uniprop_table tries to load uni-bidi.el, it
announces the fact that it loads that file, because that's the effect
of a non-nil value of force-load-messages, but displaying a message
again requires the initialization of the bidi iterator, so we again
re-enter bidi_initialize, which again calls uniprop_table, etc.)

Can you figure out how come uni-bidi.el is not preloaded in your
Emacs?  Is something wrong with your characters.el, for example?  Or
maybe the uni-*.el files are missing, in particular uni-bidi.el?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17169; Package emacs. (Thu, 03 Apr 2014 19:06:02 GMT) Full text and rfc822 format available.

Message #23 received at 17169 <at> debbugs.gnu.org (full text, mbox):

From: Ivan Shmakov <ivan <at> siamics.net>
To: 17169 <at> debbugs.gnu.org
Subject: Re: bug#17169: fails to start with (setq force-load-messages t)
 in	~/.emacs
Date: Thu, 03 Apr 2014 19:05:38 +0000
[Message part 1 (text/plain, inline)]
>>>>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>>>> From: Ivan Shmakov Date: Thu, 03 Apr 2014 06:35:09 +0000

[…]

 > This far things are fine, although I'd like to know what kind of
 > autoload caused Emacs to load some Lisp file here, and what was that
 > file (the value of 'file' in frame 14 or of 'string' in frame 13
 > should tell you that).

	As I read it, the file is time-date.el, and it’s loaded for the
	seconds-to-time function.

[…]

 >> #79 0x000000000051d5f9 in Fload (file=14735265, 
 >>     noerror=noerror <at> entry=11491490, nomessage=nomessage <at> entry=11491490, 
 >>     nosuffix=nosuffix <at> entry=11491490, must_suffix=<optimized out>, 
 >>     must_suffix <at> entry=11491490) at ../../src/lread.c:1305
 >> #80 0x0000000000475bb5 in uniprop_table (prop=<optimized out>)
 >>     at ../../src/chartab.c:1340
 >> #81 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772

[…]

 > This part I don't understand.  It says that bidi_initialize called
 > uniprop_table, as it should, but then uniprop_table called Fload to
 > load the file uni-bidi.el.

	JFTR, as per the GDB transcripts MIMEd, Fload () is called to
	load uni-mirrored.el.  The respective code is as follows.

emacs-2014 $ nl -ba < src/bidi.c 
…
   771	
   772	  bidi_mirror_table = uniprop_table (intern ("mirroring"));
   773	  if (NILP (bidi_mirror_table))
   774	    emacs_abort ();
   775	  staticpro (&bidi_mirror_table);
   776	
…
emacs-2014 $ 

[…]

 > This code runs at "temacs -l loadup dump" time, so the result is that
 > uni-bidi.el gets loaded and dumped into the Emacs binary.

	Does the same apply to uni-mirrored.el?

	Is there an easy way to list the Unicode tables contained within
	the resulting binary?

 > Therefore, the call to uniprop_table from bidi_initialize should have
 > found that the table is already loaded, and refrain from trying to
 > load it.

 > (The rest is clear: once uniprop_table tries to load uni-bidi.el, it
 > announces the fact that it loads that file, because that's the effect
 > of a non-nil value of force-load-messages, but displaying a message
 > again requires the initialization of the bidi iterator, so we again
 > re-enter bidi_initialize, which again calls uniprop_table, etc.)

	ACK.

	BTW, is it normal that display_string () is called with an empty
	‘string’ argument here, and in turn passes an empty (Lisp)
	‘string’ to reseat_to_string ()?

 > Can you figure out how come uni-bidi.el is not preloaded in your
 > Emacs?  Is something wrong with your characters.el, for example?  Or
 > maybe the uni-*.el files are missing, in particular uni-bidi.el?

	The uni-*.el files are as follows:

emacs-2014 $ find -name uni-\*.el -exec ls -gGlt -- {} + 
-rw-r--r-- 1   9483 Jan 31 14:47 ./lisp/international/uni-mirrored.el
-rw-r--r-- 1   6541 Jan 31 14:47 ./lisp/international/uni-titlecase.el
-rw-r--r-- 1   2442 Jan 31 14:47 ./lisp/international/uni-comment.el
-rw-r--r-- 1   6501 Jan 31 14:47 ./lisp/international/uni-lowercase.el
-rw-r--r-- 1  19816 Jan 31 14:47 ./lisp/international/uni-old-name.el
-rw-r--r-- 1   6537 Jan 31 14:47 ./lisp/international/uni-uppercase.el
-rw-r--r-- 1   8349 Jan 31 14:47 ./lisp/international/uni-bidi.el
-rw-r--r-- 1   2826 Jan 31 14:47 ./lisp/international/uni-decimal.el
-rw-r--r-- 1  29388 Jan 31 14:47 ./lisp/international/uni-decomposition.el
-rw-r--r-- 1   3144 Jan 31 14:47 ./lisp/international/uni-digit.el
-rw-r--r-- 1   4662 Jan 31 14:47 ./lisp/international/uni-numeric.el
-rw-r--r-- 1  13187 Jan 31 14:47 ./lisp/international/uni-category.el
-rw-r--r-- 1   6462 Jan 31 14:47 ./lisp/international/uni-combining.el
-rw-r--r-- 1 162388 Jan 31 14:47 ./lisp/international/uni-name.el
-rw-r--r-- 1   4335 Jan 13 21:39 ./lisp/leim/quail/uni-input.el
emacs-2014 $ 

	Obviously, they come from an earlier build (sans uni-input.el),
	but as neither unidata-gen.el nor UnicodeData.txt have changed
	since earlier in January, it shouldn’t be necessary to update
	them.  (Unless there were some data format change, that is.)

	The characters.el appears to be up to date:

emacs-2014 $ git status -- lisp/international/characters.el 
On branch master
Your branch is up-to-date with 'origin/master'.

nothing to commit, working directory clean
emacs-2014 $ 

-- 
FSF associate member #7257
[Message part 2 (text/plain, inline)]
Breakpoint 2, Fload (file=13803489, noerror=noerror <at> entry=11491490, 
    nomessage=nomessage <at> entry=11491490, nosuffix=nosuffix <at> entry=11491490, 
    must_suffix=must_suffix <at> entry=11491490) at ../../src/lread.c:1048
1048	{
(gdb) print file 
$1 = 13803489
(gdb) xstring 
$2 = (struct Lisp_String *) 0xd29fe0
"international/uni-mirrored.el"
(gdb) bt 
#0  Fload (file=13803489, noerror=noerror <at> entry=11491490, 
    nomessage=nomessage <at> entry=11491490, nosuffix=nosuffix <at> entry=11491490, 
    must_suffix=must_suffix <at> entry=11491490) at ../../src/lread.c:1048
#1  0x0000000000475bb5 in uniprop_table (prop=<optimized out>)
    at ../../src/chartab.c:1340
#2  0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
#3  0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=0, bytepos=0, 
    frame_window_p=frame_window_p <at> entry=false, 
    bidi_it=bidi_it <at> entry=0x7fffffffbcd8) at ../../src/bidi.c:813
#4  0x0000000000425f55 in reseat_to_string (multibyte=<optimized out>, 
    field_width=<optimized out>, precision=<optimized out>, charpos=0, 
    string=140737488338136, s=<optimized out>, it=0x7fffffffb340)
    at ../../src/xdisp.c:6587
#5  display_string (string=string <at> entry=0x57475c "", 
    lisp_string=lisp_string <at> entry=11491442, 
    face_string=face_string <at> entry=14993985, 
    face_string_pos=face_string_pos <at> entry=1, start=start <at> entry=0, 
    it=it <at> entry=0x7fffffffb340, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, max_x=<optimized out>, 
    max_x <at> entry=0, multibyte=<optimized out>) at ../../src/xdisp.c:22967
#6  0x0000000000426935 in display_mode_element (it=it <at> entry=0x7fffffffb340, 
    depth=<optimized out>, depth <at> entry=1, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, elt=14993985, 
    props=<optimized out>, props <at> entry=11491442, risky=risky <at> entry=0)
    at ../../src/xdisp.c:21734
#7  0x0000000000427dd9 in display_mode_element (it=it <at> entry=0x7fffffffb340, 
    depth=1, depth <at> entry=0, field_width=field_width <at> entry=0, 
    precision=precision <at> entry=0, elt=<optimized out>, elt <at> entry=14940422, 
    props=11491442, risky=risky <at> entry=0) at ../../src/xdisp.c:21906
#8  0x0000000000428771 in display_mode_line (w=w <at> entry=0xb09420, 
    face_id=MODE_LINE_FACE_ID, format=14940422) at ../../src/xdisp.c:21423
#9  0x0000000000428a18 in display_mode_lines (w=w <at> entry=0xb09420)
    at ../../src/xdisp.c:21366
#10 0x0000000000428bed in redisplay_mode_lines (window=11572261, 
    force=force <at> entry=false) at ../../src/xdisp.c:21324
#11 0x000000000043342b in echo_area_display (
    update_frame_p=update_frame_p <at> entry=1) at ../../src/xdisp.c:11107
#12 0x000000000043355e in message3_nolog (m=m <at> entry=13797553)
    at ../../src/xdisp.c:10093
#13 0x000000000043370b in message3 (m=13797553) at ../../src/xdisp.c:10035
#14 0x0000000000433c40 in message_with_string (
    m=m <at> entry=0x5720e4 "Loading %s...", string=8851465, log=1)
    at ../../src/xdisp.c:10180
#15 0x000000000051d54a in Fload (file=8851465, noerror=noerror <at> entry=11491442, 
    nomessage=nomessage <at> entry=11491490, nosuffix=nosuffix <at> entry=11491442, 
    must_suffix=<optimized out>, must_suffix <at> entry=11491490)
    at ../../src/lread.c:1351
#16 0x00000000004fcfb0 in Fautoload_do_load (fundef=8851582, 
    funname=funname <at> entry=16238434, macro_only=11491442)
    at ../../src/eval.c:1970
#17 0x00000000004fb5c3 in Ffuncall (nargs=2, args=0x7fffffffc4a8)
    at ../../src/eval.c:2879
#18 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=140737488340128, args=0x2)
    at ../../src/bytecode.c:919
#19 0x00000000004fb32f in funcall_lambda (fun=9394725, nargs=nargs <at> entry=3, 
    arg_vector=arg_vector <at> entry=0x7fffffffc680) at ../../src/eval.c:3049
#20 0x00000000004fb68b in Ffuncall (nargs=4, args=0x7fffffffc678)
    at ../../src/eval.c:2876
#21 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=140737488340592, args=0x4)
    at ../../src/bytecode.c:919
#22 0x00000000004fb32f in funcall_lambda (fun=9400901, nargs=nargs <at> entry=3, 
    arg_vector=arg_vector <at> entry=0x7fffffffc898) at ../../src/eval.c:3049
#23 0x00000000004fb68b in Ffuncall (nargs=4, args=0x7fffffffc890)
    at ../../src/eval.c:2876
#24 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=140737488341128, args=0x4)
    at ../../src/bytecode.c:919
#25 0x00000000004fb3c7 in funcall_lambda (fun=9354613, nargs=nargs <at> entry=1, 
    arg_vector=0x7fffffffcac0, arg_vector <at> entry=0x7fffffffca40)
    at ../../src/eval.c:2983
#26 0x00000000004fb68b in Ffuncall (nargs=2, args=0x7fffffffca38)
    at ../../src/eval.c:2876
#27 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=140737488341552, args=0x2)
    at ../../src/bytecode.c:919
#28 0x00000000004fb3c7 in funcall_lambda (fun=9356213, nargs=nargs <at> entry=2, 
    arg_vector=0x7fffffffcc40, arg_vector <at> entry=0x7fffffffcbb0)
    at ../../src/eval.c:2983
#29 0x00000000004fb68b in Ffuncall (nargs=3, args=0x7fffffffcba8)
    at ../../src/eval.c:2876
#30 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=140737488341920, args=0x3)
    at ../../src/bytecode.c:919
#31 0x00000000004fb32f in funcall_lambda (fun=9334101, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffcda0) at ../../src/eval.c:3049
#32 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffcd98)
    at ../../src/eval.c:2876
#33 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=140737488342416, args=0x1)
    at ../../src/bytecode.c:919
#34 0x00000000004fb32f in funcall_lambda (fun=9331597, nargs=nargs <at> entry=1, 
    arg_vector=arg_vector <at> entry=0x7fffffffcf80) at ../../src/eval.c:3049
#35 0x00000000004fb68b in Ffuncall (nargs=2, args=0x7fffffffcf78)
    at ../../src/eval.c:2876
#36 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=93, args=0x2)
    at ../../src/bytecode.c:919
#37 0x00000000004fb32f in funcall_lambda (fun=9307053, nargs=nargs <at> entry=1, 
    arg_vector=arg_vector <at> entry=0x7fffffffd160) at ../../src/eval.c:3049
#38 0x00000000004fb68b in Ffuncall (nargs=2, args=0x7fffffffd158)
    at ../../src/eval.c:2876
#39 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=140737488343376, args=0x2)
    at ../../src/bytecode.c:919
#40 0x00000000004fb32f in funcall_lambda (fun=9306325, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffd340) at ../../src/eval.c:3049
#41 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffd338)
    at ../../src/eval.c:2876
#42 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=7, args=0x1)
    at ../../src/bytecode.c:919
#43 0x00000000004fb32f in funcall_lambda (fun=9307253, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffd500) at ../../src/eval.c:3049
#44 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffd4f8)
    at ../../src/eval.c:2876
#45 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=140737488344304, args=0x1)
    at ../../src/bytecode.c:919
#46 0x00000000004fb32f in funcall_lambda (fun=9307941, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffd6d0) at ../../src/eval.c:3049
#47 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffd6c8)
    at ../../src/eval.c:2876
#48 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=140737488344768, args=0x1)
    at ../../src/bytecode.c:919
#49 0x00000000004fb32f in funcall_lambda (fun=9309021, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffd8f8) at ../../src/eval.c:3049
#50 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffd8f0)
    at ../../src/eval.c:2876
#51 0x00000000004fb8f9 in funcall_nil (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/eval.c:2366
#52 0x00000000004fa1cd in run_hook_with_args (nargs=1, args=0x7fffffffd8f0, 
    funcall=0x4fb8f0 <funcall_nil>) at ../../src/eval.c:2551
#53 0x00000000004fa2f6 in Frun_hooks (nargs=1, args=0x7fffffffd998)
    at ../../src/eval.c:2393
#54 0x00000000004fb75a in Ffuncall (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/eval.c:2796
#55 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=140737488345504, args=0x2)
    at ../../src/bytecode.c:919
#56 0x00000000004fb3c7 in funcall_lambda (fun=8159821, nargs=nargs <at> entry=1, 
    arg_vector=0x7fffffffdb80, arg_vector <at> entry=0x7fffffffdb00)
    at ../../src/eval.c:2983
#57 0x00000000004fb68b in Ffuncall (nargs=2, args=0x7fffffffdaf8)
    at ../../src/eval.c:2876
#58 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=140737488345848, args=0x2)
    at ../../src/bytecode.c:919
#59 0x00000000004fb3c7 in funcall_lambda (fun=9574469, nargs=nargs <at> entry=0, 
    arg_vector=0x7fffffffdd50, arg_vector <at> entry=0x7fffffffdc70)
    at ../../src/eval.c:2983
#60 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffdc68)
    at ../../src/eval.c:2876
#61 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=140737488346208, args=0x1)
    at ../../src/bytecode.c:919
#62 0x00000000004fb3c7 in funcall_lambda (fun=8613661, nargs=nargs <at> entry=0, 
    arg_vector=0x7fffffffdf00, arg_vector <at> entry=0x7fffffffde48)
    at ../../src/eval.c:2983
#63 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffde40)
    at ../../src/eval.c:2876
#64 0x000000000052e67d in exec_byte_code (bytestr=13803489, vector=11491490, 
    maxdepth=11491490, args_template=11491490, nargs=140737488346680, args=0x1)
    at ../../src/bytecode.c:919
#65 0x00000000004fb3c7 in funcall_lambda (fun=fun <at> entry=8610149, 
    nargs=nargs <at> entry=0, arg_vector=0x0, arg_vector <at> entry=0x7fffffffdf80)
    at ../../src/eval.c:2983
#66 0x00000000004fa824 in apply_lambda (fun=8610149, args=<optimized out>)
    at ../../src/eval.c:2924
#67 0x00000000004fab7b in eval_sub (form=form <at> entry=14770054)
    at ../../src/eval.c:2260
#68 0x00000000004fe101 in Feval (form=14770054, lexical=<optimized out>)
    at ../../src/eval.c:2003
#69 0x00000000004f9d0e in internal_condition_case (
    bfun=bfun <at> entry=0x48cdc0 <top_level_2>, handlers=<optimized out>, 
    hfun=hfun <at> entry=0x491250 <cmd_error>) at ../../src/eval.c:1354
#70 0x000000000048cda6 in top_level_1 (ignore=ignore <at> entry=11491442)
    at ../../src/keyboard.c:1191
#71 0x00000000004f9c1b in internal_catch (tag=11538786, 
    func=func <at> entry=0x48cd40 <top_level_1>, arg=11491442)
    at ../../src/eval.c:1118
#72 0x0000000000490e5f in command_loop () at ../../src/keyboard.c:1152
#73 recursive_edit_1 () at ../../src/keyboard.c:777
#74 0x0000000000491162 in Frecursive_edit () at ../../src/keyboard.c:845
#75 0x00000000004073cb in main (argc=<optimized out>, argv=0x7fffffffe2e8)
    at ../../src/emacs.c:1654
(gdb) 
[Message part 3 (text/plain, inline)]
Breakpoint 1, bidi_initialize () at ../../src/bidi.c:766
766	{
(gdb) bt 
#0  bidi_initialize () at ../../src/bidi.c:766
#1  0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=0, bytepos=0, 
    frame_window_p=frame_window_p <at> entry=false, 
    bidi_it=bidi_it <at> entry=0x7fffffffa688) at ../../src/bidi.c:813
#2  0x0000000000425f55 in reseat_to_string (multibyte=<optimized out>, 
    field_width=<optimized out>, precision=<optimized out>, charpos=0, 
    string=140737488332424, s=<optimized out>, it=0x7fffffff9cf0)
    at ../../src/xdisp.c:6587
#3  display_string (string=string <at> entry=0x57475c "", 
    lisp_string=lisp_string <at> entry=11491442, 
    face_string=face_string <at> entry=14993985, 
    face_string_pos=face_string_pos <at> entry=1, start=start <at> entry=0, 
    it=it <at> entry=0x7fffffff9cf0, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, max_x=<optimized out>, 
    max_x <at> entry=0, multibyte=<optimized out>) at ../../src/xdisp.c:22967
#4  0x0000000000426935 in display_mode_element (it=it <at> entry=0x7fffffff9cf0, 
    depth=<optimized out>, depth <at> entry=1, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, elt=14993985, 
    props=<optimized out>, props <at> entry=11491442, risky=risky <at> entry=0)
    at ../../src/xdisp.c:21734
#5  0x0000000000427dd9 in display_mode_element (it=it <at> entry=0x7fffffff9cf0, 
    depth=1, depth <at> entry=0, field_width=field_width <at> entry=0, 
    precision=precision <at> entry=0, elt=<optimized out>, elt <at> entry=14940422, 
    props=11491442, risky=risky <at> entry=0) at ../../src/xdisp.c:21906
#6  0x0000000000428771 in display_mode_line (w=w <at> entry=0xb09420, 
    face_id=MODE_LINE_FACE_ID, format=14940422) at ../../src/xdisp.c:21423
#7  0x0000000000428a18 in display_mode_lines (w=w <at> entry=0xb09420)
    at ../../src/xdisp.c:21366
#8  0x0000000000428bed in redisplay_mode_lines (window=11572261, 
    force=force <at> entry=false) at ../../src/xdisp.c:21324
#9  0x000000000043342b in echo_area_display (
    update_frame_p=update_frame_p <at> entry=1) at ../../src/xdisp.c:11107
#10 0x000000000043355e in message3_nolog (m=m <at> entry=13804033)
    at ../../src/xdisp.c:10093
#11 0x000000000043370b in message3 (m=m <at> entry=13804033)
    at ../../src/xdisp.c:10035
#12 0x00000000004f3f1b in Fmessage (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/editfns.c:3452
#13 0x00000000004fb75a in Ffuncall (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/eval.c:2796
#14 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488333920, args=0x3)
    at ../../src/bytecode.c:919
#15 0x00000000004fb32f in funcall_lambda (fun=8231213, nargs=nargs <at> entry=4, 
    arg_vector=arg_vector <at> entry=0x7fffffffae58) at ../../src/eval.c:3049
#16 0x00000000004fb68b in Ffuncall (nargs=nargs <at> entry=5, 
    args=args <at> entry=0x7fffffffae50) at ../../src/eval.c:2876
#17 0x00000000004fd2d9 in call4 (fn=<optimized out>, arg1=<optimized out>, 
    arg2=arg2 <at> entry=13803777, arg3=<optimized out>, arg4=<optimized out>)
    at ../../src/eval.c:2663
#18 0x000000000051d5f9 in Fload (file=13803489, 
    noerror=noerror <at> entry=11491490, nomessage=nomessage <at> entry=11491490, 
    nosuffix=nosuffix <at> entry=11491490, must_suffix=<optimized out>, 
    must_suffix <at> entry=11491490) at ../../src/lread.c:1305
#19 0x0000000000475bb5 in uniprop_table (prop=<optimized out>)
    at ../../src/chartab.c:1340
#20 0x00000000004760d0 in bidi_initialize () at ../../src/bidi.c:772
#21 0x0000000000478f97 in bidi_init_it (charpos=charpos <at> entry=0, bytepos=0, 
    frame_window_p=frame_window_p <at> entry=false, 
    bidi_it=bidi_it <at> entry=0x7fffffffbcd8) at ../../src/bidi.c:813
#22 0x0000000000425f55 in reseat_to_string (multibyte=<optimized out>, 
    field_width=<optimized out>, precision=<optimized out>, charpos=0, 
    string=140737488338136, s=<optimized out>, it=0x7fffffffb340)
    at ../../src/xdisp.c:6587
#23 display_string (string=string <at> entry=0x57475c "", 
    lisp_string=lisp_string <at> entry=11491442, 
    face_string=face_string <at> entry=14993985, 
    face_string_pos=face_string_pos <at> entry=1, start=start <at> entry=0, 
    it=it <at> entry=0x7fffffffb340, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, max_x=<optimized out>, 
    max_x <at> entry=0, multibyte=<optimized out>) at ../../src/xdisp.c:22967
#24 0x0000000000426935 in display_mode_element (it=it <at> entry=0x7fffffffb340, 
    depth=<optimized out>, depth <at> entry=1, field_width=<optimized out>, 
    precision=<optimized out>, precision <at> entry=0, elt=14993985, 
    props=<optimized out>, props <at> entry=11491442, risky=risky <at> entry=0)
    at ../../src/xdisp.c:21734
#25 0x0000000000427dd9 in display_mode_element (it=it <at> entry=0x7fffffffb340, 
    depth=1, depth <at> entry=0, field_width=field_width <at> entry=0, 
    precision=precision <at> entry=0, elt=<optimized out>, elt <at> entry=14940422, 
    props=11491442, risky=risky <at> entry=0) at ../../src/xdisp.c:21906
#26 0x0000000000428771 in display_mode_line (w=w <at> entry=0xb09420, 
    face_id=MODE_LINE_FACE_ID, format=14940422) at ../../src/xdisp.c:21423
#27 0x0000000000428a18 in display_mode_lines (w=w <at> entry=0xb09420)
    at ../../src/xdisp.c:21366
#28 0x0000000000428bed in redisplay_mode_lines (window=11572261, 
    force=force <at> entry=false) at ../../src/xdisp.c:21324
#29 0x000000000043342b in echo_area_display (
    update_frame_p=update_frame_p <at> entry=1) at ../../src/xdisp.c:11107
#30 0x000000000043355e in message3_nolog (m=m <at> entry=13797553)
    at ../../src/xdisp.c:10093
#31 0x000000000043370b in message3 (m=13797553) at ../../src/xdisp.c:10035
#32 0x0000000000433c40 in message_with_string (
    m=m <at> entry=0x5720e4 "Loading %s...", string=8851465, log=1)
    at ../../src/xdisp.c:10180
#33 0x000000000051d54a in Fload (file=8851465, noerror=noerror <at> entry=11491442, 
    nomessage=nomessage <at> entry=11491490, nosuffix=nosuffix <at> entry=11491442, 
    must_suffix=<optimized out>, must_suffix <at> entry=11491490)
    at ../../src/lread.c:1351
#34 0x00000000004fcfb0 in Fautoload_do_load (fundef=8851582, 
    funname=funname <at> entry=16238434, macro_only=11491442)
    at ../../src/eval.c:1970
#35 0x00000000004fb5c3 in Ffuncall (nargs=2, args=0x7fffffffc4a8)
    at ../../src/eval.c:2879
#36 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488340128, args=0x2)
    at ../../src/bytecode.c:919
#37 0x00000000004fb32f in funcall_lambda (fun=9394725, nargs=nargs <at> entry=3, 
    arg_vector=arg_vector <at> entry=0x7fffffffc680) at ../../src/eval.c:3049
#38 0x00000000004fb68b in Ffuncall (nargs=4, args=0x7fffffffc678)
    at ../../src/eval.c:2876
#39 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488340592, args=0x4)
    at ../../src/bytecode.c:919
#40 0x00000000004fb32f in funcall_lambda (fun=9400901, nargs=nargs <at> entry=3, 
    arg_vector=arg_vector <at> entry=0x7fffffffc898) at ../../src/eval.c:3049
#41 0x00000000004fb68b in Ffuncall (nargs=4, args=0x7fffffffc890)
    at ../../src/eval.c:2876
#42 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488341128, args=0x4)
    at ../../src/bytecode.c:919
#43 0x00000000004fb3c7 in funcall_lambda (fun=9354613, nargs=nargs <at> entry=1, 
    arg_vector=0x7fffffffcac0, arg_vector <at> entry=0x7fffffffca40)
    at ../../src/eval.c:2983
#44 0x00000000004fb68b in Ffuncall (nargs=2, args=0x7fffffffca38)
    at ../../src/eval.c:2876
#45 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488341552, args=0x2)
    at ../../src/bytecode.c:919
#46 0x00000000004fb3c7 in funcall_lambda (fun=9356213, nargs=nargs <at> entry=2, 
    arg_vector=0x7fffffffcc40, arg_vector <at> entry=0x7fffffffcbb0)
    at ../../src/eval.c:2983
#47 0x00000000004fb68b in Ffuncall (nargs=3, args=0x7fffffffcba8)
    at ../../src/eval.c:2876
#48 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488341920, args=0x3)
    at ../../src/bytecode.c:919
#49 0x00000000004fb32f in funcall_lambda (fun=9334101, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffcda0) at ../../src/eval.c:3049
#50 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffcd98)
    at ../../src/eval.c:2876
#51 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488342416, args=0x1)
    at ../../src/bytecode.c:919
#52 0x00000000004fb32f in funcall_lambda (fun=9331597, nargs=nargs <at> entry=1, 
    arg_vector=arg_vector <at> entry=0x7fffffffcf80) at ../../src/eval.c:3049
#53 0x00000000004fb68b in Ffuncall (nargs=2, args=0x7fffffffcf78)
    at ../../src/eval.c:2876
#54 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=93, args=0x2)
    at ../../src/bytecode.c:919
#55 0x00000000004fb32f in funcall_lambda (fun=9307053, nargs=nargs <at> entry=1, 
    arg_vector=arg_vector <at> entry=0x7fffffffd160) at ../../src/eval.c:3049
#56 0x00000000004fb68b in Ffuncall (nargs=2, args=0x7fffffffd158)
    at ../../src/eval.c:2876
#57 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488343376, args=0x2)
    at ../../src/bytecode.c:919
#58 0x00000000004fb32f in funcall_lambda (fun=9306325, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffd340) at ../../src/eval.c:3049
#59 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffd338)
    at ../../src/eval.c:2876
#60 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=7, args=0x1)
    at ../../src/bytecode.c:919
#61 0x00000000004fb32f in funcall_lambda (fun=9307253, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffd500) at ../../src/eval.c:3049
#62 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffd4f8)
    at ../../src/eval.c:2876
#63 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488344304, args=0x1)
    at ../../src/bytecode.c:919
#64 0x00000000004fb32f in funcall_lambda (fun=9307941, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffd6d0) at ../../src/eval.c:3049
#65 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffd6c8)
    at ../../src/eval.c:2876
#66 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488344768, args=0x1)
    at ../../src/bytecode.c:919
#67 0x00000000004fb32f in funcall_lambda (fun=9309021, nargs=nargs <at> entry=0, 
    arg_vector=arg_vector <at> entry=0x7fffffffd8f8) at ../../src/eval.c:3049
#68 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffd8f0)
    at ../../src/eval.c:2876
#69 0x00000000004fb8f9 in funcall_nil (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/eval.c:2366
#70 0x00000000004fa1cd in run_hook_with_args (nargs=1, args=0x7fffffffd8f0, 
    funcall=0x4fb8f0 <funcall_nil>) at ../../src/eval.c:2551
#71 0x00000000004fa2f6 in Frun_hooks (nargs=1, args=0x7fffffffd998)
    at ../../src/eval.c:2393
#72 0x00000000004fb75a in Ffuncall (nargs=<optimized out>, 
    args=<optimized out>) at ../../src/eval.c:2796
#73 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488345504, args=0x2)
    at ../../src/bytecode.c:919
#74 0x00000000004fb3c7 in funcall_lambda (fun=8159821, nargs=nargs <at> entry=1, 
    arg_vector=0x7fffffffdb80, arg_vector <at> entry=0x7fffffffdb00)
    at ../../src/eval.c:2983
#75 0x00000000004fb68b in Ffuncall (nargs=2, args=0x7fffffffdaf8)
    at ../../src/eval.c:2876
#76 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488345848, args=0x2)
    at ../../src/bytecode.c:919
#77 0x00000000004fb3c7 in funcall_lambda (fun=9574469, nargs=nargs <at> entry=0, 
    arg_vector=0x7fffffffdd50, arg_vector <at> entry=0x7fffffffdc70)
    at ../../src/eval.c:2983
#78 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffdc68)
    at ../../src/eval.c:2876
#79 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488346208, args=0x1)
    at ../../src/bytecode.c:919
#80 0x00000000004fb3c7 in funcall_lambda (fun=8613661, nargs=nargs <at> entry=0, 
    arg_vector=0x7fffffffdf00, arg_vector <at> entry=0x7fffffffde48)
    at ../../src/eval.c:2983
#81 0x00000000004fb68b in Ffuncall (nargs=1, args=0x7fffffffde40)
    at ../../src/eval.c:2876
#82 0x000000000052e67d in exec_byte_code (bytestr=11572256, vector=0, 
    maxdepth=0, args_template=140737488332424, nargs=140737488346680, args=0x1)
    at ../../src/bytecode.c:919
#83 0x00000000004fb3c7 in funcall_lambda (fun=fun <at> entry=8610149, 
    nargs=nargs <at> entry=0, arg_vector=0x0, arg_vector <at> entry=0x7fffffffdf80)
    at ../../src/eval.c:2983
#84 0x00000000004fa824 in apply_lambda (fun=8610149, args=<optimized out>)
    at ../../src/eval.c:2924
#85 0x00000000004fab7b in eval_sub (form=form <at> entry=14770054)
    at ../../src/eval.c:2260
#86 0x00000000004fe101 in Feval (form=14770054, lexical=<optimized out>)
    at ../../src/eval.c:2003
#87 0x00000000004f9d0e in internal_condition_case (
    bfun=bfun <at> entry=0x48cdc0 <top_level_2>, handlers=<optimized out>, 
    hfun=hfun <at> entry=0x491250 <cmd_error>) at ../../src/eval.c:1354
#88 0x000000000048cda6 in top_level_1 (ignore=ignore <at> entry=11491442)
    at ../../src/keyboard.c:1191
#89 0x00000000004f9c1b in internal_catch (tag=11538786, 
    func=func <at> entry=0x48cd40 <top_level_1>, arg=11491442)
    at ../../src/eval.c:1118
#90 0x0000000000490e5f in command_loop () at ../../src/keyboard.c:1152
#91 recursive_edit_1 () at ../../src/keyboard.c:777
#92 0x0000000000491162 in Frecursive_edit () at ../../src/keyboard.c:845
#93 0x00000000004073cb in main (argc=<optimized out>, argv=0x7fffffffe2e8)
    at ../../src/emacs.c:1654
(gdb) up 2 
#2  0x0000000000425f55 in reseat_to_string (multibyte=<optimized out>, 
    field_width=<optimized out>, precision=<optimized out>, charpos=0, 
    string=140737488332424, s=<optimized out>, it=0x7fffffff9cf0)
    at ../../src/xdisp.c:6587
6587		  bidi_init_it (charpos, IT_BYTEPOS (*it), FRAME_WINDOW_P (it->f),
(gdb) print string 
$14 = 140737488332424
(gdb) xstring 
$15 = (struct Lisp_String *) 0x7fffffffa688
""
(gdb) up 14 
#16 0x00000000004fb68b in Ffuncall (nargs=nargs <at> entry=5, 
    args=args <at> entry=0x7fffffffae50) at ../../src/eval.c:2876
2876		val = funcall_lambda (fun, numargs, args + 1);
(gdb) print args[0] 
$22 = 14904386
(gdb) xpr 
Lisp_Symbol
$23 = (struct Lisp_Symbol *) 0xe36c40
"load-with-code-conversion"
(gdb) print args[1] 
$24 = 13803777
(gdb) xpr 
Lisp_String
$25 = (struct Lisp_String *) 0xd2a100
"/home/private/users/ivan/devel/emacs-2014/lisp/international/uni-mirrored.el"
(gdb) print args[2] 
$26 = 13803777
(gdb) xpr 
Lisp_String
$27 = (struct Lisp_String *) 0xd2a100
"/home/private/users/ivan/devel/emacs-2014/lisp/international/uni-mirrored.el"
(gdb) print args[3] 
$28 = 11491490
(gdb) xpr 
Lisp_Symbol
$29 = (struct Lisp_Symbol *) 0xaf58a0
"t"
(gdb) print args[4] 
$30 = 11491442
(gdb) xpr 
Lisp_Symbol
$31 = (struct Lisp_Symbol *) 0xaf5870
"nil"
(gdb) up 2 
#18 0x000000000051d5f9 in Fload (file=13803489, 
    noerror=noerror <at> entry=11491490, nomessage=nomessage <at> entry=11491490, 
    nosuffix=nosuffix <at> entry=11491490, must_suffix=<optimized out>, 
    must_suffix <at> entry=11491490) at ../../src/lread.c:1305
1305		  val = call4 (Vload_source_file_function, found, hist_file_name,
(gdb) print file 
$32 = 13803489
(gdb) xstring 
$33 = (struct Lisp_String *) 0xd29fe0
"international/uni-mirrored.el"
(gdb) 

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Thu, 03 Apr 2014 20:01:02 GMT) Full text and rfc822 format available.

Notification sent to Ivan Shmakov <ivan <at> siamics.net>:
bug acknowledged by developer. (Thu, 03 Apr 2014 20:01:03 GMT) Full text and rfc822 format available.

Message #28 received at 17169-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Shmakov <ivan <at> siamics.net>
Cc: 17169-done <at> debbugs.gnu.org
Subject: Re: bug#17169: fails to start with (setq force-load-messages
 t)	in	~/.emacs
Date: Thu, 03 Apr 2014 23:00:22 +0300
> From: Ivan Shmakov <ivan <at> siamics.net>
> Date: Thu, 03 Apr 2014 19:05:38 +0000
> 
>  > This far things are fine, although I'd like to know what kind of
>  > autoload caused Emacs to load some Lisp file here, and what was that
>  > file (the value of 'file' in frame 14 or of 'string' in frame 13
>  > should tell you that).
> 
> 	As I read it, the file is time-date.el, and it’s loaded for the
> 	seconds-to-time function.

OK, I see that as well.

> 	JFTR, as per the GDB transcripts MIMEd, Fload () is called to
> 	load uni-mirrored.el.  The respective code is as follows.
> 
> emacs-2014 $ nl -ba < src/bidi.c 
> …
>    771	
>    772	  bidi_mirror_table = uniprop_table (intern ("mirroring"));
>    773	  if (NILP (bidi_mirror_table))
>    774	    emacs_abort ();
>    775	  staticpro (&bidi_mirror_table);
>    776	
> …
> emacs-2014 $ 
> 
> […]
> 
>  > This code runs at "temacs -l loadup dump" time, so the result is that
>  > uni-bidi.el gets loaded and dumped into the Emacs binary.
> 
> 	Does the same apply to uni-mirrored.el?

No.  I fixed this now on the emacs-24 branch (r116902).

(For he record, this crash didn't happen on my system because there
bidi_initialize is called for the first time before the user init file
is read, and therefore force-load-messages is still nil.)

> 	Is there an easy way to list the Unicode tables contained within
> 	the resulting binary?

You can call Ffeaturep, since each of the *.el files by convention
provides a feature unique to that file.

> 	BTW, is it normal that display_string () is called with an empty
> 	‘string’ argument here, and in turn passes an empty (Lisp)
> 	‘string’ to reseat_to_string ()?

Yes, it's normal, see display_menu_bar in xdisp.c, for example.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17169; Package emacs. (Thu, 03 Apr 2014 20:43:02 GMT) Full text and rfc822 format available.

Message #31 received at 17169 <at> debbugs.gnu.org (full text, mbox):

From: Ivan Shmakov <ivan <at> siamics.net>
To: 17169 <at> debbugs.gnu.org
Subject: Re: bug#17169: fails to start with (setq force-load-messages t) in
 ~/.emacs
Date: Thu, 03 Apr 2014 20:41:43 +0000
>>>>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>>>> From: Ivan Shmakov Date: Thu, 03 Apr 2014 19:05:38 +0000

[…]

 >>> This code runs at "temacs -l loadup dump" time, so the result is
 >>> that uni-bidi.el gets loaded and dumped into the Emacs binary.

 >> Does the same apply to uni-mirrored.el?

 > No.  I fixed this now on the emacs-24 branch (r116902).

	ACK, thanks, I hope to try it the next time I’d be building
	Emacs from Git.  (Probably late next week.)

 > (For the record, this crash didn't happen on my system because there
 > bidi_initialize is called for the first time before the user init
 > file is read, and therefore force-load-messages is still nil.)

	JFTR, is it somehow related to the use of a tty vs. an X window?

[…]

-- 
FSF associate member #7257




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17169; Package emacs. (Fri, 04 Apr 2014 07:56:02 GMT) Full text and rfc822 format available.

Message #34 received at 17169 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Shmakov <ivan <at> siamics.net>
Cc: 17169 <at> debbugs.gnu.org
Subject: Re: bug#17169: fails to start with (setq force-load-messages t)
 in	~/.emacs
Date: Fri, 04 Apr 2014 10:55:56 +0300
> From: Ivan Shmakov <ivan <at> siamics.net>
> Date: Thu, 03 Apr 2014 20:41:43 +0000
> 
>  > (For the record, this crash didn't happen on my system because there
>  > bidi_initialize is called for the first time before the user init
>  > file is read, and therefore force-load-messages is still nil.)
> 
> 	JFTR, is it somehow related to the use of a tty vs. an X window?

I didn't try on a TTY, since AFAIU your report was about a GUI
session.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17169; Package emacs. (Fri, 04 Apr 2014 09:16:02 GMT) Full text and rfc822 format available.

Message #37 received at 17169 <at> debbugs.gnu.org (full text, mbox):

From: Ivan Shmakov <ivan <at> siamics.net>
To: 17169 <at> debbugs.gnu.org
Subject: Re: bug#17169: fails to start with (setq force-load-messages t)
 in	~/.emacs
Date: Fri, 04 Apr 2014 09:15:40 +0000
>>>>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>>>> From: Ivan Shmakov Date: Thu, 03 Apr 2014 20:41:43 +0000

 >>> (For the record, this crash didn't happen on my system because
 >>> there bidi_initialize is called for the first time before the user
 >>> init file is read, and therefore force-load-messages is still nil.)

 >> JFTR, is it somehow related to the use of a tty vs. an X window?

 > I didn't try on a TTY, since AFAIU your report was about a GUI
 > session.

	ACK.

	(Though that would be surprising, given --without-x-toolkit,
	--without-x, and x86_64-unknown-linux-gnu [1, 2].)

[1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17169;msg=11;att=1
[2] http://debbugs.gnu.org/17169#11

-- 
FSF associate member #7257




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17169; Package emacs. (Fri, 04 Apr 2014 09:48:01 GMT) Full text and rfc822 format available.

Message #40 received at 17169 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Shmakov <ivan <at> siamics.net>
Cc: 17169 <at> debbugs.gnu.org
Subject: Re: bug#17169: fails to start with (setq force-load-messages
 t)	in	~/.emacs
Date: Fri, 04 Apr 2014 12:47:34 +0300
> From: Ivan Shmakov <ivan <at> siamics.net>
> Date: Fri, 04 Apr 2014 09:15:40 +0000
> 
> >>>>> Eli Zaretskii <eliz <at> gnu.org> writes:
> >>>>> From: Ivan Shmakov Date: Thu, 03 Apr 2014 20:41:43 +0000
> 
>  >>> (For the record, this crash didn't happen on my system because
>  >>> there bidi_initialize is called for the first time before the user
>  >>> init file is read, and therefore force-load-messages is still nil.)
> 
>  >> JFTR, is it somehow related to the use of a tty vs. an X window?
> 
>  > I didn't try on a TTY, since AFAIU your report was about a GUI
>  > session.
> 
> 	ACK.
> 
> 	(Though that would be surprising, given --without-x-toolkit,
> 	--without-x, and x86_64-unknown-linux-gnu [1, 2].)

The TTY startup also works after the fix.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 02 May 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 356 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.