From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.bugs Subject: Re: Crash when having malformed PBM image on screen and viewing *Messages* buffer (on Windows) Date: Sat, 16 Jun 2007 02:20:10 +0200 Message-ID: References: <4672FEEF.4060601@gmx.de> <467300B7.9080501@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181953225 12424 80.91.229.12 (16 Jun 2007 00:20:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Jun 2007 00:20:25 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: "Michael Schierl" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 16 02:20:22 2007 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 1HzM1b-0005Dm-0q for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jun 2007 02:20:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzM1a-0007mg-Ch for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2007 20:20:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HzM1Y-0007lA-4X for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2007 20:20:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HzM1T-0007ex-J9 for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2007 20:20:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzM1T-0007er-Ew for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2007 20:20:11 -0400 Original-Received: from wx-out-0506.google.com ([66.249.82.228]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HzM1T-0001VU-6K for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2007 20:20:11 -0400 Original-Received: by wx-out-0506.google.com with SMTP id h26so1157083wxd for ; Fri, 15 Jun 2007 17:20:10 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jjLYd6aVBHAs6P9cM8EZsL02ek3MANOqVQCZ4KwMxcaDF94J6qKr952PRwFrN01qhDa3jKt3FrrBkINnV6BYRL0K7Dr1o+6bgIydG46Y5FOt4iipKSwFL6NY5qdSwZgnbGypQOSHQcfiDOvhecKo1kgbE0iUtxfHOrne97V3IPc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aNnF3Cw1vmuh4HHltAx2xI/1uds0UcSvhFsdKzHu0JEkTEvmOaESTkeHcmkZGMyXxXeI8oYUzp0Qu5iPTvqx+0gpbYgqqFhFL/IWzocbi6X4BFN3sarZsOO0o1gyt9bw8L0CTsPFriTtOeXvVx89aZeGbq5Rpbj15Vqs8RW0d38= Original-Received: by 10.90.98.3 with SMTP id v3mr3198876agb.1181953210195; Fri, 15 Jun 2007 17:20:10 -0700 (PDT) Original-Received: by 10.90.87.8 with HTTP; Fri, 15 Jun 2007 17:20:10 -0700 (PDT) In-Reply-To: <467300B7.9080501@gmx.de> Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:15897 Archived-At: On 6/15/07, Michael Schierl wrote: > Sorry, this should have been xpm (and not xbm and not pbm in the > subject). And also in the bug report below it should be :type xpm, > although it crashes with :type pbm as well. It's perfectly reproducible, yes. It is aborting in temp_set_point_both, in the "charpos > BUF_ZV (buffer)" comparison. In test runs, I get charpos == 316, BUF_ZV (buffer) = 293. Time for someone versed in redisplay. #0 0x7c911231 in _end__ () #1 0x01135627 in w32_abort () at w32fns.c:9087 #2 0x01119ed7 in temp_set_point_both (buffer=0x16c1200, charpos=350, bytepos=350) at intervals.c:1954 #3 0x0102a503 in redisplay_window (window=24978436, just_this_one_p=0) at xdisp.c:13523 #4 0x0102c924 in redisplay_window_0 (window=24978436) at xdisp.c:11790 #5 0x0100a0b4 in internal_condition_case_1 ( bfun=0x102c8fa , arg=24978436, handlers=23807125, hfun=0x101f526 ) at eval.c:1529 #6 0x0101f308 in redisplay_windows (window=2089944429) at xdisp.c:11769 #7 0x0101f2c9 in redisplay_windows (window=2089944429) at xdisp.c:11763 #8 0x0102e417 in redisplay_internal (preserve_echo_area=6) at xdisp.c:11329 #9 0x010596b9 in read_char (commandflag=1, nmaps=3, maps=0x82fb40, prev_event=23824385, used_mouse_menu=0x82fb88, end_time=0x0) at keyboard.c:2670 #10 0x0105ae41 in read_key_sequence (keybuf=0x82fcb0, bufsize=30, prompt=23824385, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9218 #11 0x0105c617 in command_loop_1 () at keyboard.c:1618 #12 0x0100a347 in internal_condition_case (bfun=0x105c486 , handlers=23892617, hfun=0x105645e ) at eval.c:1481 #13 0x01050656 in command_loop_2 () at keyboard.c:1329 #14 0x0100a27c in internal_catch (tag=23882753, func=0x1050633 , arg=23824385) at eval.c:1222 #15 0x010504a3 in command_loop () at keyboard.c:1308 #16 0x01050537 in recursive_edit_1 () at keyboard.c:1006 #17 0x0105061c in Frecursive_edit () at keyboard.c:1067 #18 0x01002a2b in main (argc=2, argv=0xf826a8) at emacs.c:1768 #19 0x01001247 in __mingw_CRTStartup () #20 0x01001298 in mainCRTStartup () #21 0x7c816fd7 in _end__ () Juanma