x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[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?

Product Version: UE 4.12 Preview
Tags:
more ▼

asked May 28 '16 at 04:46 PM in C++ Programming

avatar image

笑傲江湖-DA
216 13 24 31

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

Jay

IceWare Inc.

IwSpline

more ▼

answered May 28 '16 at 04:55 PM

avatar image

jayice
1.4k 41 28 56

avatar image 笑傲江湖-DA May 29 '16 at 03:10 AM

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.

avatar image jayice May 29 '16 at 03:22 AM

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?

Jay

IceWare Inc.

IwSpline

avatar image 笑傲江湖-DA May 29 '16 at 06:33 AM

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.

avatar image jayice May 29 '16 at 06:54 AM

are you creating your own threads?

avatar image 笑傲江湖-DA May 29 '16 at 06:58 AM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question