This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash exits when test or [ ] is used in Windows Server 2008


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]