Skip to content
New issue

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

分析报错 用的是StripHprofHeapDumper 组件这种方式dump的内存镜像 HUWEI FLA-AL20 android9 必现 应该是hook写入的时候有点问题 #46

Open
shijiannihao opened this issue Dec 16, 2020 · 1 comment
Assignees

Comments

@shijiannihao
Copy link

020-12-16 17:03:55.722 32550-32578/com.kwai.koom.demo I/LeaksFinder: build index file:/data/user/0/com.kwai.koom.demo/cache/koom/hprof/2020-12-16_17-03-51.hprof
2020-12-16 17:03:56.146 32550-32578/com.kwai.koom.demo W/System.err: java.lang.IllegalStateException: Unknown tag 0x0d at 3792519 after 0x08 at 3792506
2020-12-16 17:03:56.146 32550-32578/com.kwai.koom.demo W/System.err: at kshark.HprofReader.readHprofRecords(HprofReader.kt:446)
2020-12-16 17:03:56.146 32550-32578/com.kwai.koom.demo W/System.err: at kshark.internal.HprofInMemoryIndex$Companion.createReadingHprof(HprofInMemoryIndex.kt:377)
2020-12-16 17:03:56.146 32550-32578/com.kwai.koom.demo W/System.err: at kshark.HprofHeapGraph$Companion.indexHprof(HprofHeapGraph.kt:244)
2020-12-16 17:03:56.147 32550-32578/com.kwai.koom.demo W/System.err: at com.kwai.koom.javaoom.analysis.SuspicionLeaksFinder.buildIndex(SuspicionLeaksFinder.java:205)
2020-12-16 17:03:56.147 32550-32578/com.kwai.koom.demo W/System.err: at com.kwai.koom.javaoom.analysis.SuspicionLeaksFinder.find(SuspicionLeaksFinder.java:88)
2020-12-16 17:03:56.147 32550-32578/com.kwai.koom.demo W/System.err: at com.kwai.koom.javaoom.analysis.KHeapAnalyzer.analyze(KHeapAnalyzer.java:44)
2020-12-16 17:03:56.

@shijiannihao shijiannihao changed the title 分析报错 用的是StripHprofHeapDumper 组件这种方式dump的内存镜像 HUWEI FLA-AL20 android9 必现 分析报错 用的是StripHprofHeapDumper 组件这种方式dump的内存镜像 HUWEI FLA-AL20 android9 必现 应该是hook写入的时候有点问题 Dec 16, 2020
@KollerWithDoris
Copy link

KollerWithDoris commented Mar 22, 2021

同样的问题 java.lang.IllegalStateException:Unknown tag 0x12 at 3331220 after 0x23 at 3331205

将StripHprofHeapDumper与ForkJvm组合起来使用会有此问题

Oppo Reno4, Android 10, 8G内存

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants