Open
Description
Without the attached patch, which simply sets the cursor _unwindInfoMissing boolean to false
when valid info is found, to the source from 'libunwind-12.0.1-src.tar.xz' ,
all calls to unw_step() fail, even if valid unwind info was found, on any of the platforms:
x86_64-redhat-linux (Fedora Core Linux 34),
aarch64-unknown-linux-android2{4,6,8,9} , and arm-unknown-linux-androideabi2{4,6,8,9} .
Without the patch, calls to unw_step() ALWAYS return UNW_STEP_END (0).
With the patch, the same code that expects UNW_STEP_SUCCESS values from unw_step()
now gets them, and prints full stack traces.
It took me a long time to find and correct this bug !
Nothing in UnwindCursor.hpp was setting _unwindInfoMissing to false, when valid info was found !
Metadata
Metadata
Assignees
Type
Projects
Status
Needs Fix