all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: emacs-pretest-bug@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	[thread overview]
Message-ID: <v9prtbapjx.fsf@marauder.physik.uni-ulm.de> (raw)

> 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	other threads:[~2008-03-30 21:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87wsjcwmtn.fsf@stupidchicken.com>
2008-03-30 21:07 ` Reiner Steib [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9prtbapjx.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.