Bug 1233139
| Summary: | Null pointer dreference in dht_migrate_complete_check_task | |||
|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Raghavendra G <rgowdapp> | |
| Component: | distribute | Assignee: | Raghavendra G <rgowdapp> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | mainline | CC: | amukherj, bugs | |
| Target Milestone: | --- | Keywords: | Triaged | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1233158 (view as bug list) | Environment: | ||
| Last Closed: | 2016-06-16 13:13:39 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: | 1233158, 1233517 | |||
REVIEW: http://review.gluster.org/11313 (cluster/dht: Fix Null pointer dereference while logging) posted (#1) for review on master by Raghavendra G (rgowdapp) COMMIT: http://review.gluster.org/11313 committed in master by Raghavendra G (rgowdapp) ------ commit dda7608736857ac5fb539f2c04a1499999c984ed Author: Raghavendra G <rgowdapp> Date: Thu Jun 18 16:23:50 2015 +0530 cluster/dht: Fix Null pointer dereference while logging Change-Id: I1ea358b83267b0bcdf654ce18fe881fd4a6bf08d BUG: 1233139 Signed-off-by: Raghavendra G <rgowdapp> Reviewed-on: http://review.gluster.org/11313 Tested-by: Gluster Build System <jenkins.com> Tested-by: NetBSD Build System <jenkins.org> REVIEW: http://review.gluster.org/11363 (cluster/dht: remove check for gfid change during mirgation-complete task) posted (#1) for review on master by Raghavendra G (rgowdapp) This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report. glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |
Description of problem: if (gf_uuid_compare (stbuf.ia_gfid, tmp_loc.inode->gfid)) { gf_msg (this->name, GF_LOG_ERROR, 0, DHT_MSG_GFID_MISMATCH, "%s: gfid different on the target file on %s", tmp_loc.path, dst_node->name); ret = -1; local->op_errno = EIO; goto out; } dst_node = dht_subvol_get_cached (this, tmp_loc.inode); dst_node->name is accessed in the log, but dst_node is assigned later on. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: