Segmentation fault in rgw_rados.cc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone, I m facing strange issue of segmentation fault in rados.cc inside `int RGWRados::put_linked_bucket_info()` when trying to create a new bucket.
I m making a span inside this function with its parent_span as req_state->root_span (root_span is a data member of req_state).On checking the logs I found that my root_span is not initialized an it is throwing segmentation fault, but when I debug this same program with gdb I m not getting any segmentation fault, Strange.

I dont find this function to be running parallel in which race condition might corrupt the variable.

Side Note:
Inside RGWRados I m accessing req_state by first getting RGWRadosStore and inside that I having req_state variable. And I m setting the RGWRadosStore req_state variable inside function 
RGWCreateBucket::init().

An idea why is this happening?
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux