delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/19/08:50:20

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding:cc; q=dns; s=default; b=
pTI16jiGInY3GP1Fz5HnQI/of5LYY2narNjbFvoWteqhTSWIwpmY2x7XPtxN+NLw
kdlB/5x/dqH7iqiIcSUSl2OEQ02Js7ZDDbvJKCpYgN/QM/DCuSrMi8776Q8BESnU
w7w2ZuD7OpKAuKxmRC7N97EI2hmVpvJaE94kDA9XR7A=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding:cc; s=default; bh=DhJ08n
tL4lYY20ZJ5UjU0ln8QA0=; b=E/cc3WPZOuSMdTMj613ipnJzeD81b9hYZWKq7i
6qMi9QBhA8DH/yYbUjuSi5j52CWRiNkE8Hzx3GqB+RoDLce6kgdTkR84xHNP26h7
RxsbbaqDKKXH4DB2NfR74J4FbAI/yoNIS58xaTBT2NKfYe0gKrCtrThlCavAKsJb
uUgIs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
To: cygwin AT cygwin DOT com
From: Thorsten Glaser <t DOT glaser AT tarent DOT de>
Subject: cygwin sshd dumping stack trace when not allocating pseudo-tty
Date: Mon, 19 Aug 2013 13:58:21 +0200
Lines: 85
Message-ID: <alpine.DEB.2.10.1308191353590.23189@tglase.lan.tarent.de>
Mime-Version: 1.0
Cc: Sebastian Gerhards <s DOT gerhards AT tarent DOT de>
User-Agent: Alpine 2.10 (DEB 1266 2009-07-14)
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id r7JCoICQ013055

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 AT tglase:~ $ ssh cygbox
Last login: Mon Aug 19 13:50:59 2013 from tglase.lan.tarent.de
tglase AT 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 AT 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 AT 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 AT 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019