stack trace/debug output on Android if app crashes
the Android NDK (ie C/C++ libraries compiled for android) don't seem to provide much output on a crash (ie segfault etc). It seems that with the "Jelly Bean" Android (v 4.1) a lot of the facility for printing out a stack trace was removed. About the only avenue left is using the "CallStack?" class in the shared library (which seems to be in all Android distros/versions) -- libutils.so. Unfortunately, after figuring out how to use this class "CallStack?" -- the output is not very good, just one line printed with an unknown address and the calling program (not even the calling routine/function). I will attach my results to this ticket. I'm not sure if it's worth incorporating into BOINC (just a few lines in lib/diagnostics.cpp) since the output from Android is so poor.
mods to boinc/lib/ and include files for Android "CallStack?" (libutils.so) for stack trace upon a crash