Bug 1685078
Summary: | systemic: gluster fuse crashed with segmentation fault possibly due to dentry not found | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Nag Pavan Chilakam <nchilaka> | |
Component: | glusterfs | Assignee: | Xavi Hernandez <jahernan> | |
Status: | CLOSED WORKSFORME | QA Contact: | Nag Pavan Chilakam <nchilaka> | |
Severity: | urgent | Docs Contact: | ||
Priority: | high | |||
Version: | rhgs-3.4 | CC: | amukherj, jahernan, pasik, pkarampu, rcyriac, rgowdapp, rhinduja, rhs-bugs, sheggodu, srangana, vbellur | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1686009 (view as bug list) | Environment: | ||
Last Closed: | 2020-01-03 07:52:38 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1686009 |
Description
Nag Pavan Chilakam
2019-03-04 10:23:54 UTC
> [2019-03-01 13:37:02.711187] W [inode.c:197:__is_dentry_hashed] (-->/lib64/libglusterfs.so.0(__inode_path+0x68) [0x7f515a5cd1c8] -->/lib64/libglusterfs.so.0(+0x3add4) [0x7f515a5cadd4] -->/lib64/libglusterfs.so.0(+0x3ad7e) [0x7f515a5cad7e] ) 0-fuse: dentry not found
> pending frames:
> frame : type(1) op(UNLINK)
> frame : type(1) op(UNLINK)
> frame : type(1) op(READDIRP)
----
(gdb) bt
#0 __dentry_search_arbit (inode=inode@entry=0x7f0a5002eab8) at inode.c:1450
(gdb) l
1445 dentry_t *trav = NULL;
1446
1447 if (!inode)
1448 return NULL;
1449
1450 list_for_each_entry (trav, &inode->dentry_list, inode_list) {
1451 if (__is_dentry_hashed (trav)) {
1452 dentry = trav;
1453 break;
----
Looks like we need to see if trav is null, and break the loop. Mainly here, __is_dentry_hashed() has given 0 output, and we still continue to traverse the list. I guess, that should have stopped.
Still checking.
We will mark this for release once there is a fix upstream. cleared needinfo accidentally |