Hi Salvatore,

On Sun Dec 15 2024 at 02:15 PM +0100, Salvatore Bonaccorso wrote:
> I'm not able to reproduce it here. Can you please Install the dbgsym
> packages as well and get more information by making sure the service
> is stopped and start it by hand under debugger.
> 
> This might give some more clue for upstream.

I apparently need some help with gdb to get useful output. After
running "find-dbgsym-packages /usr/sbin/rpc.nfsd", I installed
libc6-dbg and nfs-kernel-server-dbgsym. Then I stopped
/etc/init.d/nfs-kernel-server just before the call to rpc.nfsd
and ran gdb:

   # gdb /usr/sbin/rpc.nfsd
   GNU gdb (Debian 15.2-1) 15.2
   ...
   Reading symbols from /usr/sbin/rpc.nfsd...
   Reading symbols from 
/usr/lib/debug/.build-id/4c/400a0c5314bb3884d7adbde7889a7bbc3a0eaa.debug...
   (gdb) run
   Starting program: /usr/sbin/rpc.nfsd 
   [Thread debugging using libthread_db enabled]
   Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

   Program terminated with signal SIGSEGV, Segmentation fault.
   The program no longer exists.
   (gdb) bt
   No stack.

Suggestions?

Also, after rpc.nfsd fails, running it again (or, e.g., exportfs -r)
hangs and can't be killed.

The same failure occurs on another similarly-configured system.

Thanks..  Bill

Reply via email to