From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= Newsgroups: gmane.emacs.devel Subject: Segfault during emacs compile Date: Fri, 21 Nov 2014 15:29:31 +0100 Message-ID: <87vbm84ofo.fsf@toke.dk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416580205 28401 80.91.229.3 (21 Nov 2014 14:30:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Nov 2014 14:30:05 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 21 15:30:01 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XrpDh-0001Bo-6u for ged-emacs-devel@m.gmane.org; Fri, 21 Nov 2014 15:29:57 +0100 Original-Received: from localhost ([::1]:40825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrpDg-00043K-Pk for ged-emacs-devel@m.gmane.org; Fri, 21 Nov 2014 09:29:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrpDX-00043E-BD for emacs-devel@gnu.org; Fri, 21 Nov 2014 09:29:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrpDR-0006sM-Vp for emacs-devel@gnu.org; Fri, 21 Nov 2014 09:29:47 -0500 Original-Received: from mail2.tohojo.dk ([77.235.48.147]:46726) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrpDR-0006s5-Ht for emacs-devel@gnu.org; Fri, 21 Nov 2014 09:29:41 -0500 X-Virus-Scanned: amavisd-new at mail2.tohojo.dk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toke.dk; s=201310; t=1416579805; bh=hq8bOiW0uFuVo4CaPIq1MvyKVLEHKIhws/qEofEqkag=; h=From:To:Subject:Date; b=vqRhS0zEqkKVS/lPCzxtpOGwtOxo0zTp6lgOKHqFdgq0UGbG87KjPvbnddP0W5DSj +aGKUnlOL0C1zycOdxu9e1AnWYtLBZAnoD8Z7b8lUMkSQvPhZkdBXfAi0eeow0yNPq d2LkoPGWrZytsI/mKeikx/xCqvEPeABDRJIx+SjM= Original-Received: by alrua-kau.kau.toke.dk (Postfix, from userid 1000) id 20606293921; Fri, 21 Nov 2014 15:29:31 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 77.235.48.147 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:177944 Archived-At: When compiling emacs from git I get a segfault on the ./temacs command. Running it from gdb and getting a backtrace yields (from the emacs/src dir): $ gdb ./temacs GNU gdb (GDB) 7.8.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./temacs...done. 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 TERM = rxvt Breakpoint 1 at 0x1114c0: file emacs.c, line 360. Temporary breakpoint 2 at 0x12ce10: file sysdep.c, line 911. (gdb) set args --batch --load loadup bootstrap (gdb) run Starting program: /home/alrua/git/emacs/src/temacs --batch --load loadup bootstrap warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". process 9093 is executing new program: /home/alrua/git/emacs/src/temacs warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Loading loadup.el (source)... Using load-path (/home/alrua/git/emacs/lisp /home/alrua/git/emacs/lisp/emacs-lisp /home/alrua/git/emacs/lisp/language /home/alrua/git/emacs/lisp/international /home/alrua/git/emacs/lisp/textmodes /home/alrua/git/emacs/lisp/vc) Loading emacs-lisp/byte-run (source)... Loading emacs-lisp/backquote (source)... Loading subr (source)... Loading version (source)... Loading widget (source)... Loading custom (source)... Loading emacs-lisp/map-ynp (source)... Loading international/mule (source)... Loading international/mule-conf (source)... Loading env (source)... Loading format (source)... Loading bindings (source)... Loading cus-start (source)... Loading window (source)... Loading /home/alrua/git/emacs/lisp/files.el (source)... Loading /home/alrua/git/emacs/lisp/emacs-lisp/macroexp.el (source)... Loading /home/alrua/git/emacs/lisp/emacs-lisp/pcase.el (source)... Loading /home/alrua/git/emacs/lisp/emacs-lisp/macroexp.el (source)... Loading /home/alrua/git/emacs/lisp/cus-face.el (source)... Loading /home/alrua/git/emacs/lisp/faces.el (source)... Loading /home/alrua/git/emacs/lisp/button.el (source)... Loading /home/alrua/git/emacs/lisp/ldefs-boot.el (source)... Loading /home/alrua/git/emacs/lisp/emacs-lisp/nadvice.el (source)... Loading /home/alrua/git/emacs/lisp/minibuffer.el (source)... ../lisp/minibuffer.el: `with-wrapper-hook' is an obsolete macro (as of 24.4); use a -function variable modified by `add-function'. Loading /home/alrua/git/emacs/lisp/abbrev.el (source)... ../lisp/abbrev.el: `with-wrapper-hook' is an obsolete macro (as of 24.4); use a -function variable modified by `add-function'. Loading /home/alrua/git/emacs/lisp/simple.el (source)... ../lisp/simple.el: `with-wrapper-hook' is an obsolete macro (as of 24.4); use a -function variable modified by `add-function'. Loading /home/alrua/git/emacs/lisp/help.el (source)... Loading /home/alrua/git/emacs/lisp/jka-cmpr-hook.el (source)... Loading /home/alrua/git/emacs/lisp/epa-hook.el (source)... Loading /home/alrua/git/emacs/lisp/international/mule-cmds.el (source)... Loading /home/alrua/git/emacs/lisp/case-table.el (source)... Loading /home/alrua/git/emacs/lisp/international/characters.el (source)... Loading /home/alrua/git/emacs/lisp/composite.el (source)... Loading /home/alrua/git/emacs/lisp/language/chinese.el (source)... Loading /home/alrua/git/emacs/lisp/language/cyrillic.el (source)... Loading /home/alrua/git/emacs/lisp/language/indian.el (source)... Loading /home/alrua/git/emacs/lisp/language/sinhala.el (source)... Loading /home/alrua/git/emacs/lisp/language/english.el (source)... Loading /home/alrua/git/emacs/lisp/language/ethiopic.el (source)... Loading /home/alrua/git/emacs/lisp/language/european.el (source)... Loading /home/alrua/git/emacs/lisp/language/czech.el (source)... Loading /home/alrua/git/emacs/lisp/language/slovak.el (source)... Loading /home/alrua/git/emacs/lisp/language/romanian.el (source)... Loading /home/alrua/git/emacs/lisp/language/greek.el (source)... Loading /home/alrua/git/emacs/lisp/language/hebrew.el (source)... Loading /home/alrua/git/emacs/lisp/language/japanese.el (source)... Loading /home/alrua/git/emacs/lisp/international/cp51932.el (source)... Loading /home/alrua/git/emacs/lisp/international/eucjp-ms.el (source)... Loading /home/alrua/git/emacs/lisp/language/korean.el (source)... Loading /home/alrua/git/emacs/lisp/language/lao.el (source)... Loading /home/alrua/git/emacs/lisp/language/tai-viet.el (source)... Loading /home/alrua/git/emacs/lisp/language/thai.el (source)... Loading /home/alrua/git/emacs/lisp/language/tibetan.el (source)... Loading /home/alrua/git/emacs/lisp/language/vietnamese.el (source)... Loading /home/alrua/git/emacs/lisp/language/misc-lang.el (source)... Loading /home/alrua/git/emacs/lisp/language/utf-8-lang.el (source)... Loading /home/alrua/git/emacs/lisp/language/georgian.el (source)... Loading /home/alrua/git/emacs/lisp/language/khmer.el (source)... Loading /home/alrua/git/emacs/lisp/language/burmese.el (source)... Loading /home/alrua/git/emacs/lisp/language/cham.el (source)... Loading /home/alrua/git/emacs/lisp/indent.el (source)... Loading /home/alrua/git/emacs/lisp/frame.el (source)... Loading /home/alrua/git/emacs/lisp/startup.el (source)... Loading /home/alrua/git/emacs/lisp/term/tty-colors.el (source)... Loading /home/alrua/git/emacs/lisp/font-core.el (source)... Loading /home/alrua/git/emacs/lisp/facemenu.el (source)... Loading /home/alrua/git/emacs/lisp/emacs-lisp/syntax.el (source)... Loading /home/alrua/git/emacs/lisp/font-lock.el (source)... Loading /home/alrua/git/emacs/lisp/jit-lock.el (source)... Loading /home/alrua/git/emacs/lisp/mouse.el (source)... Loading /home/alrua/git/emacs/lisp/scroll-bar.el (source)... Loading /home/alrua/git/emacs/lisp/select.el (source)... Loading /home/alrua/git/emacs/lisp/emacs-lisp/timer.el (source)... Loading /home/alrua/git/emacs/lisp/isearch.el (source)... Loading /home/alrua/git/emacs/lisp/rfn-eshadow.el (source)... Loading /home/alrua/git/emacs/lisp/menu-bar.el (source)... Loading /home/alrua/git/emacs/lisp/emacs-lisp/lisp.el (source)... Loading /home/alrua/git/emacs/lisp/textmodes/page.el (source)... Loading /home/alrua/git/emacs/lisp/register.el (source)... Loading /home/alrua/git/emacs/lisp/textmodes/paragraphs.el (source)... Loading /home/alrua/git/emacs/lisp/progmodes/prog-mode.el (source)... Loading /home/alrua/git/emacs/lisp/emacs-lisp/lisp-mode.el (source)... Loading /home/alrua/git/emacs/lisp/progmodes/elisp-mode.el (source)... Loading /home/alrua/git/emacs/lisp/textmodes/text-mode.el (source)... Loading /home/alrua/git/emacs/lisp/textmodes/fill.el (source)... Loading /home/alrua/git/emacs/lisp/newcomment.el (source)... Loading /home/alrua/git/emacs/lisp/replace.el (source)... Loading /home/alrua/git/emacs/lisp/emacs-lisp/tabulated-list.el (source)... Loading /home/alrua/git/emacs/lisp/buff-menu.el (source)... Loading /home/alrua/git/emacs/lisp/fringe.el (source)... Loading /home/alrua/git/emacs/lisp/emacs-lisp/regexp-opt.el (source)... Loading /home/alrua/git/emacs/lisp/image.el (source)... Loading /home/alrua/git/emacs/lisp/international/fontset.el (source)... Loading /home/alrua/git/emacs/lisp/dnd.el (source)... Loading /home/alrua/git/emacs/lisp/tool-bar.el (source)... Loading /home/alrua/git/emacs/lisp/dynamic-setting.el (source)... Loading /home/alrua/git/emacs/lisp/x-dnd.el (source)... Loading /home/alrua/git/emacs/lisp/term/common-win.el (source)... Loading /home/alrua/git/emacs/lisp/term/x-win.el (source)... Loading /home/alrua/git/emacs/lisp/mwheel.el (source)... Loading /home/alrua/git/emacs/lisp/emacs-lisp/float-sup.el (source)... Loading /home/alrua/git/emacs/lisp/vc/vc-hooks.el (source)... Loading /home/alrua/git/emacs/lisp/vc/ediff-hook.el (source)... Loading /home/alrua/git/emacs/lisp/uniquify.el (source)... Loading /home/alrua/git/emacs/lisp/electric.el (source)... Loading /home/alrua/git/emacs/lisp/emacs-lisp/eldoc.el (source)... Loading /home/alrua/git/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. 0x00007ffff02dc626 in __memcpy_avx_unaligned () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff02dc626 in __memcpy_avx_unaligned () from /usr/lib/libc.so.6 #1 0x000055555571934a in memcpy (__len=, __src=, __dest=) at /usr/include/bits/string3.h:51 #2 unexec (new_name=0x555556bb60c8 "/home/alrua/git/emacs/src/emacs", old_name=0x555556bb60f0 "/home/alrua/git/emacs/src/temacs") at unexelf.c:1060 #3 0x0000555555661bc7 in Fdump_emacs (filename=93825015994097, symfile=93825015994065) at emacs.c:2116 #4 0x00005555556e00b5 in eval_sub (form=) at eval.c:2181 #5 0x00005555556e0605 in Fprogn (body=140735306793344) at eval.c:455 #6 0x00005555556e0207 in eval_sub (form=) at eval.c:2128 #7 0x00005555556e0207 in eval_sub (form=form@entry=93825000984726) at eval.c:2128 #8 0x0000555555707455 in readevalloop (readcharfun=93825000862690, stream=0x555555dc28f0, sourcename=93825001069473, printflag=false, unibyte=, readfun=93825000762226, start=93825000762226, end=93825000762226) at lread.c:1967 #9 0x0000555555707f49 in Fload (file=140735306793344, noerror=4686208, nomessage=3082340, nosuffix=93825001072880, must_suffix=93825000460736) at lread.c:1362 #10 0x00005555556e002e in eval_sub (form=form@entry=93825000984614) at eval.c:2192 #11 0x00005555556e28e3 in Feval (form=93825000984614, lexical=) at eval.c:1993 #12 0x00005555556dee07 in internal_condition_case (bfun=bfun@entry=0x555555665cc0 , handlers=, hfun=hfun@entry=0x55555566ace0 ) at eval.c:1344 #13 0x0000555555665c9d in top_level_1 (ignore=ignore@entry=93825000762226) at keyboard.c:1214 #14 0x00005555556decd3 in internal_catch (tag=93825000809890, func=func@entry=0x555555665c30 , arg=93825000762226) at eval.c:1105 #15 0x0000555555665bac in command_loop () at keyboard.c:1175 #16 0x000055555566a86d in recursive_edit_1 () at keyboard.c:786 #17 0x000055555566abf0 in Frecursive_edit () at keyboard.c:857 #18 0x0000555555585012 in main (argc=1439879616, argv=0x7fffffffde58) at emacs.c:1623 Lisp Backtrace: "dump-emacs" (0xffffd5f0) "progn" (0xffffd6d8) "if" (0xffffd7b8) "load" (0xffffdb10) (gdb) This is on x86_64 Arch Linux. Any ideas as to how I go about debugging this? Thanks, -Toke