I think I found a simliar thread here, but I could not understand much about it unfortunately as this is related to c++. My prob also seems to occure while I am trying to increment something. Incrementing `static int` causes SIGSEGV SEGV_ACCERR
After looking at the above link,(as I have a feeling they are similar) the segmentation fault doesn't seem to occur always, the occurrence is pretty rare. The dump seems to happen in this function and when find is called.