X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <27982848.post@talk.nabble.com> Date: Sun, 21 Mar 2010 23:45:36 -0700 (PDT) From: Jayavel To: cygwin AT cygwin DOT com Subject: Re: bash exits when test or [ ] is used in Windows Server 2008 In-Reply-To: <20100312125929.GM6505@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <1268395239 DOT 9484 DOT 8 DOT camel AT latitude> <20100312125929 DOT GM6505 AT calimero DOT vinschen DOT de> X-IsSubscribed: yes 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 Dear Corinna, I am using the Cygwin 1.5.19 in Windows XP for a long time without any issue. Rightnow i am porting the build environvent to Windows Server 2003, but i am getting the Cygwin Issue continuously. I have stopped the DEP and Terminal Services in Windows Server 2003 and tried the build which is using the Cygwin, but still getting the same error. Below is the error message: Exception: STATUS_ACCESS_VIOLATION at eip=6101D909 eax=00000001 ebx=616E018C ecx=611100F4 edx=00000000 esi=00000001 edi=0000000F ebp=0023E2D8 esp=0023E2C0 program=c:\cygwin\bin\make.exe, pid 2312, thread main cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023 Stack trace: Frame Function Args 0023E2D8 6101D909 (616E018C, 0000000F, 00000001, 00000001) 0023E318 6109534F (0000000F, 0040985F, 616E388C, 000001B7) 0023E3A8 610882AF (0A044320, 0023E3E0, 00409B71, 61093882) 0023E3C8 00409C7C (0A044320, 00000001, 0023E3E0, 0042458C) 0023E418 00409E91 (0023E48C, 0023E488, 00000000, 610562D5) 0023E4B8 004053F7 (00000000, 0A072540, 000000A9, 0023E570) 0023E5B8 00414F43 (0023E5F0, 00000001, 0A045FE8, 00000002) 0023E628 00414591 (616E388C, 00000001, 00414112, 00000002) 0023E668 00414262 (0A044418, 00000000, 0023EF48, 00000000) 0023F070 00410EEA (00000005, 616E3844, 0A0400A8, 0023F0C8) 0023F0B0 61005ED4 (0023F0C8, 7C82E01E, 0023F0EC, 00000000) 0023FF90 610060EB (00000000, 00000000, 00000000, 00000000) End of stack trace Kindly guide me regarding this issue. Thanks in advance! Thx Jay Corinna Vinschen-2 wrote: > > On Mar 12 13:00, Dick wrote: >> Hello all, >> >> I've just installed cygwin in Windows Server 2008, I've only selected >> rpm-build and libintl-2 as additional packages. During install there are >> no error messages. >> >> Then when I start cygwin my home directory isn't made and no profiles >> are created. And worse, when I try to start: >> >> bash-3.2$ test -e >> >> cygwin quits. >> >> bash-3.2$ [ ] >> >> does the same. >> >> What could be wrong? I've tried reinstalling cygwin a few times. > > Is the 2K8 server running Terminal Services? If so, you could stumble > over a bug in the TS application compatibility layer when running > applications which don't have the TS awareness flag set in their PE/COFF > header. I reported that bug, but the frontlevel support refused to > follow up on this bug. > > What you can do is, switch off DEP for all applications and reboot. Now > you should be able to run all Cygwin applications. Either keep it that > way or run the peflagsall script with the "-t 1" option, reset the DEP > setting and reboot again. > > Occasionally after updating Cygwin you might have to run peflagsall > again. This is supposed to get better over time, the more Cygwin > packages will have the TS-awareness flag from the start, now that gcc-4 > sets the flag automatically. > > > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Project Co-Leader cygwin AT cygwin DOT com > Red Hat > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > > -- View this message in context: http://old.nabble.com/bash-exits-when-test-or-----is-used-in-Windows-Server-2008-tp27876439p27982848.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple