Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] davfs2 suddenly not working properly
Date: Thu, 18 Apr 2019 01:43:50
Message-Id: m3imvcrsx6.wl-covici@ccs.covici.com
In Reply to: Re: [gentoo-user] davfs2 suddenly not working properly by Adam Carter
1 On Mon, 15 Apr 2019 23:46:25 -0400,
2 Adam Carter wrote:
3 >
4 > [1 <text/plain; UTF-8 (7bit)>]
5 > [2 <text/html; UTF-8 (quoted-printable)>]
6 > On Tue, Apr 16, 2019 at 9:16 AM John Covici <covici@××××××××××.com> wrote:
7 >
8 > Hi. After my last world update, davfs2 is not working properly.
9 >
10 > I use it to mount my owncloud instance and it mounts fine, but the
11 > umount <directory where owncloud is mounted> always segfaults and
12 > leaves the mount alone. Now, I can force to unmount by doing
13 > umount.davfs followed by the URL in question, but then the cache is
14 > never synced, so I just have to wait a while to make sure.
15 >
16 > You could run 'sync && umount.davfs' instead of waiting.
17 >
18 > The log says its seg faulting and claims that a core dump has
19 > occurred, but I can't find such a thing. Google and bgo reveal
20 > nothing. I am using the unstable gentoo and the glibc library was
21 > updated to2.29-r1 -- there is an r2, but I have not updated to it.
22 >
23 > Can you paste the messages here?
24 >
25 > If it were me i'd just do these and try again after each step to see if any of them help
26 > - update glibc and reboot
27 > - try rebuilding util-linux and davfs2
28 > - run 'strace umount <directory where owncloud is mounted>' Even though i don't understand a lot of the output, its possible to see libraries failing to load, or files unreadable etc
29
30 I did all the steps you suggested, except the strace, but no joy. I
31 upgraded glibc, upgraded the kernel which I had to do anyway and
32 rebuilt net-fs/davfs2 and rebooted. I did rebuild util-linux, but I
33 did that before the upgrade, not sure if that would make a difference.
34
35 the messages from the segfault are:
36 Apr 17 18:39:55 ccs.covici.com kernel: umount.davfs[5332]: segfault at
37 45a0d000 ip 00007f90082bfb96 sp 00007ffcd47b49f8 error 4 in
38 libc-2.29.so[7f9008242000+159000]
39 Apr 17 18:39:55 ccs.covici.com kernel: Code: 0f 1f 40 00 66 0f ef c0
40 66 0f ef c9 66 0f ef d2 66 0f ef db 48 89 f8 48 89 f9 48 81 e1 ff 0f
41 00 00 48 81 f9 cf 0f 00 00 77 6a <f3> 0f 6f 20 66 0f 74 e0 66 0f d7 d4
42 85 d2 74 04 0f bc c2 c3 48 83
43 Apr 17 18:39:55 ccs.covici.com systemd[1]: Created slice
44 system-systemd\x2dcoredump.slice.
45 Apr 17 18:39:55 ccs.covici.com systemd[1]: Started Process Core Dump
46 (PID 5333/UID 0).
47 Apr 17 18:39:55 ccs.covici.com systemd-coredump[5334]: Process 5332
48 (umount.davfs) of user 0 dumped core.
49 Apr 17 18:39:55 ccs.covici.com systemd[1]:
50 systemd-coredump@××××××××.service: Succeeded.
51
52 I can't find that coredump, not sure if the process is allowed to do
53 it.
54
55 --
56 Your life is like a penny. You're going to lose it. The question is:
57 How do
58 you spend it?
59
60 John Covici wb2una
61 covici@××××××××××.com

Replies

Subject Author
Re: [gentoo-user] davfs2 suddenly not working properly Neil Bothwick <neil@××××××××××.uk>