From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: Re: Crash when having malformed PBM image on screen and viewing *Messages* buffer (on Windows) Date: Sun, 17 Jun 2007 22:14:54 +0100 Message-ID: <4675A44E.6060801@gnu.org> References: <4672FEEF.4060601@gmx.de> <467300B7.9080501@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182114924 11786 80.91.229.12 (17 Jun 2007 21:15:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Jun 2007 21:15:24 +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 Sun Jun 17 23:15: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 1I025g-0002G6-Cn for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jun 2007 23:15:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I025f-0000Rs-Sk for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jun 2007 17:15:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I025d-0000Rd-K1 for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2007 17:15:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I025b-0000Qp-8h for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2007 17:15:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I025b-0000Qh-2h for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2007 17:15:15 -0400 Original-Received: from outmail1.freedom2surf.net ([194.106.33.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I025a-0004OG-QG for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2007 17:15:14 -0400 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail1.freedom2surf.net (Postfix) with ESMTP id 61F9B554EE; Sun, 17 Jun 2007 22:15:07 +0100 (BST) User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) In-Reply-To: <467300B7.9080501@gmx.de> X-detected-kernel: Linux 2.4-2.6 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:15927 Archived-At: >> (progn >> (put-image '(image :type xpm :data "") 0) >> (pop-to-buffer "*Messages*") >> (goto-char (point-max))) >> >> Now press . >> This crashes X as well. I think the bug is caused by moving point in *Messages* as it reaches messages-buffer-max-lines. The crash is caused by point being greater than point-max. There doesn't seem to be a problem with the handling of malformed PBMs and XBMs, this is just a catalyst to cause error messages to be appended to the *Messages* buffer.