This is the mail archive of the cygwin@cygwin.com 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]

CygWin crashes with different user-id


I am running the current CygWin release (25 March 01) on Windows 2000 
Professional. My goal is to run sshd as a service. This is what I could 
isolate so far.

My first problem is that when I start sshd from the command line in one bash 
shell and then ssh in from a second bash shell on the same machine with

ssh -l sameuser localhost

everything works fine. The sameuser can work with RSA or password 
authentication. But when I ssh in with

ssh -l differentuser localhost

the connection is successfully completed using password authentication, but 
every command then causes a stack trace for STATUS_ACCESS_VIOLATION and a 
corresponding error message to the system event log. Both sameuser and 
differentuser have the required rights as described in the readme file and 
they are both in the Administrators group. I've looked at the output from

sshd -d -d -d

and

ssh -v

but I don't see anything helpful, other than the trace itself.

$ ps
      0 [main] ‡˜a 0 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
Exception: STATUS_ACCESS_VIOLATION at eip=61001B47
eax=00000001 ebx=61762F3D ecx=00000000 edx=61762F45 esi=00000000 
edi=0240FF40
ebp=0240F9FC esp=0240FE98 program=‡˜a
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0240F9FC  61001B47  (00000000, 00000000, 00000000, 00000000)
0240FEC0  61001B47  (000000E4, 00000001, 0240FF10, 6100326E)
0240FF10  61003380  (00000000, 0241DE49, 00000000, 00000000)
0240FF40  61003A3D  (00401638, 0241DE49, 814D05E0, 00000000)
0240FF60  61003A7C  (00000000, 00000000, 814D0770, 00000005)
0240FF90  00402287  (00401638, FFFFFFFF, 80430C77, 00000000)
0240FFC0  0040103D  (0241DE49, 00000020, 7FFDF000, 00000000)
0240FFF0  77E992A6  (00401000, 00000000, 000000C8, 00000100)
End of stack trace

My second problem is when I use invoker to run sshd as a service on Windows 
2000 Professional the service is automatically started as it should be, but 
it shows that it is stopped. I used it per the instructions and everything 
seems fine but the stopped status when I look ath the services.

When I first saw the stopped status, I tried to start it, but got the 
Overlapped I/O error message that I have seen in the mail. How do I install 
the service to avoid this problem? Is FireDaemon a better choice than 
invoker? Are there other freeware tools to consider?

Thanks,


...Karl
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


--
Want to unsubscribe from this list?
Check out: 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]