[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19133: closed (Re: bug#19133: 25.0.50; Crash in clear-image-cache)
From: |
Jan D. |
Subject: |
bug#19133: closed (Re: bug#19133: 25.0.50; Crash in clear-image-cache) |
Date: |
Sun, 7 Dec 2014 17:14:33 +0100 |
Hi.
> 7 dec 2014 kl. 15:26 skrev Magnus Henoch <magnus.henoch@gmail.com>:
>
> Found the crucial difference: the crash happens if you create an image
> using data from a string, as opposed to from a file. This little
> function reliably causes Emacs to crash, given any PNG or JPEG file.
> (It cannot determine the type of PBM files, and XPM and SVG files don't
> make Emacs crash.)
>
> (defun my-crash-emacs (image-file)
> (interactive "fImage file: ")
> (insert-image (create-image
> (with-temp-buffer
> (set-buffer-multibyte nil)
> (insert-file-literally image-file)
> (buffer-string))
> nil t))
> (when (yes-or-no-p "Clear image cache? ")
> (clear-image-cache)))
Nice. Fixed in trunk.
Jan D.
- bug#19133: 25.0.50; Crash in clear-image-cache, Jan D., 2014/12/02
- Message not available
- Message not available
- bug#19133: closed (Re: bug#19133: 25.0.50; Crash in clear-image-cache), Magnus Henoch, 2014/12/02
- bug#19133: closed (Re: bug#19133: 25.0.50; Crash in clear-image-cache), Jan D., 2014/12/02
- bug#19133: closed (Re: bug#19133: 25.0.50; Crash in clear-image-cache), Magnus Henoch, 2014/12/07
- bug#19133: closed (Re: bug#19133: 25.0.50; Crash in clear-image-cache),
Jan D. <=
- bug#19133: closed (Re: bug#19133: 25.0.50; Crash in clear-image-cache), Magnus Henoch, 2014/12/07
- bug#19133: closed (Re: bug#19133: 25.0.50; Crash in clear-image-cache), Ted Zlatanov, 2014/12/07
- bug#19133: closed (Re: bug#19133: 25.0.50; Crash in clear-image-cache), Jan D., 2014/12/08
- bug#19133: closed (Re: bug#19133: 25.0.50; Crash in clear-image-cache), Ted Zlatanov, 2014/12/08