On Sun, Nov 17, 2019 at 07:49:56PM +0100, Adam Sjøgren wrote: > Adam writes: > > >> New patch attached. > > > > After a while with this patch running Gnus, Emacs crashed like this: > > Here is a backtrace running Emacs with gdb (I don't really know how to > use gdb, just "run" and "bt"): Thanks for trying. I’m giving up on freeing the Pictures there, although I strongly suspect it’s adding a memory leak. New patch attached which should resize xpms and xbms. I noticed two problems: 1. sometimes shrinking an image leaves some pixels behind in clear areas. 2. In image mode if I shrink an image enough so that it disappears from view completely I can’t then scale it up with +. I suspect something’s going to zero and subsequent calculations all stay at zero. -- Alan Third