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

Flutter crashes in Monkey test #77

Open
calcitem opened this issue Dec 8, 2020 · 0 comments
Open

Flutter crashes in Monkey test #77

calcitem opened this issue Dec 8, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@calcitem
Copy link
Owner

calcitem commented Dec 8, 2020

adb shell monkey -v -p com.calcitem.sanmill --pct-touch 100 --pct-trackball 0 --pct-nav 0 --pct-majornav 0 --pct-syskeys 0 --pct-anyevent 0 1000000 > E:\monkey2.txt

args: [-v, -p, com.calcitem.sanmill, --pct-touch, 100, --pct-trackball, 0, --pct-nav, 0, --pct-majornav, 0, --pct-syskeys, 0, --pct-anyevent, 0, 1000000]
 arg: "-v"
 arg: "-p"
 arg: "com.calcitem.sanmill"
 arg: "--pct-touch"
 arg: "100"
 arg: "--pct-trackball"
 arg: "0"
 arg: "--pct-nav"
 arg: "0"
 arg: "--pct-majornav"
 arg: "0"
 arg: "--pct-syskeys"
 arg: "0"
 arg: "--pct-anyevent"
 arg: "0"
 arg: "1000000"
data="com.calcitem.sanmill"
arg="--pct-touch" mCurArgData="null" mNextArg=4 argwas="--pct-touch" nextarg="100"
data="100"
arg="--pct-trackball" mCurArgData="null" mNextArg=6 argwas="--pct-trackball" nextarg="0"
data="0"
arg="--pct-nav" mCurArgData="null" mNextArg=8 argwas="--pct-nav" nextarg="0"
data="0"
arg="--pct-majornav" mCurArgData="null" mNextArg=10 argwas="--pct-majornav" nextarg="0"
data="0"
arg="--pct-syskeys" mCurArgData="null" mNextArg=12 argwas="--pct-syskeys" nextarg="0"
data="0"
arg="--pct-anyevent" mCurArgData="null" mNextArg=14 argwas="--pct-anyevent" nextarg="0"
data="0"
java.io.FileNotFoundException: /data/system/theme_config/theme_compatibility.xml: open failed: ENOENT (No such file or directory)
        at libcore.io.IoBridge.open(IoBridge.java:496)
        at java.io.FileInputStream.<init>(FileInputStream.java:159)
        at java.io.FileInputStream.<init>(FileInputStream.java:115)
        at java.io.FileReader.<init>(FileReader.java:58)
        at miui.content.res.ThemeCompatibilityLoader.getVersion(ThemeCompatibilityLoader.java:108)
        at miui.content.res.ThemeCompatibilityLoader.getConfigDocumentTree(ThemeCompatibilityLoader.java:126)
        at miui.content.res.ThemeCompatibilityLoader.loadConfig(ThemeCompatibilityLoader.java:59)
        at miui.content.res.ThemeCompatibility.<clinit>(ThemeCompatibility.java:31)
        at miui.content.res.ThemeCompatibility.isThemeEnabled(ThemeCompatibility.java:111)
        at android.content.res.MiuiResourcesImpl.<clinit>(MiuiResourcesImpl.java:41)
        at android.content.res.Resources.<init>(Resources.java:285)
        at android.content.res.MiuiResources.<init>(MiuiResources.java:49)
        at android.content.res.Resources.getSystem(Resources.java:206)
        at android.util.MiuiMultiWindowAdapter.<clinit>(MiuiMultiWindowAdapter.java:79)
        at android.view.Display.getWidth(Display.java:745)
        at com.android.commands.monkey.MonkeySourceRandom.randomPoint(MonkeySourceRandom.java:330)
        at com.android.commands.monkey.MonkeySourceRandom.generatePointerEvent(MonkeySourceRandom.java:270)
        at com.android.commands.monkey.MonkeySourceRandom.generateEvents(MonkeySourceRandom.java:405)
        at com.android.commands.monkey.MonkeySourceRandom.getNextEvent(MonkeySourceRandom.java:493)
        at com.android.commands.monkey.Monkey.runMonkeyCycles(Monkey.java:1322)
        at com.android.commands.monkey.Monkey.run(Monkey.java:815)
        at com.android.commands.monkey.Monkey.main(Monkey.java:675)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:380)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
        at libcore.io.Linux.open(Native Method)
        at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
        at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252)
        at libcore.io.IoBridge.open(IoBridge.java:482)
        ... 23 more
// CRASH: com.calcitem.sanmill (pid 10415)
// Short Msg: Native crash
// Long Msg: Native crash: Aborted
// Build Label: Xiaomi/cas/cas:10/QKQ1.200419.002/V12.0.13.0.QJJCNXM:user/release-keys
// Build Changelist: V12.0.13.0.QJJCNXM
// Build Time: 1602497560000
// *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
// Build fingerprint: 'Xiaomi/cas/cas:10/QKQ1.200419.002/V12.0.13.0.QJJCNXM:user/release-keys'
// Revision: '0'
// ABI: 'arm64'
// Timestamp: 2020-12-08 01:39:10+0800
// pid: 10415, tid: 10415, name: alcitem.sanmill  >>> com.calcitem.sanmill <<<
// uid: 10455
// signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
// Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(995)] Check failed: CheckException(env).
// '
//     x0  0000000000000000  x1  00000000000028af  x2  0000000000000006  x3  0000007fd414d220
//     x4  0000000000008000  x5  0000000000008000  x6  0000000000008000  x7  0080000000000000
//     x8  00000000000000f0  x9  f567c2be133382d2  x10 0000000000000001  x11 0000000000000000
//     x12 fffffff0fffffbdf  x13 0000000000000003  x14 0000000000000001  x15 000028551d2a6896
//     x16 0000007a9f1668c8  x17 0000007a9f142550  x18 0000007aa319e000  x19 00000000000028af
//     x20 00000000000028af  x21 00000000ffffffff  x22 0000007a046d6828  x23 0000007994cbb800
//     x24 00000000ffffffff  x25 0000000000000018  x26 00000000000000ac  x27 0000000000000094
//     x28 0000007aa2cc4018  x29 0000007fd414d2c0
//     sp  0000007fd414d200  lr  0000007a9f0f30c4  pc  0000007a9f0f30f0
//
// backtrace:
//       #00 pc 00000000000830f0  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 6dc18c350dc6bdab66bd0af0dcfd6e4c)
//       #01 pc 0000000001287244  /data/app/com.calcitem.sanmill-ke4acanVIFX-_6ztfi3Bnw==/lib/arm64/libflutter.so (BuildId: f1dec553dd39d1b74c0c0eef823c1ffa219832f5)
//       #02 pc 00000000000020dc  [anon:.bss]
//
** System appears to have crashed at event 724838 of 1000000 using seed 1607436227442
@calcitem calcitem added the bug Something isn't working label Feb 13, 2021
@calcitem calcitem changed the title Monkey测试中flutter崩溃 Flutter crashes in Monkey test Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant