[focal SRU] davfs2 unable to unmount: segfault error 4 in libc.so
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
davfs2 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[IMPACT]
umount.davfs consistently segfault in focal. This leads to a number of medium severity issues.
- inability to unmount (this might have security implications)
- inability to remount
- autofs fails to unmount
- reports of higher load in multi-user environments
- computer "hangs" on shutdown waiting for successful umount completion
[TEST CASE]
No need for a specific test case, simply mount a resource via davfs2.mount. Calling umount.davfs2 on that mount in focal will result in a segfault every time. Exit code 255 and failure is recorded in syslog. The mount stays mounted.
To verify the fix from #2 which is the backport of the fix from upstream, simply recompile davfs2 and try the procedure once more to see if the problem has been solved.
[REGRESSION POTENTIAL]
I will leave this mostly to others to evaluate. Currently, umount.davfs2 is completely dysfunctional so it's hard to imagine a regression for a binary that isn't doing anything except segfaulting.
[racb] Code that parses its own pidfile is being fixed. It was segfaulting before, so as mentioned it is unlikely to break further as a cause of this patch, except the normal latent bug being exposed on rebuild risk. If there is a problem with the pidfile parsing being introduced, then code further down this path could break.
[OTHER INFO]
groovy and later versions have already been fixed via a new upstream release. Upstream discussion of the a and m mixup can be found at the links below. Duplicate bug 1859293 also has some very good background.
[ORIGINAL REPORT]
I am getting segfaults everytime I want to unmount my webdav online-space (segfault error 4).
Hardware failure is impossible as I see - because error already reported on project page (and fixed).
Error should be fixed in davfs 1.5.6 (Maybe easiest to bump to version 1.5.6 on ubuntu repos ?) :)
See (line 4-6): http://
See 2: https:/
EDIT: Using Ubuntu 20.04 x64
affects: | linphone (Ubuntu) → davfs2 (Ubuntu) |
description: | updated |
tags: | added: patch |
tags: | added: focal |
description: | updated |
description: | updated |
description: | updated |
I also hit the same problem on focal as well, and I'd like to sru focal for this patch first as it is really annoying, and do NMU for upstream release version 1.5.6 on debian and groovy later.