GNU bug report logs - #104
23.0.60; Emacs core dumps on (load "non-existent-file" t t)

Previous Next

Package: emacs;

Reported by: Reiner Steib <Reiner.Steib <at> gmx.de>

Date: Sun, 30 Mar 2008 22:20:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

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

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

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


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#104; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Reiner Steib <Reiner.Steib <at> gmx.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Reiner Steib <reinersteib+gmane <at> imap.cc>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; Emacs core dumps on (load "non-existent-file" t t)
Date: Sun, 30 Mar 2008 23:07:46 +0200
> 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/





Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Reiner Steib <Reiner.Steib <at> gmx.de>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 104-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: 104-done <at> debbugs.gnu.org
Subject: Re: 23.0.60; Emacs core dumps on (load "non-existent-file" t t)
Date: Wed, 23 Jul 2008 13:08:04 -0400
Since no one seems to be able to reproduce this, I'm closing the bug.




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 21 Aug 2008 14:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 304 days ago.

Previous Next


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