[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#948584: libc6: Mounting nfsv4-export from my NAS there is a segfault in libc



Hello Bernhard.


Am Freitag, den 10.01.2020, 20:31 +0100 schrieb Bernhard Übelacker:
> Hello Miriam,
> if possible, you could install the additional package
> systemd-coredump. Then in the output of 'journalctl --no-pager'
> at the bottom should the known 'segfault at' line appear.
> This and the following lines at that time would be of interest.
> 
I did install systemd-coredump and the result you can see in the attached
file #948584_systemd_journalctl.txt.

> This would get better if the additional nfs-common-dbgsym
> could be installed [1] (from a separate repo).
> 
I also installed nfs-common-dbgsym.


> If additonal to the above steps the package gdb is installed,
> 'coredumpctl gdb' with the command 'bt full' at the gdb prompt
> would yield even better information.
> 
I tried to do this, too. My result is in #948584_coredumpctl_dbg.txt.

I'm a complete Newbie in this sector of administrating Linux systems, so
I hope, that i have made it right, so that the information is sufficient.


> Kind regards,
> Bernhard
> 
> [1] https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols


Kind regards,
Miriam
Jan 11 00:31:29 workstation-mirulan-net systemd[1]: Mounting Mount MiruNAS Medienwerkstatt...
Jan 11 00:31:29 workstation-mirulan-net kernel: mount.nfs[6399]: segfault at 0 ip 00007fcbea68fd35 sp 00007ffe2b34d8e8 error 4 in libc-2.29.so[7fcbea55c000+147000]
Jan 11 00:31:29 workstation-mirulan-net kernel: Code: 48 83 e0 3f c5 f9 6f 25 d9 35 03 00 c5 f9 6f 2d 01 36 03 00 c5 f9 6f 35 e9 35 03 00 83 f9 30 77 64 83 f8 30 77 5f c5 fa 6f 0f <c5> fa 6f 16 c5 f1 64 fc c5 71 64 c5 c5 69 64 cc c5 69 64 d5 c5 39
Jan 11 00:31:29 workstation-mirulan-net systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Jan 11 00:31:29 workstation-mirulan-net systemd[1]: Started Process Core Dump (PID 6400/UID 0).
Jan 11 00:31:30 workstation-mirulan-net systemd[1]: media-MiruNAS-Medienwerkstatt.mount: Mount process exited, code=exited, status=255/EXCEPTION
Jan 11 00:31:30 workstation-mirulan-net systemd[1]: media-MiruNAS-Medienwerkstatt.mount: Failed with result 'exit-code'.
Jan 11 00:31:30 workstation-mirulan-net systemd[1]: Failed to mount Mount MiruNAS Medienwerkstatt.
Jan 11 00:31:30 workstation-mirulan-net systemd-coredump[6401]: Process 6399 (mount.nfs) of user 0 dumped core.
                                                                
                                                                Stack trace of thread 6399:
                                                                #0  0x00007fcbea68fd35 __strcasecmp_l_avx (libc.so.6 + 0x158d35)
                                                                #1  0x0000559dd1170dd9 n/a (mount.nfs + 0x12dd9)
                                                                #2  0x0000559dd116aef5 n/a (mount.nfs + 0xcef5)
                                                                #3  0x0000559dd116b3af n/a (mount.nfs + 0xd3af)
                                                                #4  0x0000559dd1162fc2 n/a (mount.nfs + 0x4fc2)
                                                                #5  0x00007fcbea55dbbb __libc_start_main (libc.so.6 + 0x26bbb)
                                                                #6  0x0000559dd116331a n/a (mount.nfs + 0x531a)
Jan 11 00:31:30 workstation-mirulan-net systemd[1]: systemd-coredump@0-6400-0.service: Succeeded.
Jan 11 00:31:38 workstation-mirulan-net systemd[1]: Starting Cleanup of Temporary Directories...
Jan 11 00:31:38 workstation-mirulan-net systemd-tmpfiles[6408]: /usr/lib/tmpfiles.d/speech-dispatcher.conf:1: Line references path below legacy directory /var/run/, updating /var/run/speech-dispatcher → /run/speech-dispatcher; please update the tmpfiles.d/ drop-in file accordingly.
Jan 11 00:31:38 workstation-mirulan-net systemd-tmpfiles[6408]: /usr/lib/tmpfiles.d/speech-dispatcher.conf:2: Line references path below legacy directory /var/run/, updating /var/run/speech-dispatcher/.cache → /run/speech-dispatcher/.cache; please update the tmpfiles.d/ drop-in file accordingly.
Jan 11 00:31:38 workstation-mirulan-net systemd-tmpfiles[6408]: /usr/lib/tmpfiles.d/speech-dispatcher.conf:3: Line references path below legacy directory /var/run/, updating /var/run/speech-dispatcher/.speech-dispatcher → /run/speech-dispatcher/.speech-dispatcher; please update the tmpfiles.d/ drop-in file accordingly.
Jan 11 00:31:38 workstation-mirulan-net systemd-tmpfiles[6408]: /usr/lib/tmpfiles.d/speech-dispatcher.conf:4: Line references path below legacy directory /var/run/, updating /var/run/speech-dispatcher/.cache/speech-dispatcher → /run/speech-dispatcher/.cache/speech-dispatcher; please update the tmpfiles.d/ drop-in file accordingly.
Jan 11 00:31:38 workstation-mirulan-net systemd-tmpfiles[6408]: /usr/lib/tmpfiles.d/speech-dispatcher.conf:5: Line references path below legacy directory /var/run/, updating /var/run/speech-dispatcher/log → /run/speech-dispatcher/log; please update the tmpfiles.d/ drop-in file accordingly.
Jan 11 00:31:38 workstation-mirulan-net systemd-tmpfiles[6408]: /usr/lib/tmpfiles.d/zoneminder.conf:1: Line references path below legacy directory /var/run/, updating /var/run/zm → /run/zm; please update the tmpfiles.d/ drop-in file accordingly.
Jan 11 00:31:38 workstation-mirulan-net systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Jan 11 00:31:38 workstation-mirulan-net systemd[1]: Started Cleanup of Temporary Directories.
           PID: 6399 (mount.nfs)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 11 (SEGV)
     Timestamp: Sat 2020-01-11 00:31:29 CET (23min ago)
  Command Line: /sbin/mount.nfs 192.168.178.31:/Medienwerkstatt /media/MiruNAS/Medienwerkstatt -o rw,nfsvers=4,no_subtree_check,root_squash,fsid=34c404ad556b1aa0df061251c9b4d1d0
    Executable: /sbin/mount.nfs
 Control Group: /system.slice/media-MiruNAS-Medienwerkstatt.mount
          Unit: media-MiruNAS-Medienwerkstatt.mount
         Slice: system.slice
       Boot ID: 53378e06e9c24e479deff9784c14bec5
    Machine ID: ee774ec066a5418fa50dd10fd7455c3d
      Hostname: workstation-mirulan-net
       Storage: /var/lib/systemd/coredump/core.mount\x2enfs.0.53378e06e9c24e479deff9784c14bec5.6399.1578699089000000000000.lz4
       Message: Process 6399 (mount.nfs) of user 0 dumped core.
                
                Stack trace of thread 6399:
                #0  0x00007fcbea68fd35 __strcasecmp_l_avx (libc.so.6 + 0x158d35)
                #1  0x0000559dd1170dd9 n/a (mount.nfs + 0x12dd9)
                #2  0x0000559dd116aef5 n/a (mount.nfs + 0xcef5)
                #3  0x0000559dd116b3af n/a (mount.nfs + 0xd3af)
                #4  0x0000559dd1162fc2 n/a (mount.nfs + 0x4fc2)
                #5  0x00007fcbea55dbbb __libc_start_main (libc.so.6 + 0x26bbb)
                #6  0x0000559dd116331a n/a (mount.nfs + 0x531a)

GNU gdb (Debian 8.3.1-1) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /sbin/mount.nfs...
Reading symbols from /usr/lib/debug/.build-id/ca/11f72c38561b3cfdaff318ea3818ea731ad036.debug...
[New LWP 6399]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/sbin/mount.nfs 192.168.178.31:/Medienwerkstatt /media/MiruNAS/Medienwerkstatt'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __strcasecmp_l_avx () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:200
200	../sysdeps/x86_64/multiarch/strcmp-sse42.S: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
#0  __strcasecmp_l_avx () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:200
No locals.
#1  0x0000559dd1170dd9 in conf_get_tag_list (section=section@entry=0x559dd11746b6 "MountPoint", arg=arg@entry=0x559dd1ab1140 "/media/MiruNAS/Medienwerkstatt") at conffile.c:582
        list = 0x559dd1ab0d20
        node = <optimized out>
        cb = 0x559dd1ab0e60
#2  0x0000559dd116aef5 in conf_parse_mntopts (section=section@entry=0x559dd11746b6 "MountPoint", arg=0x559dd1ab1140 "/media/MiruNAS/Medienwerkstatt", 
    opts=opts@entry=0x559dd1ab0f80 "rw,nfsvers=4,no_subtree_check,root_squash,fsid=34c404ad556b1aa0df061251c9b4d1d0") at configfile.c:297
        list = <optimized out>
        node = <optimized out>
        buf = '\000' <repeats 3832 times>...
        value = <optimized out>
        field = <optimized out>
        nvalue = <optimized out>
        ptr = <optimized out>
        argtype = <optimized out>
#3  0x0000559dd116b3af in conf_get_mntopts (spec=0x7ffe2b34feff "192.168.178.31:/Medienwerkstatt", mount_point=<optimized out>, 
    mount_opts=0x559dd1ab0f80 "rw,nfsvers=4,no_subtree_check,root_squash,fsid=34c404ad556b1aa0df061251c9b4d1d0") at configfile.c:366
        entry = <optimized out>
        ptr = <optimized out>
        server = <optimized out>
        config_opts = <optimized out>
        optlen = 0
#4  0x0000559dd1162fc2 in mount_config_opts (mount_opts=<optimized out>, mount_point=0x559dd1ab1140 "/media/MiruNAS/Medienwerkstatt", spec=0x7ffe2b34feff "192.168.178.31:/Medienwerkstatt") at mount_config.h:37
No locals.
#5  mount_main (argv=0x7ffe2b34faf8, argc=<optimized out>, cxt=0x559dd1ab0960) at mount_libmount.c:392
--Type <RET> for more, q to quit, c to continue without paging--



Reply to: