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

Command Execution Crashes on Android 14 #2693

Open
SireAI opened this issue Jul 31, 2024 · 2 comments
Open

Command Execution Crashes on Android 14 #2693

SireAI opened this issue Jul 31, 2024 · 2 comments

Comments

@SireAI
Copy link

SireAI commented Jul 31, 2024

Exception in thread "main" java.lang.IllegalThreadStateException: process hasn't exited
at java.base/java.lang.ProcessImpl.exitValue(ProcessImpl.java:452)
at shark.SharkCliCommand$Companion.runCommand(SharkCliCommand.kt:192)
at shark.DumpProcessCommand$Companion.dumpHeap(DumpProcessCommand.kt:69)
at shark.SharkCliCommand$Companion.retrieveHeapDumpFile(SharkCliCommand.kt:158)
at shark.AnalyzeCommand.run(AnalyzeCommand.kt:16)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:139)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:14)
at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:215)
at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:212)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:230)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:253)
at shark.MainKt.main(Main.kt:13)

@SireAI
Copy link
Author

SireAI commented Jul 31, 2024

$ shark-cli -p com.xx.xx.xx dump-process
Exception in thread "main" java.lang.IllegalThreadStateException: process hasn't exited
at java.base/java.lang.ProcessImpl.exitValue(ProcessImpl.java:452)
at shark.SharkCliCommand$Companion.runCommand(SharkCliCommand.kt:192)
at shark.DumpProcessCommand$Companion.dumpHeap(DumpProcessCommand.kt:69)
at shark.SharkCliCommand$Companion.retrieveHeapDumpFile(SharkCliCommand.kt:158)
at shark.DumpProcessCommand.run(DumpProcessCommand.kt:26)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:139)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:14)
at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:215)
at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:212)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:230)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:253)
at shark.MainKt.main(Main.kt:13)

@SireAI
Copy link
Author

SireAI commented Jul 31, 2024

On Android 14

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

1 participant