X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 17 Dec 2008 16:07:58 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: [1.7] cannot run native win32 app Message-ID: <20081217210758.GA30565@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <494843D0 DOT 4040606 AT gmail DOT com> <20081217041649 DOT GA24542 AT ednor DOT casa DOT cgf DOT cx> <4948B4F7 DOT 8010006 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4948B4F7.8010006@gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Wed, Dec 17, 2008 at 05:14:47PM +0900, SungHyun Nam wrote: > Christopher Faylor wrote: >>Please, at the very least provide the cygcheck output that we always >>ask for whether this is Cygwin 1.5 or 1.7. For the record, what we "always ask for" is mentioned here: http://cygwin.com/problems.html In particular, we ask for cygcheck information attached to the email. > I include results of 'cygcheck -c', 'cygcheck -s' and strace output > below. > > ~/tmp[11]$ notepad& > [1] 2076 > ~/tmp[12]$ > [1]+ Exit 127 notepad > ~/tmp[12]$ strace -o strace.out bash -c notepad > bash: notepad: command not found > ~/tmp[13]$ which notepad > /cygdrive/c/WINDOWS/system32/notepad > ~/tmp[14]$ strace -o strace.out bash -c > /cygdrive/c/WINDOWS/system32/notepad > > ~/tmp[19]$ cygcheck -c > c-c; cygcheck -s > c-s > cygcheck: WARNING: PATH is not set > > cygcheck: WARNING: PATH is not set > > ~/tmp[20]$ echo $PATH > /opt/bin:/d/user/namsh/bin:/d/user/namsh/bin/t:/d/user/namsh/bin/git:/d/user/namsh/bin/share:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/c/tools/bin:/c/tools/vim/vim:/c/cygwin/bin:/c/cygwin/usr/x11r6/bin:/c/cygwin/opt/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/c/tools/bin:/c/tools/vim/vim:/c/cygwin/bin:/c/cygwin/usr/x11r6/bin:/c/cygwin/opt/bin:/d/user/namsh/bin The fact that you have a bash variable named PATH doesn't mean that you have an environment variable named PATH. It might be useful to see what your full envirnoment looks like at the command prompt by typing "set". Then we'd see everything, including the PATH, or Path, or pAth. But the fact that, from your cygcheck, there don't seem to be any environment variables being imported is rather odd. > --- Process 2228, exception C0150004 at 7C99478E This is suspicious. Anything that I see on the web regarding the above exception points to something odd on the host computer. You might try searching on that string and 0xc0150004 and see if anything that google finds relates to your system. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/