From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: cygwin+imagemagick+emacsW32 causes Windows Vista to report program crash Date: Sat, 6 Jun 2009 17:21:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: <79ec923a-4f0b-45b0-82dd-3345027a19ec@f19g2000yqo.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1244363361 15318 80.91.229.12 (7 Jun 2009 08:29:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Jun 2009 08:29:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 07 10:29:19 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MDDkk-0006Vg-GP for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Jun 2009 10:29:18 +0200 Original-Received: from localhost ([127.0.0.1]:54748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDDkh-0002RQ-G3 for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Jun 2009 04:29:15 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!f19g2000yqo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 98 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1244334086 25776 127.0.0.1 (7 Jun 2009 00:21:26 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 7 Jun 2009 00:21:26 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f19g2000yqo.googlegroups.com; posting-host=76.102.12.87; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.30 Safari/530.5, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:169766 comp.emacs:98218 X-Mailman-Approved-At: Sun, 07 Jun 2009 04:20:46 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64997 Archived-At: 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 =E2=80=9Cconvert Bazaar_zanjan.jpg Bazaar_zanjan.png=E2=80=9D. Then, Windows pops up dialog about =E2=80=9Cconvert.exe has stopped working= =E2=80=9D 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 =E2=80=9Cidentify=E2=80=9D without ru= nning 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 =E2=80=9Cidentify=E2=80=9D 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 =E2=80=9C"C:\\cygwin\\bin= "=E2=80=9D and w32shell-shell to =E2=80=9Ccygwin=E2=80=9D, then run my command. any suggestions? Thanks. Xah =E2=88=91 http://xahlee.org/ =E2=98=84