ndk icon indicating copy to clipboard operation
ndk copied to clipboard

[FR] add hints to ndk-stack

Open DanAlbert opened this issue 5 years ago • 2 comments
trafficstars

ndk-stack could probably perform some basic analysis of the stack trace and provide some hints to the user.

Specifically, it would be very helpful for diagnosing misuse of https://github.com/android/ndk/issues/837, since the stack trace for getting that wrong will look quite confusing to anyone that doesn't know to expect it.

DanAlbert avatar Aug 12 '20 22:08 DanAlbert

note that debuggerd already does this kind of thing:

https://source.corp.google.com/android/system/core/debuggerd/libdebuggerd/tombstone.cpp;l=115?q=file:debuggerd%20probable&sq=package:%5Eandroid$

if we have more stuff to add, we should probably do it there.

enh-google avatar Aug 12 '20 23:08 enh-google

Won't help for my particular example because new versions of the OS that have the better diagnostics won't be the ones that exhibit the crash. In general I agree though :)

DanAlbert avatar Aug 13 '20 00:08 DanAlbert