[Bug 1824162] Re: /usr/lib/snapd/snapd:11:runtime:runtime:runtime:runtime:runtime

2019-10-16 Thread Paweł Stołowski
My initial conclusion about go-udev being the culprit was premature, the socket closing & quit channel code looks fine after all, the problem lies somewhere else and may be something in the go runtime stack and it's very unclear for the time being. ** Changed in: snapd (Ubuntu) Importance:

[Bug 1824162] Re: /usr/lib/snapd/snapd:11:runtime:runtime:runtime:runtime:runtime

2019-10-16 Thread Paweł Stołowski
The bug may occur regardless of experimental hotplug flag, and may prevent clean shutdown of snapd - of course only if there is udev netlink activity, therefore setting to critical. ** Changed in: snapd Importance: High => Critical ** Changed in: snapd (Ubuntu) Importance: Medium =>

[Bug 1824162] Re: /usr/lib/snapd/snapd:11:runtime:runtime:runtime:runtime:runtime

2019-10-15 Thread Michael Vogt
** Changed in: snapd (Ubuntu) Status: New => In Progress ** Changed in: snapd (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1824162 Title:

[Bug 1824162] Re: /usr/lib/snapd/snapd:11:runtime:runtime:runtime:runtime:runtime

2019-10-15 Thread Paweł Stołowski
I think the bug is in the go-udev package (upstream). The Monitor() function returns a 'quit' channel that the caller uses to stop processing. Monitor() runs a backgroud goroutine that monitors/reads from netlink socket and stops if quit channel is written to. I think the problem is that the quit

[Bug 1824162] Re: /usr/lib/snapd/snapd:11:runtime:runtime:runtime:runtime:runtime

2019-10-15 Thread Paweł Stołowski
** Changed in: snapd Assignee: (unassigned) => Paweł Stołowski (stolowski) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1824162 Title:

[Bug 1824162] Re: /usr/lib/snapd/snapd:11:runtime:runtime:runtime:runtime:runtime

2019-10-15 Thread Zygmunt Krynicki
It looks like an udev/netlink related panic in snapd ** Also affects: snapd Importance: Undecided Status: New ** Changed in: snapd Status: New => Triaged ** Changed in: snapd Importance: Undecided => High -- You received this bug notification because you are a member of