1.7.7 - OpenSSH Fatal Error 1114
John Fano
john.fano@gmail.com
Wed Dec 1 12:14:00 GMT 2010
Hi Everyone,
I have cygwin 1.7.7 installed on a win2003 r2 file server. I have
tried both versions of openssh and openssl available in the installer,
and the currently installed versions are 5.5p1 and 0.9.8o,
respectively. I am connecting from an ubuntu lucid machine via python
and the paramiko ssh module from the repos. When I ssh in via the
command line, everything works as expected. I can issue all kinds of
commands and they all just work. However, when I issue the same
commands via python, only the first command is successful, and each
subsequent command produces a win32 error message. At first I thought
it was a python/paramiko issue, but when I did some searching on the
returned win32 error, it points to a dll issue. To further rule out
python/paramiko, I have cygwin 1.7.5 running on an XP box and I do not
have the same issue connecting to that box via python. Below is a
sample from python. Basically all I am doing is requesting a
directory listing from /cygdrive/c twice. The first time, you can see
the listing in line #1. In line #2 you can see that there is no
error. Now when I issue that command again, it shows no output in
line #3, and the ssh error in line #4. Each subsequent command will
issue the same ssh error with no output. I googled the win32 error
1114, and that got me this "1114 A dynamic link library (DLL)
initialization routine failed. ERROR_DLL_INIT_FAILED". I have
rebooted the server just to make sure all dlls were loaded fresh.
I have attached the cygcheck output.
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "copyright", "credits" or "license()" for more information.
DreamPie 1.1
>>> import paramiko
>>> ssh = paramiko.SSHClient()
>>> ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
>>> ssh.connect('storage', 22, 'Administrator', 'XXX')
>>> stdin, stdout, stderr = ssh.exec_command('ls /cygdrive/c')
>>> stdout.read()
1: '533686c990bc04236541ef5e\nADFS\nAUTOEXEC.BAT\nCONFIG.SYS\nDocuments
and Settings\nIO.SYS\nMSDOS.SYS\nNTDETECT.COM\nProgram
Files\nRECYCLER\nSAN_Shares.exe\nStorageReports\nSystem Volume
Information\nWINDOWS\nadsm.sys\nboot.ini\ncygwin\nfslrdr\nntldr\npagefile.sys\nreset.txt\nshares.csv\n'
>>> stderr.read()
2: ''
>>> stdin, stdout, stderr = ssh.exec_command('ls /cygdrive/c')
>>> stdout.read()
3: ''
>>> stderr.read()
4: ' 0 [main] sshd 1388 C:\\cygwin\\usr\\sbin\\sshd.exe: ***
fatal error - could not load u, Win32 error 1114\nStack
trace:\r\nFrame Function Args\r\n00229984 6102749B (00229984,
00000000, 00000000, 00000000)\r\n00229C74 6102749B (61177B80,
00008000, 00000000, 61179977)\r\n0022ACA4 61004AFB (61179084,
61161E94, 61161E94, 7C838501)\r\n0022AED4 6100135E (610309EB,
6123F704, 0022AF40, 0022AF08)\r\n0022BBB8 6115764C (00000003,
FFFFFFFF, FFFFFFFF, 61117D12)\r\n0022BBF8 610CB0E3 (00000003,
1044BE18, 0022BCFC, 1045C190)\r\n0022BC18 6102951B (1044BE18,
0022BCFC, 1045C190, 0022BD24)\r\n0022C138 610C01A5 (10454868,
1044BDF8, 00000002, 00000000)\r\n0022C188 00413318 (10454868,
1044BDF8, 10454868, 00428C72)\r\n0022C1B8 004136A4 (10454868,
1044BDF8, 10459920, 1044C104)\r\n0022C278 004139EC (10459930,
10459920, 10459920, 00000001)\r\n0022C2B8 0040AC33 (00000062,
0000000A, 10455170, 0040BC45)\r\n0022C2F8 00439AC6 (00000001,
00000000, 10455170, 0040C83A)\r\n0022C338 0040BDAA (1045C540,
104550E0, 0022C378, 004188A6)\r\n0022C378 0041429E (1045C540,
00000003, 00000000, 0022CC34)\r\n0022CD48 00404163 (00000000,
0022CE64, 0022CD88, 61006CD3)\r\nEnd of stack trace (more stack frames
may be present)\n'
>>>
Thanks!
John :-)
------------------------------
"Any people, nation, or
language that speaks anything
against the God of Shadrach,
Meshach, and Abednego shall be
torn limb from limb, and their
houses laid in ruins, for there
is no other god who is able to
rescue in this way."
- Daniel 3:29
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 20616 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20101201/04aab7d6/attachment.obj>
-------------- next part --------------
--
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
More information about the Cygwin
mailing list