GNU bug report logs - #942
NTEmacs hangs with cygwin\usr\X11R6\bin\libXpm.dll

Previous Next

Packages: emacs, w32;

Reported by: "Joshua S." <viking_r <at> george24.com>

Date: Tue, 9 Sep 2008 10:25:04 UTC

Severity: normal

Tags: notabug, wontfix

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Joshua S." <viking_r <at> george24.com>
To: emacs-pretest-bug <at> gnu.org
Subject: NTEmacs hangs with cygwin\usr\X11R6\bin\libXpm.dll
Date: Tue, 09 Sep 2008 19:19:06 +0900
Xpm enabled NTEmacs hangs if your %PATH% includes cygwin\usr\X11R6\bin.
LoadLibrary("libxpm.dll") never returns in w32_delayed_load() in 
src/image.c.

Since the most cygwin DLLs are not meant to be loaded by non-cygwin apps 
(if you do, they hang),
I suggest we simply remove "libxpm.dll" and "libXpm-nox4.dll" from 
image-library-alist.
(AFAIK Emacs on Cygwin does not use this variable.)

Index: lisp/term/w32-win.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/term/w32-win.el,v
retrieving revision 1.105
diff -u -d -w -r1.105 w32-win.el
--- lisp/term/w32-win.el    11 Aug 2008 01:23:07 -0000    1.105
+++ lisp/term/w32-win.el    9 Sep 2008 10:03:39 -0000
@@ -199,7 +199,7 @@

 ;;; Set default known names for image libraries
 (setq image-library-alist
-      '((xpm "libxpm.dll" "xpm4.dll" "libXpm-nox4.dll")
+      '((xpm "xpm4.dll")
         (png "libpng12d.dll" "libpng12.dll" "libpng.dll"
      ;; these are libpng 1.2.8 from GTK+
      "libpng13d.dll" "libpng13.dll")







This bug report was last modified 13 years and 301 days ago.

Previous Next


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