FloydQ_Reports
FloydQ_Reports copied to clipboard
[BUG] PlexAMP Freeze | RenderScript issue
Describe the bug I've been using PlexAMP as a music player on the newest ROM version and it works horribly. It freezes every few seconds and recently after few days it started randomly restarting my phone when listening to music. It's weird, I pulled the logs after the restart and will attach them here.
log_kmsg.log log_All.log log_e.log
I tested the same app on Galaxy A6 (SM-A600FN) and it works perfectly.
Since PlexAMP requires a subscription I hope logs will be enough to pinpoint the issue. They do offer a free trial but I don't know if you are comfortable doing that.
Also, the restarts appear to only be happening when the screen is off, I haven't experienced any restart when I was using the screen. I tried clean ROM install but nothing changes.
Note: I am running MoRoKernel, but I am pretty sure I tested it a while ago on default kernel with the same results, still freezing but I haven't used it long enough to see if restarts are also present.
To Reproduce Steps to reproduce the behaviour:
- Download PlexAMP
- Connect to your account
- App should be freezing when going through tracks or settings.
Smartphone:
- Device: Galaxy S7
- Model: G930F
i asked few others to test the issue, the log looks "fine" , and i might have bricked my S7, so will see what they report back.
Thanks!
I forgot to mention that those restarts are not like full restarts, more like crashes. When the phone is about to crash it becomes unresponsive with a black screen, you can click the power button but nothing happens and then after like a minute it goes back to the boot animation.
Also, I noticed that when I put MoRoKernel into performance mode the freezes in-app are less frequent but still every few seconds. For some reason maybe the app is hogging the CPU usage?
Should I pull more logs from different crashes? It is quite frequent. Even few times a day.
Just took another look at plexamp after releasing V8 and i found these to be interesting
19:14:59.037 tv.plex.labs.plexamp I Skipped 233 frames! The application may be doing too much work on its main thread.
19:14:59.050 system_server D identifyGamePackage. tv.plex.labs.plexamp, mCurrentUserId: 0, callerUserId: 0
19:14:59.050 D getGamePkgData(). tv.plex.labs.plexamp
19:14:59.064 tv.plex.labs.plexamp D [RS-DIAG] Launching GPU kernel intrinsic : id(5) 747 0x70559fa000
19:14:59.066 D [RS-DIAG] Launching GPU kernel intrinsic : id(5) 748 0x70559fa000
The app overloads the gpu when generating thumbnails and slowly becomes unresponsive, i did not manage to make it crash my phone yet, but the app did ANR alot (app not responding)
Eventual what happens is the RenderScript crashes the app (and i think in your case the device)
So its safe to say renderscript is the problem. will be looking into it perhaps i can figure it out, if so ill post a test patch here
11-05 19:10:21.614 2103 2103 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-05 19:10:21.614 2103 2103 F DEBUG : Build fingerprint: 'samsung/crownltexx/crownlte:10/QP1A.190711.020/N960FXXSAFWB3:user/release-keys'
11-05 19:10:21.614 2103 2103 F DEBUG : Revision: '0'
11-05 19:10:21.614 2103 2103 F DEBUG : ABI: 'arm64'
11-05 19:10:21.615 2103 2103 F DEBUG : Timestamp: 2023-11-05 19:10:21+0400
11-05 19:10:21.615 2103 2103 F DEBUG : pid: 31534, tid: 32018, name: ex.labs.plexamp >>> tv.plex.labs.plexamp <<<
11-05 19:10:21.615 2103 2103 F DEBUG : uid: 10254
11-05 19:10:21.615 2103 2103 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xfeab7500000000b7
11-05 19:10:21.615 2103 2103 F DEBUG : x0 0000007060d54000 x1 feab75000000006f x2 0000000000000000 x3 0000000000000100
11-05 19:10:21.615 2103 2103 F DEBUG : x4 0000000000000000 x5 0000000000000000 x6 6442ff7164616c64 x7 7f7f7f7f7f7f7f7f
11-05 19:10:21.615 2103 2103 F DEBUG : x8 4de0c5650b89ed77 x9 4de0c5650b89ed77 x10 000000000000007e x11 0101010101010101
11-05 19:10:21.615 2103 2103 F DEBUG : x12 0000000000000001 x13 0000000000002fbc x14 0000000000000000 x15 000080c87312259c
11-05 19:10:21.615 2103 2103 F DEBUG : x16 0000006fd528fdc8 x17 0000006fd527e4c8 x18 0000000000000000 x19 0000006fbcffc020
11-05 19:10:21.615 2103 2103 F DEBUG : x20 0000007060d54000 x21 0000007060d54560 x22 0000006fbcffb3c8 x23 0000007060d54590
11-05 19:10:21.615 2103 2103 F DEBUG : x24 0000000000000001 x25 00000000ffffffff x26 0000000000000000 x27 0000006fd528d008
11-05 19:10:21.615 2103 2103 F DEBUG : x28 0000000000000008 x29 0000006fbcffb390
11-05 19:10:21.615 2103 2103 F DEBUG : sp 0000006fbcffb370 lr 0000006fd5284c20 pc 0000006fd527e4e4
11-05 19:10:21.619 2103 2103 F DEBUG :
11-05 19:10:21.619 2103 2103 F DEBUG : backtrace:
11-05 19:10:21.619 2103 2103 F DEBUG : #00 pc 000000000003c4e4 /system/lib64/vndk-sp-29/libRS_internal.so (android::renderscript::rsi_ScriptSetVarF(android::renderscript::Context*, void*, unsigned int, float)+28) (BuildId: 6c99a9131708a20c6af7a6ccb3654c79)
11-05 19:10:21.619 2103 2103 F DEBUG : #01 pc 0000000000042c1c /system/lib64/vndk-sp-29/libRS_internal.so (android::renderscript::ThreadIO::playCoreCommands(android::renderscript::Context*, int)+348) (BuildId: 6c99a9131708a20c6af7a6ccb3654c79)
11-05 19:10:21.619 2103 2103 F DEBUG : #02 pc 000000000002c428 /system/lib64/vndk-sp-29/libRS_internal.so (android::renderscript::Context::threadProc(void*)+2152) (BuildId: 6c99a9131708a20c6af7a6ccb3654c79)
11-05 19:10:21.619 2103 2103 F DEBUG : #03 pc 00000000000e3b24 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 3f350ca06c3b80560f65755286daf320)
11-05 19:10:21.619 2103 2103 F DEBUG : #04 pc 0000000000085330 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 3f350ca06c3b80560f65755286daf320)