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

Previous Next

Packages: ns, emacs;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Thu, 18 Jun 2009 15:05:04 UTC

Severity: normal

Merged with 3606, 4530, 4532

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: David Reitter <david.reitter <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Cc: Adrian Robert <adrian.b.robert <at> gmail.com>, Ben Lowery <blowery <at> gmail.com>,
        Aquamacs Bugs <aquamacs-bugs <at> aquamacs.org>
Subject: bug#3605: Crash in ns_index_color (nsterm.m:1305)
Date: Thu, 18 Jun 2009 10:58:41 -0400
[Message part 1 (text/plain, inline)]
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
[aquamacs-crash.txt (text/plain, attachment)]
[Message part 3 (text/plain, inline)]
> _______________________
[smime.p7s (application/pkcs7-signature, attachment)]

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.