Description of problem: In certain code paths gid_resolve() can leave the group list in the call stack zero. If some server side function does then a copy_frame() it will cause a crash. Note: current standard server configurations do not expose this issue, but the crash occurs with certain out of tree xlators loaded on a brick. Steps to Reproduce: 1. Compile the sdfs ("server dentry fop serializer") translator that's currently availabe on the experimental branch (https://review.gluster.org/18082) and add it to the brick configuration. 2. run the test case tests/bug/nfs/bug-1053579.t Actual results: Crash. Expected results: Test case succeeds. Additional info: The issue was brought to attention and discussed in the following experimental branch hotfix: https://review.gluster.org/18151
REVIEW: https://review.gluster.org/18790 (protocol/server: refactor gid_resolve()) posted (#1) for review on master by Csaba Henk
COMMIT: https://review.gluster.org/18789 "libglusterfs: fix the call_stack_set_group() function" was merged to master and it aims to fix this bug too (as above referred change was merged into this one).
This update is done in bulk based on the state of the patch and the time since last activity. If the issue is still seen, please reopen the bug.