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

[Bug] OPPO手机选择应用后点击开始性能采集后手机卡主然后自动重启 #404

Open
1 of 2 tasks
jeniva opened this issue Jan 12, 2024 · 8 comments
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@jeniva
Copy link

jeniva commented Jan 12, 2024

Search before asking

  • I searched in the issue and found nothing similar. | 我查找了并确认issue列表无相似报告。

Sonic version

2.6.3

Deploy platform

Windows10

Minimal reproduce step

手机型号,image
点击马上使用->性能检测->选择应用->开始监控,就卡着了,我看日志好像是权限拒绝了,我试了其他应用好像还好,这个是我们应用的问题吗,还是说要怎么开启权限才行
01-12 16:24:53.831 29808 29808 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 29808 (init), pid 29808 (init)
01-12 16:24:53.831 27100 27730 D AudioPolicyService: UidPolicy::onUidStateChanged() UID=10174 procState=20
01-12 16:24:53.855 27099 27099 D Zygote : Forked child process 29815
01-12 16:24:53.863 29815 29815 E Zygote : GL_OOM reserved vma failed, errno:22
01-12 16:24:53.867 27265 27568 I ActivityManager: Start proc 29815:com.oppo.multimedia.dirac/u0a174 for broadcast {com.oppo.multimedia.dirac/com.oppo.multimedia.dirac.service.BootCompletedReceiver}
01-12 16:24:53.869 29825 29825 F crash_dump64: crash_dump.cpp:465] failed to attach to thread 29808: Permission denied
01-12 16:24:53.870 1775 1775 I /system/bin/tombstoned: received crash request for pid 29808
01-12 16:24:53.871 1775 1775 W /system/bin/tombstoned: crash socket received short read of length 0 (expected 12)
01-12 16:24:53.872 29815 29815 E ultimedia.dira: Unknown bits set in runtime_flags: 0x20000
01-12 16:24:53.879 29808 29808 F libc : crash_dump helper failed to exec
01-12 16:24:53.882 29815 29815 E ultimedia.dira: Not starting debugger since process cannot load the jdwp agent.
01-12 16:24:53.889 29818 29837 I adbd : opening control endpoint /dev/usb-ffs/adb/ep0
01-12 16:24:53.890 29818 29837 I adbd : UsbFfsConnection constructed
01-12 16:24:53.897 29819 29819 I /system/bin/phoenix_log_manager: [PHOENIX] prepare_bootlog: begin prepare boolog
01-12 16:24:53.900 29819 29819 I /system/bin/phoenix_log_manager: [PHOENIX] verify_magic: magic number verify success
01-12 16:24:53.900 29819 29819 I /system/bin/phoenix_log_manager: [PHOENIX] check_poweron_reason: no expected poweron reason
01-12 16:24:53.900 29819 29819 I /system/bin/phoenix_log_manager: [PHOENIX] prepare_bootlog: do not need save bootlog
01-12 16:24:53.912 27100 27730 D AudioPolicyService: UidPolicy::onUidStateChanged() UID=10174 procState=12
01-12 16:24:53.913 29815 29815 W System.err: java.io.FileNotFoundException: /data/logswitch/switch.xml: open failed: EACCES (Permission denied)
01-12 16:24:53.913 29815 29815 W System.err: at libcore.io.IoBridge.open(IoBridge.java:496)
01-12 16:24:53.913 29815 29815 W System.err: at java.io.FileInputStream.(FileInputStream.java:159)
01-12 16:24:53.913 29815 29815 W System.err: at java.io.FileReader.(FileReader.java:72)
01-12 16:24:53.913 29815 29815 W System.err: at com.oppo.debug.InputLog.readString(InputLog.java:394)
01-12 16:24:53.913 29815 29815 W System.err: at com.oppo.debug.InputLog.getCurrentLogSwitchValue(InputLog.java:420)
01-12 16:24:53.913 29815 29815 W System.err: at com.oppo.debug.InputLog.startWatching(InputLog.java:126)
01-12 16:24:53.913 29815 29815 W System.err: at com.oppo.debug.InputLog.(InputLog.java:77)
01-12 16:24:53.913 29815 29815 W System.err: at android.app.ActivityThread.attach(ActivityThread.java:7556)
01-12 16:24:53.913 29815 29815 W System.err: at android.app.ActivityThread.main(ActivityThread.java:7785)
01-12 16:24:53.913 29815 29815 W System.err: at java.lang.reflect.Method.invoke(Native Method)
01-12 16:24:53.913 29815 29815 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:512)
01-12 16:24:53.913 29815 29815 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995)
01-12 16:24:53.914 29815 29815 W System.err: Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
01-12 16:24:53.914 29815 29815 W System.err: at libcore.io.Linux.open(Native Method)
01-12 16:24:53.914 29815 29815 W System.err: at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
01-12 16:24:53.914 29815 29815 W System.err: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252)
01-12 16:24:53.914 29815 29815 W System.err: at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
01-12 16:24:53.914 29815 29815 W System.err: at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7697)
01-12 16:24:53.914 29815 29815 W System.err: at libcore.io.IoBridge.open(IoBridge.java:482)
01-12 16:24:53.914 29815 29815 W System.err: ... 11 more
01-12 16:24:53.914 29815 29815 D InputLog: readString failed
01-12 16:24:53.914 29815 29815 W System.err: java.io.FileNotFoundException: /data/logswitch/switch.xml: open failed: EACCES (Permission denied)
image

Are you willing to submit a PR?

  • I'm willing to submit a PR! | 我将发起PR!
@jeniva jeniva added the bug Something isn't working label Jan 12, 2024
@jeniva
Copy link
Author

jeniva commented Jan 15, 2024

image
补充一下agent端的日志

@ZhouYixun
Copy link
Member

image 补充一下agent端的日志

关闭权限监控了吗?oppo的设置可以看下官网

@jeniva
Copy link
Author

jeniva commented Jan 16, 2024

都设置了还是会卡主,一开启性能监控就卡主,过会就重启了
image

@jeniva
Copy link
Author

jeniva commented Jan 16, 2024

随便找了一个应用也卡主的
image

@ZhouYixun
Copy link
Member

随便找了一个应用也卡主的 image

为什么两个屏的,你是二开过?

@jeniva
Copy link
Author

jeniva commented Jan 16, 2024

没有呢,我换成2.6.3就2个屏,我还以为你们的新功能,还想问下怎么关掉

@ZhouYixun
Copy link
Member

没有呢,我换成2.6.3就2个屏,我还以为你们的新功能,还想问下怎么关掉

奇怪了,我们没改过这块。关于oppo问题还真不好整,我们测试过几款机型没出现这个问题

@jeniva
Copy link
Author

jeniva commented Jan 17, 2024

没有呢,我换成2.6.3就2个屏,我还以为你们的新功能,还想问下怎么关掉

奇怪了,我们没改过这块。关于oppo问题还真不好整,我们测试过几款机型没出现这个问题

我这边接入所有手机都两个屏呢,然后Android的性能采集都比较卡,这是为啥呀

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

2 participants