Public bug reported:

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.com/snapcore/snapd/cmd/snap/main.go:477 +0x95
panic(0x56200f5dec80, 0xc000406920)
        runtime/panic.go:679 +0x1b6
github.com/snapcore/snapd/progress.(*ANSIMeter).Set(0xc0000af950, 
0x418e238000000000)
        github.com/snapcore/snapd/progress/ansimeter.go:152 +0xa1b
main.waitMixin.wait(0xc00033c1c0, 0x56200f1c0000, 0xc0003b4310, 0x2, 0x0, 0x0, 
0x0)
        github.com/snapcore/snapd/cmd/snap/wait.go:130 +0x700
main.(*cmdInstall).installOne(0xc000351360, 0x7ffe74e1f8a9, 0x8, 0x0, 0x0, 
0xc00038a360, 0x56200f5e9060, 0x56200f64d3a0)
        github.com/snapcore/snapd/cmd/snap/cmd_snap_op.go:491 +0x316
main.(*cmdInstall).Execute(0xc000351360, 0xc0002dbd20, 0x0, 0x2, 0xc000351360, 
0x1)
        github.com/snapcore/snapd/cmd/snap/cmd_snap_op.go:596 +0x3d7
github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags.(*Parser).ParseArgs(0xc000312d90,
 0xc000032190, 0x2, 0x2, 0xc0002bd770, 0xc00026fcd0, 0x56200ec2dfbd, 
0x56200f5b48a0, 0xc0002bd770)
        
github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags/parser.go:333 
+0x8e7
github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags.(*Parser).Parse(...)
        
github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags/parser.go:190
main.run(0xc00026fde0, 0xe)
        github.com/snapcore/snapd/cmd/snap/main.go:515 +0xa7
main.main()
        github.com/snapcore/snapd/cmd/snap/main.go:482 +0x371

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: snapd 2.44.3+20.04
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
Uname: Linux 5.4.0-29-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
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-256color
 PATH=(custom, no user)
 LANG=uk_UA.UTF-8
 SHELL=/bin/bash
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876583

Title:
  "panic: runtime error: slice bounds out of range" while installing any
  snap package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1876583/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to