From unknown Fri Aug 15 14:16:47 2025 X-Loop: don@donarmstrong.com Subject: bug#443: [Fwd: emacs installation - segmentation fault during unexec] Reply-To: esf@cfmu.eurocontrol.int, 443@debbugs.gnu.org Resent-From: esf@cfmu.eurocontrol.int Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 18 Jun 2008 14:35:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 443 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121379910715398 (code B ref -1); Wed, 18 Jun 2008 14:35:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=BAYES_00,IMPRONONCABLE_2, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Jun 2008 14:25:07 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5IEOwP8015184 for ; Wed, 18 Jun 2008 07:25:00 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8yam-000810-3T for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 10:24:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8yak-0007zB-MS for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 10:24:55 -0400 Received: from [199.232.76.173] (port=53112 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8yak-0007z2-Hy for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 10:24:54 -0400 Received: from exprod8ob116.obsmtp.com ([64.18.3.31]:36226 helo=psmtp.com) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1K8yaj-00021G-TV for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 10:24:54 -0400 Received: from source ([193.221.170.179]) by exprod8ob116.postini.com ([64.18.7.12]) with SMTP; Wed, 18 Jun 2008 07:24:46 PDT Received: from HHBRUE006.hq.corp.eurocontrol.int (hhbrue006.hq.corp.eurocontrol.int [193.221.160.195]) by biscuit.eurocontrol.int (8.12.10/8.12.7) with ESMTP id m5IEOeu7017990 for ; Wed, 18 Jun 2008 16:24:43 +0200 (MEST) Received: from FFBRUE001.cfmu.corp.eurocontrol.int ([193.58.25.50]) by HHBRUE006.hq.corp.eurocontrol.int with Microsoft SMTPSVC(6.0.3790.3959); Wed, 18 Jun 2008 16:24:40 +0200 Received: from cfmu.eurocontrol.int ([172.19.141.47]) by FFBRUE001.cfmu.corp.eurocontrol.int with Microsoft SMTPSVC(6.0.3790.3959); Wed, 18 Jun 2008 16:24:41 +0200 Message-ID: <48591AA8.5090103@cfmu.eurocontrol.int> Date: Wed, 18 Jun 2008 16:24:40 +0200 From: esf@cfmu.eurocontrol.int User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040924 X-Accept-Language: en-us, en, fr-fr MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Jun 2008 14:24:41.0079 (UTC) FILETIME=[0BCEE870:01C8D14F] X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Sorry, My previous message could not be sent because of mailbox limitation. The attached file is worth 12MB. Is there anywhere I can send it ? If not, here is the backtrace: (gdb) bt #0 0x0063c17c in memcpy () from /lib/tls/libc.so.6 #1 0x0817cb56 in unexec ( new_name=0x85e9e94 "/tmp/esf_emacs-22.1/generated/work/emacs-22.1/src/emacs", old_name=0x85e9ed0 "/tmp/esf_emacs-22.1/generated/work/emacs-22.1/src/temacs", data_start=137480080, bss_start=0, entry_address=0) at unexelf.c:950 #2 0x080eb898 in Fdump_emacs (filename=140594875, symfile=140594859) at emacs.c:2277 #3 0x0815326a in Feval (form=138374717) at eval.c:2331 #4 0x0815363f in Fprogn (args=138375061) at eval.c:447 #5 0x08153452 in Feval (form=138379957) at eval.c:2275 #6 0x08153452 in Feval (form=138381677) at eval.c:2275 #7 0x0816ba89 in readevalloop (readcharfun=138194961, stream=0x83f3080, sourcename=138356763, evalfun=0x8152ec0 , printflag=0, unibyte=138127561, readfun=138127561, start=138127561, end=138127561) at lread.c:1543 #8 0x0816d05c in Fload (file=Variable "file" is not available. ) at lread.c:1009 #9 0x081532d9 in Feval (form=138112413) at eval.c:2342 #10 0x080f3253 in top_level_2 () at keyboard.c:1338 #11 0x0815280b in internal_condition_case (bfun=0x80f3240 , handlers=138173017, hfun=0x80f6960 ) at eval.c:1481 #12 0x080f5d51 in top_level_1 () at keyboard.c:1346 #13 0x081528cc in internal_catch (tag=138166201, func=0x80f5d20 , arg=138127561) at eval.c:1222 #14 0x080f678a in command_loop () at keyboard.c:1303 #15 0x080f6b38 in recursive_edit_1 () at keyboard.c:1006 #16 0x080f6c25 in Frecursive_edit () at keyboard.c:1067 #17 0x080ecb92 in main (argc=Cannot access memory at address 0xaf800 ) at emacs.c:1762 (gdb) Forgot to indicate that emacs-version is 22.1.1 Thanks for your concern. Regards, Pierre-Louis ESCOUFLAIRE -------- Original Message -------- Subject: emacs installation - segmentation fault during unexec Date: Wed, 18 Jun 2008 15:40:15 +0200 From: esf@cfmu.eurocontrol.int To: bug-gnu-emacs@gnu.org Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Emacs build core-dumped during unexec() / memcopy(). See attached file 'emacs-22.1-with_coredump.tar.gz'. The archive contains the coredump at 'emacs-22.1/src/core.433'. The coredump was generated from 'emacs-22.1/src/temacs' with command 'temacs -batch -l loadup dump'. More information can be found in 'emacs/pkg_*.log'. Unfortunately, the bug seems to appear randomly. I hope the given information is enough. Thanks for your concern. Regards, Pierre-Louis ESCOUFLAIRE ____ This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy. Any views expressed in this message are those of the sender. From unknown Fri Aug 15 14:16:47 2025 X-Loop: don@donarmstrong.com Subject: bug#443: [Fwd: emacs installation - segmentation fault during unexec] Reply-To: Stefan Monnier , 443@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 18 Jun 2008 15:25:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 443 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121380214428842 (code B ref -1); Wed, 18 Jun 2008 15:25:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.2 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Jun 2008 15:15:44 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5IFFau7028830 for ; Wed, 18 Jun 2008 08:15:37 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8zNn-0004Cv-Pq for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 11:15:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8zNl-0004Cj-Cd for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 11:15:34 -0400 Received: from [199.232.76.173] (port=56702 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8zNl-0004Cg-7J for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 11:15:33 -0400 Received: from ironport2-out.pppoe.ca ([206.248.154.182]:2467 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8zNk-00019Q-Lx for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 11:15:32 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAFzDWEjO+KWv/2dsb2JhbACBW65i X-IronPort-AV: E=Sophos;i="4.27,665,1204520400"; d="scan'208";a="22917885" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 18 Jun 2008 11:15:29 -0400 Received: from pastel.home ([206.248.165.175]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id YVH21129; Wed, 18 Jun 2008 11:15:29 -0400 Received: by pastel.home (Postfix, from userid 20848) id E02C57F1C; Wed, 18 Jun 2008 11:15:28 -0400 (EDT) From: Stefan Monnier To: esf@cfmu.eurocontrol.int Cc: 443@debbugs.gnu.org, bug-gnu-emacs@gnu.org Message-ID: References: <48591AA8.5090103@cfmu.eurocontrol.int> Date: Wed, 18 Jun 2008 11:15:28 -0400 In-Reply-To: <48591AA8.5090103@cfmu.eurocontrol.int> (esf@cfmu.eurocontrol.int's message of "Wed, 18 Jun 2008 16:24:40 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-CrossAssassin-Score: 2 > Forgot to indicate that emacs-version is 22.1.1 Please try it again with Emacs-22.2 or (even better) with the Emacs-CVS trunk. > See attached file 'emacs-22.1-with_coredump.tar.gz'. Coredumps usually don't make any sense anywhere else than on the machine on which the executable was built. Never send them like this to anyone unless requested to. OTOH, a useful piece of information would be to indicate if you've encountered your problem on an Commodore 64, a Cray, or a Mac OS X machine, maybe also mention the version of the OS, ... or better yet: use M-x report-emacs-bug which will automatically add this info to your report. Stefan From unknown Fri Aug 15 14:16:47 2025 X-Loop: don@donarmstrong.com Subject: bug#443: [Fwd: emacs installation - segmentation fault during unexec] Reply-To: Nick Roberts , 443@debbugs.gnu.org Resent-From: Nick Roberts Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 18 Jun 2008 21:00:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 443 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121382240114076 (code B ref -1); Wed, 18 Jun 2008 21:00:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Jun 2008 20:53:21 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5IKrHnv014070 for ; Wed, 18 Jun 2008 13:53:18 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K94ea-0005xO-Re for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 16:53:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K94eY-0005uw-1l for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 16:53:16 -0400 Received: from [199.232.76.173] (port=59494 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K94eX-0005ut-PW for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 16:53:13 -0400 Received: from viper.snap.net.nz ([202.37.101.25]:47364) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K94WH-0008L9-5e for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 16:44:41 -0400 Received: from kahikatea.snap.net.nz (117.62.255.123.dynamic.snap.net.nz [123.255.62.117]) by viper.snap.net.nz (Postfix) with ESMTP id 83E553DB22E; Thu, 19 Jun 2008 08:44:38 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id CD1C88FC6D; Thu, 19 Jun 2008 08:44:31 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18521.29614.536689.274864@kahikatea.snap.net.nz> Date: Thu, 19 Jun 2008 08:44:30 +1200 To: esf@cfmu.eurocontrol.int Cc: bug-gnu-emacs@gnu.org In-Reply-To: <48591AA8.5090103@cfmu.eurocontrol.int> References: <48591AA8.5090103@cfmu.eurocontrol.int> X-Mailer: VM 7.19 under Emacs 22.2.50.2 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 > My previous message could not be sent because of mailbox limitation. > The attached file is worth 12MB. > > Is there anywhere I can send it ? > If not, here is the backtrace: Please don't even _think_ about sending a 12MB to the mailing list. If someone asks for it you can send it to them. Otherwise you could upload it somewhere and point to the URL. A 12MB file takes about 40 minutes to download on dial-up and probably 99% of subscribers won't be interested in seeing the data. -- Nick http://www.inet.net.nz/~nickrob From unknown Fri Aug 15 14:16:47 2025 X-Loop: don@donarmstrong.com Subject: bug#443: [Fwd: emacs installation - segmentation fault during unexec] Reply-To: rms@gnu.org, 443@debbugs.gnu.org Resent-From: Richard M Stallman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 19 Jun 2008 18:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 443 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12138993036259 (code B ref -1); Thu, 19 Jun 2008 18:20:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Jun 2008 18:15:03 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5JIEwKn006217 for ; Thu, 19 Jun 2008 11:15:00 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9Oew-0003ft-GQ for bug-gnu-emacs@gnu.org; Thu, 19 Jun 2008 14:14:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9Oev-0003fM-V5 for bug-gnu-emacs@gnu.org; Thu, 19 Jun 2008 14:14:58 -0400 Received: from [199.232.76.173] (port=48890 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9Oev-0003fD-Jv for bug-gnu-emacs@gnu.org; Thu, 19 Jun 2008 14:14:57 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:44068) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K9Oev-00036v-Hk for bug-gnu-emacs@gnu.org; Thu, 19 Jun 2008 14:14:57 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1K9Oeu-0001Qj-GY; Thu, 19 Jun 2008 14:14:56 -0400 Content-Type: text/plain; charset=ISO-8859-15 From: Richard M Stallman To: esf@cfmu.eurocontrol.int, 443@debbugs.gnu.org CC: bug-gnu-emacs@gnu.org, bug-submit-list@donarmstrong.com, bug-gnu-emacs@gnu.org In-reply-to: <48591AA8.5090103@cfmu.eurocontrol.int> (esf@cfmu.eurocontrol.int) References: <48591AA8.5090103@cfmu.eurocontrol.int> Message-Id: Date: Thu, 19 Jun 2008 14:14:56 -0400 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-CrossAssassin-Score: 2 My previous message could not be sent because of mailbox limitation. The attached file is worth 12MB. Please do not email such files over 100k without asking first. From unknown Fri Aug 15 14:16:47 2025 X-Loop: don@donarmstrong.com Subject: bug#443: [Fwd: emacs installation - segmentation fault during unexec] Reply-To: esf@cfmu.eurocontrol.int, 443@debbugs.gnu.org Resent-From: esf@cfmu.eurocontrol.int Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 26 Jun 2008 08:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 443 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12144671999680 (code B ref -1); Thu, 26 Jun 2008 08:05:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,IMPRONONCABLE_2,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 26 Jun 2008 07:59:59 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5Q7xteP009674 for ; Thu, 26 Jun 2008 00:59:56 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KBmOZ-0001Ch-73 for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2008 03:59:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KBmOW-0001A4-ID for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2008 03:59:54 -0400 Received: from [199.232.76.173] (port=36457 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBmOW-0001A1-AK for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2008 03:59:52 -0400 Received: from mx20.gnu.org ([199.232.41.8]:9855) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KBmOV-0006aR-UW for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2008 03:59:52 -0400 Received: from exprod8og101.obsmtp.com ([64.18.3.82]) by mx20.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KBmOS-0007pT-9S for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2008 03:59:48 -0400 Received: from source ([193.221.170.179]) by exprod8ob101.postini.com ([64.18.7.12]) with SMTP; Thu, 26 Jun 2008 00:59:43 PDT Received: from HHBRUE007.hq.corp.eurocontrol.int (hhbrue007.hq.corp.eurocontrol.int [193.221.160.203]) by biscuit.eurocontrol.int (8.12.10/8.12.7) with ESMTP id m5Q7xdu5021750 for ; Thu, 26 Jun 2008 09:59:40 +0200 (MEST) Received: from FFBRUE001.cfmu.corp.eurocontrol.int ([193.58.25.50]) by HHBRUE007.hq.corp.eurocontrol.int with Microsoft SMTPSVC(6.0.3790.3959); Thu, 26 Jun 2008 09:59:39 +0200 Received: from cfmu.eurocontrol.int ([172.19.141.47]) by FFBRUE001.cfmu.corp.eurocontrol.int with Microsoft SMTPSVC(6.0.3790.3959); Thu, 26 Jun 2008 09:59:39 +0200 Message-ID: <48634C67.2030505@cfmu.eurocontrol.int> Date: Thu, 26 Jun 2008 09:59:35 +0200 From: esf@cfmu.eurocontrol.int User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040924 X-Accept-Language: en-us, en, fr-fr MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org References: <48591AA8.5090103@cfmu.eurocontrol.int> In-Reply-To: <48591AA8.5090103@cfmu.eurocontrol.int> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Jun 2008 07:59:39.0478 (UTC) FILETIME=[957C5760:01C8D762] X-detected-kernel: by mx20.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Hello, My deepest apologies for trying to send such a mail, I should have thought about it first (sometimes, we are doing stupid things). Anyway, I tried again with emacs-22.2 and the same problem occurs with approximatively the same backtrace, i.e: #0 0x0026a17c in memcpy () from /lib/tls/libc.so.6 #1 0x0817d5a6 in unexec (new_name=0x857d414 "/tmp/esf_emacs-22.2/generated/work/emacs-22.2/src/emacs", old_name=0x857d450 "/tmp/esf_emacs-22.2/generated/work/emacs-22.2/src/temacs", data_start=137491440, bss_start=0, entry_address=0) at unexelf.c:951 #2 0x080ec068 in Fdump_emacs (filename=140370971, symfile=140370955) at emacs.c:2286 #3 0x08153bca in Feval (form=138175205) at eval.c:2327 #4 0x08153f9f in Fprogn (args=138175541) at eval.c:449 #5 0x08153db2 in Feval (form=138180437) at eval.c:2271 #6 0x08153db2 in Feval (form=138182397) at eval.c:2271 #7 0x0816c429 in readevalloop (readcharfun=137994313, stream=0x83c2088, sourcename=138157243, evalfun=0x8153820 , printflag=0, unibyte=137926857, readfun=137926857, start=137926857, end=137926857) at lread.c:1559 #8 0x0816da7c in Fload (file=Variable "file" is not available. ) at lread.c:1027 #9 0x08153c39 in Feval (form=137911717) at eval.c:2338 #10 0x080f3ab3 in top_level_2 () at keyboard.c:1339 #11 0x0815316b in internal_condition_case (bfun=0x80f3aa0 , handlers=137972361, hfun=0x80f71c0 ) at eval.c:1484 #12 0x080f65b1 in top_level_1 () at keyboard.c:1347 #13 0x0815322c in internal_catch (tag=137968545, func=0x80f6580 , arg=137926857) at eval.c:1224 #14 0x080f6fea in command_loop () at keyboard.c:1304 #15 0x080f7398 in recursive_edit_1 () at keyboard.c:1007 #16 0x080f7485 in Frecursive_edit () at keyboard.c:1068 #17 0x080ed362 in main (argc=Cannot access memory at address 0xa1c00 ) at emacs.c:1770 Here is only the relevant information (to me, the other information is clueless since the problem occurs during emacs build) you requested: In GNU Emacs 22.2.1 (i686-pc-linux-gnu, X toolkit) of 2008-06-26 on lxhesf01 Windowing system distributor `The XFree86 Project, Inc', version 11.0.40300000 configured using `configure '--prefix=/tmp/esf_emacs-22.2/generated' '--exec-prefix=/tmp/esf_emacs-22.2/generated/libexec/emacs-22.2' '--mandir=/tmp/esf_emacs-22.2/generated/man' '--with-xpm' 'CFLAGS=-g -O2' 'LDFLAGS= -L/tmp/esf_emacs-22.2/generated/work/emacs-22.2/xpm-3.4k/lib' 'CPPFLAGS=-I/tmp/esf_emacs-22.2/generated/work/emacs-22.2/xpm-3.4k '' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C locale-coding-system: nil default-enable-multibyte-characters: nil Hope this information will help. Also note that the problem seems to appear randomly so you might have to run the installation several times if you need to reproduce the problem. Thanks for your concern. Regards, Pierre-Louis ESCOUFLAIRE ____ This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy. Any views expressed in this message are those of the sender. From unknown Fri Aug 15 14:16:47 2025 X-Loop: don@donarmstrong.com Subject: bug#443: [Fwd: emacs installation - segmentation fault during unexec] Reply-To: Sven Joachim , 443@debbugs.gnu.org Resent-From: Sven Joachim Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 26 Jun 2008 17:05:07 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 443 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 443-submit@emacsbugs.donarmstrong.com id=B443.121449962414361 (code B ref 443); Thu, 26 Jun 2008 17:05:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, IMPRONONCABLE_2 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 443) by emacsbugs.donarmstrong.com; 26 Jun 2008 17:00:24 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m5QH0JwP014338 for <443@emacsbugs.donarmstrong.com>; Thu, 26 Jun 2008 10:00:21 -0700 Received: (qmail invoked by alias); 26 Jun 2008 17:00:13 -0000 Received: from p54866A8B.dip.t-dialin.net (EHLO debian) [84.134.106.139] by mail.gmx.net (mp032) with SMTP; 26 Jun 2008 19:00:13 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1/lT+18YA/ly0vGcGVeyC/zseP/C+8NI6mkWMXp8E AGv/gS1XdMgZ3/ From: Sven Joachim To: esf@cfmu.eurocontrol.int Cc: 443@debbugs.gnu.org References: <48591AA8.5090103@cfmu.eurocontrol.int> Date: Thu, 26 Jun 2008 18:55:56 +0200 In-Reply-To: (esf@cfmu.eurocontrol.int's message of "Thu, 26 Jun 2008 09:59:35 +0200") Message-ID: <87od5om8yr.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 On 2008-06-26 09:59 +0200, esf@cfmu.eurocontrol.int wrote: > Anyway, I tried again with emacs-22.2 and the same problem occurs with > approximatively the same backtrace, i.e: > > #0 0x0026a17c in memcpy () from /lib/tls/libc.so.6 > #1 0x0817d5a6 in unexec (new_name=0x857d414 > "/tmp/esf_emacs-22.2/generated/work/emacs-22.2/src/emacs", > old_name=0x857d450 > "/tmp/esf_emacs-22.2/generated/work/emacs-22.2/src/temacs", > data_start=137491440, bss_start=0, entry_address=0) > at unexelf.c:951 Which is your kernel version and what is the value of /proc/sys/kernel/randomize_va_space? > Also note that the problem seems to appear randomly so you might have > to run the installation several times if you need to reproduce the > problem. Yes, this is random by nature. Linux 2.6.25 added a feature called "brk() randomization" that is enabled if /proc/sys/kernel/randomize_va_space has the value 2, which is the default unless you built your kernel with CONFIG_COMPAT_BRK=y. Setting that value to 1, the default from 2.6.12(?) to 2.6.24, should make the crashes disappear. Note that a value of 2 is generally recommended for security reasons. See also the section "Dumping" in etc/PROBLEMS for related problems. Sven From unknown Fri Aug 15 14:16:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: esf@cfmu.eurocontrol.int Subject: bug#443 closed by Chong Yidong (Re: temacs segmentation fault in unexec under Linux 2.6.26 ) Message-ID: References: <874p33rm3w.fsf@cyd.mit.edu> <48591AA8.5090103@cfmu.eurocontrol.int> X-Emacs-PR-Message: they-closed 443 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Reply-To: 443@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1224800706-6927-1" This is a multi-part message in MIME format... ------------=_1224800706-6927-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #443: [Fwd: emacs installation - segmentation fault during unexec] It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 443: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D443 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1224800706-6927-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Thu Oct 23 15:19:04 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 443-done) by emacsbugs.donarmstrong.com; 23 Oct 2008 22:19:04 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9NMIu41005540; Thu, 23 Oct 2008 15:18:57 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 2CCD557E055; Thu, 23 Oct 2008 18:18:59 -0400 (EDT) From: Chong Yidong To: 443-done@debbugs.gnu.org, 900-done@debbugs.gnu.org Subject: Re: temacs segmentation fault in unexec under Linux 2.6.26 Date: Thu, 23 Oct 2008 18:18:59 -0400 Message-ID: <874p33rm3w.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Since Jan has fixed this in the trunk (2008-10-21 checkin), I'm closing this bug. ------------=_1224800706-6927-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From pierre-louis.escouflaire@eurocontrol.int Wed Jun 18 07:25:06 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=BAYES_00,IMPRONONCABLE_2, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Jun 2008 14:25:07 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5IEOwP8015184 for ; Wed, 18 Jun 2008 07:25:00 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8yam-000810-3T for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 10:24:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8yak-0007zB-MS for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 10:24:55 -0400 Received: from [199.232.76.173] (port=53112 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8yak-0007z2-Hy for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 10:24:54 -0400 Received: from exprod8ob116.obsmtp.com ([64.18.3.31]:36226 helo=psmtp.com) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1K8yaj-00021G-TV for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2008 10:24:54 -0400 Received: from source ([193.221.170.179]) by exprod8ob116.postini.com ([64.18.7.12]) with SMTP; Wed, 18 Jun 2008 07:24:46 PDT Received: from HHBRUE006.hq.corp.eurocontrol.int (hhbrue006.hq.corp.eurocontrol.int [193.221.160.195]) by biscuit.eurocontrol.int (8.12.10/8.12.7) with ESMTP id m5IEOeu7017990 for ; Wed, 18 Jun 2008 16:24:43 +0200 (MEST) Received: from FFBRUE001.cfmu.corp.eurocontrol.int ([193.58.25.50]) by HHBRUE006.hq.corp.eurocontrol.int with Microsoft SMTPSVC(6.0.3790.3959); Wed, 18 Jun 2008 16:24:40 +0200 Received: from cfmu.eurocontrol.int ([172.19.141.47]) by FFBRUE001.cfmu.corp.eurocontrol.int with Microsoft SMTPSVC(6.0.3790.3959); Wed, 18 Jun 2008 16:24:41 +0200 Message-ID: <48591AA8.5090103@cfmu.eurocontrol.int> Date: Wed, 18 Jun 2008 16:24:40 +0200 From: esf@cfmu.eurocontrol.int User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040924 X-Accept-Language: en-us, en, fr-fr MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: [Fwd: emacs installation - segmentation fault during unexec] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Jun 2008 14:24:41.0079 (UTC) FILETIME=[0BCEE870:01C8D14F] X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Sorry, My previous message could not be sent because of mailbox limitation. The attached file is worth 12MB. Is there anywhere I can send it ? If not, here is the backtrace: (gdb) bt #0 0x0063c17c in memcpy () from /lib/tls/libc.so.6 #1 0x0817cb56 in unexec ( new_name=0x85e9e94 "/tmp/esf_emacs-22.1/generated/work/emacs-22.1/src/emacs", old_name=0x85e9ed0 "/tmp/esf_emacs-22.1/generated/work/emacs-22.1/src/temacs", data_start=137480080, bss_start=0, entry_address=0) at unexelf.c:950 #2 0x080eb898 in Fdump_emacs (filename=140594875, symfile=140594859) at emacs.c:2277 #3 0x0815326a in Feval (form=138374717) at eval.c:2331 #4 0x0815363f in Fprogn (args=138375061) at eval.c:447 #5 0x08153452 in Feval (form=138379957) at eval.c:2275 #6 0x08153452 in Feval (form=138381677) at eval.c:2275 #7 0x0816ba89 in readevalloop (readcharfun=138194961, stream=0x83f3080, sourcename=138356763, evalfun=0x8152ec0 , printflag=0, unibyte=138127561, readfun=138127561, start=138127561, end=138127561) at lread.c:1543 #8 0x0816d05c in Fload (file=Variable "file" is not available. ) at lread.c:1009 #9 0x081532d9 in Feval (form=138112413) at eval.c:2342 #10 0x080f3253 in top_level_2 () at keyboard.c:1338 #11 0x0815280b in internal_condition_case (bfun=0x80f3240 , handlers=138173017, hfun=0x80f6960 ) at eval.c:1481 #12 0x080f5d51 in top_level_1 () at keyboard.c:1346 #13 0x081528cc in internal_catch (tag=138166201, func=0x80f5d20 , arg=138127561) at eval.c:1222 #14 0x080f678a in command_loop () at keyboard.c:1303 #15 0x080f6b38 in recursive_edit_1 () at keyboard.c:1006 #16 0x080f6c25 in Frecursive_edit () at keyboard.c:1067 #17 0x080ecb92 in main (argc=Cannot access memory at address 0xaf800 ) at emacs.c:1762 (gdb) Forgot to indicate that emacs-version is 22.1.1 Thanks for your concern. Regards, Pierre-Louis ESCOUFLAIRE -------- Original Message -------- Subject: emacs installation - segmentation fault during unexec Date: Wed, 18 Jun 2008 15:40:15 +0200 From: esf@cfmu.eurocontrol.int To: bug-gnu-emacs@gnu.org Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Emacs build core-dumped during unexec() / memcopy(). See attached file 'emacs-22.1-with_coredump.tar.gz'. The archive contains the coredump at 'emacs-22.1/src/core.433'. The coredump was generated from 'emacs-22.1/src/temacs' with command 'temacs -batch -l loadup dump'. More information can be found in 'emacs/pkg_*.log'. Unfortunately, the bug seems to appear randomly. I hope the given information is enough. Thanks for your concern. Regards, Pierre-Louis ESCOUFLAIRE ____ This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy. Any views expressed in this message are those of the sender. ------------=_1224800706-6927-1-- From unknown Fri Aug 15 14:16:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Ulrich Mueller Subject: bug#900 closed by Chong Yidong (Re: temacs segmentation fault in unexec under Linux 2.6.26 ) Message-ID: References: <874p33rm3w.fsf@cyd.mit.edu> <18625.64355.215907.350751@a1i15.kph.uni-mainz.de> X-Emacs-PR-Message: they-closed 900 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Reply-To: 900@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1224800707-6927-3" This is a multi-part message in MIME format... ------------=_1224800707-6927-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #443: temacs segmentation fault in unexec under Linux 2.6.26 It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 443: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D443 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1224800707-6927-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Thu Oct 23 15:19:04 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 443-done) by emacsbugs.donarmstrong.com; 23 Oct 2008 22:19:04 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9NMIu41005540; Thu, 23 Oct 2008 15:18:57 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 2CCD557E055; Thu, 23 Oct 2008 18:18:59 -0400 (EDT) From: Chong Yidong To: 443-done@debbugs.gnu.org, 900-done@debbugs.gnu.org Subject: Re: temacs segmentation fault in unexec under Linux 2.6.26 Date: Thu, 23 Oct 2008 18:18:59 -0400 Message-ID: <874p33rm3w.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Since Jan has fixed this in the trunk (2008-10-21 checkin), I'm closing this bug. ------------=_1224800707-6927-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From ulm@kph.uni-mainz.de Fri Sep 5 20:39:39 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.0 required=4.0 tests=AWL,BAYES_00,FOURLA, FVGT_m_MULTI_ODD,HAS_PACKAGE,IMPRONONCABLE_1,IMPRONONCABLE_2, MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,PHONENUMBER,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 6 Sep 2008 03:39:39 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m863dWhw011968 for ; Fri, 5 Sep 2008 20:39:33 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kboe4-0001QE-3c for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 23:39:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kboe1-0001Pi-DL for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 23:39:31 -0400 Received: from [199.232.76.173] (port=55352 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kboe1-0001Pf-79 for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 23:39:29 -0400 Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:42667) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kboe0-0006ia-Eq for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 23:39:29 -0400 Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id m863dGb2023942; Sat, 6 Sep 2008 05:39:17 +0200 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.2/8.13.4) with ESMTP id m863dGPw024680; Sat, 6 Sep 2008 05:39:16 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.2/8.14.2/Submit) id m863dGv9024674; Sat, 6 Sep 2008 05:39:16 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18625.64355.215907.350751@a1i15.kph.uni-mainz.de> Date: Sat, 6 Sep 2008 05:39:15 +0200 From: Ulrich Mueller To: bug-gnu-emacs@gnu.org CC: emacs@gentoo.org Subject: temacs segmentation fault in unexec under Linux 2.6.26 X-Mailer: VM 8.0.9 under Emacs 22.2.92.1 (i686-pc-linux-gnu) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) Package: emacs Version: 22.3 Building of Emacs 22.3 under Linux 2.6.26 sometimes fails with a segmentation fault of temacs in unexec. Part of the build log and a full backtrace are included at the end of this message. I had already reported this problem (for Emacs 22.2.92) to emacs-devel but got no reply: The problem is related to kernel heap randomisation, see . It doesn't exist under Linux 2.6.24 or earlier. In GNU Emacs 22.3.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-09-06 on a1iulm2 Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-22' '--infodir=/usr/share/info/emacs-22' '--without-carbon' '--with-sound' '--with-x' '--without-toolkit-scroll-bars' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-xpm' '--with-x-toolkit=gtk' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-march=pentium-m -g -O2 -pipe' 'LDFLAGS=-Wl,-O1'' End of the build log: LC_ALL=C ./temacs -batch -l loadup dump Loading loadup.el (source)... Using load-path (/var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/lisp) Loading emacs-lisp/byte-run... Loading emacs-lisp/backquote... Loading subr... Loading version.el (source)... Loading widget... Loading custom... Loading emacs-lisp/map-ynp... Loading env... Loading cus-start... Loading international/mule... Loading international/mule-conf.el (source)... Loading format... Loading bindings... Loading files... Loading cus-face... Loading faces... Loading button... Loading startup... Lists of integers (garbage collection statistics) are normal output while building Emacs; they do not indicate a problem. ((11177 . 8431) (4849 . 0) (578 . 6) 16345 20225 (11 . 7) (17 . 0) (832 . 2381)) Loading loaddefs.el (source)... ((29161 . 11860) (7821 . 0) (587 . 10) 42301 20225 (37 . 33) (17 . 0) (3704 . 1462)) Loading simple... Loading help... Loading jka-cmpr-hook... Loading international/mule-cmds... Loading case-table... Loading international/utf-8... Loading international/utf-16... Loading international/characters... Loading international/latin-1.el (source)... Loading international/latin-2.el (source)... Loading international/latin-3.el (source)... Loading international/latin-4.el (source)... Loading international/latin-5.el (source)... Loading international/latin-8.el (source)... Loading international/latin-9.el (source)... Loading language/chinese... Loading language/cyrillic... Loading language/indian... Loading language/devanagari.el (source)... Loading language/malayalam.el (source)... Loading language/tamil.el (source)... Loading language/kannada.el (source)... Loading language/english.el (source)... Loading language/ethiopic... Loading language/european... Loading language/czech.el (source)... Loading language/slovak.el (source)... Loading language/romanian.el (source)... Loading language/greek.el (source)... Loading language/hebrew.el (source)... Loading language/japanese.el (source)... Loading language/korean.el (source)... Loading language/lao.el (source)... Loading language/thai.el (source)... Loading language/tibetan... Loading language/vietnamese... Loading language/misc-lang.el (source)... Loading language/utf-8-lang.el (source)... Loading language/georgian.el (source)... Loading international/ucs-tables... Loading indent... Loading window... Loading frame... Loading term/tty-colors... Loading font-core... Loading facemenu... Loading emacs-lisp/syntax... Loading font-lock... Loading jit-lock... Loading mouse... Loading scroll-bar... Loading select... Loading emacs-lisp/timer... Loading isearch... Loading rfn-eshadow... ((49507 . 18627) (10733 . 0) (622 . 92) 64080 164411 (67 . 4) (18 . 12) (4997 . 1681)) Loading menu-bar... Loading paths.el (source)... Loading emacs-lisp/lisp... Loading textmodes/page... Loading register... Loading textmodes/paragraphs... Loading emacs-lisp/lisp-mode... Loading textmodes/text-mode... Loading textmodes/fill... ((55968 . 12166) (11261 . 0) (624 . 90) 76368 166081 (67 . 4) (18 . 12) (5507 . 1801)) Loading replace... Loading abbrev... Loading buff-menu... Loading fringe... Loading image... Loading international/fontset... Loading dnd... Loading mwheel... Loading tool-bar... Loading x-dnd... ((57901 . 10233) (11774 . 0) (625 . 89) 77920 166663 (69 . 8) (18 . 12) (5601 . 1581)) Loading emacs-lisp/float-sup... ((57933 . 10201) (11778 . 0) (625 . 89) 78085 166663 (70 . 9) (18 . 12) (5606 . 1576)) Loading vc-hooks... Loading ediff-hook... Loading tooltip... ((59259 . 8875) (11935 . 0) (626 . 88) 79285 166714 (72 . 7) (18 . 12) (5676 . 1506)) Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under names emacs and emacs-22.3.1 make[1]: *** [emacs] Segmentation fault (core dumped) make[1]: *** Deleting file `emacs' make[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/src' make: *** [src] Error 2 Backtrace: GNU gdb 6.8 Copyright (C) 2008 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 "i686-pc-linux-gnu"... Really redefine built-in command "frame"? (y or n) [answered Y; input not from terminal] Really redefine built-in command "thread"? (y or n) [answered Y; input not from terminal] Really redefine built-in command "start"? (y or n) [answered Y; input not from terminal] Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...done. Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0 Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...done. Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0 Reading symbols from /usr/lib/libatk-1.0.so.0...done. Loaded symbols for /usr/lib/libatk-1.0.so.0 Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...done. Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0 Reading symbols from /usr/lib/libpangocairo-1.0.so.0...done. Loaded symbols for /usr/lib/libpangocairo-1.0.so.0 Reading symbols from /usr/lib/libpango-1.0.so.0...done. Loaded symbols for /usr/lib/libpango-1.0.so.0 Reading symbols from /usr/lib/libcairo.so.2...done. Loaded symbols for /usr/lib/libcairo.so.2 Reading symbols from /usr/lib/libgobject-2.0.so.0...done. Loaded symbols for /usr/lib/libgobject-2.0.so.0 Reading symbols from /usr/lib/libgmodule-2.0.so.0...done. Loaded symbols for /usr/lib/libgmodule-2.0.so.0 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /usr/lib/libglib-2.0.so.0...done. Loaded symbols for /usr/lib/libglib-2.0.so.0 Reading symbols from /lib/libpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /usr/lib/libSM.so.6...done. Loaded symbols for /usr/lib/libSM.so.6 Reading symbols from /usr/lib/libICE.so.6...done. Loaded symbols for /usr/lib/libICE.so.6 Reading symbols from /usr/lib/libtiff.so.3...done. Loaded symbols for /usr/lib/libtiff.so.3 Reading symbols from /usr/lib/libjpeg.so.62...done. Loaded symbols for /usr/lib/libjpeg.so.62 Reading symbols from /usr/lib/libpng12.so.0...done. Loaded symbols for /usr/lib/libpng12.so.0 Reading symbols from /lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /usr/lib/libgif.so.4...done. Loaded symbols for /usr/lib/libgif.so.4 Reading symbols from /usr/lib/libXpm.so.4...done. Loaded symbols for /usr/lib/libXpm.so.4 Reading symbols from /usr/lib/libX11.so.6...done. Loaded symbols for /usr/lib/libX11.so.6 Reading symbols from /usr/lib/libXft.so.2...done. Loaded symbols for /usr/lib/libXft.so.2 Reading symbols from /usr/lib/libXrender.so.1...done. Loaded symbols for /usr/lib/libXrender.so.1 Reading symbols from /usr/lib/libfontconfig.so.1...done. Loaded symbols for /usr/lib/libfontconfig.so.1 Reading symbols from /usr/lib/libfreetype.so.6...done. Loaded symbols for /usr/lib/libfreetype.so.6 Reading symbols from /usr/lib/libasound.so.2...done. Loaded symbols for /usr/lib/libasound.so.2 Reading symbols from /lib/libncurses.so.5...done. Loaded symbols for /lib/libncurses.so.5 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/libuuid.so.1...done. Loaded symbols for /lib/libuuid.so.1 Reading symbols from /usr/lib/libXrandr.so.2...done. Loaded symbols for /usr/lib/libXrandr.so.2 Reading symbols from /usr/lib/libXcursor.so.1...done. Loaded symbols for /usr/lib/libXcursor.so.1 Reading symbols from /usr/lib/libpangoft2-1.0.so.0...done. Loaded symbols for /usr/lib/libpangoft2-1.0.so.0 Reading symbols from /usr/lib/libXcomposite.so.1...done. Loaded symbols for /usr/lib/libXcomposite.so.1 Reading symbols from /usr/lib/libXdamage.so.1...done. Loaded symbols for /usr/lib/libXdamage.so.1 Reading symbols from /usr/lib/libXfixes.so.3...done. Loaded symbols for /usr/lib/libXfixes.so.3 Reading symbols from /usr/lib/libexpat.so.1...done. Loaded symbols for /usr/lib/libexpat.so.1 Reading symbols from /usr/lib/libdirectfb-1.2.so.0...done. Loaded symbols for /usr/lib/libdirectfb-1.2.so.0 Reading symbols from /usr/lib/libfusion-1.2.so.0...done. Loaded symbols for /usr/lib/libfusion-1.2.so.0 Reading symbols from /usr/lib/libdirect-1.2.so.0...done. Loaded symbols for /usr/lib/libdirect-1.2.so.0 Reading symbols from /usr/lib/libglitz-glx.so.1...done. Loaded symbols for /usr/lib/libglitz-glx.so.1 Reading symbols from /usr/lib/libglitz.so.1...done. Loaded symbols for /usr/lib/libglitz.so.1 Reading symbols from /usr/lib/opengl/xorg-x11/lib/libGL.so.1...done. Loaded symbols for //usr//lib/opengl/xorg-x11/lib/libGL.so.1 Reading symbols from /usr/lib/libXmu.so.6...done. Loaded symbols for /usr/lib/libXmu.so.6 Reading symbols from /usr/lib/libXt.so.6...done. Loaded symbols for /usr/lib/libXt.so.6 Reading symbols from /usr/lib/libXext.so.6...done. Loaded symbols for /usr/lib/libXext.so.6 Reading symbols from /usr/lib/libXi.so.6...done. Loaded symbols for /usr/lib/libXi.so.6 Reading symbols from /usr/lib/libXau.so.6...done. Loaded symbols for /usr/lib/libXau.so.6 Reading symbols from /usr/lib/libXdmcp.so.6...done. Loaded symbols for /usr/lib/libXdmcp.so.6 Reading symbols from /usr/lib/libpixman-1.so.0...done. Loaded symbols for /usr/lib/libpixman-1.so.0 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/libjbig.so...done. Loaded symbols for /usr/lib/libjbig.so Reading symbols from /lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /usr/lib/libXxf86vm.so.1...done. Loaded symbols for /usr/lib/libXxf86vm.so.1 Reading symbols from /usr/lib/libdrm.so.2...done. Loaded symbols for /usr/lib/libdrm.so.2 Core was generated by `./temacs -batch -l loadup dump'. Program terminated with signal 11, Segmentation fault. [New process 30599] #0 0x081957ef in unexec (new_name=0x8681178 "/var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/src/emacs", old_name=0x86811c0 "/var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/src/temacs", data_start=0x82eb6b8, bss_start=0x0, entry_address=0x0) at unexelf.c:951 951 memcpy (NEW_SECTION_H (nn).sh_offset + new_base, DISPLAY = :0.0 TERM = xterm Breakpoint 1 at 0x80fcb26: file emacs.c, line 432. Breakpoint 2 at 0x8117246: file sysdep.c, line 1386. gdb> bt full #0 0x081957ef in unexec (new_name=0x8681178 "/var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/src/emacs", old_name=0x86811c0 "/var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/src/temacs", data_start=0x82eb6b8, bss_start=0x0, entry_address=0x0) at unexelf.c:951 src = new_file = 0x5 old_file = 0x4 old_base = 0x2b890000 "\177ELF\001\001\001" new_base = 0x2be8c000 "\177ELF\001\001\001" old_file_h = new_file_h = new_program_h = (Elf32_Phdr *) 0x2be8c034 old_section_h = (Elf32_Shdr *) 0x2be51c10 new_section_h = (Elf32_Shdr *) 0x2c7eb530 old_section_names = 0x2be51adb "" old_bss_addr = 0x82eb6e0 new_bss_addr = old_bss_size = new_data2_size = 0x39d920 new_data2_offset = 0x2a26e0 n = 0x15 nn = 0x15 old_bss_index = 0x15 old_sbss_index = 0xffffffff old_plt_index = 0xffffffff old_data_index = 0x14 new_data2_index = 0x15 stat_buf = { st_dev = 0x307, __pad1 = 0x0, __st_ino = 0x4264, st_mode = 0x81ed, st_nlink = 0x1, st_uid = 0x1357, st_gid = 0x119e, st_rdev = 0x0, __pad2 = 0x0, st_size = 0x5fb6c6, st_blksize = 0x1000, st_blocks = 0x2ff8, st_atim = { tv_sec = 0x48c1ef81, tv_nsec = 0x0 }, st_mtim = { tv_sec = 0x48c1ef82, tv_nsec = 0x0 }, st_ctim = { tv_sec = 0x48c1ef82, tv_nsec = 0x0 }, st_ino = 0x4264 } #1 0x080fc5bd in Fdump_emacs (filename=0x8680308, symfile=0x868048b) at emacs.c:2286 tem = 0x842d8f9 symbol = #2 0x0816b541 in Feval (form=0x846a175) at eval.c:2327 numargs = argvals = {0x868049b, 0x868048b, 0x0, 0x842dcb8, 0x7f84ed70, 0x7f84ecf8, 0x7f84ecc0, 0x2} args_left = 0x842d8c9 i = 0x2 fun = val = original_fun = original_args = 0x846a15d funcar = backtrace = { next = 0x7f84ed80, function = 0x7f84ed08, args = 0x7f84ecd0, nargs = 0x2, evalargs = 0x1, debug_on_exit = 0x0 } #3 0x0816b7ff in Fprogn (args=0x348) at eval.c:449 val = 0xd8000 #4 0x0816b5ff in Feval (form=0x846b765) at eval.c:2271 numargs = 0x348 argvals = {0x42d8f9, 0x842bb15, 0x0, 0x7f84ee18, 0x7f84ee00, 0x7f84ed88, 0x7f84ed84, 0xffffffff} args_left = 0x846b60d i = fun = val = original_fun = original_args = 0x846b60d funcar = backtrace = { next = 0x7f84ee00, function = 0x7f84ed98, args = 0x7f84ed94, nargs = 0xffffffff, evalargs = 0x0, debug_on_exit = 0x0 } #5 0x0816b5ff in Feval (form=0x842b97d) at eval.c:2271 numargs = 0x348 argvals = {0x846b765, 0x842d8c9, 0x7f84ee28, 0x8180a18, 0x8465c58, 0x843dc19, 0x7f84ee28, 0x816844f} args_left = 0x846b76d i = fun = val = original_fun = original_args = 0x846b76d funcar = backtrace = { next = 0x7f84f220, function = 0x7f84ee18, args = 0x7f84ee14, nargs = 0xffffffff, evalargs = 0x0, debug_on_exit = 0x0 } #6 0x0818364c in readevalloop (readcharfun=0x843dc19, stream=0x8465c58, sourcename=0x84658ab, evalfun=0x816b040 , printflag=0x0, unibyte=0x842d8c9, readfun=0x842d8c9, start=0x842d8c9, end=0x842d8c9) at lread.c:1559 c = val = 0x842b97d b = (struct buffer *) 0x0 continue_reading_p = 0x1 whole_buffer = 0x0 first_sexp = 0x0 #7 0x08184947 in Fload (file=0x846582b, noerror=0x842d8c9, nomessage=0x842d8c9, nosuffix=0x842d8c9, must_suffix=0x842d8c9) at lread.c:1027 stream = fd = 0x3 found = efound = hist_file_name = 0x84658ab newer = 0x0 compiled = 0x0 handler = safe_p = 0x1 tmp = {0x842d8c9, 0x846589b} #8 0x0816b4e7 in Feval (form=0x842a385) at eval.c:2338 numargs = argvals = {0x846582b, 0x842d8c9, 0x842d8c9, 0x842d8c9, 0x842d8c9, 0xb, 0x0, 0x0} args_left = 0x842d8c9 i = 0x5 fun = val = original_fun = original_args = 0x842a37d funcar = backtrace = { next = 0x0, function = 0x7f84f238, args = 0x7f84f200, nargs = 0x1, evalargs = 0x1, debug_on_exit = 0x0 } #9 0x08104403 in top_level_2 () at keyboard.c:1339 No locals. #10 0x08168fa2 in internal_condition_case (bfun=0x81043f0 , handlers=0x8438a89, hfun=0x8107f80 ) at eval.c:1484 val = c = { tag = 0x842d8c9, val = 0x842d8c9, next = 0x7f84f380, gcpro = 0x0, jmp = {{ __jmpbuf = {0x0, 0x8431940, 0x8431930, 0x7f84f348, 0x884af267, 0xacb0f488}, __mask_was_saved = 0x0, __saved_mask = { __val = {0x7f84f340, 0x2aac7658, 0x804f59a, 0xa8428197, 0x0, 0x0, 0xb , 0x2b4d4c2c, 0x2b318a90, 0xb, 0x69cb120, 0x2aac6fc4, 0x2aac7658, 0x1, 0x7f84f350} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0x0, pdlcount = 0x2, poll_suppress_count = 0x1, interrupt_input_blocked = 0x0, byte_stack = 0x0 } h = { handler = 0x8438a89, var = 0x842d8c9, chosen_clause = 0x1, tag = 0x7f84f26c, next = 0x0 } #11 0x0810737e in top_level_1 () at keyboard.c:1347 No locals. #12 0x0816907c in internal_catch (tag=0x8437ba1, func=0x8107330 , arg=0x842d8c9) at eval.c:1224 c = { tag = 0x8437ba1, val = 0x842d8c9, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {0x0, 0x8431940, 0x8431930, 0x7f84f448, 0x8848d267, 0xac8eec88}, __mask_was_saved = 0x0, __saved_mask = { __val = {0xb, 0xb, 0xb, 0xb, 0x81d92e0, 0xa, 0x7d0, 0x7f84f3e8, 0x8151e5b, 0x84627cc, 0x82defc1, 0xa, 0x845ada0, 0x8435540, 0x845ada1, 0x7f84f428, 0x815a9a6, 0x845ada1, 0x845a37a, 0x842d8c9, 0x8435540, 0x9, 0x9, 0x842d8e1, 0x2, 0x845a378, 0x845a37a, 0x9, 0x0, 0x845ada1, 0x1, 0x7f84f468} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0x0, pdlcount = 0x2, poll_suppress_count = 0x1, interrupt_input_blocked = 0x0, byte_stack = 0x0 } #13 0x08107dba in command_loop () at keyboard.c:1304 No locals. #14 0x08108157 in recursive_edit_1 () at keyboard.c:1007 val = #15 0x08108249 in Frecursive_edit () at keyboard.c:1068 buffer = #16 0x080fd96f in main (argc=0x5, argv=0x7f84f864) at emacs.c:1770 dummy = 0x7f84f7b8 stack_bottom_variable = 0x8 do_initial_setlocale = skip_args = 0x3 rlim = { rlim_cur = 0xffffffffffffffff, rlim_max = 0xffffffffffffffff } no_loadup = 0x0 junk = 0x0 Lisp Backtrace: "dump-emacs" (0x868049b) "if" (0x846b60d) "if" (0x846b76d) "load" (0x846582b) gdb> ------------=_1224800707-6927-3--