Skip to content

Instantly share code, notes, and snippets.

@dgryski
Created December 4, 2013 18:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgryski/7793010 to your computer and use it in GitHub Desktop.
Save dgryski/7793010 to your computer and use it in GitHub Desktop.
goconvey panic panic
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x28 pc=0x438298]
goroutine 3 [running]:
runtime.panic(0x550400, 0x70ad88)
/home/dgryski/work/src/cvs/go/src/pkg/runtime/panic.c:266 +0xb6
testing.func·005()
/home/dgryski/work/src/cvs/go/src/pkg/testing/testing.go:385 +0xe8
runtime.panic(0x550400, 0x70ad88)
/home/dgryski/work/src/cvs/go/src/pkg/runtime/panic.c:248 +0x106
github.com/dgryski/go-shardedkv/storage/redis.(*Storage).Get(0xc21004d120, 0x57efa0, 0x5, 0x7febbe4eada8, 0x1, ...)
/home/dgryski/Dropbox/GITS/gocode/src/github.com/dgryski/go-shardedkv/storage/redis/redis.go:29 +0xd8
github.com/dgryski/go-shardedkv/storagetest.StorageTest(0xc21004e090, 0x7febbe65f580, 0xc21004d120)
/home/dgryski/Dropbox/GITS/gocode/src/github.com/dgryski/go-shardedkv/storagetest/storagetest.go:42 +0x550
github.com/dgryski/go-shardedkv/storage/redis.TestRedis(0xc21004e090)
/home/dgryski/Dropbox/GITS/gocode/src/github.com/dgryski/go-shardedkv/storage/redis/redis_test.go:16 +0x135
testing.tRunner(0xc21004e090, 0x705aa0)
/home/dgryski/work/src/cvs/go/src/pkg/testing/testing.go:391 +0x8b
created by testing.RunTests
/home/dgryski/work/src/cvs/go/src/pkg/testing/testing.go:471 +0x8b2
goroutine 1 [chan receive]:
testing.RunTests(0x5c9c28, 0x705aa0, 0x1, 0x1, 0x1)
/home/dgryski/work/src/cvs/go/src/pkg/testing/testing.go:472 +0x8d5
testing.Main(0x5c9c28, 0x705aa0, 0x1, 0x1, 0x70dee0, ...)
/home/dgryski/work/src/cvs/go/src/pkg/testing/testing.go:403 +0x84
main.main()
github.com/dgryski/go-shardedkv/storage/redis/_test/_testmain.go:47 +0x9c
goroutine 4 [syscall]:
runtime.goexit()
/home/dgryski/work/src/cvs/go/src/pkg/runtime/proc.c:1394
=== RUN TestRedis
--- FAIL: TestRedis (0.00 seconds)
storagetest.go:39: failed resetting connection for key: err=dial tcp: missing address
exit status 2
FAIL github.com/dgryski/go-shardedkv/storage/redis 0.003s
@thetyrelcorporation
Copy link

Hey sorry to bother you. I'm getting this on all my convey tests. Did you ever find out what this was about?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment