Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic on packet scan #131

Closed
Doooooo0o opened this issue Jul 12, 2016 · 12 comments
Closed

Panic on packet scan #131

Doooooo0o opened this issue Jul 12, 2016 · 12 comments
Labels

Comments

@Doooooo0o
Copy link
Contributor

goroutine 534 [running]:
panic(0xae3440, 0xc8206f89b0)
    /usr/local/go/src/runtime/panic.go:481 +0x3e6
github.com/future-architect/vuls/scan.parallelSSHExec.func1(0xe7c660, 0xc820010c60, 0x7f19c96fb000, 0xc8201054a0)
    /go/src/github.com/future-architect/vuls/scan/sshutil.go:80 +0x37d
created by github.com/future-architect/vuls/scan.parallelSSHExec
    /go/src/github.com/future-architect/vuls/scan/sshutil.go:84 +0x166

I saw this on my latest scan, if it helps

@kotakanbe
Copy link
Member

Thanks for reporting.
please update Vuls, then try again.

@Doooooo0o
Copy link
Contributor Author

on it

@kotakanbe
Copy link
Member

kotakanbe commented Jul 12, 2016

I want to get more information.
Please paste the output of running with --debug option.

@Doooooo0o
Copy link
Contributor Author

it failed without debug, i run it again with debug mode

@Doooooo0o
Copy link
Contributor Author

time="Jul 12 14:57:16" level=debug msg="Command: set -o pipefail; aptitude changelog docker-engine | grep '\\(urgency\\|CVE\\)'" 
time="Jul 12 14:57:16" level=debug msg="SSH executed. cmd: set -o pipefail; wget --tries=3 --timeout=1 --no-proxy -q -O - http://1.2.3.4/latest/meta-data/instance-id, err: <nil>, status: 4\nstdout: \n\nstderr: \n" 
panic: send on closed channel

goroutine 515 [running]:
panic(0xae3440, 0xc82060b320)
        /usr/local/go/src/runtime/panic.go:481 +0x3e6
github.com/future-architect/vuls/scan.parallelSSHExec.func1(0xe7c660, 0xc820258d20, 0x7f734519b9e8, 0xc820162000)
        /go/src/github.com/future-architect/vuls/scan/sshutil.go:80 +0x37d
created by github.com/future-architect/vuls/scan.parallelSSHExec
        /go/src/github.com/future-architect/vuls/scan/sshutil.go:84 +0x166

here you go

@kotakanbe
Copy link
Member

I can not reproduce this problem...

@kotakanbe
Copy link
Member

kotakanbe commented Jul 13, 2016

Probably, Snipped log is pasted.

Please send me the entire log by slack message if you like.
Vuls-slack ... https://vuls-github.slack.com/messages

You can join the slack team via this link.
https://docs.google.com/forms/d/e/1FAIpQLSfMyxCKV0C1ukTE0Mc9oyOHDI_2nbz4L75LAMj0D_A2vx_fMA/viewform?c=0&w=1

@kotakanbe
Copy link
Member

I understood the reason of this problem.
I am going to fix it.

@Doooooo0o
Copy link
Contributor Author

okay! Thanks a lot! I didnt had time to go into more details on slack even though I cared to join, sorry.

@kotakanbe
Copy link
Member

This problem was fixed in #134 .
Please try with latest revision.
Thanks for reporting!

@Doooooo0o
Copy link
Contributor Author

All right, version will be in trial in a few hours

@kotakanbe kotakanbe added the bug label Jul 19, 2016
@kotakanbe
Copy link
Member

If you are still in trouble, reopen the issue.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants