Actions
Bug #23446
closedceph-fuse: getgroups failure causes exception
% Done:
0%
Source:
Development
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
ceph-fuse
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Problem described here:
https://github.com/ceph/ceph-csi/pull/30#issuecomment-375331907
2018-03-22 13:47:50.337463 7f9cb0101080 0 ceph version 12.2.4 (52085d5249a80c5f5121a76d6288429f35e4e77b) luminous (stable), process (unknown), pid 286 2018-03-22 13:47:50.341988 7f9cb0101080 -1 init, newargv = 0x560e639a3f20 newargc=9 ceph-fuse[286]: starting ceph client ceph-fuse[286]: starting fuse terminate called after throwing an instance of 'std::bad_array_new_length' what(): std::bad_array_new_length *** Caught signal (Aborted) ** in thread 7f9ca21b9700 thread_name:ceph-fuse ceph version 12.2.4 (52085d5249a80c5f5121a76d6288429f35e4e77b) luminous (stable) 1: (()+0x6d4784) [0x560e5a280784] 2: (()+0x11390) [0x7f9caee89390] 3: (gsignal()+0x38) [0x7f9cadc15428] 4: (abort()+0x16a) [0x7f9cadc1702a] 5: (__gnu_cxx::__verbose_terminate_handler()+0x16d) [0x7f9cae55884d] 6: (()+0x8d6b6) [0x7f9cae5566b6] 7: (()+0x8d701) [0x7f9cae556701] 8: (()+0x8d919) [0x7f9cae556919] 9: (()+0x8c662) [0x7f9cae555662] 10: (()+0x23ef1b) [0x560e59deaf1b] 11: (Client::_opendir(Inode*, dir_result_t**, UserPerm const&)+0x5e) [0x560e59e3112e] 12: (Client::ll_opendir(Inode*, int, dir_result_t**, UserPerm const&)+0xd5) [0x560e59e31935] 13: (()+0x213917) [0x560e59dbf917] 14: (()+0x15f4c) [0x7f9cafa53f4c] 15: (()+0x15679) [0x7f9cafa53679] 16: (()+0x11e38) [0x7f9cafa4fe38] 17: (()+0x76ba) [0x7f9caee7f6ba] 18: (clone()+0x6d) [0x7f9cadce741d] 2018-03-22 13:47:57.499793 7f9ca21b9700 -1 *** Caught signal (Aborted) ** in thread 7f9ca21b9700 thread_name:ceph-fuse
Looks like gid_count in UserPerm gets set to a negative value. Most likely cause appears to be here:
Note: problem does not exist on Jewel.
Actions