AirtestProject / AirtestProject/Poco

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

Đang mở
#491 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
2k
Fork
341
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

**(重要!问题分类)**
* 图像识别相关问题 -> 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.