Comments (3)
This should not happen. I don't see any unhandled potential nil pointers in the call.
I'd be curious to get the debug log for this failure.
If you could run it with GOPASS_DEBUG_LOG=/tmp/gopass.log
and provide the outpuit that would be helpful.
from gopass.
GOPASS_DEBUG_LOG=/tmp/gopass.log gopass recipients rm panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x8d272a]
goroutine 1 [running]:
github.com/gopasspw/gopass/internal/store/leaf.(*Store).idFiles(0x10?, {0xea9b18?, 0xc00010f200?})
work/gopass/gopass/internal/store/leaf/store.go:111 +0x2a
github.com/gopasspw/gopass/internal/store/leaf.(*Store).RecipientsTree(0x20?, {0xea9b18, 0xc00010f200})
work/gopass/gopass/internal/store/leaf/recipients.go:71 +0x37
github.com/gopasspw/gopass/internal/store/root.(*Store).RecipientsTree(0xc000120210, {0xea9b18, 0xc00010f200}, 0x10?)
work/gopass/gopass/internal/store/root/recipients.go:98 +0xcc
github.com/gopasspw/gopass/internal/action.(*Action).recipientsList(0xc000544000, {0xea9b18?, 0xc0004f09c0?})
work/gopass/gopass/internal/action/recipients.go:52 +0x65
github.com/gopasspw/gopass/internal/action.(*Action).RecipientsComplete(0x0?, 0x0?)
work/gopass/gopass/internal/action/recipients.go:66 +0x2f
github.com/urfave/cli/v2.ShowCompletions(...)
go/pkg/mod/github.com/urfave/cli/[email protected]/help.go:326
github.com/urfave/cli/v2.checkCompletions(0xc000296900)
go/pkg/mod/github.com/urfave/cli/[email protected]/help.go:475 +0xd3
github.com/urfave/cli/v2.(*Command).Run(0xc00054fa20, 0xc000296900, {0xc00004d870, 0x1, 0x1})
go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:158 +0x125
github.com/urfave/cli/v2.(*Command).Run(0xc00054f600, 0xc000296800, {0xc000127b00, 0x2, 0x2})
go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:267 +0xbe5
github.com/urfave/cli/v2.(*Command).Run(0xc0005514a0, 0xc000035580, {0xc000140040, 0x3, 0x4})
go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:267 +0xbe5
github.com/urfave/cli/v2.(*App).RunContext(0xc000546000, {0xea9b18?, 0xc0004f09c0}, {0xc000140040, 0x4, 0x4})
go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:332 +0x5b7
main.main()
work/gopass/gopass/main.go:90 +0x4c5
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x8d272a]
goroutine 1 [running]:
github.com/gopasspw/gopass/internal/store/leaf.(*Store).idFiles(0x10?, {0xea9b18?, 0xc000524210?})
work/gopass/gopass/internal/store/leaf/store.go:111 +0x2a
github.com/gopasspw/gopass/internal/store/leaf.(*Store).RecipientsTree(0x20?, {0xea9b18, 0xc000524210})
work/gopass/gopass/internal/store/leaf/recipients.go:71 +0x37
github.com/gopasspw/gopass/internal/store/root.(*Store).RecipientsTree(0xc0003b0090, {0xea9b18, 0xc000524210}, 0x10?)
work/gopass/gopass/internal/store/root/recipients.go:98 +0xcc
github.com/gopasspw/gopass/internal/action.(*Action).recipientsList(0xc0004e0000, {0xea9b18?, 0xc0003ee900?})
work/gopass/gopass/internal/action/recipients.go:52 +0x65
github.com/gopasspw/gopass/internal/action.(*Action).RecipientsComplete(0x0?, 0x0?)
work/gopass/gopass/internal/action/recipients.go:66 +0x2f
github.com/urfave/cli/v2.ShowCompletions(...)
go/pkg/mod/github.com/urfave/cli/[email protected]/help.go:326
github.com/urfave/cli/v2.checkCompletions(0xc0004ff300)
go/pkg/mod/github.com/urfave/cli/[email protected]/help.go:475 +0xd3
github.com/urfave/cli/v2.(*Command).Run(0xc0004eda20, 0xc0004ff300, {0xc0004efc20, 0x1, 0x1})
go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:158 +0x125
github.com/urfave/cli/v2.(*Command).Run(0xc0004ed600, 0xc0004ff200, {0xc0005231e0, 0x2, 0x2})
go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:267 +0xbe5
github.com/urfave/cli/v2.(*Command).Run(0xc0004f94a0, 0xc0004fe080, {0xc0000340c0, 0x3, 0x4})
go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:267 +0xbe5
github.com/urfave/cli/v2.(*App).RunContext(0xc0004e2000, {0xea9b18?, 0xc0003ee900}, {0xc0000340c0, 0x4, 0x4})
go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:332 +0x5b7
main.main()
work/gopass/gopass/main.go:90 +0x4c5
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x8d272a]
goroutine 1 [running]:
github.com/gopasspw/gopass/internal/store/leaf.(*Store).idFiles(0x10?, {0xea9b18?, 0xc000766210?})
work/gopass/gopass/internal/store/leaf/store.go:111 +0x2a
github.com/gopasspw/gopass/internal/store/leaf.(*Store).RecipientsTree(0x20?, {0xea9b18, 0xc000766210})
work/gopass/gopass/internal/store/leaf/recipients.go:71 +0x37
github.com/gopasspw/gopass/internal/store/root.(*Store).RecipientsTree(0xc000700090, {0xea9b18, 0xc000766210}, 0x10?)
work/gopass/gopass/internal/store/root/recipients.go:98 +0xcc
github.com/gopasspw/gopass/internal/action.(*Action).recipientsList(0xc00073e000, {0xea9b18?, 0xc000704900?})
work/gopass/gopass/internal/action/recipients.go:52 +0x65
github.com/gopasspw/gopass/internal/action.(*Action).RecipientsComplete(0x0?, 0x0?)
work/gopass/gopass/internal/action/recipients.go:66 +0x2f
github.com/urfave/cli/v2.ShowCompletions(...)
go/pkg/mod/github.com/urfave/cli/[email protected]/help.go:326
github.com/urfave/cli/v2.checkCompletions(0xc000755300)
go/pkg/mod/github.com/urfave/cli/[email protected]/help.go:475 +0xd3
github.com/urfave/cli/v2.(*Command).Run(0xc00074ba20, 0xc000755300, {0xc00074dc40, 0x1, 0x1})
go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:158 +0x125
github.com/urfave/cli/v2.(*Command).Run(0xc00074b600, 0xc000755200, {0xc0007651e0, 0x2, 0x2})
go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:267 +0xbe5
github.com/urfave/cli/v2.(*Command).Run(0xc00074f4a0, 0xc000754080, {0xc0000340c0, 0x3, 0x4})
go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:267 +0xbe5
github.com/urfave/cli/v2.(*App).RunContext(0xc000740000, {0xea9b18?, 0xc000704900}, {0xc0000340c0, 0x4, 0x4})
go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:332 +0x5b7
main.main()
work/gopass/gopass/main.go:90 +0x4c5
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x8d272a]
goroutine 1 [running]:
github.com/gopasspw/gopass/internal/store/leaf.(*Store).idFiles(0x10?, {0xea9b18?, 0xc0005e6210?})
work/gopass/gopass/internal/store/leaf/store.go:111 +0x2a
github.com/gopasspw/gopass/internal/store/leaf.(*Store).RecipientsTree(0x20?, {0xea9b18, 0xc0005e6210})
work/gopass/gopass/internal/store/leaf/recipients.go:71 +0x37
github.com/gopasspw/gopass/internal/store/root.(*Store).RecipientsTree(0xc0003e8090, {0xea9b18, 0xc0005e6210}, 0x10?)
work/gopass/gopass/internal/store/root/recipients.go:98 +0xcc
github.com/gopasspw/gopass/internal/action.(*Action).recipientsList(0xc0005c0000, {0xea9b18?, 0xc0003ec900?})
work/gopass/gopass/internal/action/recipients.go:52 +0x65
github.com/gopasspw/gopass/internal/action.(*Action).RecipientsComplete(0x0?, 0x0?)
work/gopass/gopass/internal/action/recipients.go:66 +0x2f
github.com/urfave/cli/v2.ShowCompletions(...)
go/pkg/mod/github.com/urfave/cli/[email protected]/help.go:326
github.com/urfave/cli/v2.checkCompletions(0xc0005d5300)
go/pkg/mod/github.com/urfave/cli/[email protected]/help.go:475 +0xd3
github.com/urfave/cli/v2.(*Command).Run(0xc0005cda20, 0xc0005d5300, {0xc0005cfc30, 0x1, 0x1})
go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:158 +0x125
github.com/urfave/cli/v2.(*Command).Run(0xc0005cd600, 0xc0005d5200, {0xc0005e51e0, 0x2, 0x2})
go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:267 +0xbe5
github.com/urfave/cli/v2.(*Command).Run(0xc0005d14a0, 0xc0005d4080, {0xc0000340c0, 0x3, 0x4})
go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:267 +0xbe5
github.com/urfave/cli/v2.(*App).RunContext(0xc0005c2000, {0xea9b18?, 0xc0003ec900}, {0xc0000340c0, 0x4, 0x4})
go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:332 +0x5b7
main.main()
work/gopass/gopass/main.go:90 +0x4c5
^C
no created logfile
from gopass.
You encounter the error during autocomplete (pressing TAB)?
In that case you must set the log file first, e.g. export GOPASS_DEBUG_LOG=/tmp/gopass.log
.
Otherwise it doesn't take effect (your shell hasn't evaluated to line, yet).
from gopass.
Related Issues (20)
- gopass attempts to make GPG key despite there being one already HOT 3
- Feature request: configuration option to disable logo in notification HOT 4
- setup creates new branch in existing store
- audit /audit summary is broken/regressed HOT 4
- [FR] In a `gopass create` template, how do I specify that password should not be generated?
- Public keys are not exported into mounted stores HOT 5
- The same recipient can be added several times HOT 1
- gopass audit: checks still report as failure
- Gopass does not consistently respect upper and lowercase in secret names / Git commit fails if secret exists in different case HOT 3
- Windows Defender detects 1.15.12 as malware HOT 4
- [FR] Provide a log option to create sanitized logs suitable for sharing
- gopass not picking tmp dir location from ENV variable. Can't see a config option neither. HOT 3
- Confusing "need to unlock" message during setup
- deb package doesn't come with completions or a man page HOT 1
- gopass unable to find PGP keys when running in Github Actions
- Trailing whitespace removed when copying password to clipboard HOT 1
- some checks fail on void linux HOT 1
- Feature Request: Allow selecting the line to copy
- Expired GPG Keys should not be ignored silently + there seems to be no gopass command to refresh life-extended keys
- [Question] Is there anyway to add a pin before showing the password
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gopass.