| Summary: | setattr on a non-regular file makes glusterfs crash | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Raghavendra Bhat <rabhat> | ||||||
| Component: | stripe | Assignee: | Amar Tumballi <amarts> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | mainline | CC: | gluster-bugs, vraman | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | Type: | --- | |||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
When setattr operation is performed on a non-regular file glusterfs crashes. The client log file and the back trace is attached the problem for this was that for non-regular file, frame->local was not set, and setattr_cbk was trying to reference a NULL pointer. Patch sent to testing.. PATCH: http://patches.gluster.com/patch/2159 in master (cluster/stripe: Initialize frame->local before checking for directory or regular files.) PATCH: http://patches.gluster.com/patch/2224 in master (fixes in stripe) PATCH: http://patches.gluster.com/patch/2264 in master (cluster/stripe: Wrong variable is checked after calloc.) |
Created attachment 100 [details] make "ifconfig sl0 mtu 1400" work properly