From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: 23.0.60; Emacs core dumps on (load "non-existent-file" t t) Date: Sun, 30 Mar 2008 23:07:46 +0200 Message-ID: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206911309 22307 80.91.229.12 (30 Mar 2008 21:08:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Mar 2008 21:08:29 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 30 23:08:59 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jg4lr-0006K6-MF for ged-emacs-devel@m.gmane.org; Sun, 30 Mar 2008 23:08:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jg4lF-0007et-N0 for ged-emacs-devel@m.gmane.org; Sun, 30 Mar 2008 17:08:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jg4lC-0007ee-Jj for emacs-devel@gnu.org; Sun, 30 Mar 2008 17:08:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jg4l9-0007eS-QR for emacs-devel@gnu.org; Sun, 30 Mar 2008 17:08:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jg4l9-0007eP-NL for emacs-devel@gnu.org; Sun, 30 Mar 2008 17:08:11 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jg4l9-0007Ur-FX for emacs-devel@gnu.org; Sun, 30 Mar 2008 17:08:11 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Jg4l9-0003Xg-8V for emacs-pretest-bug@gnu.org; Sun, 30 Mar 2008 17:08:11 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Jg4l6-0007UO-2L for emacs-pretest-bug@gnu.org; Sun, 30 Mar 2008 17:08:11 -0400 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jg4l5-0007U7-Ht for emacs-pretest-bug@gnu.org; Sun, 30 Mar 2008 17:08:07 -0400 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m2UL85OB027247 for ; Sun, 30 Mar 2008 23:08:06 +0200 (MEST) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id BCA6412FF0 for ; Sun, 30 Mar 2008 23:08:05 +0200 (CEST) X-Face: #vK]N[`vqjuod*|)'[iD7/"3AB-ApT%fmN"LWAg@oS7OesGv~)n[OBTLM#I="J'Y^-7I I/ps7o_'IK@#-Rs{::DZ@O8yS|fexe,XslY[:dNWOb~>?mC-&i_c)say:"\IpA.5U.b]'NY; Pks{lb h.+#6%DpZuaK3dcHB`Av3zc:r!C%~s0&m, tWj]&}, qg.+0ww2gK%f!:GK|wMl.I!(voY*1"^li8"~B BNG)9LvPi?^DMR-GVDnZqhu*3Hi, +g=wFhI)BL6&u{EOVEHjVEVq~d?_}lMntWAc3(6?kftjc>_f>! g0wM(qPM$d5]^TT_Qyi&L?LGVG)SHN;Gk/,pkY9,~ Mail-Followup-To: emacs-pretest-bug@gnu.org User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.92 (gnu/linux) X-DCC--Metrics: poseidon 1113; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:93953 gmane.emacs.pretest.bugs:21809 Archived-At: > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: When I start Emacs (trunk, updated & bootstrapped today), it core dumps during startup. I cannot reproduce the crash... - with `-Q' - with `-nw' - when starting it under gdb - when starting it in ./src I could trace it down (see strace output below) to (load rs-custom-file t t) in an init file. When I comment this line, Emacs starts correctly. `rs-custom-file' is "~/.emacs-custom", but this file doesn't exist: ~$ ls .emacs-custom* ls: cannot access .emacs-custom*: No such file or directory > If Emacs crashed, and you have the Emacs process in the gdb debugger, > please include the output from the following gdb commands: > `bt full' and `xbacktrace'. As I can't reproduce it under gdb, I did: cvs-HEAD/i686/src$ (cd ..; rm -vf core; ./src/emacs; ls -l core ) removed `core' -rw------- 1 ste rein 16732160 2008-03-30 22:34 core ,---- | cvs-HEAD/i686/src$ gdb ./emacs ../core | [...] | (gdb) bt | #0 0xb7ee9410 in ?? () | #1 0xbf8db208 in ?? () | #2 0x0000000b in ?? () | #3 0x0000000b in ?? () | #4 0xb7479386 in kill () from /lib/libc.so.6 | #5 0x081819d5 in fatal_error_signal (sig=11) | at [...]/cvs-HEAD/emacs/src/emacs.c:400 | #6 0xb7ee9420 in ?? () | #7 0x0000000b in ?? () | #8 0x00000033 in ?? () | #9 0x00000000 in ?? () | | Lisp Backtrace: | "load" (0xbf8db960) | "eval-buffer" (0xbf8dbb64) | "load-with-code-conversion" (0xbf8dbe84) | "load" (0xbf8dc0c0) | "if" (0xbf8dc228) | "when" (0xbf8dc318) | "if" (0xbf8dc448) | "unless" (0xbf8dc538) | "eval-buffer" (0xbf8dc6e4) | "load-with-code-conversion" (0xbf8dca04) | "load" (0xbf8dccb4) | 0x82ded6c PVEC_COMPILED | "byte-code" (0xbf8dd240) | "command-line" (0xbf8dd704) | "normal-top-level" (0xbf8dd980) `---- Here's the output of strace: ,---- | cvs-HEAD/i686$ strace -e trace=file ./src/emacs | [...] | readlink("/Disks", 0x90750e0, 100) = -1 EINVAL (Invalid argument) | readlink("/Disks/local", 0x9035180, 100) = -1 EINVAL (Invalid argument) | readlink("/Disks/local/share", 0x90180d8, 100) = -1 EINVAL (Invalid argument) | readlink("/Disks/local/share/emacs", 0x9019018, 100) = -1 EINVAL (Invalid argument) | readlink("/Disks/local/share/emacs/site-lisp", 0x90750e0, 100) = -1 EINVAL (Invalid argument) | readlink("/Disks/local/share/emacs/site-lisp/www-setup.el", 0x9035180, 100) = -1 EINVAL (Invalid argument) | --- SIGIO (I/O possible) @ 0 (0) --- | stat64("/home/.../.emacs-custom.elc", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.elc.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.el.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | stat64("/home/.../.emacs-custom.gz", 0xbfc8c9d4) = -1 ENOENT (No such file or directory) | --- SIGSEGV (Segmentation fault) @ 0 (90c4ca9) --- | --- SIGSEGV (Segmentation fault) @ 0 (5a5d) --- | +++ killed by SIGSEGV (core dumped) +++ | Process 23133 detached `---- > In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.10.6) > of 2008-03-30 on viandante > Windowing system distributor `The X.Org Foundation', version 11.0.70199902 > configured using `configure '--prefix=/import/xtra/emacs/HEAD' '--exec-prefix=/import/xtra/emacs/HEAD-i686' 'CFLAGS=-Wno-pointer-sign -O0 -fno-crossjumping -gdwarf-2 -g3'' > 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: en_US.UTF-8 > value of $XMODIFIERS: @im=local > locale-coding-system: utf-8-unix > default-enable-multibyte-characters: t Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/