GNU bug report logs - #22916
Displaying some images in Cairo builds hands Emacs

Previous Next

Package: emacs;

Reported by: Lars Ljung <lars <at> matholka.se>

Date: Sat, 5 Mar 2016 11:26:01 UTC

Severity: normal

Found in version 25.0.92

Fixed in version 27.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22916 in the body.
You can then email your comments to 22916 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Sat, 05 Mar 2016 11:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars Ljung <lars <at> matholka.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 05 Mar 2016 11:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars Ljung <lars <at> matholka.se>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.92; eww completely hangs Emacs on "invalid" png image
Date: Sat, 5 Mar 2016 12:25:29 +0100
To reproduce: Use eww and go to e.g. http://ttrss.publicplan.de/

The following message is shown in the mini buffer and Emacs hangs with
100% CPU load:

"error in process filter: This Emacs mishandles this image file type"


In GNU Emacs 25.0.92.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.7,
cairo version 1.14.2)
 of 2016-03-05 built on kvarnholmen
Repository revision: c45a1ca3c4eed56be6ad8086dcc805a86bc5935c
Windowing system distributor 'The X.Org Foundation', version 11.0.11702000
System Description:	Ubuntu 15.10

Configured using:
 'configure --with-cairo --with-xwidgets --with-modules
 --enable-gcc-warnings'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO IMAGEMAGICK SOUND GPM DBUS GCONF
GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES XWIDGETS

Important settings:
  value of $LC_COLLATE: sv_SE.UTF-8
  value of $LC_CTYPE: sv_SE.UTF-8
  value of $LC_MESSAGES: sv_SE.UTF-8
  value of $LANG: sv_SE.UTF-8
  value of $XMODIFIERS:
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec epg epg-config gnus-util mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase
cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
dbusbind inotify dynamic-setting system-font-setting font-render-setting
xwidget-internal cairo move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 87919 4815)
 (symbols 48 19854 0)
 (miscs 40 377 146)
 (strings 32 14907 4778)
 (string-bytes 1 434882)
 (vectors 16 11989)
 (vector-slots 8 428581 5000)
 (floats 8 164 25)
 (intervals 56 204 0)
 (buffers 976 11)
 (heap 1024 23952 2285))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Sat, 05 Mar 2016 13:57:01 GMT) Full text and rfc822 format available.

Message #8 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ljung <lars <at> matholka.se>
To: 22916 <at> debbugs.gnu.org
Subject: 25.0.92; eww completely hangs Emacs on "invalid" png image
Date: Sat, 5 Mar 2016 14:56:43 +0100
I noticed that this error does not occur when compiling with
--without-imagemagick. It seems like Imagemagick can not show the image
in question and that eww does not properly handle this error.


Kind regards,
Lars Ljung




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Sat, 05 Mar 2016 15:24:02 GMT) Full text and rfc822 format available.

Message #11 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Lars Ljung <lars <at> matholka.se>
Cc: 22916 <at> debbugs.gnu.org
Subject: Re: bug#22916: 25.0.92;
 eww completely hangs Emacs on "invalid" png image
Date: Sat, 05 Mar 2016 16:23:19 +0100
Lars Ljung <lars <at> matholka.se> writes:

> I noticed that this error does not occur when compiling with
> --without-imagemagick. It seems like Imagemagick can not show the image
> in question and that eww does not properly handle this error.

I kinda doubt that this is a problem in eww.  The error message in
question is from deep in the Cairo code, so I would assume you'd get the
same message if you downloaded the .png in question and just asked Emacs
to display it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Sat, 05 Mar 2016 15:59:02 GMT) Full text and rfc822 format available.

Message #14 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ljung <lars <at> matholka.se>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 22916 <at> debbugs.gnu.org
Subject: Re: bug#22916: 25.0.92; eww completely hangs Emacs on "invalid" png
 image
Date: Sat, 5 Mar 2016 16:58:37 +0100
Den 2016-03-05 kl. 16:23, skrev Lars Magne Ingebrigtsen:
> I kinda doubt that this is a problem in eww.  The error message in
> question is from deep in the Cairo code, so I would assume you'd get the
> same message if you downloaded the .png in question and just asked Emacs
> to display it.

Well, it might be more than one problem. I do get the same message if I
download the image and open it with C-x C-f. The buffer shows the raw
data instead of the image. But Emacs remains responsive and I can just
kill that buffer.

But eww causes Emacs to enter some infinite loop where C-g does not
work. The CPU load is high and Emacs keeps eating more and more RAM. The
minibuffer is flickering and keeps showing the same message.

Kind regards,
Lars Ljung




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Sat, 05 Mar 2016 16:10:02 GMT) Full text and rfc822 format available.

Message #17 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ljung <lars <at> matholka.se>
Cc: larsi <at> gnus.org, 22916 <at> debbugs.gnu.org
Subject: Re: bug#22916: 25.0.92;
 eww completely hangs Emacs on "invalid" png image
Date: Sat, 05 Mar 2016 18:08:55 +0200
> From: Lars Ljung <lars <at> matholka.se>
> Date: Sat, 5 Mar 2016 16:58:37 +0100
> Cc: 22916 <at> debbugs.gnu.org
> 
> But eww causes Emacs to enter some infinite loop where C-g does not
> work. The CPU load is high and Emacs keeps eating more and more RAM. The
> minibuffer is flickering and keeps showing the same message.

That sounds like a fatal error during redisplay.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Tue, 12 Jul 2016 21:16:01 GMT) Full text and rfc822 format available.

Message #20 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Elric Milon <whirm <at> gmx.com>
To: 22916 <at> debbugs.gnu.org
Subject: Re: bug#22916: 25.0.92;
 eww completely hangs Emacs on "invalid" png image
Date: Tue, 12 Jul 2016 23:15:05 +0200
I'm still getting this issue with with latest master (9c8c3a5478db6ff4b245e9128cbf24bd722ab1d6).

I've ltraced Emacs while failing to open a jpg that is opened correctly
when building with --without-cairo or by using emacs 24.5 linked against
the exact same libcairo.

It's a 257KB bz2 file so I guess it's too big to attach it to this message:

https://file.io/YTvweP

This is what my emacs binary links against:

	linux-vdso.so.1 (0x00007ffde83e2000)
	libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007facb5b63000)
	libjpeg.so.62 => /usr/lib/x86_64-linux-gnu/libjpeg.so.62 (0x00007facb58f8000)
	libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007facb56c4000)
	libgif.so.7 => /usr/lib/x86_64-linux-gnu/libgif.so.7 (0x00007facb54ba000)
	libXpm.so.4 => /usr/lib/x86_64-linux-gnu/libXpm.so.4 (0x00007facb52a8000)
	libgtk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 (0x00007facb49c1000)
	libgdk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 (0x00007facb46e8000)
	libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007facb44db000)
	libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007facb428e000)
	libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007facb4068000)
	libcairo-gobject.so.2 => /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2 (0x00007facb3e5f000)
	libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007facb3b4a000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007facb3928000)
	libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007facb35a0000)
	libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007facb334c000)
	libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007facb303b000)
	libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007facb2e38000)
	libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007facb2c2f000)
	libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007facb2a12000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007facb26cf000)
	libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007facb24cc000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007facb22aa000)
	libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007facb20a0000)
	libXft.so.2 => /usr/lib/x86_64-linux-gnu/libXft.so.2 (0x00007facb1e89000)
	librsvg-2.so.2 => /usr/lib/x86_64-linux-gnu/librsvg-2.so.2 (0x00007facb1c53000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007facb194e000)
	libMagickWand-6.Q16.so.2 => /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.2 (0x00007facb1627000)
	libMagickCore-6.Q16.so.2 => /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2 (0x00007facb116a000)
	libwebkitgtk-3.0.so.0 => /usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so.0 (0x00007facaefe7000)
	libsoup-2.4.so.1 => /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1 (0x00007facaed0b000)
	libjavascriptcoregtk-3.0.so.0 => /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-3.0.so.0 (0x00007facae427000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007facae21f000)
	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007facadfcf000)
	libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007facaddc4000)
	libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007facadbc1000)
	libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007facad9ba000)
	libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007facad5ff000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007facad3d5000)
	libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007facad125000)
	libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007facacee7000)
	libotf.so.0 => /usr/lib/x86_64-linux-gnu/libotf.so.0 (0x00007facaccd1000)
	libm17n-core.so.0 => /usr/lib/x86_64-linux-gnu/libm17n-core.so.0 (0x00007facacaa2000)
	libm17n-flt.so.0 => /usr/lib/x86_64-linux-gnu/libm17n-flt.so.0 (0x00007facac897000)
	libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007facac562000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007facac344000)
	libanl.so.1 => /lib/x86_64-linux-gnu/libanl.so.1 (0x00007facac140000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007facabf25000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007facabd20000)
	libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007facabaf3000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007facab752000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007facab52e000)
	libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007facab31f000)
	libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007facab11a000)
	libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007facaaf0a000)
	libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007facaad07000)
	libatk-bridge-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0 (0x00007facaaad8000)
	libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007facaa897000)
	libwayland-cursor.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007facaa68f000)
	libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007facaa48d000)
	libwayland-client.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007facaa27d000)
	libepoxy.so.0 => /usr/lib/x86_64-linux-gnu/libepoxy.so.0 (0x00007faca9f89000)
	libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007faca9d73000)
	libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007faca9b67000)
	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007faca9955000)
	libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007faca9752000)
	libthai.so.0 => /usr/lib/x86_64-linux-gnu/libthai.so.0 (0x00007faca9548000)
	libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007faca929f000)
	libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007faca909b000)
	libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007faca8e91000)
	libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007faca8c69000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007faca8a52000)
	libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007faca8849000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007faca85d8000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007faca83d3000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007faca81ce000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007faca7fc8000)
	libcroco-0.6.so.3 => /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3 (0x00007faca7d8d000)
	/lib64/ld-linux-x86-64.so.2 (0x000055c548759000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007faca7b76000)
	liblcms2.so.2 => /usr/lib/x86_64-linux-gnu/liblcms2.so.2 (0x00007faca791c000)
	liblqr-1.so.0 => /usr/lib/x86_64-linux-gnu/liblqr-1.so.0 (0x00007faca7704000)
	libfftw3.so.3 => /usr/lib/x86_64-linux-gnu/libfftw3.so.3 (0x00007faca7306000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007faca70f6000)
	libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7 (0x00007faca6eeb000)
	libenchant.so.1 => /usr/lib/x86_64-linux-gnu/libenchant.so.1 (0x00007faca6cdf000)
	libharfbuzz-icu.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz-icu.so.0 (0x00007faca6adc000)
	libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007faca685b000)
	libgstapp-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstapp-1.0.so.0 (0x00007faca664d000)
	libgstaudio-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0 (0x00007faca63f0000)
	libgstfft-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstfft-1.0.so.0 (0x00007faca61e5000)
	libgstpbutils-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0 (0x00007faca5fb0000)
	libgstvideo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0 (0x00007faca5d2b000)
	libgstbase-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0 (0x00007faca5ac6000)
	libgstreamer-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 (0x00007faca579c000)
	libsecret-1.so.0 => /usr/lib/x86_64-linux-gnu/libsecret-1.so.0 (0x00007faca554a000)
	libxslt.so.1 => /usr/lib/x86_64-linux-gnu/libxslt.so.1 (0x00007faca530a000)
	libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007faca5099000)
	libEGL.so.1 => /usr/lib/x86_64-linux-gnu/libEGL.so.1 (0x00007faca4e68000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007faca4b63000)
	libicui18n.so.55 => /usr/lib/x86_64-linux-gnu/libicui18n.so.55 (0x00007faca4701000)
	libicuuc.so.55 => /usr/lib/x86_64-linux-gnu/libicuuc.so.55 (0x00007faca436d000)
	libicudata.so.55 => /usr/lib/x86_64-linux-gnu/libicudata.so.55 (0x00007faca28b5000)
	libwebp.so.5 => /usr/lib/x86_64-linux-gnu/libwebp.so.5 (0x00007faca2656000)
	libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007faca23ed000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007faca206c000)
	libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007faca1e21000)
	libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007faca1b47000)
	libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007faca1917000)
	libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007faca1713000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007faca168a000)
	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007faca1460000)
	libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007faca11fa000)
	libidn.so.11 => /lib/x86_64-linux-gnu/libidn.so.11 (0x00007faca0fc6000)
	libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007faca0db3000)
	libnettle.so.6 => /usr/lib/x86_64-linux-gnu/libnettle.so.6 (0x00007faca0b7b000)
	libhogweed.so.4 => /usr/lib/x86_64-linux-gnu/libhogweed.so.4 (0x00007faca0946000)
	libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007faca06c3000)
	libatspi.so.0 => /usr/lib/x86_64-linux-gnu/libatspi.so.0 (0x00007faca0491000)
	libdatrie.so.1 => /usr/lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007faca0289000)
	libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007faca0062000)
	libgsttag-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgsttag-1.0.so.0 (0x00007fac9fe27000)
	liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007fac9fba6000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007fac9f897000)
	libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007fac9f693000)
	libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007fac9f490000)
	libxcb-randr.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-randr.so.0 (0x00007fac9f282000)
	libxcb-xfixes.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007fac9f079000)
	libxcb-shape.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007fac9ee75000)
	libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007fac9ec6e000)
	libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007fac9ea6a000)
	libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fac9e83c000)
	libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fac9e623000)
	libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007fac9e41d000)
	libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fac9e217000)
	libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fac9e008000)
	libwayland-server.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-server.so.0 (0x00007fac9ddf5000)
	libgbm.so.1 => /usr/lib/x86_64-linux-gnu/libgbm.so.1 (0x00007fac9dbe7000)
	libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007fac9d9da000)
	libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007fac9d7d6000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fac9d5c1000)

And these are the build flags I use:


./configure --prefix $(readlink -fe $PWD/../inst) \
    --enable-link-time-optimization \
    --without-pop \
    --with-x-toolkit=gtk3 \
    --without-xaw3d \
    --without-selinux \
    --with-file-notification=yes \
    --with-modules \
    --with-cairo \
    --without-pop \
    --with-x \
    --with-xwidgets

Let me know if I can provide any other info or run any test.

Cheers!

--
Elric Milon
PGP: 3939C2B494084E2F | https://whirm.eu




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Tue, 12 Jul 2016 21:22:02 GMT) Full text and rfc822 format available.

Message #23 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Elric Milon <whirm <at> gmx.com>
To: 22916 <at> debbugs.gnu.org
Subject: Re: bug#22916: 25.0.92;
 eww completely hangs Emacs on "invalid" png image
Date: Tue, 12 Jul 2016 23:21:02 +0200
Apparently the log link is broken, I've uploaded it here instead:

https://whirm.eu/emacs_bug_22916.txt.bz2


--
Elric Milon
PGP: 3939C2B494084E2F | https://whirm.eu




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Tue, 24 Jan 2017 22:18:02 GMT) Full text and rfc822 format available.

Message #26 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Elric Milon <whirm <at> gmx.com>
Cc: 22916 <at> debbugs.gnu.org
Subject: Re: bug#22916: 25.0.92;
 eww completely hangs Emacs on "invalid" png image
Date: Tue, 24 Jan 2017 23:17:30 +0100
Elric Milon <whirm <at> gmx.com> writes:

> I'm still getting this issue with with latest master (9c8c3a5478db6ff4b245e9128cbf24bd722ab1d6).
>
> I've ltraced Emacs while failing to open a jpg that is opened correctly
> when building with --without-cairo or by using emacs 24.5 linked against
> the exact same libcairo.
>
> It's a 257KB bz2 file so I guess it's too big to attach it to this message:

If I understand you correctly, you're only seeing this bug in Cairo
builds?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 24 Jan 2017 22:26:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Fri, 27 Jan 2017 11:18:02 GMT) Full text and rfc822 format available.

Message #31 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Elric Milon <whirm <at> gmx.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 22916 <at> debbugs.gnu.org
Subject: Re: bug#22916: 25.0.92;
 eww completely hangs Emacs on "invalid" png image
Date: Fri, 27 Jan 2017 12:16:56 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> If I understand you correctly, you're only seeing this bug in Cairo
> builds?

Yes, though a while ago I switched to Debian's packaged Emacs 25. I just
checked and it's linked to libcairo and seems to work just fine. So
maybe the bug got fixed since I reported it or the Debian folks are
adding some patches or build flags that fixes that?

I just tried building current master with:


      ./autogen.sh

      ./configure --prefix $(readlink -fe $PWD/../inst) \
          --enable-link-time-optimization \
          --without-pop \
          --with-x-toolkit=gtk3 \
          --without-xaw3d \
          --without-selinux \
          --with-file-notification=yes \
          --with-modules \
          --with-cairo \
          --without-pop \
          --with-x

      make -j4

But it's unusable for me (The whole Emacs frame blinks on and off with the cursor).

--
Elric Milon
PGP: 3939C2B494084E2F | https://whirm.eu




Changed bug title to 'Displaying some images in Cairo builds hands Emacs' from '25.0.92; eww completely hangs Emacs on "invalid" png image' Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 27 Jan 2017 11:37:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Fri, 27 Jan 2017 13:40:02 GMT) Full text and rfc822 format available.

Message #36 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Elric Milon <whirm <at> gmx.com>
Cc: larsi <at> gnus.org, 22916 <at> debbugs.gnu.org
Subject: Re: bug#22916: 25.0.92;
 eww completely hangs Emacs on "invalid" png image
Date: Fri, 27 Jan 2017 15:39:30 +0200
> From: Elric Milon <whirm <at> gmx.com>
> Date: Fri, 27 Jan 2017 12:16:56 +0100
> Cc: 22916 <at> debbugs.gnu.org
> 
> I just tried building current master with:
> 
> 
>       ./autogen.sh
> 
>       ./configure --prefix $(readlink -fe $PWD/../inst) \
>           --enable-link-time-optimization \
>           --without-pop \
>           --with-x-toolkit=gtk3 \
>           --without-xaw3d \
>           --without-selinux \
>           --with-file-notification=yes \
>           --with-modules \
>           --with-cairo \
>           --without-pop \
>           --with-x
> 
>       make -j4
> 
> But it's unusable for me (The whole Emacs frame blinks on and off with the cursor).

Please try disabling the double-buffering feature, like this:

  M-: (modify-frame-parameters nil '((inhibit-double-buffering . t))) RET

Alternatively, edit src/config.h to delete this line:

  #define HAVE_XDBE 1

and then rebuild Emacs.  Please tell if the problem goes away when you
try that.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Sun, 29 Jan 2017 09:18:02 GMT) Full text and rfc822 format available.

Message #39 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Elric Milon <whirm <at> gmx.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: larsi <at> gnus.org, 22916 <at> debbugs.gnu.org
Subject: Re: bug#22916: 25.0.92;
 eww completely hangs Emacs on "invalid" png image
Date: Sun, 29 Jan 2017 10:17:31 +0100

Eli Zaretskii <eliz <at> gnu.org> writes:

>> But it's unusable for me (The whole Emacs frame blinks on and off with the cursor).
>
> Please try disabling the double-buffering feature, like this:
>
>   M-: (modify-frame-parameters nil '((inhibit-double-buffering . t))) RET
>
> Alternatively, edit src/config.h to delete this line:
>
>   #define HAVE_XDBE 1
>
> and then rebuild Emacs.  Please tell if the problem goes away when you
> try that.


I tried the first option and it mostly works except for some garbage
left behind when using helm (see right window on attached screenshot).
If I unmap and remap the Emacs X window by switching to and from a
different virtual desktop, the garbage is gone.

If I open a .jpg with this emacs build I get this message:

     Cannot display image: (This Emacs mishandles this image file type)

And the file opens in Fundamental mode.

This is the output of `ldd bin/emacs`:

	linux-vdso.so.1 (0x00007ffefb096000)
	libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f80ee45a000)
	libjpeg.so.62 => /usr/lib/x86_64-linux-gnu/libjpeg.so.62 (0x00007f80ee1ef000)
	libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f80edfbc000)
	libgif.so.7 => /usr/lib/x86_64-linux-gnu/libgif.so.7 (0x00007f80eddb2000)
	libXpm.so.4 => /usr/lib/x86_64-linux-gnu/libXpm.so.4 (0x00007f80edba0000)
	libgtk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 (0x00007f80ed289000)
	libgdk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 (0x00007f80ecf92000)
	libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f80ecd85000)
	libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f80ecb39000)
	libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007f80ec913000)
	libcairo-gobject.so.2 => /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2 (0x00007f80ec70a000)
	libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f80ec3f4000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007f80ec1d1000)
	libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f80ebe3c000)
	libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f80ebbe9000)
	libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f80eb8d5000)
	libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f80eb6cd000)
	libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f80eb4ae000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f80eb16e000)
	libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f80eaf6c000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f80ead44000)
	libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f80eab3a000)
	libXft.so.2 => /usr/lib/x86_64-linux-gnu/libXft.so.2 (0x00007f80ea924000)
	libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007f80ea615000)
	librsvg-2.so.2 => /usr/lib/x86_64-linux-gnu/librsvg-2.so.2 (0x00007f80ea3df000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f80ea0db000)
	libMagickWand-6.Q16.so.3 => /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.3 (0x00007f80e9db2000)
	libMagickCore-6.Q16.so.3 => /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.3 (0x00007f80e98e6000)
	libacl.so.1 => /lib/x86_64-linux-gnu/libacl.so.1 (0x00007f80e96dd000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f80e94d3000)
	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f80e9284000)
	libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f80e9079000)
	libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f80e8e76000)
	libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f80e8c70000)
	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f80e8a5e000)
	libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f80e86a1000)
	libgpm.so.2 => /usr/lib/x86_64-linux-gnu/libgpm.so.2 (0x00007f80e849b000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f80e8271000)
	libgconf-2.so.4 => /usr/lib/x86_64-linux-gnu/libgconf-2.so.4 (0x00007f80e8040000)
	libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f80e7d91000)
	libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f80e7b53000)
	libotf.so.0 => /usr/lib/x86_64-linux-gnu/libotf.so.0 (0x00007f80e793b000)
	libm17n-core.so.0 => /usr/lib/x86_64-linux-gnu/libm17n-core.so.0 (0x00007f80e770d000)
	libm17n-flt.so.0 => /usr/lib/x86_64-linux-gnu/libm17n-flt.so.0 (0x00007f80e7502000)
	libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f80e7169000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f80e6f4c000)
	libanl.so.1 => /lib/x86_64-linux-gnu/libanl.so.1 (0x00007f80e6d48000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f80e6b2c000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f80e6928000)
	libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f80e66fb000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f80e635d000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f80e6137000)
	libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f80e5f28000)
	libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f80e5d22000)
	libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f80e5b12000)
	libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007f80e590f000)
	libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f80e570c000)
	libatk-bridge-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0 (0x00007f80e54dd000)
	libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f80e529d000)
	libwayland-cursor.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007f80e5093000)
	libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007f80e4e91000)
	libwayland-client.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007f80e4c82000)
	libepoxy.so.0 => /usr/lib/x86_64-linux-gnu/libepoxy.so.0 (0x00007f80e498c000)
	libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f80e4776000)
	libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f80e456b000)
	libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f80e4367000)
	libthai.so.0 => /usr/lib/x86_64-linux-gnu/libthai.so.0 (0x00007f80e415d000)
	libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f80e3eb6000)
	libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f80e3cb2000)
	libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f80e3aa4000)
	libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f80e387a000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f80e3663000)
	libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f80e3415000)
	libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f80e320c000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f80e2f99000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f80e2d94000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f80e2b8e000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f80e2988000)
	/lib64/ld-linux-x86-64.so.2 (0x0000564f98a70000)
	libcroco-0.6.so.3 => /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3 (0x00007f80e274d000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f80e2536000)
	liblcms2.so.2 => /usr/lib/x86_64-linux-gnu/liblcms2.so.2 (0x00007f80e22da000)
	liblqr-1.so.0 => /usr/lib/x86_64-linux-gnu/liblqr-1.so.0 (0x00007f80e20c1000)
	libfftw3.so.3 => /usr/lib/x86_64-linux-gnu/libfftw3.so.3 (0x00007f80e1cc4000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f80e1ab4000)
	libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7 (0x00007f80e18aa000)
	libattr.so.1 => /lib/x86_64-linux-gnu/libattr.so.1 (0x00007f80e16a5000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f80e161b000)
	libicui18n.so.57 => /usr/lib/x86_64-linux-gnu/libicui18n.so.57 (0x00007f80e119f000)
	libicuuc.so.57 => /usr/lib/x86_64-linux-gnu/libicuuc.so.57 (0x00007f80e0df7000)
	libicudata.so.57 => /usr/lib/x86_64-linux-gnu/libicudata.so.57 (0x00007f80df37a000)
	libdbus-glib-1.so.2 => /usr/lib/x86_64-linux-gnu/libdbus-glib-1.so.2 (0x00007f80df153000)
	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f80def29000)
	libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f80decc2000)
	libidn.so.11 => /lib/x86_64-linux-gnu/libidn.so.11 (0x00007f80dea8e000)
	libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f80de87b000)
	libnettle.so.6 => /usr/lib/x86_64-linux-gnu/libnettle.so.6 (0x00007f80de644000)
	libhogweed.so.4 => /usr/lib/x86_64-linux-gnu/libhogweed.so.4 (0x00007f80de40f000)
	libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f80de18c000)
	libatspi.so.0 => /usr/lib/x86_64-linux-gnu/libatspi.so.0 (0x00007f80ddf59000)
	libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f80ddcc4000)
	libdatrie.so.1 => /usr/lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007f80ddabc000)
	libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f80dd876000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f80dd662000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f80dd353000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f80dcfd1000)
	libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f80dcdab000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f80dcb97000)

--
Elric Milon
PGP: 3939C2B494084E2F | https://whirm.eu




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Sun, 29 Jan 2017 15:28:01 GMT) Full text and rfc822 format available.

Message #42 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Elric Milon <whirm <at> gmx.com>
Cc: larsi <at> gnus.org, 22916 <at> debbugs.gnu.org
Subject: Re: bug#22916: 25.0.92;
 eww completely hangs Emacs on "invalid" png image
Date: Sun, 29 Jan 2017 17:27:14 +0200
> From: Elric Milon <whirm <at> gmx.com>
> Cc: larsi <at> gnus.org, 22916 <at> debbugs.gnu.org
> Date: Sun, 29 Jan 2017 10:17:31 +0100
> 
> > Please try disabling the double-buffering feature, like this:
> >
> >   M-: (modify-frame-parameters nil '((inhibit-double-buffering . t))) RET
> >
> > Alternatively, edit src/config.h to delete this line:
> >
> >   #define HAVE_XDBE 1
> >
> > and then rebuild Emacs.  Please tell if the problem goes away when you
> > try that.
> 
> 
> I tried the first option and it mostly works except for some garbage
> left behind when using helm (see right window on attached screenshot).

Did you forget to attach the screenshot?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Mon, 30 Jan 2017 18:36:02 GMT) Full text and rfc822 format available.

Message #45 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Elric Milon <whirm <at> gmx.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: larsi <at> gnus.org, 22916 <at> debbugs.gnu.org
Subject: Re: bug#22916: 25.0.92;
 eww completely hangs Emacs on "invalid" png image
Date: Mon, 30 Jan 2017 19:34:42 +0100
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

> Did you forget to attach the screenshot?
>
> Thanks.

Oops. Yes I did. Find it attached now :)

--
Elric Milon
PGP: 3939C2B494084E2F | https://whirm.eu
[2017-01-29-100844_1920x1080_scrot.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Tue, 11 Dec 2018 02:04:02 GMT) Full text and rfc822 format available.

Message #48 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Elric Milon <whirm <at> gmx.com>, 22916 <at> debbugs.gnu.org
Subject: Re: bug#22916: 25.0.92; eww completely hangs Emacs on "invalid" png
 image
Date: Tue, 11 Dec 2018 04:03:44 +0200
Hi Elric,

On 13.07.2016 0:21, Elric Milon wrote:
> 
> Apparently the log link is broken, I've uploaded it here instead:
> 
> https://whirm.eu/emacs_bug_22916.txt.bz2

This link doesn't work anymore either. And the website doesn't seem to 
open, too.

Could you show a new test case?

Ideally, after building the current emacs-26 branch and trying it with 
the resulting build first.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22916; Package emacs. (Fri, 04 Jan 2019 14:08:02 GMT) Full text and rfc822 format available.

Message #51 received at 22916 <at> debbugs.gnu.org (full text, mbox):

From: Elric Milon <whirm <at> gmx.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 22916 <at> debbugs.gnu.org
Subject: Re: bug#22916: 25.0.92;
 eww completely hangs Emacs on "invalid" png image
Date: Fri, 04 Jan 2019 15:06:46 +0100
It seems to be working now.

I've built the current master branch with:

./configure --prefix $(readlink -fe $PWD/../inst) \
   --enable-link-time-optimization \
   --without-pop \
   --with-x-toolkit=lucid \
   --without-xaw3d \
   --without-selinux \
   --with-file-notification=yes \
   --with-modules \
   --with-x \
   --with-cairo

And I seem to be able to browse the web and open images just fine. 
(I had been disabling the cairo flag as that was triggering the 
bug)

I'd say this bug can be closed.

Thanks!


Dmitry Gutov <dgutov <at> yandex.ru> writes:

> Hi Elric,
>
> On 13.07.2016 0:21, Elric Milon wrote:
>>
>> Apparently the log link is broken, I've uploaded it here 
>> instead:
>>
>> https://whirm.eu/emacs_bug_22916.txt.bz2
>
> This link doesn't work anymore either. And the website doesn't 
> seem to open,
> too.
>
> Could you show a new test case?
>
> Ideally, after building the current emacs-26 branch and trying 
> it with the
> resulting build first.


--
Elric Milon
PGP: 3939C2B494084E2F | https://whirm.eu




Removed tag(s) moreinfo. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 08 Jan 2019 19:43:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 22916 <at> debbugs.gnu.org and Lars Ljung <lars <at> matholka.se> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 08 Jan 2019 19:43:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 06 Feb 2019 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.