GNU bug report logs - #2377
23.0.90; Cocoa Emacs crashes when loading zenburn color-theme

Previous Next

Packages: ns, emacs;

Reported by: Matt Moriarity <matt.moriarity <at> gmail.com>

Date: Thu, 19 Feb 2009 02:00:03 UTC

Severity: normal

Merged with 3620

Done: David Reitter <david.reitter <at> gmail.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 2377 in the body.
You can then email your comments to 2377 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#2377; Package emacs. (Thu, 19 Feb 2009 02:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matt Moriarity <matt.moriarity <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 19 Feb 2009 02:00:03 GMT) Full text and rfc822 format available.

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

From: Matt Moriarity <matt.moriarity <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.90; Cocoa Emacs crashes when loading zenburn color-theme
Date: Wed, 18 Feb 2009 20:54:33 -0500
I'm using the emacs-starter-kit and trying to load the included
zenburn color-theme. When I execute M-x zenburn after loading emacs
normally, it crashes, saying Fatal error. If I start emacs with the
command "emacs -q -l ~/.emacs.d/init.el", then these same actions
successfully apply the color-theme. However, if I do "emacs -Q -l
~/.emacs.d/init.el", the crash occurs again.


In GNU Emacs 23.0.90.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
 of 2009-02-18 on 64-71-7-199.static.wiline.com
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

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: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: rcirc

Minor modes in effect:
  shell-dirtrack-mode: t
  rcirc-track-minor-mode: t
  show-paren-mode: t
  recentf-mode: t
  mouse-wheel-mode: t
  use-hard-newlines: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<backspace> <backspace> <backspace> <backspace> u n
d e r SPC ~ / . e m a c s . d <return> ? <return> <help-echo>
<down-mouse-1> <mouse-1> <help-echo> c o n <tab> w
e l l , SPC i ' m m <backspace> SPC <backspace> SPC
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
C-a C-k w h a t SPC i f SPC i ' m SPC u s i n g SPC
c o c o a SPC e m a c s SPC o r SPC s o m e t h i n
g , SPC C-a C-k o h <return> t h e r e SPC g o e s
SPC m y SPC q u e s t i o n <return> g g o <tab> C-a
C-k g g o <tab> w o a h . SPC i t SPC c a r <backspace>
<backspace> r a s h e s SPC w i t h SPC - Q SPC b u
t SPC n o t SPC w i t h SPC - q <return> g g o <tab>
s a y s SPC F a t a l SPC e r r o r <return> b t w
, SPC d o e s SPC i t SPC m a k e SPC a SPC d i f f
e r e n c e SPC i t <backspace> f SPC i t ' s SPC c
o c o a SPC e m a c s SPC ? SPC c u z SPC i t SPC i
s <return> f s m <tab> s t r a c i a SPC <backspace>
t e l l a ? <return> <S-left> M-x r e p <tab> o r <tab>
<return>

Recent messages:
Connecting to irc.freenode.net...done
Loading tramp...done
Quit
Loading /Users/matt/.emacs.d/loaddefs.el (source)...done
Updating autoloads...
Warning: defvar ignored because generated-autoload-file is let-bound
Saving file /Users/matt/.emacs.d/loaddefs.el...
Wrote /Users/matt/.emacs.d/loaddefs.el
Loading /Users/matt/.emacs.d/loaddefs.el (source)...done
Making completion list...




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2377; Package emacs. (Thu, 19 Feb 2009 03:35:03 GMT) 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>. (Thu, 19 Feb 2009 03:35:03 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Matt Moriarity <matt.moriarity <at> gmail.com>, Phil Hagelberg <phil <at> evri.com>
Cc: 2377 <at> debbugs.gnu.org
Subject: Re: 23.0.90; Cocoa Emacs crashes when loading zenburn color-theme
Date: Wed, 18 Feb 2009 22:28:25 -0500
> I'm using the emacs-starter-kit and trying to load the included
> zenburn color-theme. When I execute M-x zenburn after loading emacs
> normally, it crashes, saying Fatal error. If I start emacs with the
> command "emacs -q -l ~/.emacs.d/init.el", then these same actions
> successfully apply the color-theme. However, if I do "emacs -Q -l
> ~/.emacs.d/init.el", the crash occurs again.

I can't reproduce this, but I don't know whether it's because I'm on
GNU/Linux rather than MacOS, or because the precise steps you took are
missing from your bug report (e.g. how exactly did you set up the
emacs-starter-kit)?

Please try to narrow down the problem, and provide a simple,
self-contained recipe for reproducing this bug.  (Phil, could you help?)




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2377; Package emacs. (Thu, 19 Feb 2009 03:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matt Moriarity <matt.moriarity <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 19 Feb 2009 03:45:03 GMT) Full text and rfc822 format available.

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

From: Matt Moriarity <matt.moriarity <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: Phil Hagelberg <phil <at> evri.com>, 2377 <at> debbugs.gnu.org
Subject: Re: 23.0.90; Cocoa Emacs crashes when loading zenburn color-theme
Date: Wed, 18 Feb 2009 22:39:13 -0500
I'm pretty sure it has something to do with cocoa emacs. Phil uses
this theme on a daily basis, and I tried using revisions of
emacs-starter-kit from before my own additions, and the problem was
the same.

On Wed, Feb 18, 2009 at 10:28 PM, Chong Yidong <cyd <at> stupidchicken.com> wrote:
>> I'm using the emacs-starter-kit and trying to load the included
>> zenburn color-theme. When I execute M-x zenburn after loading emacs
>> normally, it crashes, saying Fatal error. If I start emacs with the
>> command "emacs -q -l ~/.emacs.d/init.el", then these same actions
>> successfully apply the color-theme. However, if I do "emacs -Q -l
>> ~/.emacs.d/init.el", the crash occurs again.
>
> I can't reproduce this, but I don't know whether it's because I'm on
> GNU/Linux rather than MacOS, or because the precise steps you took are
> missing from your bug report (e.g. how exactly did you set up the
> emacs-starter-kit)?
>
> Please try to narrow down the problem, and provide a simple,
> self-contained recipe for reproducing this bug.  (Phil, could you help?)
>




bug reassigned from package `emacs' to `emacs,ns'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 21 Feb 2009 19:50:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2377; Package emacs,ns. (Mon, 23 Feb 2009 22:45:03 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Matt Moriarity <matt.moriarity <at> gmail.com>
Cc: 2377 <at> debbugs.gnu.org, Chong Yidong <cyd <at> stupidchicken.com>,
        Phil Hagelberg <phil <at> evri.com>
Subject: Re: bug#2377: 23.0.90; Cocoa Emacs crashes when loading zenburn color-theme
Date: Mon, 23 Feb 2009 17:34:26 -0500
tags 2377 moreinfo
stop

Chong Yidong wrote:

> the precise steps you took are missing from your bug report
[...]
> Please try to narrow down the problem, and provide a simple,
> self-contained recipe for reproducing this bug.

Matt Moriarity wrote:

> I'm pretty sure it has something to do with cocoa emacs.

That's not very precise.




Tags added: moreinfo Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 23 Feb 2009 22:45:06 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2377; Package emacs,ns. (Fri, 06 Mar 2009 15:55:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adrian Robert <adrian.b.robert <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Fri, 06 Mar 2009 15:55:05 GMT) Full text and rfc822 format available.

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

From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: 2377 <at> debbugs.gnu.org
Cc: Matt Moriarity <matt.moriarity <at> gmail.com>
Subject: Re: 23.0.90; Cocoa Emacs crashes when loading zenburn color-theme
Date: Fri, 6 Mar 2009 17:46:52 +0200
Hi,

If you have a chance and would be able to run an instance of -g only  
compiled Emacs.app under gdb and generate the crash, that output  
would be helpful.  (Running gdb from emacs/src would be best.)

thanks,
Adrian





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2377; Package emacs,ns. (Wed, 27 May 2009 20:05:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Reitter <david.reitter <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Wed, 27 May 2009 20:05:06 GMT) Full text and rfc822 format available.

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

From: David Reitter <david.reitter <at> gmail.com>
To: 2377 <at> debbugs.gnu.org, 2542 <at> emacsburg.donarmstrong.com
Date: Wed, 27 May 2009 15:56:55 -0400
[Message part 1 (text/plain, inline)]
Bugs 2377 and 2542 are probably the same.

Emacs (under NS) crashes whenever an unknown color name is used.
ns_lookup_indexed_color is called with index 0, which isn't in the  
array, leading to the crash.
It's also called a few times with an unusually large index; not sure  
if that's also a bug.
[smime.p7s (application/pkcs7-signature, attachment)]

Tags set to: Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Fri, 19 Jun 2009 18:50:07 GMT) Full text and rfc822 format available.

Merged 2377 3620. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Fri, 19 Jun 2009 18:50:07 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 15 Mar 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 95 days ago.

Previous Next


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