d4c884330c
When creating an UnwindMapLocal fails in the Build() function call, the destructor for UnwindMap is called. Unfortunately, the map_cursor_ member variable has not been initialized, so the call to destroy it winds up operating on garbage data. Part of this is a result of a bad class hierarchy, so this refactors the classes slightly, and properly initializes the map_cursor_ member variable in the base class. Bug: 26931578 Change-Id: I885596bf65e4ef63559cee2c56cd41576d5ecc1b |
||
---|---|---|
.. | ||
Android.build.mk | ||
Android.mk | ||
Backtrace.cpp | ||
BacktraceCurrent.cpp | ||
BacktraceCurrent.h | ||
BacktraceLog.h | ||
BacktraceMap.cpp | ||
BacktraceOffline.cpp | ||
BacktraceOffline.h | ||
BacktracePtrace.cpp | ||
BacktracePtrace.h | ||
GetPss.cpp | ||
GetPss.h | ||
ThreadEntry.cpp | ||
ThreadEntry.h | ||
UnwindCurrent.cpp | ||
UnwindCurrent.h | ||
UnwindMap.cpp | ||
UnwindMap.h | ||
UnwindPtrace.cpp | ||
UnwindPtrace.h | ||
backtrace_offline_test.cpp | ||
backtrace_test.cpp | ||
backtrace_testlib.c | ||
thread_utils.c | ||
thread_utils.h |