snap find crached

Bug #1812605 reported by liudonghua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Expired
Undecided
Unassigned

Bug Description

I installed the latest snap following instruction on https://tutorials.ubuntu.com/tutorial/basic-snap-usage#2, then I execute `sudo snap find hello`, it game me the following errors.

```
ldh@ldh55:~$ sudo snap list
No snaps are installed yet. Try 'snap install hello-world'.
ldh@ldh55:~$ sudo snap find hello
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=0x0 pc=0x55890a460120]

goroutine 1 [running]:
panic(0x55890ae76900, 0xc820010100)
 /usr/lib/go-1.6/src/runtime/panic.go:481 +0x3ea
main.main.func1()
 /build/snapd-eEd6V5/snapd-2.34.2/_build/src/github.com/snapcore/snapd/cmd/snap/main.go:370 +0x7b
panic(0x55890ae76900, 0xc820010100)
 /usr/lib/go-1.6/src/runtime/panic.go:443 +0x4ed
main.(*cmdFind).Execute(0xc8201d3a10, 0xc8201f0780, 0x0, 0x2, 0x0, 0x0)
 /build/snapd-eEd6V5/snapd-2.34.2/_build/src/github.com/snapcore/snapd/cmd/snap/cmd_find.go:259 +0xed0
github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags.(*Parser).ParseArgs(0xc8201d8000, 0xc82000a220, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0)
 /build/snapd-eEd6V5/snapd-2.34.2/_build/src/github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags/parser.go:316 +0xa85
github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags.(*Parser).Parse(0xc8201d8000, 0x0, 0x0, 0x0, 0x0, 0x0)
 /build/snapd-eEd6V5/snapd-2.34.2/_build/src/github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags/parser.go:186 +0x9d
main.run(0x0, 0x0)
 /build/snapd-eEd6V5/snapd-2.34.2/_build/src/github.com/snapcore/snapd/cmd/snap/main.go:391 +0x4a
main.main()
 /build/snapd-eEd6V5/snapd-2.34.2/_build/src/github.com/snapcore/snapd/cmd/snap/main.go:375 +0xc4d
ldh@ldh55:~$
```

Revision history for this message
rocky (rocky700) wrote :

The installation is having an issue and when I am trying o install the latest snap but the things got worse. the screen went blue and the interface started showing ERROR CODE 0XC0000428. I also took the help of https://errorcode0x.com/error-code-0xc0000428/ to get rid of it.

Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

Can you provide the output of `snap version` command?

Are you trying to install snaps under WSL?

Changed in snappy:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Snappy because there has been no activity for 60 days.]

Changed in snappy:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.