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]

cygwin sshd dumping stack trace when not allocating pseudo-tty


Hi everyone,

please keep the both of us in Cc as weâre not subscribed.

We have a problem with a Cygwin SSHD installation: normal
logins work fine and use domain logins:

tglase@tglase:~ $ ssh cygbox
Last login: Mon Aug 19 13:50:59 2013 from tglase.lan.tarent.de
tglase@cygbox:~$ fgrep tglase /etc/passwd
tglase:unused:15678:10513:Thorsten Glaser,U-TARENT\tglase,S-1-5-21-2586067822-3295221226-1743819825-5678://dc/tglase:/bin/bash
tglase@cygbox:~$ Abgemeldet
Connection to cygbox closed.

(Ignore the shell for now. Itâs not a system I generally use or
maintain, which is why thereâs not mksh yet â my account there
is for trying to fix this bug.)

Connections that do not use a pseudo-tty do not work:

tglase@tglase:~ $ ssh cygbox ls
      0 [main] sshd 2476 C:\cygwin\usr\sbin\sshd.exe: *** fatal error - unable to load C:\WINDOWS\system32\user32.dll, Win32 error 1114
Stack trace:
Frame     Function  Args
00229904  6102796B  (00229904, 00000000, 00000000, 0022998C)
00229BF4  6102796B  (6117EC60, 00008000, 00000000, 61180977)
0022AC24  61004F1B  (61180101, 0022AC50, 00000000, 00477760)
0022AE84  61001756  (6103175B, 61246F8C, 0022AEF0, 0022AEB8)
0022BBB8  6115EAA4  (00000000, FFFFFFFF, FFFFFFFF, 00000002)
0022BBF8  610CE5EF  (00000003, 104596B8, 0022BCFC, 1044E658)
0022BC18  610299A7  (104596B8, 0022BCFC, 1044E658, 0022BD24)
0022C138  610C3545  (104522C8, 10459338, 00000002, 00000000)
0022C188  00413748  (104522C8, 10459338, 104522C8, 0042AF42)
0022C1B8  00413AE4  (104522C8, 10459338, 1044E9A0, 1044EE34)
0022C278  00413E2C  (10459248, 1044E9A0, 1044E9A0, 00000001)
0022C2B8  0040B023  (00000062, 0000000E, 10450AD0, 0040C035)
0022C2F8  0043C276  (00000001, 00000000, 10450AD0, 0040CC2A)
0022C338  0040C19A  (104520F8, 10459630, 0022C378, 00418CE6)
0022C378  004146DE  (104520F8, 00000003, 00000000, 0022CC34)
0022CD48  00403E24  (00000000, 00000000, 0022CD88, 61007038)
End of stack trace (more stack frames may be present)
255|tglase@tglase:~ $ ssh -T cygbox
      0 [main] sshd 2244 C:\cygwin\usr\sbin\sshd.exe: *** fatal error - unable to load C:\WINDOWS\system32\user32.dll, Win32 error 1114
Stack trace:
Frame     Function  Args
00229914  6102796B  (00229914, 00000000, 00000000, 00000040)
00229C04  6102796B  (6117EC60, 00008000, 00000000, 61180977)
0022AC34  61004F1B  (61180101, 0022AC60, 00000000, 7EFDDBF8)
0022AE94  61001756  (6103175B, 61246F8C, 0022AF00, 0022AEC8)
0022BBB8  6115EAA4  (00000000, FFFFFFFF, FFFFFFFF, 00000002)
0022BBF8  610CE5EF  (00000003, 104596B8, 0022BCFC, 1044E658)
0022BC18  610299A7  (104596B8, 0022BCFC, 1044E658, 0022BD24)
0022C138  610C3545  (104522C8, 00000000, 00000002, 00000000)
0022C188  00413748  (104522C8, 00000000, 104522C8, 0042AF42)
0022C1B8  00413AE4  (104522C8, 00000000, 1044E9A0, 1044EE34)
0022C278  00413D23  (10459248, 1044E9A0, 1044E9A0, 00000001)
0022C2B8  0040B023  (00000062, 0000000E, 10450AD0, 0040C035)
0022C2F8  0043C276  (00000001, 00000000, 10450AD0, 0040CC2A)
0022C338  0040C19A  (104520F8, 10459630, 0022C378, 00418CE6)
0022C378  004146DE  (104520F8, 00000003, 00000000, 0022CC34)
0022CD48  00403E24  (00000000, 00000000, 0022CD88, 61007038)
End of stack trace (more stack frames may be present)

Looking through the archives, the only other occurrence of
this problem was someone where they didnât use proper domain
logons, which isnât a problem here obviously.

I also checked for stray copies of cygwin1.dll (especially
older versions) on the system, which is to me a known error
source, but there was only the one in \cygwin\bin\.

If you require additional debugging information, please say so.

Thanks in advance,
//mirabilos
-- 
tarent solutions GmbH
RochusstraÃe 2-4, D-53123 Bonn â http://www.tarent.de/
Tel: +49 228 54881-393 â Fax: +49 228 54881-314
HRB 5168 (AG Bonn) â USt-ID (VAT): DE122264941
GeschÃftsfÃhrer: Boris Esser, Sebastian Mancke


--
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]