build with libc allocator, and with the boost context lib support for valgrind:
cmake -DALLOCATOR=libc -DWITH_BOOST_VALGRIND=ON ..
run vstart cluster:
MON=1 OSD=1 MDS=0 MGR=0 RGW=1 ../src/vstart.sh -n -d
kill the radosgw and rerun it under valgrind: