I am trying to debug segfault in a native android application. GDB shows the following:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 5200] 0xbfcc6744 in ?? () (gdb) bt
Is it possible to get a good stack? Or find the place where the stack was damaged?
UPD: The mentioned function contains links:
bool WWMath::unProject(double x, double y, double z, const Matrix &mvpMatrix, const Rect& viewport, Vec4& result)
and a reference to a simple local variable is passed as the last argument:
Vec4 far, near; if (!unProject(x, y, 0, tMvp, viewport, near))
source share