unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Elias Mårtenson" <lokedhs@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Crash when loading GIF images
Date: Tue, 31 Dec 2013 17:09:00 +0800	[thread overview]
Message-ID: <CADtN0WKZkzHzsNp9XkTcaDjy0RSPx=xELGL9LCGqPvCbLWcKdw@mail.gmail.com> (raw)
In-Reply-To: <83zjnhz9o8.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 974 bytes --]

On 31 December 2013 16:50, Eli Zaretskii <eliz@gnu.org> 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

[-- Attachment #2: Type: text/html, Size: 1540 bytes --]

  reply	other threads:[~2013-12-31  9:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-31  8:18 Crash when loading GIF images Elias Mårtenson
2013-12-31  8:50 ` Eli Zaretskii
2013-12-31  9:09   ` Elias Mårtenson [this message]
2013-12-31 19:26     ` Glenn Morris
2014-01-01 13:47       ` Elias Mårtenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADtN0WKZkzHzsNp9XkTcaDjy0RSPx=xELGL9LCGqPvCbLWcKdw@mail.gmail.com' \
    --to=lokedhs@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).