From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Newsgroups: gmane.emacs.bugs Subject: bug#3605: Crash in ns_index_color (nsterm.m:1305) Date: Mon, 19 Oct 2009 23:27:34 -0700 Message-ID: <518da0610910192327w7ee43190tce5a54911dd40f62@mail.gmail.com> Reply-To: Mike , 3605@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1256098527 20492 80.91.229.12 (21 Oct 2009 04:15:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Oct 2009 04:15:27 +0000 (UTC) To: 3605@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 21 06:15:16 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 1N0SbM-0008Im-2K for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Oct 2009 06:15:08 +0200 Original-Received: from localhost ([127.0.0.1]:52596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0SbL-0002pF-C4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Oct 2009 00:15:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N08V8-00031n-AL for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2009 02:47:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N08V3-00030p-R2 for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2009 02:47:21 -0400 Original-Received: from [199.232.76.173] (port=38127 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N08V3-00030f-Hl for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2009 02:47:17 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36144) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N08V2-0003su-UQ for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2009 02:47:17 -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 n9K6lCle032712; Mon, 19 Oct 2009 23:47:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9K6Z5Yb030880; Mon, 19 Oct 2009 23:35:05 -0700 Resent-Date: Mon, 19 Oct 2009 23:35:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Mike Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com 2Resent-Date: Tue, 20 Oct 2009 06:35:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3605 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Original-Received: via spool by 3605-submit@emacsbugs.donarmstrong.com id=B3605.125602006230032 (code B ref 3605); Tue, 20 Oct 2009 06:35:05 +0000 Original-Received: (at 3605) by emacsbugs.donarmstrong.com; 20 Oct 2009 06:27:42 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-gx0-f216.google.com (mail-gx0-f216.google.com [209.85.217.216]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9K6ReMK030029 for <3605@emacsbugs.donarmstrong.com>; Mon, 19 Oct 2009 23:27:41 -0700 Original-Received: by gxk8 with SMTP id 8so5797829gxk.1 for <3605@emacsbugs.donarmstrong.com>; Mon, 19 Oct 2009 23:27:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=/rQoE5+Ev5BUXEXDUxzgEZW9feiP3Uq8unepZ8kkd/0=; b=TboeVTc+WV0XKrRMF+ZWeNHzgxxRgE4m9dXttlPjasPxGUnshepYnyMF6GtKay1hHk OzEjB5GsoHGojVJUG5AsJNknqHiQqRIG1jwT5RMfAzC/CWU+sr8q3gANmfH0MiesoJ2L Syv7YLOU/wEsW0AtVYvKbSp+rBsE7Th3jyXAs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Bk/1v+XNBCJr3Hv9+9ovMW01C+0aI/l/GNji7RPXdTba2TcLuv6sN7kvCSEV+errtY 1R1Pa3yD2u965Sz0PY1NwR+sGgyND20CrkKlbfnhAdqPngP88qe60l6Y35N36oQnB7SN ATRAb3Zosa8vXCc/6VNuoq/MupRaG+7AL7HYU= Original-Received: by 10.150.115.8 with SMTP id n8mr9881525ybc.64.1256020054821; Mon, 19 Oct 2009 23:27:34 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 20 Oct 2009 02:47:21 -0400 X-Mailman-Approved-At: Wed, 21 Oct 2009 00:14:09 -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:32137 Archived-At: I'm seeing this crash somewhat frequently in recent builds (GNU Emacs 23.1.50.6 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) =A0of 2009-10-19 on Macintosh-8.local) I poked around a bit and didn't have much luck finding a root cause. Here's a typical stack trace: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0xc0000023 0x942eb688 in objc_msgSend () (gdb) (gdb) (gdb) bt #0=A0 0x942eb688 in objc_msgSend () #1=A0 0x900b6e1f in -[NSCalibratedRGBColor isEqual:] () #2=A0 0x0016c09c in ns_index_color (color=3D0x175d8830, f=3D0x175d8830) at nsterm.m:1249 #3=A0 0x0016cc82 in ns_defined_color (f=3D0x8e7060, name=3D0x175d8830 "\003", color_def=3D0xbfffc4e4, alloc=3D1, makeIndex=3D1 '\001') at nsterm.m:1529 #4=A0 0x000881bc in defined_color (f=3D0x8e7060, color_name=3D0x17a16114 "#9b9b9b", color_def=3D0xbfffc4e4, alloc=3D1) at xfaces.c:1266 #5=A0 0x000884de in load_color (f=3D0x8e7060, face=3D0x175b0bf0, name=3D396153139, target_index=3DLFACE_FOREGROUND_INDEX) at xfaces.c:1439 #6=A0 0x0008e45a in load_face_colors [inlined] () at xfaces.c:1528 #7=A0 0x0008e45a in realize_face (cache=3D0x16a3310, attrs=3D0xbfffc69c, former_face_id=3D) at xfaces.c:5913 #8=A0 0x0008f21d in lookup_face (f=3D0x175d8830, attr=3D0xbfffc69c) at xfac= es.c:4722 #9=A0 0x00090892 in face_at_buffer_position (w=3D0x8e7200, pos=3D898, region_beg=3D-1, region_end=3D-1, endptr=3D0xbfffc76c, limit=3D998, mouse= =3D0, base_face_id=3D0) at xfaces.c:6359 #10 0x0001ad97 in handle_face_prop (it=3D0xbfffd338) at xdisp.c:3440 #11 0x0001d908 in handle_stop (it=3D0xbfffd338) at xdisp.c:3127 #12 0x00020d07 in next_element_from_buffer (it=3D0xbfffd338) at xdisp.c:651= 1 #13 0x0001ecbf in get_next_display_element (it=3D0xbfffd338) at xdisp.c:567= 0 #14 0x000296ac in display_line (it=3D0xbfffd338) at xdisp.c:16565 #15 0x0002ac76 in try_window (window=3D9335300, pos=3D{charpos =3D 331, bytepos =3D 331}, check_margins=3D1) at xdisp.c:14023 #16 0x00032bec in redisplay_window (window=3D9335300, just_this_one_p=3D0) at xdisp.c:13646 #17 0x000347cd in redisplay_window_0 (window=3D9335300) at xdisp.c:12278 #18 0x001092a3 in internal_condition_case_1 (bfun=3D0x347a0 , arg=3D9335300, handlers=3D5297461, hfun=3D0x25570 ) at eval.c:1573 #19 0x00025291 in redisplay_windows (window=3D) at xdisp.c:12257 #20 0x00025235 in redisplay_windows (window=3D) at xdisp.c:12251 #21 0x00025235 in redisplay_windows (window=3D) at xdisp.c:12251 #22 0x00036bcc in redisplay_internal (preserve_echo_area=3D) at xdisp.c:11829 #23 0x0009fbf5 in read_char (commandflag=3D1, nmaps=3D4, maps=3D0xbfffeb80, prev_event=3D25165833, used_mouse_menu=3D0xbfffec88, end_time=3D0x0) at keyboard.c:2707 #24 0x000a26c4 in read_key_sequence (keybuf=3D0xbfffed48, bufsize=3D30, prompt=3D25165833, dont_downcase_last=3D0, can_return_switch_frame=3D1, fix_current_buffer=3D1) at keyboard.c:9461 #25 0x000a4cea in command_loop_1 () at keyboard.c:1640 #26 0x0010963d in internal_condition_case (bfun=3D0xa4ac0 , handlers=3D25205425, hfun=3D0x9ad40 ) at eval.c:1525 #27 0x000948a8 in command_loop_2 () at keyboard.c:1357 #28 0x0010951c in internal_catch (tag=3D392005680, func=3D0x94860 , arg=3D25165833) at eval.c:1261 #29 0x000945fe in command_loop () at keyboard.c:1336 #30 0x000946c2 in recursive_edit_1 () at keyboard.c:951 #31 0x00094841 in Frecursive_edit () at keyboard.c:1013 #32 0x0009337a in main (argc=3D1, argv=3D0xbffff1ec) at emacs.c:1827 (gdb) bt full #0=A0 0x942eb688 in objc_msgSend () No symbol table info available. #1=A0 0x900b6e1f in -[NSCalibratedRGBColor isEqual:] () No symbol table info available. #2=A0 0x0016c09c in ns_index_color (color=3D0x175d8830, f=3D0x175d8830) at nsterm.m:1249 =A0=A0=A0 i =3D 392005680 =A0=A0=A0 color_table =3D (struct ns_color_table *) 0x838b80 =A0=A0=A0 idx =3D #3=A0 0x0016cc82 in ns_defined_color (f=3D0x8e7060, name=3D0x175d8830 "\003", color_def=3D0xbfffc4e4, alloc=3D1, makeIndex=3D1 '\001') at nsterm.m:1529 =A0=A0=A0 temp =3D (NSColor *) 0x175d8830 =A0=A0=A0 notFound =3D #4=A0 0x000881bc in defined_color (f=3D0x8e7060, color_name=3D0x17a16114 "#9b9b9b", color_def=3D0xbfffc4e4, alloc=3D1) at xfaces.c:1266 No locals. #5=A0 0x000884de in load_color (f=3D0x8e7060, face=3D0x175b0bf0, name=3D396153139, target_index=3DLFACE_FOREGROUND_INDEX) at xfaces.c:1439 =A0=A0=A0 color =3D { =A0 pixel =3D 1, =A0 red =3D 65535, =A0 green =3D 65535, =A0 blue =3D 65535, =A0 flags =3D -114 '?', =A0 pad =3D 0 '\0' } #6=A0 0x0008e45a in load_face_colors [inlined] () at xfaces.c:1528 =A0=A0=A0 attrs =3D (Lisp_Object *) Cannot access memory at address 0x0 (gdb)