From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Piet van Oostrum Newsgroups: gmane.emacs.devel Subject: Re: Redisplay crash Date: 13 Apr 2004 12:00:00 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87eks0654s.fsf@sno.mundell.ukfsn.org> <87n06bp4ng.fsf@sno.mundell.ukfsn.org> <8765cwkejr.fsf@mail.jurta.org> <200404071157.UAA25094@etlken.m17n.org> <200404071312.WAA25268@etlken.m17n.org> <87zn9nqras.fsf@emacswiki.org> <20040408020537.GA22508@fencepost> <200404080234.LAA26966@etlken.m17n.org> <87r7uyfoz9.fsf-monnier+emacs@alfajor.local> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1081869216 26900 80.91.224.253 (13 Apr 2004 15:13:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Apr 2004 15:13:36 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 13 17:13:25 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BDPbJ-0003nN-00 for ; Tue, 13 Apr 2004 17:13:25 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BDPbI-0001jf-00 for ; Tue, 13 Apr 2004 17:13:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BDPYD-0005Ts-Kw for emacs-devel@quimby.gnus.org; Tue, 13 Apr 2004 11:10:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BDPY1-0005Sr-UQ for emacs-devel@gnu.org; Tue, 13 Apr 2004 11:10:01 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BDPXT-0005H6-Ey for emacs-devel@gnu.org; Tue, 13 Apr 2004 11:09:58 -0400 Original-Received: from [213.116.170.121] (helo=ordesa.cs.uu.nl) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BDPRc-00045S-Hb for emacs-devel@gnu.org; Tue, 13 Apr 2004 11:03:24 -0400 Original-Received: from Ordesa.local (localhost [127.0.0.1]) by ordesa.cs.uu.nl (Postfix) with ESMTP id 71A5414397F for ; Tue, 13 Apr 2004 12:00:02 +0200 (CEST) X-Mailer: emacs 21.3.50.1 (via feedmail 8 I) Original-To: emacs-devel@gnu.org In-Reply-To: <200404090157.KAA00631@etlken.m17n.org> Original-Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21571 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21571 >>>>> Kenichi Handa (KH) wrote: KH> Thank you for the info. I found at least one way to crash KH> Emacs constantly. KH> At first, evaluate this in *scratch* buffer. KH> (put-text-property 2 3 'display '(when (clear-face-cache t))) KH> Then, type C-h h C-x C-k (i.e. view HELLO file and kill that KH> buffer). For me, on Mac OS X, the first step alone will already crash emacs. This is the backtrace: Program received signal EXC_BAD_ACCESS, Could not access memory. 0x00021054 in get_next_display_element (it=0xbfffd430) at xdisp.c:4948 4948 it->face_id = FACE_FOR_CHAR (it->f, face, it->c); (gdb) bt #0 0x00021054 in get_next_display_element (it=0xbfffd430) at xdisp.c:4948 #1 0x00021970 in next_element_from_buffer (it=0xbfffd430) at xdisp.c:5436 #2 0x00020cc0 in get_next_display_element (it=0xbfffd430) at xdisp.c:4787 #3 0x00031520 in display_line (it=0xbfffd430) at xdisp.c:14411 #4 0x0002d6c4 in try_window (window=10719952, pos={charpos = 1, bytepos = 1}) at xdisp.c:12140 #5 0x0002c820 in redisplay_window (window=-2110188656, just_this_one_p=0) at xdisp.c:11783 #6 0x00029978 in redisplay_window_0 (window=10719952) at xdisp.c:10538 #7 0x000e0cc0 in internal_condition_case_1 (bfun=0x2993c , arg=-2110188656, handlers=-1604078312, hfun=0x29908 ) at eval.c:1374 #8 0x000298e0 in redisplay_windows (window=0) at xdisp.c:10517 #9 0x000298c0 in redisplay_windows (window=0) at xdisp.c:10511 #10 0x00028f20 in redisplay_internal (preserve_echo_area=10719952) at xdisp.c:10102 #11 0x0007e24c in read_char (commandflag=1, nmaps=3, maps=0xbfffecc0, prev_event=595592192, used_mouse_menu=0xbfffedc4) at keyboard.c:2472 #12 0x0008686c in read_key_sequence (keybuf=0x34b6f4, bufsize=3505968, prompt=-2110188656, dont_downcase_last=-1821406164, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:8770 #13 0x0007c01c in command_loop_1 () at keyboard.c:1476 #14 0x000e0b54 in internal_condition_case (bfun=0x7bb60 , handlers=595637240, hfun=0x7b560 ) at eval.c:1333 #15 0x0007b988 in command_loop_2 () at keyboard.c:1264 #16 0x000e05bc in internal_catch (tag=10719952, func=0x7b948 , arg=595592192) at eval.c:1094 #17 0x0007b8e0 in command_loop () at keyboard.c:1243 #18 0x0007b2fc in recursive_edit_1 () at keyboard.c:959 #19 0x0007b484 in Frecursive_edit () at keyboard.c:1015 #20 0x00079fac in main (argc=3510216, argv=0x3565ac) at emacs.c:1692 (gdb) quit -- Piet van Oostrum URL: http://www.cs.uu.nl/~piet [PGP] Private email: P.van.Oostrum@hccnet.nl