[C++]Is there any tool to detect addressability issues

e.g. AddressSanitizer is a tool to detect addressability issues for Clang, does UE4 have any tool to detect addressability issues?

There are none that I am aware of. Are you having C5 issues (Null pointers?), if so, the Error Reports generated should be able to show the line in the code it’s occurring at, as well as the call stack.

.

thx so much! can you post link of C5 issues?
I’m having an NULL pointer issue in engine core, but I don’t know whether this issue causes by my logic code or engine bug.

Dawn,

Does the “crash analyzer” not come up for you? When it does it’s should be showing a stack trace (not a true dump of the stack, as it’s not going to show register values, etc), with the name of each function in the call chain?

The “crash analyzer” offers to send the crash report to Epic and restart the editor (there are two other options as well).

Are you not seeing this?

.

yes, I have watched the stack of error, but if there are some issues(e.g. memory overflow) in Thead A, it may cause crash in Thread B, so even my project crashed in Engine Thread, but I think I couldn’t ensure that my logic code all are correct.

are you creating your own threads?

yes, I have created a thread to receive TCP message from game server. when msg received in my own thread, then push it into game thread of engine. but my project would crash in RenderThread of engine.