unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1
@ 2015-08-06 23:41 Pablo Mercader Alcántara
  2015-08-07  6:42 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Pablo Mercader Alcántara @ 2015-08-06 23:41 UTC (permalink / raw)
  To: 21203

When I call the "about-emacs" command (either through M-x or the menu)
emacs freezes, it stops accepting commands, it doesn't close and doesn't
redraw the content of its window. The only to stop it is using the "end
task" option in window's task manager.

This problem does not happen if I run emacs on text mode with the "-nw"
option.

This problem doesn't happen on emacs 24.3.1 text or windows mode.

I have the "inhibit-startup-screen" variable set to "t" in my .emacs
file, from previous uses in previous versions, but if I take it out
emacs freezes at start.

In GNU Emacs 24.5.1 (i686-pc-mingw32)
 of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.3.9600
Configured using:
 `configure --prefix=/c/usr --host=i686-pc-mingw32'

Important settings:
  value of $LANG: ESD
  locale-coding-system: cp1252

Major mode: Lisp Interaction

Minor modes in effect:
  yas-global-mode: t
  yas-minor-mode: t
  tooltip-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:
Mark set
Mark activated
Sent string to buffer *SQL: useva2007.SAFPPRO01@EvaluacionDb*
Mark set [2 times]
Region has 19 lines, 239 words, and 2584 characters.
Quit
Mark set [2 times]
Sent string to buffer *SQL: useva2007.SAFPPRO01@EvaluacionDb*
Mark set
Auto-saving...done

Load-path shadows:
c:/Users/pmercader/AppData/Roaming/.emacs.d/elpa/csharp-mode-20150714.138/csharp-mode
hides d:/share/emacs/share/emacs/site-lisp/nxhtml/related/csharp-mode
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/cc-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/cperl-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/csharp-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/css-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/emacs-lisp-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/erlang-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/f90-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/html-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/js-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/latex-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/markdown-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/nxml-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/objc-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/perl-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/python-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/rst-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/ruby-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/scala-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/snippet-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/sql-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/c++-mode/.yas-compiled-snippets
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/snippets/text-mode/.yas-compiled-snippets
d:/share/emacs/share/emacs/site-lisp/yasnippet/extras/imported/html-mode/.yas-setup
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/extras/imported/objc-mode/.yas-setup
d:/share/emacs/share/emacs/site-lisp/yasnippet/extras/imported/html-mode/.yas-setup
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/extras/imported/rails-mode/.yas-setup
d:/share/emacs/share/emacs/site-lisp/yasnippet/extras/imported/html-mode/.yas-setup
hides d:/share/emacs/share/emacs/site-lisp/yasnippet/extras/imported/ruby-mode/.yas-setup
d:/share/emacs/share/emacs/site-lisp/nxhtml/tests/ert hides
d:/share/emacs/share/emacs/24.5/lisp/emacs-lisp/ert

Features:
(vc-git python rect dabbrev sql view imenu flymake omnisharp flycheck
find-func rx pcase subr-x jka-compr sh-script smie executable etags
popup compile dash thingatpt json csharp-mode byte-opt bytecomp
byte-compile cconv cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs web-mode vc-dispatcher vc-svn
nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc
rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns
nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok
misearch multi-isearch dired-aux dired shadow sort gnus-util mail-extr
emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils debug cus-edit
cus-start cus-load wid-edit pp apropos yasnippet advice cl-extra
help-fns derived easy-mmode cl-macs edmacro kmacro help-mode cl gv
cl-loaddefs cl-lib setup-cygwin cygwin-mount ange-ftp comint ansi-color
ring misterioso-theme omnisharp-autoloads info easymenu
flycheck-autoloads auto-complete-autoloads dash-autoloads
pkg-info-autoloads epl-autoloads popup-autoloads package epg-config
windmove ido time-date tooltip electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win
w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer 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 make-network-process
w32notify w32 multi-tty emacs)

Memory information:
((conses 8 514021 72047)
 (symbols 32 35817 0)
 (miscs 32 329 1119)
 (strings 16 73654 11585)
 (string-bytes 1 2390615)
 (vectors 8 35601)
 (vector-slots 4 1451327 57128)
 (floats 8 641 1057)
 (intervals 28 35211 966)
 (buffers 508 37))





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

* bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1
  2015-08-06 23:41 bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1 Pablo Mercader Alcántara
@ 2015-08-07  6:42 ` Eli Zaretskii
  2015-08-07 13:24   ` Pablo Mercader Alcántara
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2015-08-07  6:42 UTC (permalink / raw)
  To: Pablo Mercader Alcántara; +Cc: 21203

> Date: Thu, 6 Aug 2015 19:41:53 -0400
> From: Pablo Mercader Alcántara <programingfrik@gmail.com>
> 
> When I call the "about-emacs" command (either through M-x or the menu)
> emacs freezes, it stops accepting commands, it doesn't close and doesn't
> redraw the content of its window. The only to stop it is using the "end
> task" option in window's task manager.
> 
> This problem does not happen if I run emacs on text mode with the "-nw"
> option.
> 
> This problem doesn't happen on emacs 24.3.1 text or windows mode.
> 
> I have the "inhibit-startup-screen" variable set to "t" in my .emacs
> file, from previous uses in previous versions, but if I take it out
> emacs freezes at start.

I cannot reproduce this with the same Emacs binary and on the same
Windows 8.1.

I suspect some of your image support libraries are buggy or corrupted
or incompatible with this build of Emacs.  The startup screen shows an
image, so if something is wrong with image support, you will see such
a problem.

What image support libraries do you have installed, and where did you
get them?





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

* bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1
  2015-08-07  6:42 ` Eli Zaretskii
@ 2015-08-07 13:24   ` Pablo Mercader Alcántara
  2015-08-07 14:09     ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Pablo Mercader Alcántara @ 2015-08-07 13:24 UTC (permalink / raw)
  To: 21203

>
> What image support libraries do you have installed, and where did you
> get them?

I didn't install any image libraries myself (that I'm aware of) but I
use a lot of FLOSS on this Windows PC so I wouldn't be surprised that
some other program installed some image library.

Some programs that I think that could install image libraries:
 - Gtk # and Monodevelop (xamarin studio)
 - Cygwin with the X server
 - Gimp
 - Inkscape
 - vlc

What image libraries should I look for? I thought that emacs windows
binary came with all it's libraries, I'll browse through the emacs
files, but if the problem is some kind of shared image library
shouldn't emacs 24.3 freeze as well?

Thanks for your help again!





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

* bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1
  2015-08-07 13:24   ` Pablo Mercader Alcántara
@ 2015-08-07 14:09     ` Eli Zaretskii
  2015-08-13 21:06       ` Pablo Mercader Alcántara
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2015-08-07 14:09 UTC (permalink / raw)
  To: Pablo Mercader Alcántara; +Cc: 21203

> Date: Fri, 7 Aug 2015 09:24:19 -0400
> From: Pablo Mercader Alcántara <programingfrik@gmail.com>
> 
> >
> > What image support libraries do you have installed, and where did you
> > get them?
> 
> I didn't install any image libraries myself (that I'm aware of) but I
> use a lot of FLOSS on this Windows PC so I wouldn't be surprised that
> some other program installed some image library.
> 
> Some programs that I think that could install image libraries:
>  - Gtk # and Monodevelop (xamarin studio)
>  - Cygwin with the X server
>  - Gimp
>  - Inkscape
>  - vlc
> 
> What image libraries should I look for?

You can see what the startup screen does in startup.el, by looking at
the function fancy-splash-image-file:

  (defun fancy-splash-image-file ()
    (cond ((stringp fancy-splash-image) fancy-splash-image)
	  ((display-color-p)
	   (cond ((<= (display-planes) 8)
		  (if (image-type-available-p 'xpm)
		      "splash.xpm"
		    "splash.pbm"))
		 ((or (image-type-available-p 'svg)
		      (image-type-available-p 'imagemagick))
		  "splash.svg")
		 ((image-type-available-p 'png)
		  "splash.png")
		 ((image-type-available-p 'xpm)
		  "splash.xpm")
		 (t "splash.pbm")))
	  (t "splash.pbm")))

As you see, it tries the SVG images first, then PNG, then XPM.  So
this is the order you should look at your image libraries.

But first, I suggest to try invoking Emacs like this:

  emacs -q --eval "(setq fancy-splash-image \"splash.xpm\")"

and then try invoking 'about-emacs'.  If Emacs still hangs, my guess
was wrong, and the image libraries are probably not your problem.

> I thought that emacs windows binary came with all it's libraries

No, it comes only with libXpm.  The other image support libraries you
need to install yourself.  See the file README.W32 in the distribution
for the recommended sites from which to download them.

> but if the problem is some kind of shared image library shouldn't
> emacs 24.3 freeze as well?

It could very well be that Emacs 24.3 you installed was built without
support for the library that gives you trouble, in which case Emacs
won't try using it.

You can see which libraries are available by evaluating the
following expressions:

  M-: (image-type-available-p 'svg)
  M-: (image-type-available-p 'png)
  M-: (image-type-available-p 'xpm)

This should yield t if the support was compiled into Emacs _and_ the
corresponding libraries are found, else it will yield nil.





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

* bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1
  2015-08-07 14:09     ` Eli Zaretskii
@ 2015-08-13 21:06       ` Pablo Mercader Alcántara
  2015-08-14  6:48         ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Pablo Mercader Alcántara @ 2015-08-13 21:06 UTC (permalink / raw)
  To: 21203

I had no time previously, so now I'm going to answer:


2015-08-07 10:09 GMT-04:00 Eli Zaretskii <eliz@gnu.org>:
>> Date: Fri, 7 Aug 2015 09:24:19 -0400
>> From: Pablo Mercader Alcántara <programingfrik@gmail.com>
>>
>> >
>> > What image support libraries do you have installed, and where did you
>> > get them?
>>
>> I didn't install any image libraries myself (that I'm aware of) but I
>> use a lot of FLOSS on this Windows PC so I wouldn't be surprised that
>> some other program installed some image library.
>>
>> Some programs that I think that could install image libraries:
>>  - Gtk # and Monodevelop (xamarin studio)
>>  - Cygwin with the X server
>>  - Gimp
>>  - Inkscape
>>  - vlc
>>
>> What image libraries should I look for?
>
> You can see what the startup screen does in startup.el, by looking at
> the function fancy-splash-image-file:
>
>   (defun fancy-splash-image-file ()
>     (cond ((stringp fancy-splash-image) fancy-splash-image)
>           ((display-color-p)
>            (cond ((<= (display-planes) 8)
>                   (if (image-type-available-p 'xpm)
>                       "splash.xpm"
>                     "splash.pbm"))
>                  ((or (image-type-available-p 'svg)
>                       (image-type-available-p 'imagemagick))
>                   "splash.svg")
>                  ((image-type-available-p 'png)
>                   "splash.png")
>                  ((image-type-available-p 'xpm)
>                   "splash.xpm")
>                  (t "splash.pbm")))
>           (t "splash.pbm")))
>
> As you see, it tries the SVG images first, then PNG, then XPM.  So
> this is the order you should look at your image libraries.
>
> But first, I suggest to try invoking Emacs like this:
>
>   emacs -q --eval "(setq fancy-splash-image \"splash.xpm\")"
>
> and then try invoking 'about-emacs'.  If Emacs still hangs, my guess
> was wrong, and the image libraries are probably not your problem.

This works! so the problem is the image library ...

>
>> I thought that emacs windows binary came with all it's libraries
>
> No, it comes only with libXpm.  The other image support libraries you
> need to install yourself.  See the file README.W32 in the distribution
> for the recommended sites from which to download them.
>
>> but if the problem is some kind of shared image library shouldn't
>> emacs 24.3 freeze as well?
>
> It could very well be that Emacs 24.3 you installed was built without
> support for the library that gives you trouble, in which case Emacs
> won't try using it.
>
> You can see which libraries are available by evaluating the
> following expressions:
>
>   M-: (image-type-available-p 'svg)
t
>   M-: (image-type-available-p 'png)
nil
>   M-: (image-type-available-p 'xpm)
t
>
> This should yield t if the support was compiled into Emacs _and_ the
> corresponding libraries are found, else it will yield nil.

I also redownloaded the program to be sure that it wasn't some weird
bad binary or something like that, but the problem still happens.

When I execute "emacs.exe" instead of "runemacs.exe" I get 2 windows,
a windows console window and in the fore ground the emacs for windows
window. When I execute the "about-emacs" in this window the console
shows an error message that says this:

(emacs.exe:7528): Glib-GObject-CRITICAL **: gtype.c:2712: You forgot
to call gtype_init()

(emacs.exe:7528): Glib-CRITICAL **: g_once_init_leave: assertion
`initialization_value != 0' failed

After this everything is the same.

Thanks for your help, I'll keep searching.

Saludos!





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

* bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1
  2015-08-13 21:06       ` Pablo Mercader Alcántara
@ 2015-08-14  6:48         ` Eli Zaretskii
  2015-09-30  7:49           ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2015-08-14  6:48 UTC (permalink / raw)
  To: Pablo Mercader Alcántara; +Cc: 21203

> Date: Thu, 13 Aug 2015 17:06:19 -0400
> From: Pablo Mercader Alcántara <programingfrik@gmail.com>
> 
> >   emacs -q --eval "(setq fancy-splash-image \"splash.xpm\")"
> >
> > and then try invoking 'about-emacs'.  If Emacs still hangs, my guess
> > was wrong, and the image libraries are probably not your problem.
> 
> This works! so the problem is the image library ...

This also means that the XPM library is OK.

> >   M-: (image-type-available-p 'svg)
> t
> >   M-: (image-type-available-p 'png)
> nil

This is very strange, since librsvg, the library needed for SVG
support, comes with PNG support libraries.  Which is just one more
evidence, IMO, that the problems you have are due to librsvg.

So I suggest to find where that librsvg lives, download and install
librsvg from this site:

  http://sourceforge.net/projects/ezwinports/files/librsvg-2.40.1-2-w32-bin.zip/download

and then install that downloaded librsvg in a place that Emacs will
find before the other librsvg you already have.  Some alternatives for
achieving the latter:

  . Put the DLL files from the above zip archive in the same directory
    where you have emacs.exe
  . Rearrange PATH such that the directory where you have the DLLs
    from the above zip archive is found before the other librsvg
  . Uninstall the librsvg you have now

> When I execute "emacs.exe" instead of "runemacs.exe" I get 2 windows,
> a windows console window and in the fore ground the emacs for windows
> window. When I execute the "about-emacs" in this window the console
> shows an error message that says this:
> 
> (emacs.exe:7528): Glib-GObject-CRITICAL **: gtype.c:2712: You forgot
> to call gtype_init()
> 
> (emacs.exe:7528): Glib-CRITICAL **: g_once_init_leave: assertion
> `initialization_value != 0' failed

These come from glib, a library which is required by librsvg.  I think
this is part of your problem: something is wrong with that librsvg, at
least when it is invoked from the native Windows Emacs.  Do you know
where did you get that librsvg?





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

* bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1
  2015-08-14  6:48         ` Eli Zaretskii
@ 2015-09-30  7:49           ` Eli Zaretskii
  2015-10-02 15:14             ` Pablo Mercader Alcántara
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2015-09-30  7:49 UTC (permalink / raw)
  To: programingfrik; +Cc: 21203

Ping!  Any new information on this?  Should the bug be closed?

Thanks.

> Date: Fri, 14 Aug 2015 09:48:33 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 21203@debbugs.gnu.org
> 
> > Date: Thu, 13 Aug 2015 17:06:19 -0400
> > From: Pablo Mercader Alcántara <programingfrik@gmail.com>
> > 
> > >   emacs -q --eval "(setq fancy-splash-image \"splash.xpm\")"
> > >
> > > and then try invoking 'about-emacs'.  If Emacs still hangs, my guess
> > > was wrong, and the image libraries are probably not your problem.
> > 
> > This works! so the problem is the image library ...
> 
> This also means that the XPM library is OK.
> 
> > >   M-: (image-type-available-p 'svg)
> > t
> > >   M-: (image-type-available-p 'png)
> > nil
> 
> This is very strange, since librsvg, the library needed for SVG
> support, comes with PNG support libraries.  Which is just one more
> evidence, IMO, that the problems you have are due to librsvg.
> 
> So I suggest to find where that librsvg lives, download and install
> librsvg from this site:
> 
>   http://sourceforge.net/projects/ezwinports/files/librsvg-2.40.1-2-w32-bin.zip/download
> 
> and then install that downloaded librsvg in a place that Emacs will
> find before the other librsvg you already have.  Some alternatives for
> achieving the latter:
> 
>   . Put the DLL files from the above zip archive in the same directory
>     where you have emacs.exe
>   . Rearrange PATH such that the directory where you have the DLLs
>     from the above zip archive is found before the other librsvg
>   . Uninstall the librsvg you have now
> 
> > When I execute "emacs.exe" instead of "runemacs.exe" I get 2 windows,
> > a windows console window and in the fore ground the emacs for windows
> > window. When I execute the "about-emacs" in this window the console
> > shows an error message that says this:
> > 
> > (emacs.exe:7528): Glib-GObject-CRITICAL **: gtype.c:2712: You forgot
> > to call gtype_init()
> > 
> > (emacs.exe:7528): Glib-CRITICAL **: g_once_init_leave: assertion
> > `initialization_value != 0' failed
> 
> These come from glib, a library which is required by librsvg.  I think
> this is part of your problem: something is wrong with that librsvg, at
> least when it is invoked from the native Windows Emacs.  Do you know
> where did you get that librsvg?
> 
> 
> 
> 





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

* bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1
  2015-09-30  7:49           ` Eli Zaretskii
@ 2015-10-02 15:14             ` Pablo Mercader Alcántara
  2015-11-24 20:42               ` Pablo Mercader Alcántara
  0 siblings, 1 reply; 10+ messages in thread
From: Pablo Mercader Alcántara @ 2015-10-02 15:14 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 21203

Sorry, I don't have new info right now, haven't tried your last
recomendations, but the bug is still there. I'll try to make the
research this weekend.

Please excuse me!

2015-09-30 3:49 GMT-04:00 Eli Zaretskii <eliz@gnu.org>:
> Ping!  Any new information on this?  Should the bug be closed?
>
> Thanks.
>
>> Date: Fri, 14 Aug 2015 09:48:33 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: 21203@debbugs.gnu.org
>>
>> > Date: Thu, 13 Aug 2015 17:06:19 -0400
>> > From: Pablo Mercader Alcántara <programingfrik@gmail.com>
>> >
>> > >   emacs -q --eval "(setq fancy-splash-image \"splash.xpm\")"
>> > >
>> > > and then try invoking 'about-emacs'.  If Emacs still hangs, my guess
>> > > was wrong, and the image libraries are probably not your problem.
>> >
>> > This works! so the problem is the image library ...
>>
>> This also means that the XPM library is OK.
>>
>> > >   M-: (image-type-available-p 'svg)
>> > t
>> > >   M-: (image-type-available-p 'png)
>> > nil
>>
>> This is very strange, since librsvg, the library needed for SVG
>> support, comes with PNG support libraries.  Which is just one more
>> evidence, IMO, that the problems you have are due to librsvg.
>>
>> So I suggest to find where that librsvg lives, download and install
>> librsvg from this site:
>>
>>   http://sourceforge.net/projects/ezwinports/files/librsvg-2.40.1-2-w32-bin.zip/download
>>
>> and then install that downloaded librsvg in a place that Emacs will
>> find before the other librsvg you already have.  Some alternatives for
>> achieving the latter:
>>
>>   . Put the DLL files from the above zip archive in the same directory
>>     where you have emacs.exe
>>   . Rearrange PATH such that the directory where you have the DLLs
>>     from the above zip archive is found before the other librsvg
>>   . Uninstall the librsvg you have now
>>
>> > When I execute "emacs.exe" instead of "runemacs.exe" I get 2 windows,
>> > a windows console window and in the fore ground the emacs for windows
>> > window. When I execute the "about-emacs" in this window the console
>> > shows an error message that says this:
>> >
>> > (emacs.exe:7528): Glib-GObject-CRITICAL **: gtype.c:2712: You forgot
>> > to call gtype_init()
>> >
>> > (emacs.exe:7528): Glib-CRITICAL **: g_once_init_leave: assertion
>> > `initialization_value != 0' failed
>>
>> These come from glib, a library which is required by librsvg.  I think
>> this is part of your problem: something is wrong with that librsvg, at
>> least when it is invoked from the native Windows Emacs.  Do you know
>> where did you get that librsvg?
>>
>>
>>
>>





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

* bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1
  2015-10-02 15:14             ` Pablo Mercader Alcántara
@ 2015-11-24 20:42               ` Pablo Mercader Alcántara
  2015-11-24 20:51                 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Pablo Mercader Alcántara @ 2015-11-24 20:42 UTC (permalink / raw)
  To: 21203

Ok, I'm sorry again for all the time waiting, didn't do the research until now.

It seems that the problem is neither emacs nor my libraries, it seems
that its a problem with my environment variables PATH and Cygwin, and
GTKSharp 2.12. I tried to start emacs in different settings, from
cygwin, from the windows command prompt, with different PATHs values
and I 've got some interesting things to share:

Executing emacs from the windows command prompt directly (has GTKSharp
on the PATH variable):
  - emacs-about doesn't work
  - the version says: GNU Emacs 24.5.1 (i686-pc-mingw32) (had to run
it with -nw to see it)
  - M-: (image-type-available-p 'svg) = t
  - M-: (image-type-available-p 'png) = nil
  - M-: (image-type-available-p 'xpm) = t

From the windows command prompt, using a bat file to set the value of
the variable PATH to the same value it had in the previous experiment:
  - emacs-about works, displays svg image
  - the version says: GNU Emacs 24.5.1 (i686-pc-mingw32)
  - M-: (image-type-available-p 'svg) = t
  - M-: (image-type-available-p 'png) = nil
  - M-: (image-type-available-p 'xpm) = t

From cygwin, using the envoirment as it comes:
  - emacs-about works, displays png image
  - the version says: GNU Emacs 24.5.1 (x86_64-unknown-cygwin)
  - M-: (image-type-available-p 'svg) = nil
  - M-: (image-type-available-p 'png) = t
  - M-: (image-type-available-p 'xpm) = t

By the way, emacs is 32 bits and cygwin is 64 bits, I have cygwin's
emacs installed also, I thing that this could be the problem too. So
the emacs environment its being polluted by cygwin, or somethin like
that

Now I'm pretty sure that this is not an GNU Emacs bug, so I think that
this report can be closed here. And now I know what I can do to avoid
the error. Any way I'll still try to find the real cause for this
problem.

Thanks for your help!


2015-10-02 11:14 GMT-04:00 Pablo Mercader Alcántara <programingfrik@gmail.com>:
> Sorry, I don't have new info right now, haven't tried your last
> recomendations, but the bug is still there. I'll try to make the
> research this weekend.
>
> Please excuse me!
>
> 2015-09-30 3:49 GMT-04:00 Eli Zaretskii <eliz@gnu.org>:
>> Ping!  Any new information on this?  Should the bug be closed?
>>
>> Thanks.
>>
>>> Date: Fri, 14 Aug 2015 09:48:33 +0300
>>> From: Eli Zaretskii <eliz@gnu.org>
>>> Cc: 21203@debbugs.gnu.org
>>>
>>> > Date: Thu, 13 Aug 2015 17:06:19 -0400
>>> > From: Pablo Mercader Alcántara <programingfrik@gmail.com>
>>> >
>>> > >   emacs -q --eval "(setq fancy-splash-image \"splash.xpm\")"
>>> > >
>>> > > and then try invoking 'about-emacs'.  If Emacs still hangs, my guess
>>> > > was wrong, and the image libraries are probably not your problem.
>>> >
>>> > This works! so the problem is the image library ...
>>>
>>> This also means that the XPM library is OK.
>>>
>>> > >   M-: (image-type-available-p 'svg)
>>> > t
>>> > >   M-: (image-type-available-p 'png)
>>> > nil
>>>
>>> This is very strange, since librsvg, the library needed for SVG
>>> support, comes with PNG support libraries.  Which is just one more
>>> evidence, IMO, that the problems you have are due to librsvg.
>>>
>>> So I suggest to find where that librsvg lives, download and install
>>> librsvg from this site:
>>>
>>>   http://sourceforge.net/projects/ezwinports/files/librsvg-2.40.1-2-w32-bin.zip/download
>>>
>>> and then install that downloaded librsvg in a place that Emacs will
>>> find before the other librsvg you already have.  Some alternatives for
>>> achieving the latter:
>>>
>>>   . Put the DLL files from the above zip archive in the same directory
>>>     where you have emacs.exe
>>>   . Rearrange PATH such that the directory where you have the DLLs
>>>     from the above zip archive is found before the other librsvg
>>>   . Uninstall the librsvg you have now
>>>
>>> > When I execute "emacs.exe" instead of "runemacs.exe" I get 2 windows,
>>> > a windows console window and in the fore ground the emacs for windows
>>> > window. When I execute the "about-emacs" in this window the console
>>> > shows an error message that says this:
>>> >
>>> > (emacs.exe:7528): Glib-GObject-CRITICAL **: gtype.c:2712: You forgot
>>> > to call gtype_init()
>>> >
>>> > (emacs.exe:7528): Glib-CRITICAL **: g_once_init_leave: assertion
>>> > `initialization_value != 0' failed
>>>
>>> These come from glib, a library which is required by librsvg.  I think
>>> this is part of your problem: something is wrong with that librsvg, at
>>> least when it is invoked from the native Windows Emacs.  Do you know
>>> where did you get that librsvg?
>>>
>>>
>>>
>>>





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

* bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1
  2015-11-24 20:42               ` Pablo Mercader Alcántara
@ 2015-11-24 20:51                 ` Eli Zaretskii
  0 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2015-11-24 20:51 UTC (permalink / raw)
  To: Pablo Mercader Alcántara; +Cc: 21203-done

> Date: Tue, 24 Nov 2015 16:42:12 -0400
> From: Pablo Mercader Alcántara <programingfrik@gmail.com>
> 
> Executing emacs from the windows command prompt directly (has GTKSharp
> on the PATH variable):
>   - emacs-about doesn't work
>   - the version says: GNU Emacs 24.5.1 (i686-pc-mingw32) (had to run
> it with -nw to see it)
>   - M-: (image-type-available-p 'svg) = t
>   - M-: (image-type-available-p 'png) = nil
>   - M-: (image-type-available-p 'xpm) = t
> 
> >From the windows command prompt, using a bat file to set the value of
> the variable PATH to the same value it had in the previous experiment:
>   - emacs-about works, displays svg image
>   - the version says: GNU Emacs 24.5.1 (i686-pc-mingw32)
>   - M-: (image-type-available-p 'svg) = t
>   - M-: (image-type-available-p 'png) = nil
>   - M-: (image-type-available-p 'xpm) = t
> 
> >From cygwin, using the envoirment as it comes:
>   - emacs-about works, displays png image
>   - the version says: GNU Emacs 24.5.1 (x86_64-unknown-cygwin)
>   - M-: (image-type-available-p 'svg) = nil
>   - M-: (image-type-available-p 'png) = t
>   - M-: (image-type-available-p 'xpm) = t

Find the good DLLs and put them (and all their dependency DLLs) in the
same directory where you keep emacs.exe.  Then you don't need to worry
about PATH, because Windows looks in the directory of the .exe file
first.

> Now I'm pretty sure that this is not an GNU Emacs bug, so I think that
> this report can be closed here.

Closing, thanks.





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

end of thread, other threads:[~2015-11-24 20:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-06 23:41 bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1 Pablo Mercader Alcántara
2015-08-07  6:42 ` Eli Zaretskii
2015-08-07 13:24   ` Pablo Mercader Alcántara
2015-08-07 14:09     ` Eli Zaretskii
2015-08-13 21:06       ` Pablo Mercader Alcántara
2015-08-14  6:48         ` Eli Zaretskii
2015-09-30  7:49           ` Eli Zaretskii
2015-10-02 15:14             ` Pablo Mercader Alcántara
2015-11-24 20:42               ` Pablo Mercader Alcántara
2015-11-24 20:51                 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).