snapd crashes on slot disconnection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Medium
|
Zygmunt Krynicki |
Bug Description
When trying to disconnect a slot
ubuntu@localhost:~$ sudo ./snap-1 interfaces
Slot Plug
network-
ubuntu@localhost:~$ sudo ./snap-1 disconnect network-
the following crash appears with snapd
simon@nirvana ~/Work/
Running snapd (use sudo snap to talk to it)
Warning: Permanently added '[localhost]:8022' (ECDSA) to the list of known hosts.
Listening on /run/snapd.socket as 3.
Communication attempt on fd 3.
Execing ./snapd (./snapd)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x5dd4bf]
goroutine 12 [running]:
panic(0x97b940, 0xc82000a0b0)
/usr/lib/
github.
/home/
github.
/home/
github.
/home/
gopkg.in/
/home/
created by gopkg.in/
/home/
This is with the just release snappy v2.0.
Changed in snappy: | |
status: | Confirmed → In Progress |
Changed in snappy: | |
importance: | Undecided → Medium |
milestone: | none → sru-1 |
Changed in snappy: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Triaged |
milestone: | sru-1 → sru-2 |
Changed in snappy: | |
status: | Triaged → In Progress |
Changed in snappy: | |
status: | In Progress → Fix Released |
Changed in snappy: | |
status: | In Progress → Fix Released |
This is caused by partial support of abbreviated connect/disconnect forms. For now please spell out the full form "$ snap disconnect snap:plug snap:slot"