So… maybe we need a 2.26.14 now
zyga@fyke:~$ snap version
snap 2.26.13
snapd 2.26.13
series 16
ubuntu 16.04
kernel 4.8.0-58-generic
Because snapd explodes on a particular debug command
zyga@fyke:~$ snap debug confinement
panic: runtime error: slice bounds out of range [recovered]
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
panic(0x559f8abce320, 0xc82000e130)
/usr/lib/go-1.6/src/runtime/panic.go:481 +0x3ea
main.main.func1()
/build/snapd-O7CRuM/snapd-2.26.13/_build/src/github.com/snapcore/snapd/cmd/snap/main.go:281 +0x7b
panic(0x559f8abce320, 0xc82000e130)
/usr/lib/go-1.6/src/runtime/panic.go:443 +0x4ed
github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags.(*parseState).estimateCommand(0xc82018c5a0, 0x0, 0x0)
/build/snapd-O7CRuM/snapd-2.26.13/_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(0xc820015900, 0xc82000a3d0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0)
/build/snapd-O7CRuM/snapd-2.26.13/_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(0xc820015900, 0x0, 0x0, 0x0, 0x0, 0x0)
/build/snapd-O7CRuM/snapd-2.26.13/_build/src/github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags/parser.go:175 +0x9d
main.run(0x0, 0x0)
/build/snapd-O7CRuM/snapd-2.26.13/_build/src/github.com/snapcore/snapd/cmd/snap/main.go:302 +0x4a
main.main()
/build/snapd-O7CRuM/snapd-2.26.13/_build/src/github.com/snapcore/snapd/cmd/snap/main.go:286 +0x834
Not sure why though, I think this command is tested both by spread and unit tests. I’ll have a look after the raspbian investigation.