GNU bug report logs - #4532
Crash in ns_index_color (nsterm.m:1305)

Previous Next

Packages: emacs, ns;

Reported by: Ben Lowery <blowery <at> gmail.com>

Date: Wed, 23 Sep 2009 02:05:04 UTC

Severity: normal

Merged with 3605, 3606, 4530

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Ben Lowery <blowery <at> gmail.com>
To: Adrian Robert <adrian.b.robert <at> gmail.com>
Cc: David Reitter <david.reitter <at> gmail.com>, emacs-pretest-bug <at> gnu.org,
        Aquamacs Bugs <aquamacs-bugs <at> aquamacs.org>
Subject: Re: Crash in ns_index_color (nsterm.m:1305)
Date: Tue, 22 Sep 2009 21:58:10 -0400
[Message part 1 (text/plain, inline)]
I'm still seeing the crash on occasion using emacs trunk as of last week.
Next time I see a crash, I'll send the dump along again. I just updated to
latest trunk a few hours ago, so....
So far I havn't been able to isolate a specific set of steps to repro the
crash. I'm generally fairly deep into some editing, and just moving through
a file when it dies.

-b

On Tue, Sep 22, 2009 at 6:54 PM, Adrian Robert <adrian.b.robert <at> gmail.com>wrote:

> I'm trying to reproduce this in current trunk with the attached wombat
> color theme file and the version of color-theme.el in the aquamacs tree.  I
> load color-theme into a buffer, M-x eval-buffer, then load the theme itself,
> eval it, and finally M-x color-theme-wombat.  Then I try to do some file
> loading, editing, gnus, images, etc., but can't reproduce the crash (10.4).
>  If anyone has found some specific steps by now, I can try them.
>
>
>
>
>
>
> On Jun 18, 2009, at 11:04 AM, Ben Lowery wrote:
>
>  Yup, I am using color-theme. I've attached the theme I'm using.
>>
>> On Thu, Jun 18, 2009 at 10:58 AM, David Reitter<david.reitter <at> gmail.com>
>> wrote:
>>
>>> Forwarding a crash report.
>>> nsterm.m:1305, in the given revision, is the line marked:
>>>
>>>  {
>>>   int i;
>>>   for (i = 1; i < color_table->avail; i++)
>>>     {
>>> *****        if (color_table->colors[i] && [color_table->colors[i]
>>> isEqual:
>>> color])
>>>         {
>>>           [color_table->colors[i] retain];
>>>           return i;
>>>         }
>>>     }
>>>  }
>>>
>>> Btw, why are we managing this table ourselves rather than using an
>>> appropriate NS class?  It seems like we're defining our own
>>> ns_color_table
>>> structure anyways...
>>>
>>> Ben, I wonder if you're using color themes or something else that defines
>>> a
>>> lot of different colors.
>>>
>>> - D
>>>
>>>
>>> Begin forwarded message:
>>>
>>>  From: Ben Lowery <blowery <at> gmail.com>
>>>> Date: June 18, 2009 10:43:00 AM EDT
>>>> To: Development of Aquamacs Emacs <aquamacs-devel <at> aquamacs.org>
>>>> Subject: [Aquamacs-devel] Crasher in ns_index_color (nsterm.m:1305)
>>>>
>>>> Attached is a crash log for Aquamacs, on
>>>> 3fa42d1a06357f8f65dff161524374f3feaaa3ac
>>>>
>>>> Happened as I was C-x C-f ing to open a file. Happens sporadically,
>>>> and I don't have a good repro case.
>>>>
>>>> -b
>>>>
>>>
>>>  _______________________
>>>>
>>>
>>>
>>> <color-theme-wombat.el>
>>>
>>
>
>
[Message part 2 (text/html, inline)]

This bug report was last modified 12 years and 346 days ago.

Previous Next


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