From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [spiegel@gnu.org: Re: [Fwd: vc-annotate causes Emacs to die]] Date: Sun, 25 Aug 2002 18:36:34 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200208260036.g7Q0aYe12400@wijiji.santafe.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1030322686 26969 127.0.0.1 (26 Aug 2002 00:44:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 26 Aug 2002 00:44:46 +0000 (UTC) Cc: emacs-devel@gnu.org, spiegel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17j7zp-00070s-00 for ; Mon, 26 Aug 2002 02:44:45 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17j8UP-00033L-00 for ; Mon, 26 Aug 2002 03:16:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17j817-0003TG-00; Sun, 25 Aug 2002 20:46:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17j7sF-0001Yj-00 for emacs-devel@gnu.org; Sun, 25 Aug 2002 20:36:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17j7s8-0001Us-00 for emacs-devel@gnu.org; Sun, 25 Aug 2002 20:36:51 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17j7rw-0001O7-00; Sun, 25 Aug 2002 20:36:37 -0400 Original-Received: from wijiji.santafe.edu (wijiji [192.12.12.5]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g7Q0ax510209; Sun, 25 Aug 2002 18:36:59 -0600 (MDT) Original-Received: (from rms@localhost) by wijiji.santafe.edu (8.11.6+Sun/8.9.3) id g7Q0aYe12400; Sun, 25 Aug 2002 18:36:34 -0600 (MDT) X-Authentication-Warning: wijiji.santafe.edu: rms set sender to rms@wijiji using -f Original-To: gerd@gnu.org Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6889 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6889 Can you help fix this bug in redisplay? ------- Start of forwarded message ------- Subject: Re: [Fwd: vc-annotate causes Emacs to die] From: Andre Spiegel To: Stefan Monnier Cc: rms@gnu.org, bob@rattlesnake.com, billw@wolfram.com In-Reply-To: <200208090636.g796aNY11313@rum.cs.yale.edu> Date: 23 Aug 2002 14:37:02 +0200 X-Spam-Status: No, hits=-3.1 required=5.0 tests=IN_REP_TO,WEIRD_PORT version=2.31 X-Spam-Level: Hi Stefan, since the time when you made vc-annotate use jit-lock, using it causes a segfault for many users. You wrote: > It's unrelated to VC since it's a bug in the C code. This is of course true, but vc-annotate still used to work prior to your modification. I'm not qualified to have a look at the C level problem, and it would take me a lot of time to catch up on this. Can you point me to someone who would be more qualified to do it (I'm including the segfault stack trace below)? If not, I suggest reverting vc-annotate to the way it was before your change, until somebody finds the time to fix the C code. Here's the stack trace (taken from Bob's message): #0 0x080aad1e in x_fill_glyph_string (s=0xbfffe874, face_id=12, start=35, end=80, overlaps_p=0) at xterm.c:1420 #1 0x080ab615 in x_draw_glyphs (w=0x82d53e8, x=305, row=0x84f7b9c, area=TEXT_AREA, start=0, end=80, hl=DRAW_NORMAL_TEXT, overlaps_p=0) at xterm.c:5142 #2 0x080adee6 in x_write_glyphs (start=0x8528a98, len=80) at xterm.c:5339 #3 0x08053c4c in update_text_area (w=0x82d53e8, vpos=3) at dispnew.c:4265 #4 0x08054082 in update_window_line (w=0x82d53e8, vpos=3, mouse_face_overwritten_p=0xbfffec68) at dispnew.c:4489 #5 0x080539eb in update_window (w=0x82d53e8, force_p=0) at dispnew.c:4145 #6 0x0805347b in update_window_tree (w=0x84bb258, force_p=0) at dispnew.c:3879 #7 0x08053466 in update_window_tree (w=0x84c4420, force_p=0) at dispnew.c:3877 #8 0x08053385 in update_frame (f=0x84484b0, force_p=0, inhibit_hairy_id_p=0) at dispnew.c:3816 #9 0x08067224 in redisplay_internal (preserve_echo_area=0) at xdisp.c:8964 #10 0x0806617c in redisplay () at xdisp.c:8374 #11 0x080d6075 in read_char (commandflag=1, nmaps=2, maps=0xbffff424, prev_event=405373956, used_mouse_menu=0xbffff470) at keyboard.c:2323 #12 0x080dccb0 in read_key_sequence (keybuf=0xbffff574, bufsize=30, prompt=405373956, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:8363 #13 0x080d4be8 in command_loop_1 () at keyboard.c:1470 #14 0x08128159 in internal_condition_case (bfun=0x80d48e0 handlers=405470516, hfun=0x80d44f4 ) at eval.c:1349 #15 0x080d47b8 in command_loop_2 () at keyboard.c:1271 #16 0x08127ced in internal_catch (tag=405431844, func=0x80d4794 , arg=405373956) at eval.c:1109 #17 0x080d4763 in command_loop () at keyboard.c:1250 #18 0x080d42b0 in recursive_edit_1 () at keyboard.c:966 #19 0x080d43e0 in Frecursive_edit () at keyboard.c:1022 #20 0x080d32b3 in main (argc=5, argv=0xbffffb34, envp=0xbffffb4c) at emacs.c:1625 ------- End of forwarded message -------