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

Bug 1178020

Summary: dict_get() called with dict=NULL in xlators/nfs/server/src/acl3.c:acl3_getacl_cbk
Product: [Community] GlusterFS Reporter: Niels de Vos <ndevos>
Component: nfsAssignee: bugs <bugs>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: atumball, bugs, sankarshan
Target Milestone: ---Keywords: EasyFix, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-20 06:48:18 UTC Type: Bug
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
Patch that adds an additional check for dict==NULL to prevent calling dict_get() none

Description Niels de Vos 2015-01-01 13:35:35 UTC
Created attachment 974960 [details]
Patch that adds an additional check for dict==NULL to prevent calling dict_get()

Description of problem:
When running the regression tests, there are many entries like this:

[2014-12-31 01:13:15.011922] I [dict.c:382:dict_get] (--> /usr/lib64/libglusterfs.so.0(_gf_log_callingfn+0x147)[0x7f87710d5ac7] (--> /usr/lib64/libglusterfs.so.0(dict_g
et+0x89)[0x7f87710cf049] (--> /usr/lib64/glusterfs/3.7dev/xlator/nfs/server.so(acl3_getacl_cbk+0x75)[0x7f875f95eb55] (--> /usr/lib64/glusterfs/3.7dev/xlator/nfs/server.
so(nfs_fop_getxattr_cbk+0x2c)[0x7f875f93222c] (--> /usr/lib64/glusterfs/3.7dev/xlator/debug/io-stats.so(io_stats_getxattr_cbk+0xf4)[0x7f875fb97424] ))))) 0-dict: !this || key=system.posix_acl_access


Version-Release number of selected component (if applicable):
mainline (with patches from bug 1143880, but maybe without those too?)

How reproducible:
100%

Steps to Reproduce:
1. checkout the glusterfs sources
2. make -C extras/LinuxRPM glusterrpms
3. install the rpms on a test system
4. run /usr/share/glusterfs/run-tests.sh
5. tail -f /var/log/glusterfs/nfs.log

Actual results:
See those error messages.

Expected results:
No error messages.

Additional info:
I'm unsure why dict=NULL, this could use some more investigation.