vnc-recorder
vnc-recorder copied to clipboard
Segmentation Fault on Debian 11
$ docker run -it vnc-rec --host 10.2.2.61 INFO[0000] connection established. address="10.2.2.61:5900" panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x5643ae]
goroutine 1 [running]: github.com/amitbet/vnc2video.(*DefaultClientSecurityHandler).Handle(0x6c8670, {0x6c9b18, 0xc000036f00}) /go/pkg/mod/github.com/amitbet/[email protected]/handlers.go:150 +0x28e github.com/amitbet/vnc2video.Connect({0xc000072070?, 0x673fe0?}, {0x6c8670?, 0xc000012010?}, 0xc000034a00) /go/pkg/mod/github.com/amitbet/[email protected]/client.go:38 +0x13b main.recorder(0xc000126000?) /app/main.go:130 +0x875 github.com/urfave/cli/v2.(*App).RunContext(0xc000124000, {0x6c6ab0?, 0xc0000b4000}, {0xc0000a0150, 0x3, 0x3}) /go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:315 +0x9f5 github.com/urfave/cli/v2.(*App).Run(...) /go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:215 main.main() /app/main.go:77 +0x72e