Skip to content

0.7.5 crashing on ssh connection #114

Open
@svenstaro

Description

I compiled this from source following official instructions.
Then:

go/bin/upterm host

On a second shell, I run the printed ssh command. Then the upterm host crashes with:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x876252]
goroutine 13 [running]:
golang.org/x/crypto/ssh.(*curve25519sha256).Server(0xc000446580, {0x7f77a1d19008, 0xc0002b6000}, {0xb9d380, 0xc000134570}, 0x80, {0x0, 0x0})
/home/svenstaro/src/upterm/vendor/golang.org/x/crypto/ssh/kex.go:515 +0x272
golang.org/x/crypto/ssh.(*handshakeTransport).server(0xc000216480, {0xba92d8, 0x1042d10}, 0xc0001a2880, 0xc0001e2c60)
/home/svenstaro/src/upterm/vendor/golang.org/x/crypto/ssh/handshake.go:691 +0xe3
golang.org/x/crypto/ssh.(*handshakeTransport).enterKeyExchange(0xc000216480, {0xc000472a80, 0xc0004e2420, 0x0})
/home/svenstaro/src/upterm/vendor/golang.org/x/crypto/ssh/handshake.go:616 +0x3ec
golang.org/x/crypto/ssh.(*handshakeTransport).kexLoop(0xc000216480)
/home/svenstaro/src/upterm/vendor/golang.org/x/crypto/ssh/handshake.go:325 +0xa6
created by golang.org/x/crypto/ssh.newServerTransport
/home/svenstaro/src/upterm/vendor/golang.org/x/crypto/ssh/handshake.go:167 +0x13d

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions