From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Elias_M=E5rtenson?= Newsgroups: gmane.emacs.devel Subject: Re: Crash when loading GIF images Date: Tue, 31 Dec 2013 17:09:00 +0800 Message-ID: References: <83zjnhz9o8.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3ddd63d090f04eed0e9ac X-Trace: ger.gmane.org 1388480943 19286 80.91.229.3 (31 Dec 2013 09:09:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 31 Dec 2013 09:09:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 31 10:09:10 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VxvJz-0002hh-Og for ged-emacs-devel@m.gmane.org; Tue, 31 Dec 2013 10:09:07 +0100 Original-Received: from localhost ([::1]:32889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxvJz-0001A0-7T for ged-emacs-devel@m.gmane.org; Tue, 31 Dec 2013 04:09:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxvJw-00019v-JU for emacs-devel@gnu.org; Tue, 31 Dec 2013 04:09:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxvJv-0007jP-H9 for emacs-devel@gnu.org; Tue, 31 Dec 2013 04:09:04 -0500 Original-Received: from mail-la0-x22b.google.com ([2a00:1450:4010:c03::22b]:56288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxvJt-0007j4-Nb; Tue, 31 Dec 2013 04:09:01 -0500 Original-Received: by mail-la0-f43.google.com with SMTP id n7so6037915lam.2 for ; Tue, 31 Dec 2013 01:09:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OKZmlsM2eezV+BHFyYXL6tEHZZF1ztScmle38yUcGPs=; b=X6JFbnpREirVvjjdy2QowgXfjG4OCeSi7t8gJ8tMRpzqgbmirdftjClSvE49/TidzX GpPbH4vzaLezBbz57LaBsIXP1hFc6OPpycaI9K0D0/JP0oevTQkMD5EidvLiSCRC+4Ce mmFKOOQm5wBlja3nLYGzT3bwzq3hxVwbKz6bnhO8Yx5SIblDJZ4jc63dBuF99rhj25kS HrvCSrs2YezrZngOk20KUGAXSs5/30aMDxB8C5+wN8rGeE3WyUiZJuJHtsXiBI84b5fw NVJziE1ZvKJ7+05eoFn05okFv9bRHy5ZaIuTa4ZwwieatvXp3N231C2WATe1a0lSP31D vk8w== X-Received: by 10.112.159.132 with SMTP id xc4mr11066658lbb.62.1388480940540; Tue, 31 Dec 2013 01:09:00 -0800 (PST) Original-Received: by 10.112.180.137 with HTTP; Tue, 31 Dec 2013 01:09:00 -0800 (PST) In-Reply-To: <83zjnhz9o8.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:167010 Archived-At: --001a11c3ddd63d090f04eed0e9ac Content-Type: text/plain; charset=ISO-8859-1 On 31 December 2013 16:50, Eli Zaretskii wrote: > > Reproducing the error is very easy for me. All I have to do is to open > any > > GIF file and it immediately crashes. > > > > The version of giflib in my release of Arch Linux is: 5.0.5 > > Are you sure the header files you used for building Emacs against > giflib are consistent with the library? Latest versions of giflib use > different signatures of several functions used by Emacs, creating a > binary incompatibility with previous versions, so if you are using > headers that specify old signatures, you will get crashes. > > FWIW, I'm using giflib 5.0.5 (not on GNU/Linux, though) with Emacs > without any problems. > Yes, you are right of course. Thank you. I'm sorry for wasting your time. I just now (just before I read your reply) discovered that I had an old gif_lib.h lying around in /usr/local/include that configure had picked up instead of the real one in /usr/include. Regards, Elias --001a11c3ddd63d090f04eed0e9ac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On 3= 1 December 2013 16:50, Eli Zaretskii <eliz@gnu.org> wrote:
=A0
> Reproducing the error= is very easy for me. All I have to do is to open any
> GIF file and it immediately crashes.
>
> The version of giflib in my release of Arch Linux is: 5.0.5

Are you sure the header files you used for building Emacs against
giflib are consistent with the library? =A0Latest versions of giflib use different signatures of several functions used by Emacs, creating a
binary incompatibility with previous versions, so if you are using
headers that specify old signatures, you will get crashes.

FWIW, I'm using giflib 5.0.5 (not on GNU/Linux, though) with Emacs
without any problems.

Yes, you are right = of course. Thank you. I'm sorry for wasting your time.

I just now (just befo= re I read your reply) discovered that I had an old gif_lib.h lying around i= n /usr/local/include that configure had picked up instead of the real one i= n /usr/include.

Regards,
Elias
--001a11c3ddd63d090f04eed0e9ac--