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

segmentation violation on startup #114

Closed
dvanherbergen opened this issue Sep 19, 2024 · 2 comments · Fixed by #115
Closed

segmentation violation on startup #114

dvanherbergen opened this issue Sep 19, 2024 · 2 comments · Fixed by #115

Comments

@dvanherbergen
Copy link

When using hierarchical paths in static roles, vault no longer starts up and gets a segmentation violation:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6bac4a9]
goroutine 1234 [running]:
github.com/hashicorp/vault-plugin-secrets-openldap.(*backend).populateQueue(0xc0052d7000, {0xc9c2af8, 0xc007a7e0f0}, {0xc9c2f90, 0xc005412d00})
/home/runner/go/pkg/mod/github.com/hashicorp/vault-plugin-secrets-openldap@v0.12.1/rotation.go:67 +0x449
github.com/hashicorp/vault-plugin-secrets-openldap.(*backend).initQueue(0xc0052d7000, {0xc9c2af8?, 0xc007a7e0f0}, 0xc008508430)
/home/runner/go/pkg/mod/github.com/hashicorp/vault-plugin-secrets-openldap@v0.12.1/rotation.go:461 +0x10e
created by github.com/hashicorp/vault-plugin-secrets-openldap.(*backend).initialize in goroutine 1211
/home/runner/go/pkg/mod/github.com/hashicorp/vault-plugin-secrets-openldap@v0.12.1/backend.go:92 +0xf7

This happens in both version 0.12.1 and 0.13.0:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6fd496d]
goroutine 1156 [running]:
github.com/hashicorp/vault-plugin-secrets-openldap.(*backend).populateQueue(0xc0030a4600, {0xd037178, 0xc0053d9540}, {0xd037610, 0xc003f71e80})
/home/runner/go/pkg/mod/github.com/hashicorp/vault-plugin-secrets-openldap@v0.13.0/rotation.go:67 +0x42d
github.com/hashicorp/vault-plugin-secrets-openldap.(*backend).initQueue(0xc0030a4600, {0xd037178, 0xc0053d9540}, 0xc00681f7d0)
/home/runner/go/pkg/mod/github.com/hashicorp/vault-plugin-secrets-openldap@v0.13.0/rotation.go:461 +0x107
created by github.com/hashicorp/vault-plugin-secrets-openldap.(*backend).initialize in goroutine 1177
/home/runner/go/pkg/mod/github.com/hashicorp/vault-plugin-secrets-openldap@v0.13.0/backend.go:101 +0xe8
@dvanherbergen
Copy link
Author

Same problem as described here: #112

@fairclothjm
Copy link
Contributor

Closed by #115

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

Successfully merging a pull request may close this issue.

2 participants