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

falcon-agent --check panic #171

Closed
taomaree opened this issue Jul 19, 2017 · 0 comments
Closed

falcon-agent --check panic #171

taomaree opened this issue Jul 19, 2017 · 0 comments

Comments

@taomaree
Copy link
Contributor

taomaree commented Jul 19, 2017

./falcon-agent -v
5.1.2

./falcon-agent -c cfg.json run as well,
./falcon-agent -c cfg.json --check panic
cfg.json with or without "mountPoint": [""] , panic still exists.

./falcon-agent -c cfg.json --check
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x73a9ae]

goroutine 1 [running]:
github.com/open-falcon/falcon-plus/modules/agent/funcs.DeviceMetrics(0x7f64a0, 0xc4200fbda0, 0xc4200fbca0)
	/root/go/src/github.com/open-falcon/falcon-plus/modules/agent/funcs/dfstat.go:21 +0xfe
github.com/open-falcon/falcon-plus/modules/agent/funcs.CheckCollector()
	/root/go/src/github.com/open-falcon/falcon-plus/modules/agent/funcs/checker.go:21 +0x1f5
main.main()
	/root/go/src/github.com/open-falcon/falcon-plus/modules/agent/main.go:27 +0x1d4
@taomaree taomaree changed the title falcon-agent -check panic falcon-agent --check panic Jul 19, 2017
laiwei added a commit that referenced this issue Jul 19, 2017
@laiwei laiwei closed this as completed Jul 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants