I think I found a simliar thread here, but I could not understand much about it unfort开发者_开发知识库unately 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.
Seems like you try to give HashTbl::find key
0. It tries to dereference it and fails. Add printing key
to std::out and check what keys you are using.
精彩评论