$ snap list|grep core
core 16-2.26.9 2381 canonical -
$ sudo snap debug get-base-declaration
panic: runtime error: slice bounds out of range [recovered]
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
panic(0x563bcc7df780, 0xc820014090)
/usr/lib/go-1.6/src/runtime/panic.go:481 +0x3ea
main.main.func1()
/build/snapd-l0ZEfs/snapd-2.26.9/_build/src/github.com/snapcore/snapd/cmd/snap/main.go:281 +0x7b
panic(0x563bcc7df780, 0xc820014090)
/usr/lib/go-1.6/src/runtime/panic.go:443 +0x4ed
github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags.(*parseState).estimateCommand(0xc8201705a0, 0x0, 0x0)
/build/snapd-l0ZEfs/snapd-2.26.9/_build/src/github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags/parser.go:453 +0x957
github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags.(*Parser).ParseArgs(0xc8200139f0, 0xc82000a1f0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0)
/build/snapd-l0ZEfs/snapd-2.26.9/_build/src/github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags/parser.go:299 +0x932
github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags.(*Parser).Parse(0xc8200139f0, 0x0, 0x0, 0x0, 0x0, 0x0)
/build/snapd-l0ZEfs/snapd-2.26.9/_build/src/github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags/parser.go:175 +0x9d
main.run(0x0, 0x0)
/build/snapd-l0ZEfs/snapd-2.26.9/_build/src/github.com/snapcore/snapd/cmd/snap/main.go:302 +0x4a
main.main()
/build/snapd-l0ZEfs/snapd-2.26.9/_build/src/github.com/snapcore/snapd/cmd/snap/main.go:286 +0x834
This is fixed in the latest snapd release.