We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在koom-demo中build.gradle中新增: ndk { abiFilters 'armeabi-v7a', 'arm64-v8a' } 使用 ForkStripHeapDumper.getInstance().dump( this.getFilesDir().getAbsolutePath() + File.separator + "test.hprof"); 报错如下 android_api_ = 28 CHECK failed at D:/project/private/koom/koom-common/kwai-android-base/src/main/cpp/kwai_linker/kwai_dlfcn.cpp (line: 92) - <dlopen>: __loader_dlopen: Socket operation on non-socket CHECK failed at D:/project/private/koom/koom-fast-dump/src/main/cpp/hprof_dump.cpp (line: 62) - <Initialize>: handle: Socket operation on non-socket before suspend and fork. enter native_bridge2_getTrampoline Java_com_kwai_koom_fastdump_ForkJvmHeapDumper_suspendAndFork, trampoline_addr 0x7ffff3141060 CHECK failed at D:/project/private/koom/koom-fast-dump/src/main/cpp/hprof_dump.cpp (line: 113) - <SuspendAndFork>: init_done_: Socket operation on non-socket dump result false 断点发现hprof_dump.cpp中的fork函数返回-1.请大佬看看是否是库兼容性问题
ndk { abiFilters 'armeabi-v7a', 'arm64-v8a' }
ForkStripHeapDumper.getInstance().dump( this.getFilesDir().getAbsolutePath() + File.separator + "test.hprof");
android_api_ = 28
CHECK failed at D:/project/private/koom/koom-common/kwai-android-base/src/main/cpp/kwai_linker/kwai_dlfcn.cpp (line: 92) - <dlopen>: __loader_dlopen: Socket operation on non-socket
CHECK failed at D:/project/private/koom/koom-fast-dump/src/main/cpp/hprof_dump.cpp (line: 62) - <Initialize>: handle: Socket operation on non-socket
before suspend and fork.
enter native_bridge2_getTrampoline Java_com_kwai_koom_fastdump_ForkJvmHeapDumper_suspendAndFork, trampoline_addr 0x7ffff3141060
CHECK failed at D:/project/private/koom/koom-fast-dump/src/main/cpp/hprof_dump.cpp (line: 113) - <SuspendAndFork>: init_done_: Socket operation on non-socket
dump result false
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
上述问题在雷电模拟器Android9,cpu架构为x86_64,使用真机无此问题。
No branches or pull requests
在koom-demo中build.gradle中新增:
ndk { abiFilters 'armeabi-v7a', 'arm64-v8a' }
使用
ForkStripHeapDumper.getInstance().dump( this.getFilesDir().getAbsolutePath() + File.separator + "test.hprof");
报错如下
android_api_ = 28
CHECK failed at D:/project/private/koom/koom-common/kwai-android-base/src/main/cpp/kwai_linker/kwai_dlfcn.cpp (line: 92) - <dlopen>: __loader_dlopen: Socket operation on non-socket
CHECK failed at D:/project/private/koom/koom-fast-dump/src/main/cpp/hprof_dump.cpp (line: 62) - <Initialize>: handle: Socket operation on non-socket
before suspend and fork.
enter native_bridge2_getTrampoline Java_com_kwai_koom_fastdump_ForkJvmHeapDumper_suspendAndFork, trampoline_addr 0x7ffff3141060
CHECK failed at D:/project/private/koom/koom-fast-dump/src/main/cpp/hprof_dump.cpp (line: 113) - <SuspendAndFork>: init_done_: Socket operation on non-socket
dump result false
断点发现hprof_dump.cpp中的fork函数返回-1.请大佬看看是否是库兼容性问题
The text was updated successfully, but these errors were encountered: