minidump_stackwalk 运行报错
Closed this issue · 1 comments
YvesCheung commented
./tools/mac/minidump_stackwalk ./crashDump/***.dmp > ./crashDump/crash.txt
报错:
dyld: Symbol not found: __ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE
Referenced from: /Users/yvescheung/project/Chapter01/./tools/mac/minidump_stackwalk
Expected in: /usr/lib/libstdc++.6.dylib
in /Users/yvescheung/project/Chapter01/./tools/mac/minidump_stackwalk
zsh: abort ./tools/mac/minidump_stackwalk ./crashDump/***.dmp > ./crashDump/crash.txt
YvesCheung commented
AndroidStudio目录下自带了一个minidump_stackwalk,用那个就好。
比如我的mac对应目录在:
/Applications/Android\ Studio.app/Contents/plugins/android-ndk/resources/lldb/bin/minidump_stackwalk