"panic: runtime error: slice bounds out of range" while installing any snap package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Fix Released
|
Undecided
|
Maciej Borzecki |
Bug Description
Hi there!
I'm receiving an error message about "slice bounds out of range" every time after installing of any snap package. Here is one:
ihor@ihor-dell:~$ sudo snap install insomnia
[sudo] пароль до ihor:
panic: runtime error: slice bounds out of range [123:122] [recovered]
panic: runtime error: slice bounds out of range [123:122]
goroutine 1 [running]:
main.main.func1()
github.
panic(0x56200f5
runtime/
github.
github.
main.waitMixin.
github.
main.(*
github.
main.(*
github.
github.
github.
github.
github.
main.run(
github.
main.main()
github.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: snapd 2.44.3+20.04
ProcVersionSign
Uname: Linux 5.4.0-29-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
Date: Sun May 3 16:41:40 2020
InstallationDate: Installed on 2020-04-29 (3 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=uk_UA.UTF-8
SHELL=/bin/bash
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in snapd (Ubuntu): | |
status: | Incomplete → Confirmed |
assignee: | nobody → Maciej Borzecki (maciek-borzecki) |
Changed in snapd (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in snapd (Ubuntu): | |
status: | Fix Committed → Fix Released |
Hi, thanks for reporting, does the same problem happen if you use `snap install --unicode=never --color=never insomnia` ?
If it does still panic, can you try the following:
id=$(snap install hello-world --no-wait)
until snap changes | grep -P "^$id\s+Done"; do echo snap changes | grep -P "^$id"; done
snap run hello-world
and post the output from that?