We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pouch logs command panic
pouch logs
pouch logs ebb3b6 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xe8856d] goroutine 1 [running]: main.(*LogsCommand).runLogs(0xc420433600, 0xc420379b80, 0x1, 0x1, 0x0, 0x0) /tmp/pouchbuild/src/github.com/alibaba/pouch/cli/logs.go:71 +0xfd main.(*LogsCommand).Init.func1(0xc4203fc6c0, 0xc420379b80, 0x1, 0x1, 0x0, 0x0) /tmp/pouchbuild/src/github.com/alibaba/pouch/cli/logs.go:40 +0x48 github.com/alibaba/pouch/vendor/github.com/spf13/cobra.(*Command).execute(0xc4203fc6c0, 0xc420379b50, 0x1, 0x1, 0xc4203fc6c0, 0xc420379b50) /tmp/pouchbuild/src/github.com/alibaba/pouch/vendor/github.com/spf13/cobra/command.go:742 +0x49b github.com/alibaba/pouch/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc420281d40, 0xc420153e98, 0x1, 0x1) /tmp/pouchbuild/src/github.com/alibaba/pouch/vendor/github.com/spf13/cobra/command.go:827 +0x30e github.com/alibaba/pouch/vendor/github.com/spf13/cobra.(*Command).Execute(0xc420281d40, 0x1, 0xc420379ae0) /tmp/pouchbuild/src/github.com/alibaba/pouch/vendor/github.com/spf13/cobra/command.go:780 +0x2b main.(*Cli).Run(0xc420078080, 0x164c7e0, 0xc420378240) /tmp/pouchbuild/src/github.com/alibaba/pouch/cli/cli.go:78 +0x2f main.main() /tmp/pouchbuild/src/github.com/alibaba/pouch/cli/main.go:49 +0x977
expect to output the container log
pouch version
GoVersion: go1.9.1 KernelVersion: 4.4.0-116-generic Os: linux Version: 0.4.0 APIVersion: 1.24 Arch: amd64 BuildTime: Wed, 18 Apr 2018 11:16:54 +0800 GitCommit: 5caea368e2adae0f173049bec2020d4e882dda66
NAME="Ubuntu" VERSION="16.04.4 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.4 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial
uname -a
Linux ubuntu-1 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered:
Thanks for your report, @shaloulcy 😱 This is a priority/P0 issue. Seems to be severe enough. ping @alibaba/pouch , PTAL.
Sorry, something went wrong.
Fixed in #1192
@shaloulcy thanks for your feedback, since this panic has been solved in #1192 , i will close this issue.
No branches or pull requests
Ⅰ. Issue Description
pouch logs
command panicⅡ. Describe what happened
Ⅲ. Describe what you expected to happen
expect to output the container log
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
pouch version
):uname -a
):The text was updated successfully, but these errors were encountered: