You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Dmitri Chebotarov (JIRA)" <ji...@apache.org> on 2012/09/07 21:40:07 UTC
[jira] [Commented] (VCL-616) update_cygwin.cmd fails to generate
keys with current version of Cygwin
[ https://issues.apache.org/jira/browse/VCL-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450912#comment-13450912 ]
Dmitri Chebotarov commented on VCL-616:
---------------------------------------
I've encountered this problem with latest Cygwin 1.7.16-1. To fix the issue it I've modified update_cygwin.cmd script. Diff is below.
This should work with older Cygwin versions, but I haven't tested it.
# diff update_cygwin.cmd update_cygwin.cmd.BKP-2012-09-07
118c118
< C:\Cygwin\bin\bash -c '/bin/ssh-keygen.exe -t rsa1 -f /etc/ssh_host_key -N ""' 2>&1
---
> C:\Cygwin\bin\ssh-keygen.exe -t rsa1 -f /etc/ssh_host_key -N "" 2>&1
124c124
< C:\Cygwin\bin\bash -c '/bin/ssh-keygen.exe -t rsa -f /etc/ssh_host_rsa_key -N ""' 2>&1
---
> C:\Cygwin\bin\ssh-keygen.exe -t rsa -f /etc/ssh_host_rsa_key -N "" 2>&1
130c130
< C:\Cygwin\bin\bash -c '/bin/ssh-keygen.exe -t dsa -f /etc/ssh_host_dsa_key -N ""' 2>&1
---
> C:\Cygwin\bin\ssh-keygen.exe -t dsa -f /etc/ssh_host_dsa_key -N "" 2>&1
> update_cygwin.cmd fails to generate keys with current version of Cygwin
> -----------------------------------------------------------------------
>
> Key: VCL-616
> URL: https://issues.apache.org/jira/browse/VCL-616
> Project: VCL
> Issue Type: Bug
> Affects Versions: 2.3
> Reporter: Andy Kurth
> Assignee: Andy Kurth
> Fix For: 2.3.1
>
>
> The current version of Cygwin has a bug which causes update_cygwin.cmd to fail. When ssh-keygen.exe is run from a normal non-Cygwin command prompt, the following occurs:
> C:\cygwin\home\root\VCL\Scripts>C:\Cygwin\bin\ssh-keygen.exe -t rsa1 -f C:\cygwin\etc\ssh_host_key -N ""
> Generating public/private rsa1 key pair.
> 8 [main] ssh-keygen 224 exception::handle: Exception: STATUS_ACCESS_VIOLATION
> 2114 [main] ssh-keygen 224 open_stackdumpfile: Dumping stack trace to ssh-keygen.exe.stackdump
> 61325 [main] ssh-keygen 224 exception::handle: Exception: STATUS_ACCESS_VIOLATION
> 68272 [main] ssh-keygen 224 exception::handle: Error while dumping state (probably corrupted stack)
> Running rebaseall doesn't help. The command succeeds if run from a Cygwin shell.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira