GNU bug report logs - #1106
last-coding-system-used may be nil in load-with-code-conversion

Previous Next

Package: emacs;

Reported by: domq <at> google.com (Dominique Quatravaux)

Date: Tue, 7 Oct 2008 13:30:03 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 1106 in the body.
You can then email your comments to 1106 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#1106; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to domq <at> google.com (Dominique Quatravaux):
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: domq <at> google.com (Dominique Quatravaux)
To: bug-gnu-emacs <at> gnu.org
Subject: last-coding-system-used may be nil in load-with-code-conversion
Date: Tue,  7 Oct 2008 15:21:52 +0200 (CEST)
  Putting the following in one's .emacs causes Emacs to crash on startup:

  (setq file-coding-system-alist nil)
  (load "/dev/null")

  This happens because mule.el wrongly assumes that last-coding-system-used
  cannot be null on line 84.

In GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2008-09-05 on vernadsky, modified by Ubuntu
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

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
  locale-coding-system: utf-8
  default-enable-multibyte-characters: 1






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

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> stupidchicken.com>
To: domq <at> google.com (Dominique Quatravaux)
Cc: 1106 <at> debbugs.gnu.org
Subject: last-coding-system-used may be nil in load-with-code-conversion
Date: Wed, 08 Oct 2008 12:34:47 -0400
> Putting the following in one's .emacs causes Emacs to crash on
> startup:
> 
> (setq file-coding-system-alist nil)
> (load "/dev/null")
>
> This happens because mule.el wrongly assumes that
> last-coding-system-used cannot be null on line 84.
>
> In GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>  of 2008-09-05 on vernadsky, modified by Ubuntu

I can't reproduce the crash with Emacs 22.2.  Maybe it's due to a Debian
change?

Could you check if the crash happens with a vanille Emacs 22.2
downloaded from ftp://ftp.gnu.org/gnu/emacs/ ?

Also, does the crash happen with Emacs CVS (or the Debian emacs-snapshot
package)?

Thanks.




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

Acknowledgement sent to "Dominique Quatravaux" <domq <at> google.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

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

From: "Dominique Quatravaux" <domq <at> google.com>
To: "Chong Yidong" <cyd <at> stupidchicken.com>
Cc: 1106 <at> debbugs.gnu.org
Subject: Re: last-coding-system-used may be nil in load-with-code-conversion
Date: Thu, 9 Oct 2008 12:07:01 +0200
On Wed, Oct 8, 2008 at 6:34 PM, Chong Yidong <cyd <at> stupidchicken.com> wrote:
> Also, does the crash happen with Emacs CVS (or the Debian emacs-snapshot
> package)?

Cannot reproduce with emacs-snapshot 1:20081005-1 from
http://emacs.orebokech.com/ ; I will investigate further and report to
Ubuntu maintainers if appropriate. Please close the bug.


-- 
  Dominique Quatravaux
  +41 79 609 40 72




bug closed, send any further explanations to domq <at> google.com (Dominique Quatravaux) Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Thu, 09 Oct 2008 15:00:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 06 Nov 2008 15:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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