* 23.0.60; Emacs core dumps on (load "non-existent-file" t t)
@ 2008-03-30 21:07 ` Reiner Steib
2008-07-23 17:15 ` bug#104: marked as done (23.0.60; Emacs core dumps on (load "non-existent-file" t t)) Emacs bug Tracking System
0 siblings, 1 reply; 2+ messages in thread
From: Reiner Steib @ 2008-03-30 21:07 UTC (permalink / raw)
To: emacs-pretest-bug
> 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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#104: marked as done (23.0.60; Emacs core dumps on (load "non-existent-file" t t))
2008-03-30 21:07 ` 23.0.60; Emacs core dumps on (load "non-existent-file" t t) Reiner Steib
@ 2008-07-23 17:15 ` Emacs bug Tracking System
0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2008-07-23 17:15 UTC (permalink / raw)
To: Chong Yidong
[-- Attachment #1: Type: text/plain, Size: 883 bytes --]
Your message dated Wed, 23 Jul 2008 13:08:04 -0400
with message-id <87wsjcwmtn.fsf@stupidchicken.com>
and subject line Re: 23.0.60; Emacs core dumps on (load "non-existent-file" t t)
has caused the Emacs bug report #104,
regarding 23.0.60; Emacs core dumps on (load "non-existent-file" t t)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)
--
104: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=104
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 13883 bytes --]
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: emacs-pretest-bug@gnu.org
Cc:
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: <v9prtbapjx.fsf@marauder.physik.uni-ulm.de>
> 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/
[-- Attachment #3: Type: message/rfc822, Size: 985 bytes --]
From: Chong Yidong <cyd@stupidchicken.com>
To: 104-done@emacsbugs.donarmstrong.com
Subject: Re: 23.0.60; Emacs core dumps on (load "non-existent-file" t t)
Date: Wed, 23 Jul 2008 13:08:04 -0400
Message-ID: <87wsjcwmtn.fsf@stupidchicken.com>
Since no one seems to be able to reproduce this, I'm closing the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-23 17:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <87wsjcwmtn.fsf@stupidchicken.com>
2008-03-30 21:07 ` 23.0.60; Emacs core dumps on (load "non-existent-file" t t) Reiner Steib
2008-07-23 17:15 ` bug#104: marked as done (23.0.60; Emacs core dumps on (load "non-existent-file" t t)) Emacs bug Tracking System
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.