开发者

crash on 64bt platform

开发者 https://www.devze.com 2023-03-18 02:21 出处:网络
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 so

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消