Skip to content

Instantly share code, notes, and snippets.

@deverton
Created May 29, 2017 22:43
Show Gist options
  • Save deverton/adb37b4bb5491bd5b03bed4f7000713a to your computer and use it in GitHub Desktop.
Save deverton/adb37b4bb5491bd5b03bed4f7000713a to your computer and use it in GitHub Desktop.
Vault 0.7.2 Panic
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xdafff1]
goroutine 15935279 [running]:
github.com/hashicorp/vault/physical.(*S3Backend).List.func1(0xc423da5200, 0xc448911400, 0x7f1142ff6f01)
/gopath/src/github.com/hashicorp/vault/physical/s3.go:217 +0x81
github.com/hashicorp/vault/vendor/github.com/aws/aws-sdk-go/service/s3.(*S3).ListObjectsV2PagesWithContext(0xc42000c330, 0x7f1142ff6f20, 0xc420012390, 0xc46b4e0a00, 0xc48711f708, 0x0, 0x0, 0x0, 0xc43bfc6601, 0x26be630)
/gopath/src/github.com/hashicorp/vault/vendor/github.com/aws/aws-sdk-go/service/s3/api.go:4093 +0x174
github.com/hashicorp/vault/vendor/github.com/aws/aws-sdk-go/service/s3.(*S3).ListObjectsV2Pages(0xc42000c330, 0xc46b4e0a00, 0xc43bfc6708, 0x2, 0x2)
/gopath/src/github.com/hashicorp/vault/vendor/github.com/aws/aws-sdk-go/service/s3/api.go:4066 +0x9a
github.com/hashicorp/vault/physical.(*S3Backend).List(0xc420384a20, 0xc448911480, 0x34, 0x0, 0x0, 0x0, 0x0, 0x0)
/gopath/src/github.com/hashicorp/vault/physical/s3.go:228 +0x311
github.com/hashicorp/vault/physical.(*Cache).List(0xc420564050, 0xc448911480, 0x34, 0x2, 0x2, 0xed0bcf90c, 0x2d69ebe, 0x269d5a0)
/gopath/src/github.com/hashicorp/vault/physical/cache.go:128 +0x47
github.com/hashicorp/vault/vault.(*AESGCMBarrier).List(0xc4200514a0, 0xc448911480, 0x34, 0x0, 0x0, 0x0, 0x0, 0x0)
/gopath/src/github.com/hashicorp/vault/vault/barrier_aes_gcm.go:704 +0x1ed
github.com/hashicorp/vault/vault.(*BarrierView).List(0xc45087b740, 0x1a6797e, 0xa, 0xc400000000, 0x2ce99033bfc68b0, 0x100000ed0bcf90c, 0xc421ebed80, 0xc43bfc68c0)
/gopath/src/github.com/hashicorp/vault/vault/barrier_view.go:45 +0xe9
github.com/hashicorp/vault/builtin/credential/approle.(*backend).tidySecretID(0xc420086240, 0x2632e20, 0xc45087b740, 0x0, 0x0)
/gopath/src/github.com/hashicorp/vault/builtin/credential/approle/path_tidy_user_id.go:35 +0xc9
github.com/hashicorp/vault/builtin/credential/approle.(*backend).periodicFunc(0xc420086240, 0xc488e1f500, 0xc493e63f40, 0x0)
/gopath/src/github.com/hashicorp/vault/builtin/credential/approle/backend.go:131 +0x42
github.com/hashicorp/vault/builtin/credential/approle.(*backend).(github.com/hashicorp/vault/builtin/credential/approle.periodicFunc)-fm(0xc488e1f500, 0x0, 0x0)
/gopath/src/github.com/hashicorp/vault/builtin/credential/approle/backend.go:81 +0x34
github.com/hashicorp/vault/logical/framework.(*Backend).handleRollback(0xc468cfb5f0, 0xc488e1f500, 0x1a644f1, 0x8, 0x1)
/gopath/src/github.com/hashicorp/vault/logical/framework/backend.go:450 +0x78
github.com/hashicorp/vault/logical/framework.(*Backend).HandleRequest(0xc468cfb5f0, 0xc488e1f500, 0xc488e1f500, 0xc437100b90, 0xd)
/gopath/src/github.com/hashicorp/vault/logical/framework/backend.go:169 +0x7a9
github.com/hashicorp/vault/vault.(*Router).routeCommon(0xc43a9b09f0, 0xc488e1f500, 0x40f500, 0x0, 0x1a20000, 0x0, 0x0)
/gopath/src/github.com/hashicorp/vault/vault/router.go:326 +0x636
github.com/hashicorp/vault/vault.(*Router).Route(0xc43a9b09f0, 0xc488e1f500, 0xc463b3e340, 0xc420023fd0, 0xc48564d400)
/gopath/src/github.com/hashicorp/vault/vault/router.go:218 +0x3a
github.com/hashicorp/vault/vault.(*RollbackManager).attemptRollback(0xc48564d400, 0xc437100b90, 0xd, 0xc463b3e340, 0x0, 0x0)
/gopath/src/github.com/hashicorp/vault/vault/rollback.go:161 +0x2b2
created by github.com/hashicorp/vault/vault.(*RollbackManager).startRollback
/gopath/src/github.com/hashicorp/vault/vault/rollback.go:136 +0x130
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment