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 linux when quering TimeTicks #4

Closed
thebinary opened this issue May 27, 2020 · 1 comment
Closed

panic on linux when quering TimeTicks #4

thebinary opened this issue May 27, 2020 · 1 comment

Comments

@thebinary
Copy link
Owner

OID: .1.3.6.1.2.1.1.3.0
Running On: Linux {host} 2.6.32-504.30.3.el6.x86_64 #1 SMP Wed Jul 15 10:13:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Panic logged:
panic: interface conversion: interface {} is uint32, not uint

goroutine 15 [running]:
github.com/thebinary/go-snmp-grpc/server.ToPbSnmpPDU(...)
/home/travis/gopath/src/github.com/thebinary/go-snmp-grpc/server/helpers.go:76
github.com/thebinary/go-snmp-grpc/server.(*CommandServer).Get(0x11fbb60, 0xcd3d40, 0xc00014f830, 0xc0000456c0, 0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/thebinary/go-snmp-grpc/server/get.go:35 +0x857
github.com/thebinary/go-snmp-grpc/protobuf._Command_Get_Handler(0xb39440, 0x11fbb60, 0xcd3d40, 0xc00014f830, 0xc00008d4a0, 0x0, 0xcd3d40, 0xc00014f830, 0xc000039500, 0x14)
/home/travis/gopath/src/github.com/thebinary/go-snmp-grpc/protobuf/snmp.pb.go:613 +0x23e
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000264680, 0xcdca60, 0xc0002af680, 0xc0001ce200, 0xc0001df710, 0x11eedc0, 0x0, 0x0, 0x0)
/home/travis/gopath/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1082 +0x4db
google.golang.org/grpc.(*Server).handleStream(0xc000264680, 0xcdca60, 0xc0002af680, 0xc0001ce200, 0x0)
/home/travis/gopath/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1405 +0xd32
google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc00003b990, 0xc000264680, 0xcdca60, 0xc0002af680, 0xc0001ce200)
/home/travis/gopath/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:746 +0x9f
created by google.golang.org/grpc.(*Server).serveStreams.func1
/home/travis/gopath/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:744 +0xa1

@thebinary
Copy link
Owner Author

fixed by commit: f60cba1

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

1 participant