Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Unterstrichmoepunterstrich/1462f375b9845a728e4c8a1603439c09 to your computer and use it in GitHub Desktop.
Save Unterstrichmoepunterstrich/1462f375b9845a728e4c8a1603439c09 to your computer and use it in GitHub Desktop.
gdb ganesha.nfsd
coredumpctl gdb 6925 -o coredump_ganesha
PID: 6925 (ganesha.nfsd)
UID: 0 (root)
GID: 0 (root)
Signal: 11 (SEGV)
Timestamp: Tue 2021-04-27 11:50:00 CEST (4min 55s ago)
Command Line: /usr/bin/ganesha.nfsd -L /var/log/ganesha/ganesha.log -f /etc/ganesha/ganesha.conf -N NIV_EVENT
Executable: /usr/bin/ganesha.nfsd
Control Group: /system.slice/nfs-ganesha.service
Unit: nfs-ganesha.service
Slice: system.slice
Boot ID: 4201131aeb614c349ed74d9fa3f1ef4e
Machine ID: 5a1f9e33f2cf45acaae541c427c10308
Hostname: debian-vm
Storage: /var/lib/systemd/coredump/core.ganesha\x2enfsd.0.4201131aeb614c349ed74d9fa3f1ef4e.6925.1619517000000000.lz4
Message: Process 6925 (ganesha.nfsd) of user 0 dumped core.
Stack trace of thread 6925:
#0 0x00007f93807a730a n/a (libganesha_nfsd.so.4)
#1 0x00007f93807a77dd claim_posix_filesystems (libganesha_nfsd.so.4)
#2 0x00007f93807a7bbe resolve_posix_filesystem (libganesha_nfsd.so.4)
#3 0x00007f93745b276a vfs_create_export (libfsalvfs.so)
#4 0x00007f93808a3de1 n/a (libganesha_nfsd.so.4)
#5 0x00007f938082da34 n/a (libganesha_nfsd.so.4)
#6 0x00007f93807e579d n/a (libganesha_nfsd.so.4)
#7 0x00007f93807e50c9 n/a (libganesha_nfsd.so.4)
#8 0x00007f93807e617e load_config_from_parse (libganesha_nfsd.so.4)
#9 0x00007f938082e0b9 ReadExports (libganesha_nfsd.so.4)
#10 0x000055974873fb7a main (ganesha.nfsd)
#11 0x00007f938010a09b __libc_start_main (libc.so.6)
#12 0x000055974873ff2a _start (ganesha.nfsd)
Stack trace of thread 6928:
#0 0x00007f93802cb35b futex_abstimed_wait_cancelable (libpthread.so.0)
#1 0x00007f9380833abc n/a (libganesha_nfsd.so.4)
#2 0x00007f93802c4fa3 start_thread (libpthread.so.0)
#3 0x00007f93801df4cf __clone (libc.so.6)
Stack trace of thread 6926:
#0 0x00007f93802cb00c futex_wait_cancelable (libpthread.so.0)
#1 0x00007f93807d891b nfs_init_wait (libganesha_nfsd.so.4)
#2 0x00007f93808b5328 n/a (libganesha_nfsd.so.4)
#3 0x00007f93808338b9 n/a (libganesha_nfsd.so.4)
#4 0x00007f93802c4fa3 start_thread (libpthread.so.0)
#5 0x00007f93801df4cf __clone (libc.so.6)
Stack trace of thread 6927:
#0 0x00007f93802cb00c futex_wait_cancelable (libpthread.so.0)
#1 0x00007f93807d891b nfs_init_wait (libganesha_nfsd.so.4)
#2 0x00007f93808b11c5 n/a (libganesha_nfsd.so.4)
#3 0x00007f93808338b9 n/a (libganesha_nfsd.so.4)
#4 0x00007f93802c4fa3 start_thread (libpthread.so.0)
#5 0x00007f93801df4cf __clone (libc.so.6)
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 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 /usr/bin/ganesha.nfsd...(no debugging symbols found)...done.
[New LWP 6925]
[New LWP 6928]
[New LWP 6926]
[New LWP 6927]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/ganesha.nfsd -L /var/log/ganesha/ganesha.log -f /etc/ganesha/ganesha.c'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f93807a730a in ?? () from /lib/x86_64-linux-gnu/libganesha_nfsd.so.4
[Current thread is 1 (Thread 0x7f937fe500c0 (LWP 6925))]
(gdb) bt
#0 0x00007f93807a730a in ?? () from /lib/x86_64-linux-gnu/libganesha_nfsd.so.4
#1 0x00007f93807a77dd in claim_posix_filesystems () from /lib/x86_64-linux-gnu/libganesha_nfsd.so.4
#2 0x00007f93807a7bbe in resolve_posix_filesystem () from /lib/x86_64-linux-gnu/libganesha_nfsd.so.4
#3 0x00007f93745b276a in vfs_create_export (fsal_hdl=0x7f93745c8380 <VFS>, parse_node=<optimized out>, err_type=<optimized out>, up_ops=0x55974920f980) at ./src/FSAL/FSAL_VFS/export.c:405
#4 0x00007f93808a3de1 in ?? () from /lib/x86_64-linux-gnu/libganesha_nfsd.so.4
#5 0x00007f938082da34 in ?? () from /lib/x86_64-linux-gnu/libganesha_nfsd.so.4
#6 0x00007f93807e579d in ?? () from /lib/x86_64-linux-gnu/libganesha_nfsd.so.4
#7 0x00007f93807e50c9 in ?? () from /lib/x86_64-linux-gnu/libganesha_nfsd.so.4
#8 0x00007f93807e617e in load_config_from_parse () from /lib/x86_64-linux-gnu/libganesha_nfsd.so.4
#9 0x00007f938082e0b9 in ReadExports () from /lib/x86_64-linux-gnu/libganesha_nfsd.so.4
#10 0x000055974873fb7a in main ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment