all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: cygwin+imagemagick+emacsW32 causes Windows Vista to report program  crash
Date: Sat, 6 Jun 2009 17:21:26 -0700 (PDT)	[thread overview]
Message-ID: <79ec923a-4f0b-45b0-82dd-3345027a19ec@f19g2000yqo.googlegroups.com> (raw)

got a very odd problem that's driving me nuts.

in cygwin prompt, i can call one of imagemagick's command and get
result.

However, while in emacsw32 shell, identical call results Windows Vista
poppig up a window telling me some app crashed.

Anyone got some idea what's wrong?

-----------------------------------
here's more precise detail.

Here's how i call a program in cygwin terminal:

    xah@xah-PC ~/web/dinju/i
    $ convert Bazaar_zanjan.jpg Bazaar_zanjan.png

the above converts a jpg image to png, successfully.

Here's how i call it in emacsW32. In dired, cd to the dir, then Alt+x
shell, then “convert Bazaar_zanjan.jpg Bazaar_zanjan.png”.
Then, Windows pops up dialog about “convert.exe has stopped working”
with the following error:

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	convert.exe
  Application Version:	0.0.0.0
  Application Timestamp:	4807a468
  Fault Module Name:	cygX11-6.dll
  Fault Module Version:	6.0.6001.18000
  Fault Module Timestamp:	4791a783
  Exception Code:	c0000135
  Exception Offset:	0006ecfb
  OS Version:	6.0.6001.2.1.0.768.3
  Locale ID:	1033
  Additional Information 1:	9d13
  Additional Information 2:	1abee00edb3fc1158f9ad6f44f0f6be8
  Additional Information 3:	9d13
  Additional Information 4:	1abee00edb3fc1158f9ad6f44f0f6be8

this popup repeats 6 times.

Same thing happens if you simply call “identify” without running any
arguments, with about the exact same error message. e.g.

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	identify.exe
  Application Version:	0.0.0.0
  Application Timestamp:	4807a46a
  Fault Module Name:	cygX11-6.dll
  Fault Module Version:	6.0.6001.18000
  Fault Module Timestamp:	4791a783
  Exception Code:	c0000135
  Exception Offset:	0006ecfb
  OS Version:	6.0.6001.2.1.0.768.3
  Locale ID:	1033
  Additional Information 1:	9d13
  Additional Information 2:	1abee00edb3fc1158f9ad6f44f0f6be8
  Additional Information 3:	9d13
  Additional Information 4:	1abee00edb3fc1158f9ad6f44f0f6be8

“identify” is another command in imagemagick, it works fine if called
in cygwin terminal. Here's the log:

  xah@xah-PC ~/web/dinju/i
  $ identify Bazaar_zanjan.jpg
  Bazaar_zanjan.jpg JPEG 450x445 450x445+0+0 DirectClass 8-bit
65.793kb

------------

Cygwin has been re-installed many times in the past 2 weeks.  I was
able to run imagemagick commands within emacsW32 before without a
problem. The problem happened with my last reinstall of cygwin.

the odd thing is that it runs fine within cygwin terminal. I thought
maybe i'm missing some component in cygwin, but don't know which X11
related package corresponds to cygX11-6.dll. I thought maybe i had
some bad path setup in emacsW32, but went thru all my emacs init files
couldn't identify it. Same problem happens if i run emacs with -q,
then manually set-variable w32shell-cygwin-bin to “"C:\\cygwin\\bin"”
and w32shell-shell to “cygwin”, then run my command.

any suggestions?

Thanks.

  Xah
∑ http://xahlee.org/

             reply	other threads:[~2009-06-07  0:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-07  0:21 Xah Lee [this message]
2009-06-07  9:13 ` cygwin+imagemagick+emacsW32 causes Windows Vista to report program crash Lennart Borgman
     [not found] ` <mailman.136.1244366033.2239.help-gnu-emacs@gnu.org>
2009-06-07 16:52   ` Xah Lee
2009-06-08 21:40     ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=79ec923a-4f0b-45b0-82dd-3345027a19ec@f19g2000yqo.googlegroups.com \
    --to=xahlee@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.