AirtestProject / AirtestProject/Poco

android 上一些 webview 页面导致 poco service 崩溃重启

オープン
#491 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
2k
フォーク
341
PR マージ指標
30日以内にマージされた PR はありません

説明

(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。)

**(重要!问题分类)**
* 图像识别相关问题 -> https://github.com/AirtestProject/Airtest/issues
* 测试开发环境AirtestIDE使用问题 -> https://github.com/AirtestProject/AirtestIDE/issues
* 控件识别、树状结构、poco库报错 -> 此仓库

**描述问题bug**
(简洁清晰得概括一下遇到的问题是什么。或者是报错的traceback信息。)

use javacap
```
09-22 18:19:15.607 I/ActivityManager( 1135): Force stopping com.netease.open.pocoservice appid=10641 user=0: from process:13486
09-22 18:19:15.607 I/AutoStartManagerService( 1135): MIUILOG- Reject RestartService packageName :com.netease.open.pocoservice uid : 10641
09-22 18:19:15.608 I/Process ( 1135): Sending signal. PID: 13443 SIG: 19
09-22 18:19:15.610 I/ActivityManager( 1135): Killing 13443:com.netease.open.pocoservice/u0a641 (adj 0): stop com.netease.open.pocoservice: from process:13486
09-22 18:19:15.611 I/libprocessgroup( 1135): Successfully killed process cgroup uid 10641 pid 13443 in 0ms
09-22 18:19:15.612 W/ActivityManager( 1135): Crash of app com.netease.open.pocoservice running instrumentation ComponentInfo{com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner}
09-22 18:19:15.613 I/ActivityManager( 1135): Force stopping com.netease.open.pocoservice appid=10641 user=0: finished inst
09-22 18:19:15.613 I/AutoStartManagerService( 1135): MIUILOG- Reject RestartService packageName :com.netease.open.pocoservice uid : 10641
09-22 18:19:15.613 W/Binder ( 1135): Outgoing transactions from this process must be FLAG_ONEWAY
09-22 18:19:15.613 W/Binder ( 1135): java.lang.Throwable
09-22 18:19:15.613 W/Binder ( 1135): at android.os.BinderProxy.transact(BinderProxy.java:481)
09-22 18:19:15.613 W/Binder ( 1135): at android.app.IInstrumentationWatcher$Stub$Proxy.instrumentationFinished(IInstrumentationWatcher.java:205)
09-22 18:19:15.613 W/Binder ( 1135): at com.android.server.am.InstrumentationReporter$MyThread.run(InstrumentationReporter.java:86)
09-22 18:19:15.614 W/Binder (13407): Caught a RuntimeException from the binder stub implementation.
09-22 18:19:15.614 W/Binder (13407): java.lang.SecurityException: Calling from not trusted UID!
09-22 18:19:15.614 W/Binder (13407): at android.app.UiAutomationConnection.throwIfCalledByNotTrustedUidLocked(UiAutomationConnection.java:520)
09-22 18:19:15.614 W/Binder (13407): at android.app.UiAutomationConnection.shutdown(UiAutomationConnection.java:424)
09-22 18:19:15.614 W/Binder (13407): at android.app.IUiAutomationConnection$Stub.onTransact(IUiAutomationConnection.java:390)
09-22 18:19:15.614 W/Binder (13407): at android.os.Binder.execTransactInternal(Binder.java:1021)
09-22 18:19:15.614 W/Binder (13407): at android.os.Binder.execTransact(Binder.java:994)

```

**复现步骤**
1. 打开 APP 进入 特定 webview 类型页面

**预期效果**
poco service 崩溃重启

**相关截图**
(贴出遇到问题时的截图内容,如果有的话)

**python 版本:** `python3.7`

**poco 版本:** `1.0.83 `
> poco版本通过`pip freeze`可以命令可以查到

**设备:**
- 型号: Redmi Note 8 Pro
- 系统: Miui 12.0.5

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。