Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1091075

Summary: [abrt] nfs-ganesha: opr_rbtree_lookup(): ganesha.nfsd killed by SIGSEGV
Product: [Retired] nfs-ganesha Reporter: bmiller
Component: ntirpcAssignee: Matt Benjamin <matt>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0CC: kkeithle, lieb
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/5a4a14d55ada9d7b4cf182f532c6484db9a94737
Whiteboard: abrt_hash:75e0e79056f73783256f5e327d47446c06f10d80
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-24 11:09:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description bmiller 2014-04-24 19:43:32 UTC
Description of problem:
Attempt to export /boot through vfs

service nfs-genesha start

/var/log/messages:

Apr 24 15:20:31 localhost systemd: Starting User-mode file server for NFS...
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] main :MAIN :EVENT :ganesha.nfsd Starting: Version 2.0.0, built at Jan  6 2014 16:07:56 on
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] BuildExportEntry :CONFIG :EVENT :NFS READ Export: Export 77 (/boot) successfully parsed
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_set_param_from_conf :NFS STARTUP :EVENT :Configuration file successfully parsed
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] lower_my_caps :NFS STARTUP :EVENT :CAP_SYS_RESOURCE was successfully removed for proper quota management in FSAL
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] lower_my_caps :NFS STARTUP :EVENT :currenty set capabilities are: = cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_linux_immutable,cap_net_bind_service,cap_net_broadcast,cap_net_admin,cap_net_raw,cap_ipc_lock,cap_ipc_owner,cap_sys_module,cap_sys_rawio,cap_sys_chroot,cap_sys_ptrace,cap_sys_pacct,cap_sys_admin,cap_sys_boot,cap_sys_nice,cap_sys_time,cap_sys_tty_config,cap_mknod,cap_lease,cap_audit_write,cap_audit_control,cap_setfcap+ep
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] gsh_dbus_pkginit :DBUS :CRIT :server bus reg failed (org.ganesha.nfsd, Connection ":1.86" is not allowed to own the service "org.ganesha.nfsd" due to security policies in the configuration file)
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_Init_svc :DISP :CRIT :Cannot acquire credentials for principal nfs
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_Init_admin_thread :NFS CB :EVENT :Admin thread initialized
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_Init :NFS STARTUP :EVENT :Initializing ID Mapper.
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_Init :NFS STARTUP :EVENT :ID Mapper successfully initialized.
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs4_start_grace :STATE :EVENT :NFS Server Now IN GRACE, duration 60
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_rpc_cb_init_ccache :NFS STARTUP :WARN :mkdir failed creating credential cache directory: /var/run/ganesha (17)
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_rpc_cb_init_ccache :NFS STARTUP :WARN :gssd_refresh_krb5_machine_credential failed (-1765328160:2)
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_rpc_cbsim_pkginit :NFS CB :EVENT :Callback Simulator Initialized
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_Start_threads :THREAD :EVENT :Starting delayed executor.
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_Start_threads :THREAD :EVENT :9P/TCP dispatcher thread was started successfully
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_Start_threads :THREAD :EVENT :gsh_dbusthread was started successfully
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_Start_threads :THREAD :EVENT :admin thread was started successfully
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_Start_threads :THREAD :EVENT :reaper thread was started successfully
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_Start_threads :THREAD :EVENT :General fridge was started successfully
Apr 24 15:20:31 localhost rpc.statd[992]: Received SM_UNMON_ALL request from localhost.localdomain while not monitoring any hosts
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_start :NFS STARTUP :EVENT :-------------------------------------------------
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_start :NFS STARTUP :EVENT :             NFS SERVER INITIALIZED
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [main] nfs_start :NFS STARTUP :EVENT :-------------------------------------------------
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [_9p_dispatch_thr] _9p_dispatcher_svc_run :9P DISP :EVENT :9P dispatcher started
Apr 24 15:20:31 localhost nfs-ganesha[2790]: [reaper] nfs_in_grace :STATE :EVENT :NFS Server Now IN GRACE
Apr 24 15:21:31 localhost nfs-ganesha[2790]: [reaper] nfs_in_grace :STATE :EVENT :NFS Server Now NOT IN GRACE
Apr 24 15:22:01 localhost systemd: nfs-ganesha.service operation timed out. Terminating.
Apr 24 15:22:01 localhost nfs-ganesha[2790]: [Admin] do_shutdown :MAIN :EVENT :NFS EXIT: stopping NFS service
Apr 24 15:22:01 localhost nfs-ganesha[2790]: [Admin] do_shutdown :MAIN :EVENT :Stopping delayed executor.
Apr 24 15:22:01 localhost nfs-ganesha[2790]: [Admin] do_shutdown :MAIN :EVENT :Delayed executor stopped.
Apr 24 15:22:01 localhost nfs-ganesha[2790]: [Admin] do_shutdown :MAIN :EVENT :Stopping state asynchronous request thread
Apr 24 15:22:01 localhost nfs-ganesha[2790]: [Admin] do_shutdown :THREAD :EVENT :State asynchronous request system shut down.
Apr 24 15:22:01 localhost nfs-ganesha[2790]: [Admin] do_shutdown :MAIN :EVENT :Stopping request listener threads.
Apr 24 15:22:01 localhost nfs-ganesha[2790]: [Admin] do_shutdown :MAIN :EVENT :Stopping request decoder threads
Apr 24 15:22:01 localhost nfs-ganesha[2790]: [Admin] do_shutdown :THREAD :EVENT :Request threads shut down.
Apr 24 15:22:01 localhost nfs-ganesha[2790]: [Admin] do_shutdown :MAIN :EVENT :Stopping worker threads
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [Admin] do_shutdown :THREAD :EVENT :Worker threads successfully shut down.
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [Admin] do_shutdown :THREAD :EVENT :General fridge shut down.
Apr 24 15:22:02 localhost kernel: [19388.556154] ganesha.nfsd[2790]: segfault at 0 ip           (null) sp 00007fff10483e58 error 14
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [Admin] do_shutdown :THREAD :EVENT :Reaper thread shut down.
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [Admin] do_shutdown :MAIN :EVENT :Stopping LRU thread.
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [Admin] do_shutdown :THREAD :EVENT :LRU thread system shut down.
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [Admin] do_shutdown :MAIN :EVENT :Destroying the inode cache.
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [Admin] do_shutdown :MAIN :EVENT :Inode cache destroyed.
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [Admin] do_shutdown :MAIN :EVENT :Destroying the FSAL system.
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [Admin] destroy_fsals :FSAL :EVENT :Shutting down exports for FSAL VFS
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [Admin] destroy_fsals :FSAL :EVENT :Exports for FSAL VFS shut down
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [Admin] destroy_fsals :FSAL :EVENT :Unloading FSAL VFS
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [Admin] destroy_fsals :FSAL :EVENT :FSAL VFS unloaded
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [Admin] do_shutdown :MAIN :EVENT :FSAL system destroyed.
Apr 24 15:22:02 localhost nfs-ganesha[2790]: [main] nfs_start :MAIN :EVENT :NFS EXIT: regular exit
Apr 24 15:22:02 localhost kernel: ganesha.nfsd[2790]: segfault at 0 ip           (null) sp 00007fff10483e58 error 14
Apr 24 15:22:03 localhost abrt-hook-ccpp: Saved core dump of pid 2790 (/usr/bin/ganesha.nfsd) to /var/tmp/abrt/ccpp-2014-04-24-15:22:02-2790 (210751488 bytes)




Version-Release number of selected component:
nfs-ganesha-2.0.0-4.fc20

Additional info:
reporter:       libreport-2.2.1
backtrace_rating: 4
cmdline:        /usr/bin/ganesha.nfsd
crash_function: opr_rbtree_lookup
executable:     /usr/bin/ganesha.nfsd
kernel:         3.13.10-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (8 frames)
 #1 opr_rbtree_lookup at /usr/src/debug/nfs-ganesha-2.0.0/src/libntirpc/src/rbtree.c:302
 #2 rpc_dplx_unref at /usr/src/debug/nfs-ganesha-2.0.0/src/libntirpc/src/rpc_dplx.c:355
 #3 rpcb_unset at /usr/src/debug/nfs-ganesha-2.0.0/src/libntirpc/src/rpcb_clnt.c:510
 #4 unregister at /usr/src/debug/nfs-ganesha-2.0.0/src/MainNFSD/nfs_rpc_dispatcher_thread.c:159
 #5 unregister_rpc at /usr/src/debug/nfs-ganesha-2.0.0/src/MainNFSD/nfs_rpc_dispatcher_thread.c:169
 #6 Clean_RPC at /usr/src/debug/nfs-ganesha-2.0.0/src/MainNFSD/nfs_rpc_dispatcher_thread.c:361
 #7 Cleanup at /usr/src/debug/nfs-ganesha-2.0.0/src/log/log_functions.c:744
 #8 nfs_start at /usr/src/debug/nfs-ganesha-2.0.0/src/MainNFSD/nfs_init.c:1234

Comment 1 bmiller 2014-04-24 19:43:36 UTC
Created attachment 889417 [details]
File: backtrace

Comment 2 bmiller 2014-04-24 19:43:37 UTC
Created attachment 889418 [details]
File: cgroup

Comment 3 bmiller 2014-04-24 19:43:39 UTC
Created attachment 889419 [details]
File: dso_list

Comment 4 bmiller 2014-04-24 19:43:41 UTC
Created attachment 889420 [details]
File: environ

Comment 5 bmiller 2014-04-24 19:43:43 UTC
Created attachment 889421 [details]
File: exploitable

Comment 6 bmiller 2014-04-24 19:43:44 UTC
Created attachment 889422 [details]
File: limits

Comment 7 bmiller 2014-04-24 19:43:46 UTC
Created attachment 889423 [details]
File: maps

Comment 8 bmiller 2014-04-24 19:43:47 UTC
Created attachment 889424 [details]
File: open_fds

Comment 9 bmiller 2014-04-24 19:43:49 UTC
Created attachment 889425 [details]
File: proc_pid_status

Comment 10 bmiller 2014-04-24 19:43:50 UTC
Created attachment 889426 [details]
File: var_log_messages

Comment 11 Matt Benjamin 2014-04-25 02:30:03 UTC
I think this defect may be fixed in Ganesha 2.1.