From unknown Mon Jun 23 18:27:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#4532 <4532@debbugs.gnu.org> To: bug#4532 <4532@debbugs.gnu.org> Subject: Status: Crash in ns_index_color (nsterm.m:1305) Reply-To: bug#4532 <4532@debbugs.gnu.org> Date: Tue, 24 Jun 2025 01:27:41 +0000 retitle 4532 Crash in ns_index_color (nsterm.m:1305) reassign 4532 emacs,ns submitter 4532 Ben Lowery severity 4532 normal thanks From blowery@gmail.com Tue Sep 22 18:58:21 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 23 Sep 2009 01:58:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: *** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=3.0 required=4.0 tests=GMAIL,IMPRONONCABLE_2,MULTALT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8N1wK6g017289 for ; Tue, 22 Sep 2009 18:58:21 -0700 Received: from mail.gnu.org ([199.232.76.166]:51212 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MqH7b-0002PI-7o for emacs-pretest-bug@gnu.org; Tue, 22 Sep 2009 21:58:19 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MqH7Y-0007NQ-Kb for emacs-pretest-bug@gnu.org; Tue, 22 Sep 2009 21:58:18 -0400 Received: from qw-out-1920.google.com ([74.125.92.147]:25432) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqH7X-0007M0-DE for emacs-pretest-bug@gnu.org; Tue, 22 Sep 2009 21:58:16 -0400 Received: by qw-out-1920.google.com with SMTP id 5so167373qwc.24 for ; Tue, 22 Sep 2009 18:58:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=YAkrHgXSYRDNAvPKTqBUKMYorT+WxwDoq9XQbrrMHf8=; b=A+9kGJ19bAmgi0YG2QdCHdgabZGCUlx+g85f0Gcd0V7W2DmvyajtkkU5M7MSFUSGvw 0Hg/cTaPf6YRippuC65vyUpQQO7upCe+L87qk5LpHBoljpSmoeSybfmNeW3lYd3c3tjQ SVzcaq7OclqDzhcVVgyoy/TRYucYYtlbAHw8M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WB9UTJrir8kpa18SeFEXVcCM6NALpJY2muWN6KYV5ye3soNCtb286bjbBgahxIdlXx 8l1BqGXLtKapMyDW6H7lcj0e88hv3qicUbJi1gWS17b8hwwrYzukly6j4ZKwloTgLtMY RD73QxY4ARXl6GWZtcRfzO65d2rgVyps6iZIQ= MIME-Version: 1.0 Received: by 10.229.33.12 with SMTP id f12mr746032qcd.6.1253671090883; Tue, 22 Sep 2009 18:58:10 -0700 (PDT) In-Reply-To: <13D7FE93-E9A3-4B0B-8693-D5761488C3D6@gmail.com> References: <9ee8c1eb0906180743s4cfa6986ic78af206a15e2ce6@mail.gmail.com> <9ee8c1eb0906180804m131f4c54jba827371d1de62df@mail.gmail.com> <13D7FE93-E9A3-4B0B-8693-D5761488C3D6@gmail.com> Date: Tue, 22 Sep 2009 21:58:10 -0400 Message-ID: <9ee8c1eb0909221858x465c723ak6e1bac9e83ab07ab@mail.gmail.com> Subject: Re: Crash in ns_index_color (nsterm.m:1305) From: Ben Lowery To: Adrian Robert Cc: David Reitter , emacs-pretest-bug@gnu.org, Aquamacs Bugs Content-Type: multipart/alternative; boundary=0016367f9616098e2e0474350cc0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) --0016367f9616098e2e0474350cc0 Content-Type: text/plain; charset=UTF-8 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 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 >> 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 >>>> Date: June 18, 2009 10:43:00 AM EDT >>>> To: Development of Aquamacs Emacs >>>> 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 >>>> >>> >>> _______________________ >>>> >>> >>> >>> >>> >> > > --0016367f9616098e2e0474350cc0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I'm still seeing the crash on occasion using emacs trunk as of last wee= k. Next time I see a crash, I'll send the dump along again. I just upda= ted to latest trunk a few hours ago, so....

So far I hav= n't been able to isolate a specific set of steps to repro the crash. I&= #39;m generally fairly deep into some editing, and just moving through a fi= le when it dies.=C2=A0

-b

On Tue, Sep 22, 20= 09 at 6:54 PM, Adrian Robert <adrian.b.robert@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. = =C2=A0I load color-theme into a buffer, M-x eval-buffer, then load the them= e itself, eval it, and finally M-x color-theme-wombat. =C2=A0Then I try to = do some file loading, editing, gnus, images, etc., but can't reproduce = the crash (10.4). =C2=A0If anyone has found some specific steps by now, I c= an 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@gmail.com> wrote:=
Forwarding a crash report.
nsterm.m:1305, in the given revision, is the line marked:

=C2=A0{
=C2=A0 int i;
=C2=A0 for (i =3D 1; i < color_table->avail; i++)
=C2=A0 =C2=A0 {
***** =C2=A0 =C2=A0 =C2=A0 =C2=A0if (color_table->colors[i] && [= color_table->colors[i] isEqual:
color])
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [color_table->colors[i] retain];
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 return i;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 }
=C2=A0 =C2=A0 }
=C2=A0}

Btw, why are we managing this table ourselves rather than using an
appropriate NS class? =C2=A0It seems like we're defining our own ns_col= or_table
structure anyways...

Ben, I wonder if you're using color themes or something else that defin= es a
lot of different colors.

- D


Begin forwarded message:

From: Ben Lowery <blowery@gmail.com>
Date: June 18, 2009 10:43:00 AM EDT
To: Development of Aquamacs Emacs <aquamacs-devel@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>



--0016367f9616098e2e0474350cc0-- From rgm@gnu.org Tue Sep 22 21:35:53 2009 Received: (at 4532) by emacsbugs.donarmstrong.com; 23 Sep 2009 04:35:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-8.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8N4ZpN8014978; Tue, 22 Sep 2009 21:35:52 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MqJa1-0001P1-Gs; Wed, 23 Sep 2009 00:35:49 -0400 From: Glenn Morris To: Ben Lowery Cc: 4532@debbugs.gnu.org, Adrian Robert , David Reitter , Aquamacs Bugs Subject: Re: bug#4532: Crash in ns_index_color (nsterm.m:1305) References: <9ee8c1eb0906180743s4cfa6986ic78af206a15e2ce6@mail.gmail.com> <9ee8c1eb0906180804m131f4c54jba827371d1de62df@mail.gmail.com> <13D7FE93-E9A3-4B0B-8693-D5761488C3D6@gmail.com> <9ee8c1eb0909221858x465c723ak6e1bac9e83ab07ab@mail.gmail.com> X-Spook: 64 Vauxhall Cross government BROMURE Etacs weapons of X-Ran: 8(q!XkQ}`Pw[{ffgs(N,e#[m8('&)JAm"{|X~{[w*#c3s[nK?AN"T)g#"".Qr8WS+5n'4S X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 23 Sep 2009 00:35:49 -0400 In-Reply-To: <9ee8c1eb0909221858x465c723ak6e1bac9e83ab07ab@mail.gmail.com> (Ben Lowery's message of "Tue, 22 Sep 2009 21:58:10 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii reassign 4532 emacs,ns merge 3605 4532 stop Please stop cc'ing emacs-pretest-bug at gnu.org, since it creates a new entry in the bug database every time. Please use 3605 at debbugs.gnu.org instead. Thank you. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3605 From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 17 00:53:51 2012 Received: (at control) by debbugs.gnu.org; 17 Jun 2012 04:53:51 +0000 Received: from localhost ([127.0.0.1]:45403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sg7Uk-00085s-Pf for submit@debbugs.gnu.org; Sun, 17 Jun 2012 00:53:51 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:44313) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sg7Uj-00085m-SL for control@debbugs.gnu.org; Sun, 17 Jun 2012 00:53:50 -0400 Received: from cm162.gamma80.maxonline.com.sg ([202.156.80.162]:50949 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Sg7Rg-0006MD-QA for control@debbugs.gnu.org; Sun, 17 Jun 2012 00:50:41 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 3605 Date: Sun, 17 Jun 2012 12:50:36 +0800 Message-ID: <87r4tepmn7.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 3605 thanks From unknown Mon Jun 23 18:27:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 15 Jul 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator