Subject: bug#18832: 24.4; emacs crashed by eww on some webpages

From: Dmitry Antipov <[email-masked]>
Date: Tue, 11 Nov 2014 06:15:45 +0300

On 11/11/2014 04:55 AM, Евгений Терешков wrote:

> How can I check wherevers it is problem in my libxml2 build or emacs
> itself?

How do you configure and compile libxml2?  In particular, do you have
--with-debug/--with-mem-debug/--with-run-debug options enabled?

 From your backtrace:

...
#14 0x00000000005c3adf in imagemagick_load_image (f=0x2, img=0x7fff55375e30, contents=0x1d16168 \
     "\211PNG\r\n\032\n", size=1384, filename=0x0) at ../../src/image.c:8206
#15 0x00000000005c77f0 in lookup_image (f=f@entry=0x114e308, spec=spec@entry=29760774) at ../../src/image.c:1694
...

0x114e308 looks like a valid 'struct frame *' pointer, but 0x2 is definitely not.
Usually this means a kind of heap or stack corruption.  It may be useful to compile
Emacs with '-O0 -g3' and run *undumped* (temacs) under valgrind.

Dmitry