GNU bug report logs - #3663
Return of Bug 653 in emacs-23.0.95, Mac OS X 10.5.7

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs,ns; Reported by: Gilbert Harman <harman <at> princeton.edu>; dated Tue, 23 Jun 2009 22:00:03 UTC; Maintainer for emacs is bug-gnu-emacs <at> gnu.org.

Message received at 3663 <at> emacsbugs.donarmstrong.com:


Received: (at 3663) by emacsbugs.donarmstrong.com; 4 Jul 2009 19:14:19 +0000
From gilbert.harman <at> gmail.com Sat Jul  4 12:14:19 2009
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=0.8 required=4.0 tests=AWL,GMAIL,MULTALT autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n64JEEBV021336
	for <3663 <at> emacsbugs.donarmstrong.com>; Sat, 4 Jul 2009 12:14:16 -0700
Received: by an-out-0708.google.com with SMTP id b2so856139ana.31
        for <3663 <at> emacsbugs.donarmstrong.com>; Sat, 04 Jul 2009 12:14:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:sender:received:in-reply-to
         :references:date:x-google-sender-auth:message-id:subject:from:to:cc
         :content-type;
        bh=N1UmlsivYjFPpwvmIJqOHvAHmkn42jPrgT1CQk57By4=;
        b=SUXE9dET9gKc/272V+DNHJ0bmuh2WHetaN7w80R9lqOurfSf0fBLPyTEgeoo6wsUop
         SdgDqQTqjmxMQS8CeEXKo8Ee13rwCZ0xNAYdv1T1QZ7gzH7r/AXyyWFHD6F3SwEqPaTN
         eLZZZiOppYDQ5Pr4l3cvLbtm8sInq12rSciUg=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:sender:in-reply-to:references:date
         :x-google-sender-auth:message-id:subject:from:to:cc:content-type;
        b=RIoUvpnqktlJwMS4XRzUuNW2T6IENSM901jystWSp6U3/roUiQe5f5CQEwkgAU9uTp
         uK8SvO8Yc9R4iQp17N3mvKthUbGZqTMh4QzWak4k//RqHLXTA9YYsXoBdcvWrNFFPcRZ
         Y9vjk2xSDwR6VftJH3ek1G7pkD5Q6Ga/AiAwY=
MIME-Version: 1.0
Sender: gilbert.harman <at> gmail.com
Received: by 10.100.41.4 with SMTP id o4mr4839687ano.53.1246734854533; Sat, 04 
	Jul 2009 12:14:14 -0700 (PDT)
In-Reply-To: <BA92488B-01FF-4C8E-8BBF-69D9E3558485 <at> gmail.com>
References: <878wjhe4ci.fsf <at> stupidchicken.com>
	 <BA92488B-01FF-4C8E-8BBF-69D9E3558485 <at> gmail.com>
Date: Sat, 4 Jul 2009 15:14:14 -0400
X-Google-Sender-Auth: ac153a54294b70a0
Message-ID: <5f089c510907041214l213b1a31g78185a559942ee5c <at> mail.gmail.com>
Subject: Re: Return of Bug 653 in emacs-23.0.95, Mac OS X 10.5.7
From: Gilbert Harman <harman <at> princeton.edu>
To: Adrian Robert <adrian.b.robert <at> gmail.com>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, 3663 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary=0016e641fe062233ee046de6145a

--0016e641fe062233ee046de6145a
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Dear Adrian,

Are you using Mac OS 10.5.7?

(I see this same problem on a MacBook Pro and two iMacs, all using OS
10.5.7.)

 Gil


On Sat, Jul 4, 2009 at 2:34 PM, Adrian Robert <adrian.b.robert <at> gmail.com>wrote:

>
> On Jun 24, 2009, at 4:58 PM, Chong Yidong wrote:
>
>  Hi Adrian,
>>
>> Could you check if your recent changes caused this regression?
>>
>
> I'm unable to reproduce it (nor could I before).  I tried on both Tiger and
> Leopard.  The recent changes to font handling under NS should not have
> effected this, which seems related to colors.  There may still be remaining
> bugs in the NS color code that are exposed by unrelated things, so we'll
> just have to keep going through and trying to improve that code.
>
>

--0016e641fe062233ee046de6145a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Dear Adrian,<br><br>Are you using Mac OS 10.5.7?<br><br>(I see this same pr=
oblem on a MacBook Pro and two iMacs, all using OS 10.5.7.)<br><br>=A0Gil<b=
r><br><br><div class=3D"gmail_quote">On Sat, Jul 4, 2009 at 2:34 PM, Adrian=
 Robert <span dir=3D"ltr">&lt;<a href=3D"mailto:adrian.b.robert <at> gmail.com">=
adrian.b.robert <at> gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class=3D"im"=
><br>
On Jun 24, 2009, at 4:58 PM, Chong Yidong wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Adrian,<br>
<br>
Could you check if your recent changes caused this regression?<br>
</blockquote>
<br></div>
I&#39;m unable to reproduce it (nor could I before). =A0I tried on both Tig=
er and Leopard. =A0The recent changes to font handling under NS should not =
have effected this, which seems related to colors. =A0There may still be re=
maining bugs in the NS color code that are exposed by unrelated things, so =
we&#39;ll just have to keep going through and trying to improve that code.<=
br>

<br>
</blockquote></div><br>

--0016e641fe062233ee046de6145a--



Acknowledgement sent to Gilbert Harman <harman <at> princeton.edu>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#3663; Package emacs,ns. Full text available.

Message received at 3663 <at> emacsbugs.donarmstrong.com:


Received: (at 3663) by emacsbugs.donarmstrong.com; 4 Jul 2009 18:34:09 +0000
From adrian.b.robert <at> gmail.com Sat Jul  4 11:34:09 2009
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=0.0 required=4.0 tests=none autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n64IY5AJ013011
	for <3663 <at> emacsbugs.donarmstrong.com>; Sat, 4 Jul 2009 11:34:06 -0700
Received: by rv-out-0506.google.com with SMTP id f6so986050rvb.1
        for <3663 <at> emacsbugs.donarmstrong.com>; Sat, 04 Jul 2009 11:34:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:in-reply-to:references
         :mime-version:content-type:message-id:cc:content-transfer-encoding
         :from:subject:date:to:x-mailer;
        bh=60y9ulsRanpigBzrBK+wFwagHg8DX7y4hfjAflmkln0=;
        b=gAGZtG8snAky6eOEFjX6xBIYimvx9EF8OCAm6qg0dkMGQHm7RIbQqFWmLLNt88ZSVK
         BNQJW6SgMkqxdWnkPXGsdl7jZIRDQBY3gTSixQkBrMM0MuyZGgGPEm9jNwkbbb81O2ms
         mGEJuLKM3BXxpbbBifkLoCbjXS88hZ3NF0/eY=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=in-reply-to:references:mime-version:content-type:message-id:cc
         :content-transfer-encoding:from:subject:date:to:x-mailer;
        b=F9+IuZLvBrj3pMuyTWaHFnoB8qzxE2UoVo5iaIldScTCcaW6/IvU2kVRUC3hY0CqB7
         D43jsmXwlMZBdOVsXUNS/fcBpEQeLU0Ok1/ZQ0mWlHzFfu8RLilmtIqvCouOxgYWkVui
         NiOKTzSpgY+qGXrzNUeeo9lIRfiLtNpyvVjos=
Received: by 10.141.41.11 with SMTP id t11mr1644953rvj.259.1246732445277;
        Sat, 04 Jul 2009 11:34:05 -0700 (PDT)
Received: from ?10.0.1.3? (dpc6745214221.direcpc.com [67.45.214.221])
        by mx.google.com with ESMTPS id g31sm21341885rvb.21.2009.07.04.11.33.58
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sat, 04 Jul 2009 11:34:04 -0700 (PDT)
In-Reply-To: <878wjhe4ci.fsf <at> stupidchicken.com>
References: <878wjhe4ci.fsf <at> stupidchicken.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <BA92488B-01FF-4C8E-8BBF-69D9E3558485 <at> gmail.com>
Cc: Gilbert Harman <harman <at> princeton.edu>, 3663 <at> debbugs.gnu.org
Content-Transfer-Encoding: 7bit
From: Adrian Robert <adrian.b.robert <at> gmail.com>
Subject: Re: Return of Bug 653 in emacs-23.0.95, Mac OS X 10.5.7
Date: Sat, 4 Jul 2009 14:34:00 -0400
To: Chong Yidong <cyd <at> stupidchicken.com>
X-Mailer: Apple Mail (2.753.1)


On Jun 24, 2009, at 4:58 PM, Chong Yidong wrote:

> Hi Adrian,
>
> Could you check if your recent changes caused this regression?

I'm unable to reproduce it (nor could I before).  I tried on both  
Tiger and Leopard.  The recent changes to font handling under NS  
should not have effected this, which seems related to colors.  There  
may still be remaining bugs in the NS color code that are exposed by  
unrelated things, so we'll just have to keep going through and trying  
to improve that code.




Acknowledgement sent to Adrian Robert <adrian.b.robert <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#3663; Package emacs,ns. Full text available.
bug reassigned from package `emacs' to `emacs,ns'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. Full text available.

Message received at 3663 <at> emacsbugs.donarmstrong.com:


Received: (at 3663) by emacsbugs.donarmstrong.com; 24 Jun 2009 20:58:48 +0000
From cyd <at> stupidchicken.com Wed Jun 24 13:58:47 2009
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=0.6 required=4.0 tests=AWL,FOURLA,FVGT_m_MULTI_ODD,
	IMPRONONCABLE_1,IMPRONONCABLE_2,MURPHY_WRONG_WORD2 autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from pantheon-po34.its.yale.edu (pantheon-po34.its.yale.edu [130.132.50.80])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5OKwg7Z014837
	for <3663 <at> emacsbugs.donarmstrong.com>; Wed, 24 Jun 2009 13:58:44 -0700
Received: from furry (dhcp128036014144.central.yale.edu [128.36.14.144])
	(authenticated bits=0)
	by pantheon-po34.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n5OKwbjL025522
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Wed, 24 Jun 2009 16:58:37 -0400
Received: by furry (Postfix, from userid 1000)
	id 0A1BFC09B; Wed, 24 Jun 2009 16:58:37 -0400 (EDT)
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Adrian Robert  <Adrian.B.Robert <at> gmail.com>
Cc: Gilbert Harman <harman <at> princeton.edu>, 3663 <at> debbugs.gnu.org
Subject: Re: Return of Bug 653 in emacs-23.0.95, Mac OS X 10.5.7
Date: Wed, 24 Jun 2009 16:58:37 -0400
Message-ID: <878wjhe4ci.fsf <at> stupidchicken.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed)

Hi Adrian,

Could you check if your recent changes caused this regression?

Thanks.


Gilbert Harman <harman <at> princeton.edu> wrote:

> Same problem on two different iMacs

> Start emacs with no .emacs file.

> Trying to evaluate the following region hangs emacs.
> gdb output follows the expressions whose evaluation appears to have caused
> the problem.  I just tried the same thing again and the problem is
> repeatable.

> This went away for a while but is back for the latest pretest.

>  Gil

> ;;;  Common to all my platforms

> (setq white-background nil)
> (setq mac-allow-anti-aliasing nil)

> ;; colors
> ;;
> (add-to-list 'default-frame-alist '(foreground-color . "lightyellow"))
> (add-to-list 'default-frame-alist '(cursor-color . "Yellow3"))
> (add-to-list 'default-frame-alist
>            '(background-color . "black"))
> (set-face-background 'region "rgb:8/6/5")
> (set-face-foreground 'region "lightyellow")
> (set-face-foreground 'modeline "lightgoldenrod")
> (set-face-background 'modeline "gray21")
> (set-face-foreground 'highlight "lightyellow")
> (set-face-background 'highlight "yellow4")
> (set-face-foreground 'bold "white")
> (set-face-foreground 'italic "tan1")

> > cd emacs-23.0.95/src
> [GH-iMAC:~/emacs-23.0.95/src]
> gilbertharman% > gdb
> DISPLAY = /tmp/launch-s7HmhN/:0
> TERM = xterm-color
> Breakpoint 1 at 0x4730634
> Breakpoint 2 at 0xae89f: file sysdep.c, line 1142.
> (gdb) run
> Starting program:
> /Users/gilbertharman/emacs-23.0.95/nextstep/Emacs.app/Contents/MacOS/Emacs

> Reading symbols for shared libraries
> +++++++++..................................................................
> done
> Breakpoint 1 at 0x92948634
> Reading symbols for shared libraries ............ done
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries .. done
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries . done

> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_INVALID_ADDRESS at address: 0xc0000003
> 0x91da3684 in objc_msgSend ()
> (gdb) bt
> #0  0x91da3684 in objc_msgSend ()
> #1  0x001767e8 in ns_dumpglyphs_stretch (s=0xbfffe320) at nsterm.m:2972
> #2  0x00177115 in ns_draw_glyph_string (s=0xbfffe320) at nsterm.m:3043
> #3  0x00039bf5 in draw_glyphs (w=0x8bd2f0, x=334, row=0x20a3df0,
> area=TEXT_AREA, start=0, end=39, hl=DRAW_NORMAL_TEXT, overlaps=0) at
> xdisp.c:20546
> #4  0x0003ecbb in x_write_glyphs (start=0x2089c00, len=39) at xdisp.c:21955
> #5  0x00007a51 in update_window_line (w=0x8bd2f0, vpos=10,
> mouse_face_overwritten_p=0xbfffe7bc) at dispnew.c:4454
> #6  0x00008400 in update_window (w=0x8bd2f0, force_p=0) at dispnew.c:4310
> #7  0x00009b53 in update_window_tree (w=0x8bd2f0, force_p=0) at
> dispnew.c:4003
> #8  0x0000adb2 in update_frame (f=0x8bd170, force_p=0, inhibit_hairy_id_p=0)
> at dispnew.c:3930
> #9  0x0003690b in redisplay_internal (preserve_echo_area=<value temporarily
> unavailable, due to optimizations>) at xdisp.c:11876
> #10 0x0009f685 in read_char (commandflag=1, nmaps=2, maps=0xbfffefe0,
> prev_event=25165833, used_mouse_menu=0xbffff0d8, end_time=0x0) at
> keyboard.c:2707
> #11 0x000a2144 in read_key_sequence (keybuf=0xbffff198, bufsize=30,
> prompt=25165833, dont_downcase_last=0, can_return_switch_frame=1,
> fix_current_buffer=1) at keyboard.c:9460
> #12 0x000a466a in command_loop_1 () at keyboard.c:1642
> #13 0x00107d0d in internal_condition_case (bfun=0xa4430 <command_loop_1>,
> handlers=25205425, hfun=0x9a810 <cmd_error>) at eval.c:1512
> #14 0x00094198 in command_loop_2 () at keyboard.c:1359
> #15 0x00107bec in internal_catch (tag=-1073741821, func=0x94150
> <command_loop_2>, arg=25165833) at eval.c:1248
> #16 0x00093eee in command_loop () at keyboard.c:1338
> #17 0x00093fb2 in recursive_edit_1 () at keyboard.c:953
> #18 0x00094131 in Frecursive_edit () at keyboard.c:1015
> #19 0x00092a75 in main (argc=1, argv=0xbffff640) at emacs.c:1852



Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3663; Package emacs. Full text available.

Message received at submit <at> emacsbugs.donarmstrong.com:


Received: (at submit) by emacsbugs.donarmstrong.com; 23 Jun 2009 21:55:53 +0000
From gilbert.harman <at> gmail.com Tue Jun 23 14:55:53 2009
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=1.0 required=4.0 tests=AWL,FOURLA,FVGT_m_MULTI_ODD,
	IMPRONONCABLE_1,IMPRONONCABLE_2,MULTALT,MURPHY_WRONG_WORD2 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 n5NLtkPR029988
	for <submit <at> emacsbugs.donarmstrong.com>; Tue, 23 Jun 2009 14:55:47 -0700
Received: from mail.gnu.org ([199.232.76.166]:50786 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <gilbert.harman <at> gmail.com>)
	id 1MJDxx-00062x-P8
	for emacs-pretest-bug <at> gnu.org; Tue, 23 Jun 2009 17:55:45 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <gilbert.harman <at> gmail.com>)
	id 1MJDxw-0002to-E7
	for emacs-pretest-bug <at> gnu.org; Tue, 23 Jun 2009 17:55:45 -0400
Received: from mail-yx0-f201.google.com ([209.85.210.201]:61008)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <gilbert.harman <at> gmail.com>)
	id 1MJDxw-0002tU-2X
	for emacs-pretest-bug <at> gnu.org; Tue, 23 Jun 2009 17:55:44 -0400
Received: by yxe39 with SMTP id 39so637990yxe.14
        for <emacs-pretest-bug <at> gnu.org>; Tue, 23 Jun 2009 14:55:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:sender:received:date
         :x-google-sender-auth:message-id:subject:from:to:content-type;
        bh=jtDT5fuKKkxHWny7pZaYmOpNwqjwiitLl8cVylOlxXQ=;
        b=gdEo9AN0eP73hSMVAHKUzyK6HfJg1sbaRIRL23ZFsE8u/LqcThcyfizWRRbu4bEzHR
         0PJJocSIeIR3Zd+ExdPctPCUyqUbR2aOnCkQEBmNCgBh1cmZrymrw5gwEaNe1YFhffVw
         UZihWW4mBFpenCVFMFwVrUSJrYfyuNmqAupK0=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:sender:date:x-google-sender-auth:message-id:subject
         :from:to:content-type;
        b=mnfNPTx4Ay+3qNLMSmfwG+G0Qs3NXC6ObOv5fU1693s5eWbGcnD90zzD8Ezk+trEWn
         rIBpJVgPXOw5/ef6IrPhUdcptc0rSyaQdKvt7XL8Rz0ba+yaWsBIiJIdZsE2ExvVXjKl
         BmG+lOjuCXDlRUlxmOmz7RsOT3rWXAa9aqh8s=
MIME-Version: 1.0
Sender: gilbert.harman <at> gmail.com
Received: by 10.100.211.3 with SMTP id j3mr856346ang.19.1245794142608; Tue, 23 
	Jun 2009 14:55:42 -0700 (PDT)
Date: Tue, 23 Jun 2009 17:55:42 -0400
X-Google-Sender-Auth: 34289d5e731b9524
Message-ID: <5f089c510906231455n48353fc5xcd4e81fa666207f9 <at> mail.gmail.com>
Subject: Return of Bug 653 in emacs-23.0.95, Mac OS X 10.5.7
From: Gilbert Harman <harman <at> princeton.edu>
To: emacs-pretest-bug <at> gnu.org
Content-Type: multipart/alternative; boundary=00163662e657555ea4046d0b0d4f
X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized.

--00163662e657555ea4046d0b0d4f
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Same problem on two different iMacs

Start emacs with no .emacs file.

Trying to evaluate the following region hangs emacs.
gdb output follows the expressions whose evaluation appears to have caused
the problem.  I just tried the same thing again and the problem is
repeatable.

This went away for a while but is back for the latest pretest.

 Gil

;;;  Common to all my platforms

(setq white-background nil)
(setq mac-allow-anti-aliasing nil)

;; colors
;;
(add-to-list 'default-frame-alist '(foreground-color . "lightyellow"))
(add-to-list 'default-frame-alist '(cursor-color . "Yellow3"))
(add-to-list 'default-frame-alist
           '(background-color . "black"))
(set-face-background 'region "rgb:8/6/5")
(set-face-foreground 'region "lightyellow")
(set-face-foreground 'modeline "lightgoldenrod")
(set-face-background 'modeline "gray21")
(set-face-foreground 'highlight "lightyellow")
(set-face-background 'highlight "yellow4")
(set-face-foreground 'bold "white")
(set-face-foreground 'italic "tan1")



> cd emacs-23.0.95/src
[GH-iMAC:~/emacs-23.0.95/src]
gilbertharman%                                        > gdb
../nextstep/Emacs.app/Contents/MacOS/Emacs
GNU gdb 6.3.50-20050815 (Apple version gdb-960) (Sun May 18 18:38:33 UTC
2008)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for shared
libraries .......... done

DISPLAY = /tmp/launch-s7HmhN/:0
TERM = xterm-color
Breakpoint 1 at 0x4730634
Breakpoint 2 at 0xae89f: file sysdep.c, line 1142.
(gdb) run
Starting program:
/Users/gilbertharman/emacs-23.0.95/nextstep/Emacs.app/Contents/MacOS/Emacs

Reading symbols for shared libraries
+++++++++..................................................................
done
Breakpoint 1 at 0x92948634
Reading symbols for shared libraries ............ done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xc0000003
0x91da3684 in objc_msgSend ()
(gdb) bt
#0  0x91da3684 in objc_msgSend ()
#1  0x001767e8 in ns_dumpglyphs_stretch (s=0xbfffe320) at nsterm.m:2972
#2  0x00177115 in ns_draw_glyph_string (s=0xbfffe320) at nsterm.m:3043
#3  0x00039bf5 in draw_glyphs (w=0x8bd2f0, x=334, row=0x20a3df0,
area=TEXT_AREA, start=0, end=39, hl=DRAW_NORMAL_TEXT, overlaps=0) at
xdisp.c:20546
#4  0x0003ecbb in x_write_glyphs (start=0x2089c00, len=39) at xdisp.c:21955
#5  0x00007a51 in update_window_line (w=0x8bd2f0, vpos=10,
mouse_face_overwritten_p=0xbfffe7bc) at dispnew.c:4454
#6  0x00008400 in update_window (w=0x8bd2f0, force_p=0) at dispnew.c:4310
#7  0x00009b53 in update_window_tree (w=0x8bd2f0, force_p=0) at
dispnew.c:4003
#8  0x0000adb2 in update_frame (f=0x8bd170, force_p=0, inhibit_hairy_id_p=0)
at dispnew.c:3930
#9  0x0003690b in redisplay_internal (preserve_echo_area=<value temporarily
unavailable, due to optimizations>) at xdisp.c:11876
#10 0x0009f685 in read_char (commandflag=1, nmaps=2, maps=0xbfffefe0,
prev_event=25165833, used_mouse_menu=0xbffff0d8, end_time=0x0) at
keyboard.c:2707
#11 0x000a2144 in read_key_sequence (keybuf=0xbffff198, bufsize=30,
prompt=25165833, dont_downcase_last=0, can_return_switch_frame=1,
fix_current_buffer=1) at keyboard.c:9460
#12 0x000a466a in command_loop_1 () at keyboard.c:1642
#13 0x00107d0d in internal_condition_case (bfun=0xa4430 <command_loop_1>,
handlers=25205425, hfun=0x9a810 <cmd_error>) at eval.c:1512
#14 0x00094198 in command_loop_2 () at keyboard.c:1359
#15 0x00107bec in internal_catch (tag=-1073741821, func=0x94150
<command_loop_2>, arg=25165833) at eval.c:1248
#16 0x00093eee in command_loop () at keyboard.c:1338
#17 0x00093fb2 in recursive_edit_1 () at keyboard.c:953
#18 0x00094131 in Frecursive_edit () at keyboard.c:1015
#19 0x00092a75 in main (argc=1, argv=0xbffff640) at emacs.c:1852

--00163662e657555ea4046d0b0d4f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Same problem on two different iMacs<br><br>Start emacs with no .emacs file.=
<br><br>Trying to evaluate the following region hangs emacs.<br>gdb output =
follows the expressions whose evaluation appears to have
caused the problem.=A0 I just tried the same thing again and the problem
is repeatable.<br>
<br>This went away for a while but is back for the latest pretest.<br><br>=
=A0Gil<br><br>;;;=A0 Common to all my platforms<br><br>(setq white-backgrou=
nd nil)<br>(setq mac-allow-anti-aliasing nil)<br><br>;; colors<br>;; <br>(a=
dd-to-list &#39;default-frame-alist &#39;(foreground-color . &quot;lightyel=
low&quot;))<br>
(add-to-list &#39;default-frame-alist &#39;(cursor-color . &quot;Yellow3&qu=
ot;))<br>(add-to-list &#39;default-frame-alist<br>=A0=A0=A0 =A0=A0=A0=A0=A0=
=A0 &#39;(background-color . &quot;black&quot;))<br>(set-face-background &#=
39;region &quot;rgb:8/6/5&quot;)<br>
(set-face-foreground &#39;region &quot;lightyellow&quot;)<br>(set-face-fore=
ground &#39;modeline &quot;lightgoldenrod&quot;)<br>(set-face-background &#=
39;modeline &quot;gray21&quot;)<br>(set-face-foreground &#39;highlight &quo=
t;lightyellow&quot;)<br>
(set-face-background &#39;highlight &quot;yellow4&quot;)<br>(set-face-foreg=
round &#39;bold &quot;white&quot;)<br>(set-face-foreground &#39;italic &quo=
t;tan1&quot;)<br><br><br><br>&gt; cd emacs-23.0.95/src<br>[GH-iMAC:~/emacs-=
23.0.95/src] gilbertharman%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &gt; =
gdb ../nextstep/Emacs.app/Contents/MacOS/Emacs<br>
GNU gdb 6.3.50-20050815 (Apple version gdb-960) (Sun May 18 18:38:33 UTC 20=
08)<br>Copyright 2004 Free Software Foundation, Inc.<br>GDB is free softwar=
e, covered by the GNU General Public License, and you are<br>welcome to cha=
nge it and/or distribute copies of it under certain conditions.<br>
Type &quot;show copying&quot; to see the conditions.<br>There is absolutely=
 no warranty for GDB.=A0 Type &quot;show warranty&quot; for details.<br>Thi=
s GDB was configured as &quot;i386-apple-darwin&quot;...Reading symbols for=
 shared libraries .......... done<br>
<br>DISPLAY =3D /tmp/launch-s7HmhN/:0<br>TERM =3D xterm-color<br>Breakpoint=
 1 at 0x4730634<br>Breakpoint 2 at 0xae89f: file sysdep.c, line 1142.<br>(g=
db) run<br>Starting program: /Users/gilbertharman/emacs-23.0.95/nextstep/Em=
acs.app/Contents/MacOS/Emacs <br>
<br>Reading symbols for shared libraries +++++++++.........................=
......................................... done<br>Breakpoint 1 at 0x9294863=
4<br>Reading symbols for shared libraries ............ done<br>Reading symb=
ols for shared libraries . done<br>
Reading symbols for shared libraries .. done<br>Reading symbols for shared =
libraries . done<br>Reading symbols for shared libraries . done<br>Reading =
symbols for shared libraries . done<br>Reading symbols for shared libraries=
 . done<br>
<br>Program received signal EXC_BAD_ACCESS, Could not access memory.<br>Rea=
son: KERN_INVALID_ADDRESS at address: 0xc0000003<br>0x91da3684 in objc_msgS=
end ()<br>(gdb) bt<br>#0=A0 0x91da3684 in objc_msgSend ()<br>#1=A0 0x001767=
e8 in ns_dumpglyphs_stretch (s=3D0xbfffe320) at nsterm.m:2972<br>
#2=A0 0x00177115 in ns_draw_glyph_string (s=3D0xbfffe320) at nsterm.m:3043<=
br>#3=A0 0x00039bf5 in draw_glyphs (w=3D0x8bd2f0, x=3D334, row=3D0x20a3df0,=
 area=3DTEXT_AREA, start=3D0, end=3D39, hl=3DDRAW_NORMAL_TEXT, overlaps=3D0=
) at xdisp.c:20546<br>
#4=A0 0x0003ecbb in x_write_glyphs (start=3D0x2089c00, len=3D39) at xdisp.c=
:21955<br>#5=A0 0x00007a51 in update_window_line (w=3D0x8bd2f0, vpos=3D10, =
mouse_face_overwritten_p=3D0xbfffe7bc) at dispnew.c:4454<br>#6=A0 0x0000840=
0 in update_window (w=3D0x8bd2f0, force_p=3D0) at dispnew.c:4310<br>
#7=A0 0x00009b53 in update_window_tree (w=3D0x8bd2f0, force_p=3D0) at dispn=
ew.c:4003<br>#8=A0 0x0000adb2 in update_frame (f=3D0x8bd170, force_p=3D0, i=
nhibit_hairy_id_p=3D0) at dispnew.c:3930<br>#9=A0 0x0003690b in redisplay_i=
nternal (preserve_echo_area=3D&lt;value temporarily unavailable, due to opt=
imizations&gt;) at xdisp.c:11876<br>
#10 0x0009f685 in read_char (commandflag=3D1, nmaps=3D2, maps=3D0xbfffefe0,=
 prev_event=3D25165833, used_mouse_menu=3D0xbffff0d8, end_time=3D0x0) at ke=
yboard.c:2707<br>#11 0x000a2144 in read_key_sequence (keybuf=3D0xbffff198, =
bufsize=3D30, prompt=3D25165833, dont_downcase_last=3D0, can_return_switch_=
frame=3D1, fix_current_buffer=3D1) at keyboard.c:9460<br>
#12 0x000a466a in command_loop_1 () at keyboard.c:1642<br>#13 0x00107d0d in=
 internal_condition_case (bfun=3D0xa4430 &lt;command_loop_1&gt;, handlers=
=3D25205425, hfun=3D0x9a810 &lt;cmd_error&gt;) at eval.c:1512<br>#14 0x0009=
4198 in command_loop_2 () at keyboard.c:1359<br>
#15 0x00107bec in internal_catch (tag=3D-1073741821, func=3D0x94150 &lt;com=
mand_loop_2&gt;, arg=3D25165833) at eval.c:1248<br>#16 0x00093eee in comman=
d_loop () at keyboard.c:1338<br>#17 0x00093fb2 in recursive_edit_1 () at ke=
yboard.c:953<br>
#18 0x00094131 in Frecursive_edit () at keyboard.c:1015<br>#19 0x00092a75 i=
n main (argc=3D1, argv=3D0xbffff640) at emacs.c:1852<br><br>

--00163662e657555ea4046d0b0d4f--



Acknowledgement sent to Gilbert Harman <harman <at> princeton.edu>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3663; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 20 Sep 2011 19:45:02 UTC

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