Package: emacs;
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Wed, 7 Dec 2011 07:48:02 UTC
Severity: normal
Found in version 24.0.92
Done: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Bug is archived. No further changes may be made.
View this message in rfc822 format
From: Glenn Morris <rgm <at> gnu.org> To: 10240 <at> debbugs.gnu.org Subject: bug#10240: GNUstep build fails during dumping Date: Wed, 07 Dec 2011 02:47:11 -0500
Package: emacs Version: 24.0.92 With an up-to-date Debian testing system, configure --with-ns fails trying to dump bootstrap-emacs. The odd thing is, this is repeatable every time, yet if I run the "./temacs -batch -load loadup bootstrap" command by hand outside of make, it works fine (every time). A non-ns build on the same system works fine. The backtrace from make is (where /tmp/run.gdb is a script that runs temacs under gdb): if test "no" = "yes"; then \ ln -f temacs bootstrap-emacs; \ else \ /tmp/run.gdb ; exit 1; \ mv -f emacs bootstrap-emacs; \ fi SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = :0.0 TERM = xterm Temporary breakpoint 1 at 0x56330c: file sysdep.c, line 859. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] Redefine command "xgetptr"? (y or n) [answered Y; input not from terminal] [...] DISPLAY = :0.0 TERM = xterm Temporary breakpoint 2 at 0x56330c: file sysdep.c, line 859. [Thread debugging using libthread_db enabled] process 24653 is executing new program: /tmp/emacs/src/temacs [Thread debugging using libthread_db enabled] Loading loadup.el (source)... Using load-path (/tmp/emacs/lisp /tmp/emacs/lisp/emacs-lisp /tmp/emacs/lisp/language /tmp/emacs/lisp/international /tmp/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 (source)... Loading env (source)... Loading format (source)... Loading bindings (source)... Loading window (source)... Loading /tmp/emacs/lisp/files.el (source)... Loading /tmp/emacs/lisp/cus-face.el (source)... Loading /tmp/emacs/lisp/faces.el (source)... Loading /tmp/emacs/lisp/button.el (source)... Loading /tmp/emacs/lisp/startup.el (source)... Loading /tmp/emacs/lisp/ldefs-boot.el (source)... Loading /tmp/emacs/lisp/minibuffer.el (source)... Loading /tmp/emacs/lisp/abbrev.el (source)... Loading /tmp/emacs/lisp/simple.el (source)... Loading /tmp/emacs/lisp/help.el (source)... Loading /tmp/emacs/lisp/jka-cmpr-hook.el (source)... Loading /tmp/emacs/lisp/epa-hook.el (source)... Loading /tmp/emacs/lisp/international/mule-cmds.el (source)... Loading /tmp/emacs/lisp/case-table.el (source)... Loading /tmp/emacs/lisp/international/charprop.el (source)... Loading /tmp/emacs/lisp/international/characters.el (source)... Loading /tmp/emacs/lisp/composite.el (source)... Loading /tmp/emacs/lisp/language/chinese.el (source)... Loading /tmp/emacs/lisp/language/cyrillic.el (source)... Loading /tmp/emacs/lisp/language/indian.el (source)... Loading /tmp/emacs/lisp/language/sinhala.el (source)... Loading /tmp/emacs/lisp/language/english.el (source)... Loading /tmp/emacs/lisp/language/ethiopic.el (source)... Loading /tmp/emacs/lisp/language/european.el (source)... Loading /tmp/emacs/lisp/language/czech.el (source)... Loading /tmp/emacs/lisp/language/slovak.el (source)... Loading /tmp/emacs/lisp/language/romanian.el (source)... Loading /tmp/emacs/lisp/language/greek.el (source)... Loading /tmp/emacs/lisp/language/hebrew.el (source)... Loading /tmp/emacs/lisp/language/japanese.el (source)... Loading /tmp/emacs/lisp/international/cp51932.el (source)... Loading /tmp/emacs/lisp/international/eucjp-ms.el (source)... Loading /tmp/emacs/lisp/language/korean.el (source)... Loading /tmp/emacs/lisp/language/lao.el (source)... Loading /tmp/emacs/lisp/language/tai-viet.el (source)... Loading /tmp/emacs/lisp/language/thai.el (source)... Loading /tmp/emacs/lisp/language/tibetan.el (source)... Loading /tmp/emacs/lisp/language/vietnamese.el (source)... Loading /tmp/emacs/lisp/language/misc-lang.el (source)... Loading /tmp/emacs/lisp/language/utf-8-lang.el (source)... Loading /tmp/emacs/lisp/language/georgian.el (source)... Loading /tmp/emacs/lisp/language/khmer.el (source)... Loading /tmp/emacs/lisp/language/burmese.el (source)... Loading /tmp/emacs/lisp/language/cham.el (source)... Loading /tmp/emacs/lisp/indent.el (source)... Loading /tmp/emacs/lisp/frame.el (source)... Loading /tmp/emacs/lisp/term/tty-colors.el (source)... Loading /tmp/emacs/lisp/font-core.el (source)... Loading /tmp/emacs/lisp/facemenu.el (source)... Loading /tmp/emacs/lisp/emacs-lisp/syntax.el (source)... Loading /tmp/emacs/lisp/font-lock.el (source)... Loading /tmp/emacs/lisp/jit-lock.el (source)... Loading /tmp/emacs/lisp/mouse.el (source)... Loading /tmp/emacs/lisp/scroll-bar.el (source)... Loading /tmp/emacs/lisp/select.el (source)... Loading /tmp/emacs/lisp/emacs-lisp/timer.el (source)... Loading /tmp/emacs/lisp/isearch.el (source)... Loading /tmp/emacs/lisp/rfn-eshadow.el (source)... Loading /tmp/emacs/lisp/menu-bar.el (source)... Loading /tmp/emacs/lisp/paths.el (source)... Loading /tmp/emacs/lisp/emacs-lisp/lisp.el (source)... Loading /tmp/emacs/lisp/textmodes/page.el (source)... Loading /tmp/emacs/lisp/register.el (source)... Loading /tmp/emacs/lisp/textmodes/paragraphs.el (source)... Loading /tmp/emacs/lisp/emacs-lisp/lisp-mode.el (source)... Loading /tmp/emacs/lisp/textmodes/text-mode.el (source)... Loading /tmp/emacs/lisp/textmodes/fill.el (source)... Loading /tmp/emacs/lisp/replace.el (source)... Loading /tmp/emacs/lisp/buff-menu.el (source)... Loading /tmp/emacs/lisp/fringe.el (source)... Loading /tmp/emacs/lisp/image.el (source)... Loading /tmp/emacs/lisp/international/fontset.el (source)... Loading /tmp/emacs/lisp/dnd.el (source)... Loading /tmp/emacs/lisp/tool-bar.el (source)... Loading /tmp/emacs/lisp/term/common-win.el (source)... Loading /tmp/emacs/lisp/term/ns-win.el (source)... Loading /tmp/emacs/lisp/mwheel.el (source)... Loading /tmp/emacs/lisp/emacs-lisp/float-sup.el (source)... Loading /tmp/emacs/lisp/vc/vc-hooks.el (source)... Loading /tmp/emacs/lisp/vc/ediff-hook.el (source)... Loading /tmp/emacs/lisp/tooltip.el (source)... Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name emacs Program received signal SIGSEGV, Segmentation fault. 0x00002aaaaef60fe0 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #0 0x00002aaaaef60fe0 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #1 0x000000000063992d in unexec (new_name=0x1ac6460 "/tmp/emacs/src/emacs", old_name=0x1ac64a0 "/tmp/emacs/src/temacs") at unexelf.c:1224 old = 0x2aaab56fcc39 <Address 0x2aaab56fcc39 out of bounds> new = 0x2aaab7d53071 "" symnames = 0x2aaab9d34ba0 "" symp = 0x2aaab9d179c8 symendp = 0x2aaab9d34ba0 new_file = 11 old_file = 10 new_file_size = 40195687 new_break = 0x1bee000 old_base = 0x2aaab60d1000 "\177ELF\002\001\001" new_base = 0x2aaab7706000 "\177ELF\002\001\001" old_file_h = 0x2aaab60d1000 new_file_h = 0x2aaab7706000 old_program_h = 0x2aaab60d1040 new_program_h = 0x2aaab7706040 old_section_h = 0x2aaab76a3838 new_section_h = 0x2aaab9cf9c70 old_section_names = 0x2aaab76a36a7 "" old_bss_addr = 12372960 new_bss_addr = 29286400 old_bss_size = 557704 new_data2_size = 16913440 new_data2_offset = 6081504 new_data2_addr = 12372960 old_bss_offset = 6081480 new_data2_incr = 16913464 n = 41 nn = 29 old_bss_index = 29 old_sbss_index = -1 old_plt_index = -1 old_data_index = 28 new_data2_index = 29 stat_buf = { st_dev = 65028, st_ino = 8915380, st_nlink = 1, st_mode = 33261, st_uid = 1000, st_gid = 1000, __pad0 = 0, st_rdev = 0, st_size = 23282159, st_blksize = 4096, st_blocks = 45480, st_atim = { tv_sec = 1323241901, tv_nsec = 109368748 }, st_mtim = { tv_sec = 1323241901, tv_nsec = 21368752 }, st_ctim = { tv_sec = 1323241901, tv_nsec = 21368752 }, __unused = {0, 0, 0} } old_file_size = 23282159 #2 0x000000000053ce1a in Fdump_emacs (filename=28302945, symfile=28302881) at emacs.c:2214 tem = 13454210 symbol = 18144594 count = 16 #3 0x00000000005e8454 in eval_sub (form=15826886) at eval.c:2337 numargs = 8 args_left = 13454210 i = 2 maxargs = 2 argvals = {28595633, 27962449, 20111650, 0, 140737488339840, 6194184, 0, 20138528} fun = 9495517 val = 13454210 original_fun = 14226370 original_args = 15837286 funcar = 176121570184 backtrace = { next = 0x7fffffffc450, function = 0x7fffffffc2c0, args = 0x7fffffffc1f0, nargs = 2, debug_on_exit = 0 } gcpro1 = { next = 0x7fffffffd360, var = 0xc39020, nvars = 13454210 } gcpro2 = { next = 0x7fffffffc280, var = 0x2aaaaf1c4e60, nvars = 140737488339632 } gcpro3 = { next = 0x132e129, var = 0x7fffffffc1f0, nvars = 2 } #4 0x00000000005e3f78 in Fprogn (args=15855334) at eval.c:358 val = 13454210 gcpro1 = { next = 0x0, var = 0xf6bdf6, nvars = 14749558 } #5 0x00000000005e811e in eval_sub (form=15441990) at eval.c:2282 numargs = 24 args_left = 15572070 i = 14770374 maxargs = 14347872 argvals = {14749574, 4639675, 15027, 13454210, 140737488340064, 6204782, 13854752, 12820896} fun = 12280333 val = 14770374 original_fun = 14186210 original_args = 15572070 funcar = 928670 backtrace = { next = 0x7fffffffc610, function = 0x7fffffffc480, args = 0x7fffffffc478, nargs = -1, debug_on_exit = 0 } gcpro1 = { next = 0xffffc460, var = 0xcd4b82, nvars = 140737488340160 } gcpro2 = { next = 0xccf836, var = 0xccffc6, nvars = 140737488340096 } gcpro3 = { next = 0xcd4b82, var = 0x7fffffffc3b0, nvars = 1 } #6 0x00000000005e3e76 in Fif (args=15308742) at eval.c:308 cond = 14770374 gcpro1 = { next = 0x7fffffffc540, var = 0x5699c4, nvars = 13431126 } #7 0x00000000005e811e in eval_sub (form=14749558) at eval.c:2282 numargs = 8 args_left = 15308742 i = 14749558 maxargs = 14347872 argvals = {28307281, 13454258, 13454210, 13454210, 13454210, 46912498353440, 140737488340752, 46912671063064} fun = 12280237 val = 14749558 original_fun = 14186034 original_args = 15308742 funcar = 13878722 backtrace = { next = 0x7fffffffcae0, function = 0x7fffffffc640, args = 0x7fffffffc638, nargs = -1, debug_on_exit = 0 } gcpro1 = { next = 0xa, var = 0x613f0e, nvars = 14181010 } gcpro2 = { next = 0x0, var = 0xcd4b82, nvars = 140737488340576 } gcpro3 = { next = 0x7fffffffc738, var = 0x7fffffffc570, nvars = 1 } #8 0x000000000061753c in readevalloop (readcharfun=14181010, stream=0xdaee60, sourcename=14346529, printflag=0, unibyte=13454210, readfun=13454210, start=13454210, end=13454210) at lread.c:1838 count1 = 16 c = 14749558 val = 14749558 count = 12 gcpro1 = { next = 0xdaee60, var = 0x7fffffffd360, nvars = 140737488340912 } gcpro2 = { next = 0x7fffffffc760, var = 0xd864d0, nvars = 14347872 } gcpro3 = { next = 0xc3b1e0, var = 0xd36820, nvars = 4268016586670997505 } gcpro4 = { next = 0x90a660, var = 0x100000000, nvars = 0 } b = 0x0 continue_reading_p = 1 lex_bound = 13454210 whole_buffer = 0 first_sexp = 0 #9 0x0000000000615f82 in Fload (file=14346273, noerror=13454210, nomessage=13454210, nosuffix=13454210, must_suffix=13454210) at lread.c:1316 stream = 0xdaee60 fd = 13454210 count = 3 gcpro1 = { next = 0x1f, var = 0x2aaaaaccc520, nvars = 140737488341760 } gcpro2 = { next = 0x2aaaaee55800, var = 0x40c770, nvars = 4294967296 } gcpro3 = { next = 0x0, var = 0x2aaab5181c18, nvars = 46912567001088 } found = 14346465 efound = 46912498352584 hist_file_name = 14346529 newer = 0 compiled = 0 handler = 517366245708 safe_p = 1 fmode = 0x6d5fd4 "r" tmp = {13454210, 14346497} version = 0 #10 0x00000000005e84ff in eval_sub (form=14321094) at eval.c:2348 numargs = 4 args_left = 13454210 i = 5 maxargs = 5 argvals = {14346273, 13454210, 13454210, 13454210, 13454210, 46912496156250, 7, 140737488341760} fun = 12289029 val = 140737488342248 original_fun = 14180642 original_args = 14321078 funcar = 14321078 backtrace = { next = 0x0, function = 0x7fffffffcb10, args = 0x7fffffffca40, nargs = 1, debug_on_exit = 0 } gcpro1 = { next = 0x2aaa00000017, var = 0x102a10a06, nvars = 46912567015800 } gcpro2 = { next = 0xa8428197, var = 0xcd4b82, nvars = 140737488341808 } gcpro3 = { next = 0x2aaab5181a08, var = 0x7fffffffca40, nvars = 5 } #11 0x00000000005e7d37 in Feval (form=14321094, lexical=13454210) at eval.c:2188 count = 2 #12 0x000000000053ee81 in top_level_2 () at keyboard.c:1168 No locals. #13 0x00000000005e6449 in internal_condition_case (bfun=0x53ee5a <top_level_2>, handlers=13878914, hfun=0x53e915 <cmd_error>) at eval.c:1499 val = 5500547 c = { tag = 13454210, val = 13454210, next = 0x7fffffffcd90, gcpro = 0x0, jmp = {{ __jmpbuf = {14321078, 4514666237312015329, 4414320, 140737488343904, 0, 0, 4514666237259586529, -4514667007688270879}, __mask_was_saved = 0, __saved_mask = { __val = {4294967295, 9478880, 1, 9476976, 0, 0, 0, 0, 46912496174914, 1, 0, 0, 46912567043728, 140737488342512, 14321078, 140737488342688} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 13878914, var = 13454210, chosen_clause = 1008, tag = 0x7fffffffcc20, next = 0x0 } #14 0x000000000053eecc in top_level_1 (ignore=13454210) at keyboard.c:1176 No locals. #15 0x00000000005e5d5a in internal_catch (tag=13874706, func=0x53ee83 <top_level_1>, arg=13454210) at eval.c:1256 c = { tag = 13874706, val = 13454210, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {14321078, 4514666237366541281, 4414320, 140737488343904, 0, 0, 4514666237305723873, -4514667007372125215}, __mask_was_saved = 0, __saved_mask = { __val = {6076437, 24, 4308812752, 140737488342592, 6041321, 12379808, 13854752, 4, 14321078, 140737488342640, 14290448, 472436, 14321078, 4414320, 140737488343904, 140737488342720} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #16 0x000000000053edb1 in command_loop () at keyboard.c:1131 No locals. #17 0x000000000053e3c1 in recursive_edit_1 () at keyboard.c:758 count = 1 val = 13454210 #18 0x000000000053e5ac in Frecursive_edit () at keyboard.c:822 count = 0 buffer = 13454210 #19 0x000000000053c224 in main (argc=5, argv=0x7fffffffd368) at emacs.c:1709 dummy = 46912514294847 stack_bottom_variable = 0 '\000' do_initial_setlocale = 0 skip_args = 3 rlim = { rlim_cur = 18446744073709551615, rlim_max = 18446744073709551615 } no_loadup = 0 junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x2aaaabc0043f "A\213E\b\205\300~QE1\344f\017\037D" Lisp Backtrace: "dump-emacs" (0xffffc1f0) "progn" (0xffffc478) "if" (0xffffc638) "load" (0xffffca40) make[1]: *** [bootstrap-emacs] Error 1 make[1]: Leaving directory `/tmp/emacs/src' make: *** [src] Error 2
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.