From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: [goeran@uddeborg.se: Crash when loading a particular gif image] Date: Sat, 17 Sep 2005 12:01:21 +0200 Organization: orebokech dot com Message-ID: <87hdckypvy.fsf@pacem.orebokech.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1126952063 772 80.91.229.2 (17 Sep 2005 10:14:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Sep 2005 10:14:23 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 17 12:14:16 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EGZhO-0003w5-Nm for ged-emacs-devel@m.gmane.org; Sat, 17 Sep 2005 12:13:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EGZhO-0008Vx-2m for ged-emacs-devel@m.gmane.org; Sat, 17 Sep 2005 06:13:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EGZZV-0006B1-KC for emacs-devel@gnu.org; Sat, 17 Sep 2005 06:05:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EGZZQ-00069e-NB for emacs-devel@gnu.org; Sat, 17 Sep 2005 06:05:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EGZZO-00067I-21 for emacs-devel@gnu.org; Sat, 17 Sep 2005 06:05:19 -0400 Original-Received: from [82.67.41.165] (helo=yeast.orebokech.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EGZVr-0000VX-Vb; Sat, 17 Sep 2005 06:01:40 -0400 Original-Received: from pacem.orebokech.com (pacem.orebokech.com [192.168.1.3]) by yeast.orebokech.com (Postfix) with ESMTP id 747AC12D01; Sat, 17 Sep 2005 12:01:18 +0200 (CEST) Original-Received: by pacem.orebokech.com (Postfix, from userid 1000) id 94EAE523F6; Sat, 17 Sep 2005 12:01:21 +0200 (CEST) Original-To: rms@gnu.org X-Face: }9mYu,e_@+e!`Z-P5kVXa3\_b:hdJ"B)ww[&=b<2=awG:GOIM (Richard M. Stallman's message of "Wed, 14 Sep 2005 10:07:40 -0400") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:43032 Archived-At: "Richard M. Stallman" writes: > This crashes in the current development Emacs too. > It also makes qiv crash, so I think the gif file is invalid. > But, as he says, an invalid input should not make Emacs crash. Emacs doesn't crash for me using the instructions in the bug report, and qiv doesn't crash either. The gif file is indeed invalid, qiv reports the following when opening the file: | GIF-LIB error: Wrong record type detected. But it manages to display the first of the 6 frames in the image. ImageMagick handles the image just fine and shows all 6 frames. Emacs doesn't display the image (it shows a blank rectangle), but doesn't crash. I think Emacs crashes on your system because your version of libungif is older than mine, the bug has probably been fixed in the library already. My version is libungif version 4.1.3, released in May 2004 (which appears to be the latest version). -- Romain Francoise | I used to think there is no it's a miracle -- http://orebokech.com/ | future left at all.