[Bug 1213] ssh-keyscan exits in mid-way

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Jan 30 19:17:02 AEDT 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=1213

--- Comment #57 from Daniel Richard G. <skunk at iSKUNK.ORG> ---
Okay, rolling with git master 86936ec2.

Now, ssh-keyscan isn't erroring out; instead, it's... hanging. I'm
seeing this behavior crop up pretty consistently after running for
several minutes. And it's wedged pretty tight, too---nothing happens
even after letting it sit for several minutes more.

Here's the backtrace:

    #0  0x00007ffff6836353 in __select_nocancel () from
/lib64/libc.so.6
    #1  0x00007ffff7f9f4d6 in ssh_packet_read_seqnr
(ssh=0x7ffffb6e9cb0, 
        typep=0x7fffffffde0f "", seqnr_p=0x7fffffffde10) at
../packet.c:1313
    #2  0x00007ffff7fa669b in ssh_dispatch_run (ssh=0x7ffffb6e9cb0,
mode=0, 
        done=0x7ffff8207d78, ctxt=0x7ffffb6e9cb0) at ../dispatch.c:101
    #3  0x00007ffff7f84cef in keygrab_ssh2 (c=0x7ffff8207d60)
        at ../ssh-keyscan.c:293
    #4  0x00007ffff7f860ba in congreet (s=213) at ../ssh-keyscan.c:503
    #5  0x00007ffff7f86155 in conread (s=213) at ../ssh-keyscan.c:518
    #6  0x00007ffff7f865d6 in conloop () at ../ssh-keyscan.c:589
    #7  0x00007ffff7f866f0 in do_host (
        host=0x7fffffffe27c "blarg.internal.example.com,A.B.C.D")
        at ../ssh-keyscan.c:615
    #8  0x00007ffff7f86f65 in main (argc=6, argv=0x7fffffffe778)
        at ../ssh-keyscan.c:781

For what it's worth, as far as the arguments to that select() call are
concerned...

    (gdb) p state->connection_in
    $1 = 213
    (gdb) p timeoutp
    $2 = (struct timeval *) 0x0

(I'll leave the session up in case you'd like me to poke around any
further.)

This is running on an RHEL 6.6 machine, should the network stack be
called into question...

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list