all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* What's your version of Imagemagick? (was M-x eww performance)
@ 2015-10-23 14:56 Kaushal Modi
  2015-10-23 15:27 ` Ken Brown
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Kaushal Modi @ 2015-10-23 14:56 UTC (permalink / raw)
  To: Emacs developers

Hi all,

I started the "M-x eww performance" thread yesterday in emacs-devel to
get pointers on debugging eww freezing emacs for certain websites.

Based on the feedback, I opened this debbugs:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21738

You can review the discussion over there and provide some input if you can help.

Here's the summary:

- Certain web-pages launched in eww froze/crashed my emacs session
(even emacs -Q).
- So it was confirmed that it wasn't my emacs config causing any problem.
- It turned out that building emacs *without* Imagemagick prevented the problem.
- I verified later that opening multiple .png files in emacs using
plain old C-x C-f (no eww here) also recreated that emacs freeze.
- I am using Imagemagick version 6.8.9.1.

So the questions to emacs-devel are:
- Do you build your emacs with Imagemagick?
- Are able to successfully load the full web-page by doing "M-x eww
http://www.braveclojure.com/basic-emacs" in an "emacs -Q" session?

Is the answer to the above 2 questions is yes, what is your Imagemagick version?

It might also be helpful to add the output you get from eval'ling the below:

(message "Built on %s\nConfigure options: %s\nFeatures: %s"
         system-configuration
         system-configuration-options
         system-configuration-features)

Here is what I get:

Built on x86_64-unknown-linux-gnu
Configure options: --prefix=/home/kmodi/usr_local/apps/6/emacs/master
'CPPFLAGS=-fgnu89-inline -I/home/kmodi/usr_local/6/include
-I/usr/include/freetype2 -I/usr/include'
'LDFLAGS=-L/home/kmodi/usr_local/6/lib
-L/home/kmodi/usr_local/6/lib64'
Features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF
GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT
ZLIB TOOLKIT_SCROLL_BARS GTK2 X11


--
Kaushal Modi



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What's your version of Imagemagick? (was M-x eww performance)
  2015-10-23 14:56 What's your version of Imagemagick? (was M-x eww performance) Kaushal Modi
@ 2015-10-23 15:27 ` Ken Brown
  2015-10-23 15:44 ` Stephen Berman
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Ken Brown @ 2015-10-23 15:27 UTC (permalink / raw)
  To: Kaushal Modi, Emacs developers

On 10/23/2015 10:56 AM, Kaushal Modi wrote:
> So the questions to emacs-devel are:
> - Do you build your emacs with Imagemagick?

Yes.

> - Are able to successfully load the full web-page by doing "M-x eww
> http://www.braveclojure.com/basic-emacs" in an "emacs -Q" session?

Yes.

> Is the answer to the above 2 questions is yes, what is your Imagemagick version?

6.9.1.3

> It might also be helpful to add the output you get from eval'ling the below:
>
> (message "Built on %s\nConfigure options: %s\nFeatures: %s"
>           system-configuration
>           system-configuration-options
>           system-configuration-features)

Built on x86_64-unknown-cygwin
Configure options: 'CFLAGS=-g3 -O0'
Features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF 
GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB 
TOOLKIT_SCROLL_BARS GTK3 X11

Ken



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What's your version of Imagemagick? (was M-x eww performance)
  2015-10-23 14:56 What's your version of Imagemagick? (was M-x eww performance) Kaushal Modi
  2015-10-23 15:27 ` Ken Brown
@ 2015-10-23 15:44 ` Stephen Berman
  2015-10-23 16:24 ` Tassilo Horn
  2015-10-24 17:56 ` Nix
  3 siblings, 0 replies; 6+ messages in thread
From: Stephen Berman @ 2015-10-23 15:44 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: Emacs developers

On Fri, 23 Oct 2015 10:56:37 -0400 Kaushal Modi <kaushal.modi@gmail.com> wrote:

> So the questions to emacs-devel are:
> - Do you build your emacs with Imagemagick?

Yes

> - Are able to successfully load the full web-page by doing "M-x eww
> http://www.braveclojure.com/basic-emacs" in an "emacs -Q" session?

Yes

> Is the answer to the above 2 questions is yes, what is your Imagemagick version?

Name        : ImageMagick
Version     : 6.8.9.8
Release     : 12.1

> It might also be helpful to add the output you get from eval'ling the below:
>
> (message "Built on %s\nConfigure options: %s\nFeatures: %s"
>          system-configuration
>          system-configuration-options
>          system-configuration-features)
>
> Here is what I get:
>
> Built on x86_64-unknown-linux-gnu
> Configure options: --prefix=/home/kmodi/usr_local/apps/6/emacs/master
> 'CPPFLAGS=-fgnu89-inline -I/home/kmodi/usr_local/6/include
> -I/usr/include/freetype2 -I/usr/include'
> 'LDFLAGS=-L/home/kmodi/usr_local/6/lib
> -L/home/kmodi/usr_local/6/lib64'
> Features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF
> GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT
> ZLIB TOOLKIT_SCROLL_BARS GTK2 X11

Built on x86_64-suse-linux-gnu
Configure options: 'CFLAGS=-Og -g3'
Features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF
GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11

Steve Berman



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What's your version of Imagemagick? (was M-x eww performance)
  2015-10-23 14:56 What's your version of Imagemagick? (was M-x eww performance) Kaushal Modi
  2015-10-23 15:27 ` Ken Brown
  2015-10-23 15:44 ` Stephen Berman
@ 2015-10-23 16:24 ` Tassilo Horn
  2015-10-23 19:08   ` Kaushal Modi
  2015-10-24 17:56 ` Nix
  3 siblings, 1 reply; 6+ messages in thread
From: Tassilo Horn @ 2015-10-23 16:24 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: Emacs developers

Kaushal Modi <kaushal.modi@gmail.com> writes:

> So the questions to emacs-devel are:
> - Do you build your emacs with Imagemagick?

Yes.

> - Are able to successfully load the full web-page by doing "M-x eww
> http://www.braveclojure.com/basic-emacs" in an "emacs -Q" session?

Yes, and it actually looks really good.  I haven't tried eww recently so
I'm really impressed.

> Is the answer to the above 2 questions is yes, what is your
> Imagemagick version?

version 6.9.2.4.

> It might also be helpful to add the output you get from eval'ling the below:
>
> (message "Built on %s\nConfigure options: %s\nFeatures: %s"
>          system-configuration
>          system-configuration-options
>          system-configuration-features)

Built on x86_64-unknown-linux-gnu
Configure options: 'CFLAGS=-g -ggdb3 -O0'
Features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Looking at the other two answers you already got and for whom it works,
one difference is that we don't optimize (-O0; or only slightly with
-Og) and build with debugging support.  You could try recompiling your
emacs with similar CFLAGS and see if that has an effect.

HTH,
Tassilo



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What's your version of Imagemagick? (was M-x eww performance)
  2015-10-23 16:24 ` Tassilo Horn
@ 2015-10-23 19:08   ` Kaushal Modi
  0 siblings, 0 replies; 6+ messages in thread
From: Kaushal Modi @ 2015-10-23 19:08 UTC (permalink / raw)
  To: Kaushal Modi, Emacs developers

Thank you everyone for replying.

I upgraded to the latest Imagemagick, v6.9.2-4 and I am still facing
the same issue. I have updated with the latest gdb backtrace at
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21738 .

>> Tassilo
> Looking at the other two answers you already got and for whom it works,
> one difference is that we don't optimize (-O0; or only slightly with
> -Og) and build with debugging support.  You could try recompiling your
> emacs with similar CFLAGS and see if that has an effect.

I have been getting the same freeze on emacs compiled with -ggdb3 -O0
too (see below).

Also everyone is on GTK3 whereas I am on GTK2. I cannot help that as I
am on work computer (RHEL 6.1).

Built on x86_64-unknown-linux-gnu
Configure options:
--prefix=/home/kmodi/usr_local/apps/6/emacs/master_debug
'CPPFLAGS=-fgnu89-inline -I/home/kmodi/usr_local/6/include
-I/usr/include/freetype2 -I/usr/include' 'CFLAGS=-ggdb3 -O0'
'CXXFLAGS=-ggdb3 -O0' 'LDFLAGS=-L/home/kmodi/usr_local/6/lib
-L/home/kmodi/usr_local/6/lib64 -ggdb3'
Features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF
GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT
ZLIB TOOLKIT_SCROLL_BARS GTK2 X11

So the root cause of the problem is probably something else..
something that Imagemagick builds depend upon.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What's your version of Imagemagick? (was M-x eww performance)
  2015-10-23 14:56 What's your version of Imagemagick? (was M-x eww performance) Kaushal Modi
                   ` (2 preceding siblings ...)
  2015-10-23 16:24 ` Tassilo Horn
@ 2015-10-24 17:56 ` Nix
  3 siblings, 0 replies; 6+ messages in thread
From: Nix @ 2015-10-24 17:56 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: Emacs developers

On 23 Oct 2015, Kaushal Modi outgrape:

> - Do you build your emacs with Imagemagick?

Yes, version 6.9.1-7 (revision 19150).

> - Are able to successfully load the full web-page by doing "M-x eww
> http://www.braveclojure.com/basic-emacs" in an "emacs -Q" session?

Yes, nearly instantaneously.

> It might also be helpful to add the output you get from eval'ling the below:

Built on x86_64-unknown-linux-gnu
Configure options: --without-pop --without-kerberos --without-hesiod
--with-x-toolkit=lucid --with-wide-int --with-file-notification=inotify
NO_FAST_MATH=t 'CFLAGS=-Wstrict-overflow=1 -g -gdwarf-4
-feliminate-unused-debug-types -fvar-tracking-assignments
-feliminate-dwarf2-dups -O2 -pipe -D__NO_STRING_INLINES
-D__NO_MATH_INLINES -D_LARGEFILE64_SOURCE'
'CPPFLAGS=-D__NO_STRING_INLINES -D__NO_MATH_INLINES
-D_LARGEFILE64_SOURCE' 'LDFLAGS=-Wl,--enable-new-dtags
-Wl,--hash-style=gnu -Wl,-O1 -Wl,-z,relro -pipe'

Features: XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF
GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS LUCID X11" 

-- 
NULL && (void)



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-10-24 17:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-23 14:56 What's your version of Imagemagick? (was M-x eww performance) Kaushal Modi
2015-10-23 15:27 ` Ken Brown
2015-10-23 15:44 ` Stephen Berman
2015-10-23 16:24 ` Tassilo Horn
2015-10-23 19:08   ` Kaushal Modi
2015-10-24 17:56 ` Nix

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.