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?
Show replies by thread