From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ben Lowery Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4532: Crash in ns_index_color (nsterm.m:1305) Date: Tue, 22 Sep 2009 21:58:10 -0400 Message-ID: <9ee8c1eb0909221858x465c723ak6e1bac9e83ab07ab@mail.gmail.com> References: <9ee8c1eb0906180743s4cfa6986ic78af206a15e2ce6@mail.gmail.com> <9ee8c1eb0906180804m131f4c54jba827371d1de62df@mail.gmail.com> <13D7FE93-E9A3-4B0B-8693-D5761488C3D6@gmail.com> Reply-To: Ben Lowery , 4532@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016367f9616098e2e0474350cc0 X-Trace: ger.gmane.org 1253671649 16455 80.91.229.12 (23 Sep 2009 02:07:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Sep 2009 02:07:29 +0000 (UTC) Cc: David Reitter , Aquamacs Bugs , emacs-pretest-bug@gnu.org To: Adrian Robert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 23 04:07:21 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MqHGK-0002ch-GB for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Sep 2009 04:07:20 +0200 Original-Received: from localhost ([127.0.0.1]:59817 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqHGJ-00014Z-DL for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Sep 2009 22:07:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqHGC-00013y-Gh for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 22:07:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqHG6-00012b-T7 for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 22:07:11 -0400 Original-Received: from [199.232.76.173] (port=59286 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqHG6-00012Y-P5 for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 22:07:06 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:46745) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MqHG6-0001O1-0k for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 22:07:06 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqHG4-0007HL-Qy for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 22:07:05 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8N273CZ019561; Tue, 22 Sep 2009 19:07:03 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8N255Et018580; Tue, 22 Sep 2009 19:05:05 -0700 Resent-Date: Tue, 22 Sep 2009 19:05:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Ben Lowery Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 23 Sep 2009 02:05:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4532 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125367110217292 (code B ref -1); Wed, 23 Sep 2009 02:05:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 23 Sep 2009 01:58:22 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-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 Original-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 Original-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= Original-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> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Tue, 22 Sep 2009 22:07:11 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31379 gmane.emacs.pretest.bugs:25074 Archived-At: --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--