Thanks for taking a look at this weird error.
Ubuntu is installed in a desktop environment as the host OS, no VM is involved.

Yesterday I had the same problem, where no snap commands were working.
I tried restarting snapd.service a few times, without success.
Restarting the computer got snapd working again.

This time the logs were:

$ snap list
error: cannot list snaps: cannot communicate with server: Get 
"http://localhost/v2/snaps": dial unix /run/snapd.socket: connect: connection 
refused

$ firefox
internal error, please report: running "firefox" failed: timeout waiting for 
snap system profiles to get updated

$ sudo journalctl -exu snapd.service
░░ An ExecStart= process belonging to unit snapd.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 2.
Jun 12 20:28:45 desktop snapd[22684]: runtime.gopark(0x63122f7d5cc0?, 0x1?, 
0x5?, 0xce?, 0x0?)
Jun 12 20:28:45 desktop snapd[22684]:         runtime/proc.go:462 +0xce 
fp=0xc5041e8d740 sp=0xc5041e8d720 pc=0x63122dbf4e0e
Jun 12 20:28:45 desktop snapd[22684]: runtime.gcBgMarkWorker(0xc5041e243f0)
Jun 12 20:28:45 desktop snapd[22684]:         runtime/mgc.go:1791 +0xeb 
fp=0xc5041e8d7c8 sp=0xc5041e8d740 pc=0x63122db98d6b
Jun 12 20:28:45 desktop snapd[22684]: runtime.gcBgMarkStartWorkers.gowrap1()
Jun 12 20:28:45 desktop snapd[22684]:         runtime/mgc.go:1695 +0x17 
fp=0xc5041e8d7e0 sp=0xc5041e8d7c8 pc=0x63122db98c57
Jun 12 20:28:45 desktop snapd[22684]: runtime.goexit({})
Jun 12 20:28:45 desktop snapd[22684]:         runtime/asm_amd64.s:1771 +0x1 
fp=0xc5041e8d7e8 sp=0xc5041e8d7e0 pc=0x63122dbfca81
Jun 12 20:28:45 desktop snapd[22684]: created by runtime.gcBgMarkStartWorkers 
in goroutine 1
Jun 12 20:28:45 desktop snapd[22684]:         runtime/mgc.go:1695 +0x105
Jun 12 20:28:45 desktop snapd[22684]: goroutine 41 gp=0xc5041e28f00 m=nil [GC 
worker (idle)]:
Jun 12 20:28:45 desktop snapd[22684]: runtime.gopark(0x63122f7d5cc0?, 0x3?, 
0xb0?, 0x68?, 0x0?)
Jun 12 20:28:45 desktop snapd[22684]:         runtime/proc.go:462 +0xce 
fp=0xc5041e8df40 sp=0xc5041e8df20 pc=0x63122dbf4e0e
Jun 12 20:28:45 desktop snapd[22684]: runtime.gcBgMarkWorker(0xc5041e243f0)
Jun 12 20:28:45 desktop snapd[22684]:         runtime/mgc.go:1791 +0xeb 
fp=0xc5041e8dfc8 sp=0xc5041e8df40 pc=0x63122db98d6b
Jun 12 20:28:45 desktop snapd[22684]: runtime.gcBgMarkStartWorkers.gowrap1()
Jun 12 20:28:45 desktop snapd[22684]:         runtime/mgc.go:1695 +0x17 
fp=0xc5041e8dfe0 sp=0xc5041e8dfc8 pc=0x63122db98c57
Jun 12 20:28:45 desktop snapd[22684]: runtime.goexit({})
Jun 12 20:28:45 desktop snapd[22684]:         runtime/asm_amd64.s:1771 +0x1 
fp=0xc5041e8dfe8 sp=0xc5041e8dfe0 pc=0x63122dbfca81
Jun 12 20:28:45 desktop snapd[22684]: created by runtime.gcBgMarkStartWorkers 
in goroutine 1
Jun 12 20:28:45 desktop snapd[22684]:         runtime/mgc.go:1695 +0x105
Jun 12 20:28:45 desktop systemd[1]: snapd.service: Failed with result 
'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit snapd.service has entered the 'failed' state with result 
'exit-code'.
Jun 12 20:28:45 desktop systemd[1]: snapd.service: Scheduled restart job, 
restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ Automatic restarting of the unit snapd.service has been scheduled, as the 
result for
░░ the configured Restart= setting for the unit.
Jun 12 20:28:45 desktop systemd[1]: snapd.service: Start request repeated too 
quickly.
Jun 12 20:28:45 desktop systemd[1]: snapd.service: Failed with result 
'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit snapd.service has entered the 'failed' state with result 
'exit-code'.
Jun 12 20:28:45 desktop systemd[1]: Failed to start snapd.service - Snap Daemon.
░░ Subject: A start job for unit snapd.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit snapd.service has finished with a failure.
░░ 
░░ The job identifier is 20691 and the job result is failed.

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

Title:
  snap commands crash with SIGILL on x86-64-v3 CPUs

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


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

Reply via email to