Subject: bug#19971: 25.0.50; Emacs segfaults randomly

From: Eli Zaretskii <[email-masked]>
Date: Thu, 05 Mar 2015 18:39:46 +0200

> From: Jhair Tocancipa Triana <[email-masked]>
> Date: Thu, 05 Mar 2015 11:48:36 +0100
> 
> Emacs still sporadically crashes for me at
> 
> #7  cache_image (f=0x11adca0, img=0xd0ba40) at image.c:1775
> #8  lookup_image (f=f@entry=0x11adca0, spec=spec@entry=63812915)
>     at image.c:1686
> #9  0x00000000005c4950 in Fimage_size (spec=63812915, pixels=0, 
>     frame=<optimized out>) at image.c:864
> #10 0x0000000000559a27 in Ffuncall (nargs=1, args=0xb27050 <Simage_size>)
>     at eval.c:2725
> 
> I tried to set:
> 
> (setq image-cache-eviction-delay nil)
> 
> and my .emacs, however still crashes at the same point after some
> minutes of usage and frequently when trying C-x 5 2.

If you can easily reproduce it, how about posting the recipe to do
that, including any image files needed for that?

> Is there a way to disable the image cache completely?

You don't want to disable it.

In any case, this bug should be debugged and fixed.