In an Android project that intentionally crashes from C ++, the call stack is not output at the time of the crash.

Perhaps the function that outputs StackTrace in DefaultCrashHandler of AndroidMisc.cpp is not called with an error.

As far as I have investigated, it seems to fail in the last FCStringAnsi :: Strncat (HumanReadableString, StackLine, HumanReadableStringSize); in FAndroidPlatformStackWalk :: SymbolInfoToHumanReadableString.

Steps to Reproduce
  1. Open repro proj
  2. Create android package and deploy to android device
  3. Run the package on device
  4. Crash
  5. Check log

expect : output callstack in log
result : there are not output about callstack in log

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-79099 in the post.

Login to Vote

ComponentPlatform - Mobile
Affects Versions4.
Target Fix4.26
CreatedAug 19, 2019
UpdatedMar 3, 2020