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

Crash on local file metadata read (possible A14 issue) #244

Open
4 tasks done
Peace-master2930 opened this issue Mar 1, 2024 · 12 comments
Open
4 tasks done

Crash on local file metadata read (possible A14 issue) #244

Peace-master2930 opened this issue Mar 1, 2024 · 12 comments
Labels

Comments

@Peace-master2930
Copy link

Peace-master2930 commented Mar 1, 2024

Checklist

  • I am able to reproduce the bug with the latest debug version (Android, Linux, Windows)
  • I've checked that there is no open or closed issue about this bug.
  • This issue contains only one bug.
  • The title of this issue accurately describes the bug.

Steps to reproduce

  1. open spmp
  2. Click on the library button
  3. Then it crashed

Expected behavior

It should open my library

Actual behavior

It shows me a lot of texts

Screenshots / recordings

Logs

---STACK TRACE---
java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
at android.media.MediaMetadataRetriever._setDataSource(Native Method)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(SourceFile:31)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:2)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:1)
at okio.Okio__OkioKt.startUndispatchedOrReturn(SourceFile:5)
at kotlin.TuplesKt.withContext(SourceFile:75)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(SourceFile:15)
at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(Unknown Source:18)
at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(Unknown Source:80)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:107)
at androidx.fragment.app.Fragment$4.run(SourceFile:105)
at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@6b891c8, androidx.compose.runtime.BroadcastFrameClock@1b13261, StandaloneCoroutine{Cancelled}@dd23186, AndroidUiDispatcher@13a1a47]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@6b891c8, androidx.compose.runtime.BroadcastFrameClock@1b13261, StandaloneCoroutine{Cancelled}@76d939d, AndroidUiDispatcher@13a1a47]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@6b891c8, androidx.compose.runtime.BroadcastFrameClock@1b13261, StandaloneCoroutine{Cancelled}@df413e3, AndroidUiDispatcher@13a1a47]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@6b891c8, androidx.compose.runtime.BroadcastFrameClock@1b13261, StandaloneCoroutine{Cancelled}@c94cc99, AndroidUiDispatcher@13a1a47]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@6b891c8, androidx.compose.runtime.BroadcastFrameClock@1b13261, StandaloneCoroutine{Cancelled}@aca0b3f, AndroidUiDispatcher@13a1a47]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@6b891c8, androidx.compose.runtime.BroadcastFrameClock@1b13261, StandaloneCoroutine{Cancelled}@75c9955, AndroidUiDispatcher@13a1a47]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@6b891c8, androidx.compose.runtime.BroadcastFrameClock@1b13261, StandaloneCoroutine{Cancelling}@ede1c5b, AndroidUiDispatcher@13a1a47]

---LOGCAT (last 125 lines)---
--------- beginning of system
03-02 00:01:00.374 20862 20862 D ActivityThread: ComponentInfo{com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity} checkFinished=false 2
03-02 00:01:00.374 20862 20862 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-02 00:01:00.414 20862 20862 D VRI[ErrorReportActivity]: relayoutWindow result, sizeChanged:false, surfaceControlChanged:true, transformHintChanged:false, mSurfaceSize:Point(1080, 2520), mLastSurfaceSize:Point(1080, 2520), mWidth:1080, mHeight:2520, requestedWidth:1080, requestedHeight:2520, transformHint:0, lastTransformHint:0, installOrientation:0, displayRotation:0, isSurfaceValid:true, attr.flag:-2122252032, useBlast:true, tmpFrames:ClientWindowFrames{frame=[0,0][1080,2520] display=[0,0][1080,2520] parentFrame=[0,0][0,0]}, params:{(0,0)(fillxfill) sim={adjust=pan forwardNavigation} ty=BASE_APPLICATION wanim=0x10302fe
03-02 00:01:00.414 20862 20862 D VRI[ErrorReportActivity]: fl=LAYOUT_IN_SCREEN LAYOUT_INSET_DECOR SPLIT_TOUCH HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS
03-02 00:01:00.414 20862 20862 D VRI[ErrorReportActivity]: pfl=NO_MOVE_ANIMATION FORCE_DRAW_STATUS_BAR_BACKGROUND USE_BLAST FIT_INSETS_CONTROLLED
03-02 00:01:00.414 20862 20862 D VRI[ErrorReportActivity]: bhv=DEFAULT
03-02 00:01:00.414 20862 20862 D VRI[ErrorReportActivity]: fitSides= CLP[ ]}
03-02 00:01:00.415 20862 20862 W VRI[ErrorReportActivity]: updateBlastSurfaceIfNeeded, surfaceSize:Point(1080, 2520), lastSurfaceSize:Point(1080, 2520), format:-1, blastBufferQueue:null
03-02 00:01:00.443 20862 20862 I Quality : Skipped: false 2 cost 38.386578 refreshRate 16736120 bit true processName com.toasterofbread.spmp
03-02 00:01:01.110 20862 20862 I Quality : Skipped: false 2 cost 36.48005 refreshRate 16737826 bit true processName com.toasterofbread.spmp
03-02 00:01:02.973 20862 20862 I Quality : Skipped: false 2 cost 40.97144 refreshRate 16737320 bit true processName com.toasterofbread.spmp
03-02 00:01:06.058 20862 20862 I Quality : Skipped: false 3 cost 62.884888 refreshRate 16735602 bit true processName com.toasterofbread.spmp
03-02 00:01:06.105 20862 20862 I Quality : Skipped: false 2 cost 42.741287 refreshRate 16734497 bit true processName com.toasterofbread.spmp
03-02 00:01:12.490 20862 20862 I Quality : Skipped: false 12 cost 202.64157 refreshRate 16736762 bit true processName com.toasterofbread.spmp
03-02 00:01:12.524 20862 20862 I Quality : Skipped: false 1 cost 18.480923 refreshRate 16735738 bit true processName com.toasterofbread.spmp
03-02 00:01:12.553 20862 20862 E OplusCustomizeRestrictionManager: sInstance is null, start a new sInstance
03-02 00:01:12.576 20862 20862 I Quality : Skipped: false 2 cost 37.287407 refreshRate 16735736 bit true processName com.toasterofbread.spmp
03-02 00:01:12.614 20862 20862 I Quality : Skipped: false 1 cost 25.541512 refreshRate 16735728 bit true processName com.toasterofbread.spmp
03-02 00:01:13.761 20862 20862 I Quality : Skipped: false 1 cost 17.402864 refreshRate 16738274 bit true processName com.toasterofbread.spmp
03-02 00:01:13.933 20862 20862 I Quality : Skipped: false 1 cost 21.339027 refreshRate 16736348 bit true processName com.toasterofbread.spmp
03-02 00:01:14.700 20862 20862 I Quality : Skipped: false 2 cost 35.136356 refreshRate 16738576 bit true processName com.toasterofbread.spmp
03-02 00:01:14.756 20862 20862 I Quality : Skipped: false 2 cost 41.502148 refreshRate 16739370 bit true processName com.toasterofbread.spmp
03-02 00:01:15.624 20862 20862 I Quality : Skipped: false 2 cost 38.636623 refreshRate 16737831 bit true processName com.toasterofbread.spmp
03-02 00:01:15.788 20862 20862 I Quality : Skipped: true 1 cost 19.062336 refreshRate 16737815 bit true processName com.toasterofbread.spmp
03-02 00:01:17.286 20862 20862 D VRI[ErrorReportActivity]: relayoutWindow result, sizeChanged:false, surfaceControlChanged:true, transformHintChanged:false, mSurfaceSize:Point(1080, 2520), mLastSurfaceSize:Point(1080, 2520), mWidth:1080, mHeight:2520, requestedWidth:1080, requestedHeight:2520, transformHint:0, lastTransformHint:0, installOrientation:0, displayRotation:0, isSurfaceValid:false, attr.flag:-2122252032, useBlast:true, tmpFrames:ClientWindowFrames{frame=[0,0][1080,2520] display=[0,0][1080,2520] parentFrame=[0,0][0,0]}, params:null
03-02 00:01:19.802 20862 20862 D ActivityThread: do gfx trim 40 success
--------- beginning of main
03-02 00:01:47.197 20862 25860 D VRI[ErrorReportActivity]: dispatchAppVisibility visible:true
03-02 00:01:47.202 20862 20862 D VRI[ErrorReportActivity]: setWindowStopped stopped:false
03-02 00:01:47.204 20862 20862 D ScrollOptim [SceneManager]: updateCurrentActivity: mCurrentActivityName=com.toasterofbread.spmp.ErrorReportActivity, isOptEnable=true, isAnimAheadEnable=true, isFrameInsertEnable=true, InsertNum=1, isEnabledForScrollChanged=false
03-02 00:01:47.204 20862 20862 D ActivityThread: ComponentInfo{com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity} checkFinished=false 2
03-02 00:01:47.204 20862 20862 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-02 00:01:47.219 20862 20862 D ViewRootImplExtImpl: wrapConfigInfoIntoFlags rotation=0, smallestScreenWidthDp=360, relayoutAsync=false, newFlags=23592960, title=com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity
03-02 00:01:47.246 20862 20862 D VRI[ErrorReportActivity]: relayoutWindow result, sizeChanged:false, surfaceControlChanged:true, transformHintChanged:false, mSurfaceSize:Point(1080, 2520), mLastSurfaceSize:Point(1080, 2520), mWidth:1080, mHeight:2520, requestedWidth:1080, requestedHeight:2520, transformHint:0, lastTransformHint:0, installOrientation:0, displayRotation:0, isSurfaceValid:true, attr.flag:-2122252032, useBlast:true, tmpFrames:ClientWindowFrames{frame=[0,0][1080,2520] display=[0,0][1080,2520] parentFrame=[0,0][0,0]}, params:{(0,0)(fillxfill) sim={adjust=pan forwardNavigation} ty=BASE_APPLICATION wanim=0x10302fe
03-02 00:01:47.246 20862 20862 D VRI[ErrorReportActivity]: fl=LAYOUT_IN_SCREEN LAYOUT_INSET_DECOR SPLIT_TOUCH HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS
03-02 00:01:47.246 20862 20862 D VRI[ErrorReportActivity]: pfl=NO_MOVE_ANIMATION FORCE_DRAW_STATUS_BAR_BACKGROUND USE_BLAST FIT_INSETS_CONTROLLED
03-02 00:01:47.246 20862 20862 D VRI[ErrorReportActivity]: bhv=DEFAULT
03-02 00:01:47.246 20862 20862 D VRI[ErrorReportActivity]: fitSides= CLP[ ]}
03-02 00:01:47.246 20862 20862 W VRI[ErrorReportActivity]: updateBlastSurfaceIfNeeded, surfaceSize:Point(1080, 2520), lastSurfaceSize:Point(1080, 2520), format:-1, blastBufferQueue:null
03-02 00:01:47.246 20862 20862 D BufferQueueConsumer: connect: controlledByApp=false
03-02 00:01:47.275 20862 25077 E OpenGLRenderer: Unable to match the desired swap behavior.
03-02 00:01:47.275 20862 20862 I SurfaceControl: setExtendedRangeBrightness sc=Surface(name=com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity)/@0x2089fcd,currentBufferRatio=1.0,desiredRatio=1.0
03-02 00:01:47.308 20862 25077 D BLASTBufferQueue: VRI[ErrorReportActivity]#11 acquireNextBufferLocked size=1080x2520 mFrameNumber=1 applyTransaction=true mTimestamp=44524520134345(auto) mPendingTransactions.size=0 graphicBufferId=89601607729207 transform=0
03-02 00:01:47.308 20862 25077 D VRI[ErrorReportActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true syncBuffer=false
03-02 00:01:47.309 20862 20862 D VRI[ErrorReportActivity]: draw finished.
03-02 00:01:47.309 20862 20862 D VRI[ErrorReportActivity]: reportDrawFinished
03-02 00:01:47.309 20862 20862 D ViewRootImplExtImpl: setMaxDequeuedBufferCount: 2
03-02 00:01:47.310 20862 20862 I Quality : Skipped: false 4 cost 75.7583 refreshRate 16736291 bit true processName com.toasterofbread.spmp
03-02 00:01:47.320 20862 20862 D VRI[ErrorReportActivity]: onFocusEvent true
03-02 00:01:48.326 20862 25096 D OplusScrollToTopManager: com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity,This DecorView@da8e43b[ErrorReportActivity] change focus to true
03-02 00:01:48.561 20862 20862 V AutofillManager: requestHideFillUi(null): anchor = null
03-02 00:01:48.872 20862 20862 D ViewRootImplExtImpl: MotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=64.0, y[0]=601.7998, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=44526079, downTime=44525565, deviceId=4, source=0x1002, displayId=0, eventId=667191943 } handled by client, just return
03-02 00:01:49.676 20862 20862 V AutofillManager: requestHideFillUi(null): anchor = null
03-02 00:01:50.340 20862 20862 D ViewRootImplExtImpl: MotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=92.59961, y[0]=595.7998, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=44527548, downTime=44526883, deviceId=4, source=0x1002, displayId=0, eventId=15137914 } handled by client, just return
03-02 00:01:50.817 20862 20862 V AutofillManager: requestHideFillUi(null): anchor = null
03-02 00:01:51.593 20862 20862 D ViewRootImplExtImpl: MotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=139.0, y[0]=584.7998, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=44528800, downTime=44528022, deviceId=4, source=0x1002, displayId=0, eventId=837569781 } handled by client, just return
03-02 00:01:51.898 20862 20862 V AutofillManager: requestHideFillUi(null): anchor = null
03-02 00:01:51.995 20862 20862 D ViewRootImplExtImpl: MotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=242.09961, y[0]=576.5, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=44529201, downTime=44529106, deviceId=4, source=0x1002, displayId=0, eventId=389817531 } handled by client, just return
03-02 00:01:52.098 20862 20862 V AutofillManager: requestHideFillUi(null): anchor = null
03-02 00:01:52.212 20862 20862 D ViewRootImplExtImpl: MotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=241.40039, y[0]=580.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=44529418, downTime=44529307, deviceId=4, source=0x1002, displayId=0, eventId=319982044 } handled by client, just return
03-02 00:01:52.313 20862 20862 V AutofillManager: requestHideFillUi(null): anchor = null
03-02 00:01:53.423 20862 20862 D ViewRootImplExtImpl: MotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=237.2002, y[0]=588.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=44530630, downTime=44529523, deviceId=4, source=0x1002, displayId=0, eventId=331981662 } handled by client, just return
03-02 00:01:54.060 20862 20862 D Activity: dispatchKeyEvent to android.app.Activity$2@b378917 will call navigateBack
03-02 00:01:54.079 20862 20862 D ScrollOptim [SceneManager]: updateCurrentActivity: mCurrentActivityName=null, isOptEnable=true, isAnimAheadEnable=true, isFrameInsertEnable=true, InsertNum=1, isEnabledForScrollChanged=false
03-02 00:01:54.108 20862 27538 D libMEOW : meow new tls: 0xb400007563e5ab00
03-02 00:01:54.108 20862 27538 D libMEOW : applied 1 plugins for [com.toasterofbread.spmp]:
03-02 00:01:54.108 20862 27538 D libMEOW : plugin 1: [libMEOW_gift.so]: 0xb40000765af22c80
03-02 00:01:54.108 20862 27538 D libMEOW : rebuild call chain: 0xb40000769ab1ca80
03-02 00:01:54.108 20862 27538 D libMEOW : meow delete tls: 0xb400007563e5ab00
03-02 00:01:54.110 20862 20862 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-02 00:01:54.116 20862 20862 I System.out: Database is already up to date (version 2)
03-02 00:01:54.118 20862 25108 I System.out: Retrieving logcat output...
03-02 00:01:54.124 20862 20862 D ScrollOptim [SceneManager]: updateCurrentActivity: mCurrentActivityName=com.toasterofbread.spmp.ErrorReportActivity, isOptEnable=true, isAnimAheadEnable=true, isFrameInsertEnable=true, InsertNum=1, isEnabledForScrollChanged=false
03-02 00:01:54.124 20862 20862 D ActivityThread: ComponentInfo{com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity} checkFinished=false 2
03-02 00:01:54.124 20862 20862 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-02 00:01:54.126 20862 20862 D WindowManager: Add to mViews: DecorView@d8c7900[ErrorReportActivity],pkg= com.toasterofbread.spmp
03-02 00:01:54.132 20862 20862 D InputEventReceiver: Input log is disabled in InputEventReceiver.
03-02 00:01:54.133 20862 20862 D VRI[ErrorReportActivity]: onFocusEvent false
03-02 00:01:54.133 20862 20862 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-02 00:01:54.133 20862 20862 I Quality : Skipped: false 0 cost 9.047077 refreshRate 16737000 bit true processName com.toasterofbread.spmp
03-02 00:01:54.134 20862 20862 E OplusBracketLog: [OplusViewMirrorManager] updateHostViewRootIfNeeded, not support android.view.ViewRootImpl@931b4df
03-02 00:01:54.137 20862 20862 D AutofillManager: Fill dialog is enabled:false, hints=[password, passwordAuto, creditCardNumber, creditCardSecurityCode, creditCardExpirationDate]
03-02 00:01:54.142 20862 20862 D ViewRootImplExtImpl: wrapConfigInfoIntoFlags rotation=0, smallestScreenWidthDp=360, relayoutAsync=false, newFlags=23592960, title=com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity
03-02 00:01:54.156 20862 20862 D VRI[ErrorReportActivity]: relayoutWindow result, sizeChanged:true, surfaceControlChanged:true, transformHintChanged:true, mSurfaceSize:Point(1080, 2520), mLastSurfaceSize:Point(0, 0), mWidth:-1, mHeight:-1, requestedWidth:1080, requestedHeight:2520, transformHint:0, lastTransformHint:-2147483648, installOrientation:0, displayRotation:0, isSurfaceValid:true, attr.flag:-2122252032, useBlast:true, tmpFrames:ClientWindowFrames{frame=[0,0][1080,2520] display=[0,0][1080,2520] parentFrame=[0,0][0,0]}, params:{(0,0)(fillxfill) sim={adjust=pan} ty=BASE_APPLICATION wanim=0x10302fe
03-02 00:01:54.156 20862 20862 D VRI[ErrorReportActivity]: fl=LAYOUT_IN_SCREEN LAYOUT_INSET_DECOR SPLIT_TOUCH HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS
03-02 00:01:54.156 20862 20862 D VRI[ErrorReportActivity]: pfl=NO_MOVE_ANIMATION FORCE_DRAW_STATUS_BAR_BACKGROUND USE_BLAST FIT_INSETS_CONTROLLED
03-02 00:01:54.156 20862 20862 D VRI[ErrorReportActivity]: bhv=DEFAULT
03-02 00:01:54.156 20862 20862 D VRI[ErrorReportActivity]: fitSides= CLP[ ]}
03-02 00:01:54.156 20862 20862 W VRI[ErrorReportActivity]: updateBlastSurfaceIfNeeded, surfaceSize:Point(1080, 2520), lastSurfaceSize:Point(0, 0), format:-1, blastBufferQueue:null
03-02 00:01:54.156 20862 20862 D BufferQueueConsumer: connect: controlledByApp=false
03-02 00:01:54.158 20862 25077 E OpenGLRenderer: Unable to match the desired swap behavior.
03-02 00:01:54.159 20862 20862 I SurfaceControl: setExtendedRangeBrightness sc=Surface(name=com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity)/@0x5ccd8ea,currentBufferRatio=1.0,desiredRatio=1.0

SpMp version

0.3.0

SpMp platform

Android

OS version

Android 14

Additional information

No response

toasterofbread added a commit that referenced this issue Mar 3, 2024
Improve error message on readLocalSongMetadata failure #244
Improve error message on failure to create LoudnessEnhancer #240
@toasterofbread
Copy link
Owner

I've improved the error message for when this occurs. Please try again and paste the error that displays.

@Peace-master2930
Copy link
Author

Peace-master2930 commented Mar 4, 2024

I've improved the error message for when this occurs. Please try again and paste the error that displays.

---STACK TRACE---
java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
at android.media.MediaMetadataRetriever._setDataSource(Native Method)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(SourceFile:31)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:2)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:1)
at okio.Okio__OkioKt.startUndispatchedOrReturn(SourceFile:5)
at kotlin.TuplesKt.withContext(SourceFile:75)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(SourceFile:15)
at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(Unknown Source:18)
at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(Unknown Source:80)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:107)
at androidx.fragment.app.Fragment$4.run(SourceFile:105)
at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelled}@9af32cb, AndroidUiDispatcher@514aaa8]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelled}@64f2566, AndroidUiDispatcher@514aaa8]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelled}@d5dc954, AndroidUiDispatcher@514aaa8]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelling}@99831f2, AndroidUiDispatcher@514aaa8]

---LOGCAT (last 122 lines)---
03-04 13:09:01.482 18926 18926 I Quality : Skipped: true 1 cost 18.848032 refreshRate 16734317 bit true processName com.toasterofbread.spmp
03-04 13:09:01.566 18926 18926 W System.err: java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
03-04 13:09:01.566 18926 18926 W System.err: at android.media.MediaMetadataRetriever._setDataSource(Native Method)
03-04 13:09:01.566 18926 18926 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
03-04 13:09:01.566 18926 18926 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
03-04 13:09:01.566 18926 18926 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
03-04 13:09:01.566 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(SourceFile:31)
03-04 13:09:01.566 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:2)
03-04 13:09:01.566 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:1)
03-04 13:09:01.566 18926 18926 W System.err: at okio.Okio__OkioKt.startUndispatchedOrReturn(SourceFile:5)
03-04 13:09:01.566 18926 18926 W System.err: at kotlin.TuplesKt.withContext(SourceFile:75)
03-04 13:09:01.566 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(SourceFile:15)
03-04 13:09:01.567 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(Unknown Source:18)
03-04 13:09:01.567 18926 18926 W System.err: at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(Unknown Source:80)
03-04 13:09:01.567 18926 18926 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
03-04 13:09:01.567 18926 18926 W System.err: at kotlinx.coroutines.DispatchedTask.run(Unknown Source:107)
03-04 13:09:01.567 18926 18926 W System.err: at androidx.fragment.app.Fragment$4.run(SourceFile:105)
03-04 13:09:01.567 18926 18926 W System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
03-04 13:09:01.567 18926 18926 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
03-04 13:09:01.567 18926 18926 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelling}@9af32cb, AndroidUiDispatcher@514aaa8]
03-04 13:09:01.579 18926 18926 W System.err: java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
03-04 13:09:01.579 18926 18926 W System.err: at android.media.MediaMetadataRetriever._setDataSource(Native Method)
03-04 13:09:01.579 18926 18926 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
03-04 13:09:01.579 18926 18926 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
03-04 13:09:01.579 18926 18926 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
03-04 13:09:01.579 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(SourceFile:31)
03-04 13:09:01.579 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:2)
03-04 13:09:01.579 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:1)
03-04 13:09:01.579 18926 18926 W System.err: at okio.Okio__OkioKt.startUndispatchedOrReturn(SourceFile:5)
03-04 13:09:01.579 18926 18926 W System.err: at kotlin.TuplesKt.withContext(SourceFile:75)
03-04 13:09:01.579 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(SourceFile:15)
03-04 13:09:01.579 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(Unknown Source:18)
03-04 13:09:01.579 18926 18926 W System.err: at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(Unknown Source:80)
03-04 13:09:01.579 18926 18926 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
03-04 13:09:01.579 18926 18926 W System.err: at kotlinx.coroutines.DispatchedTask.run(Unknown Source:107)
03-04 13:09:01.579 18926 18926 W System.err: at androidx.fragment.app.Fragment$4.run(SourceFile:105)
03-04 13:09:01.579 18926 18926 W System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
03-04 13:09:01.579 18926 18926 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
03-04 13:09:01.579 18926 18926 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelled}@9af32cb, AndroidUiDispatcher@514aaa8]
03-04 13:09:01.579 18926 18926 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelling}@64f2566, AndroidUiDispatcher@514aaa8]
03-04 13:09:01.592 18926 18926 W System.err: java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
03-04 13:09:01.592 18926 18926 W System.err: at android.media.MediaMetadataRetriever._setDataSource(Native Method)
03-04 13:09:01.592 18926 18926 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
03-04 13:09:01.592 18926 18926 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
03-04 13:09:01.592 18926 18926 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
03-04 13:09:01.592 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(SourceFile:31)
03-04 13:09:01.592 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:2)
03-04 13:09:01.592 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:1)
03-04 13:09:01.592 18926 18926 W System.err: at okio.Okio__OkioKt.startUndispatchedOrReturn(SourceFile:5)
03-04 13:09:01.592 18926 18926 W System.err: at kotlin.TuplesKt.withContext(SourceFile:75)
03-04 13:09:01.592 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(SourceFile:15)
03-04 13:09:01.592 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(Unknown Source:18)
03-04 13:09:01.592 18926 18926 W System.err: at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(Unknown Source:80)
03-04 13:09:01.592 18926 18926 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
03-04 13:09:01.592 18926 18926 W System.err: at kotlinx.coroutines.DispatchedTask.run(Unknown Source:107)
03-04 13:09:01.592 18926 18926 W System.err: at androidx.fragment.app.Fragment$4.run(SourceFile:105)
03-04 13:09:01.592 18926 18926 W System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
03-04 13:09:01.592 18926 18926 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
03-04 13:09:01.592 18926 18926 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelled}@9af32cb, AndroidUiDispatcher@514aaa8]
03-04 13:09:01.592 18926 18926 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelled}@64f2566, AndroidUiDispatcher@514aaa8]
03-04 13:09:01.592 18926 18926 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelling}@d5dc954, AndroidUiDispatcher@514aaa8]
03-04 13:09:01.600 18926 18926 W System.err: java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
03-04 13:09:01.600 18926 18926 W System.err: at android.media.MediaMetadataRetriever._setDataSource(Native Method)
03-04 13:09:01.600 18926 18926 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
03-04 13:09:01.600 18926 18926 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
03-04 13:09:01.600 18926 18926 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
03-04 13:09:01.600 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(SourceFile:31)
03-04 13:09:01.600 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:2)
03-04 13:09:01.600 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:1)
03-04 13:09:01.600 18926 18926 W System.err: at okio.Okio__OkioKt.startUndispatchedOrReturn(SourceFile:5)
03-04 13:09:01.600 18926 18926 W System.err: at kotlin.TuplesKt.withContext(SourceFile:75)
03-04 13:09:01.600 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(SourceFile:15)
03-04 13:09:01.600 18926 18926 W System.err: at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(Unknown Source:18)
03-04 13:09:01.600 18926 18926 W System.err: at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(Unknown Source:80)
03-04 13:09:01.600 18926 18926 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
03-04 13:09:01.600 18926 18926 W System.err: at kotlinx.coroutines.DispatchedTask.run(Unknown Source:107)
03-04 13:09:01.600 18926 18926 W System.err: at androidx.fragment.app.Fragment$4.run(SourceFile:105)
03-04 13:09:01.600 18926 18926 W System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
03-04 13:09:01.600 18926 18926 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
03-04 13:09:01.600 18926 18926 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelled}@9af32cb, AndroidUiDispatcher@514aaa8]
03-04 13:09:01.600 18926 18926 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelled}@64f2566, AndroidUiDispatcher@514aaa8]
03-04 13:09:01.600 18926 18926 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelled}@d5dc954, AndroidUiDispatcher@514aaa8]
03-04 13:09:01.600 18926 18926 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@be7ce45, androidx.compose.runtime.BroadcastFrameClock@ea099a, StandaloneCoroutine{Cancelling}@99831f2, AndroidUiDispatcher@514aaa8]
03-04 13:09:01.615 18926 18926 D VRI[MainActivity]: onFocusEvent true
03-04 13:09:01.615 18926 18926 I Quality : Skipped: false 3 cost 51.598957 refreshRate 16734379 bit true processName com.toasterofbread.spmp
03-04 13:09:01.617 18926 18926 D ScrollOptim [SceneManager]: updateCurrentActivity: mCurrentActivityName=null, isOptEnable=true, isAnimAheadEnable=true, isFrameInsertEnable=true, InsertNum=1, isEnabledForScrollChanged=false
03-04 13:09:01.629 18926 22848 D libMEOW : meow new tls: 0xb40000751b0a8100
03-04 13:09:01.629 18926 22848 D libMEOW : applied 1 plugins for [com.toasterofbread.spmp]:
03-04 13:09:01.629 18926 22848 D libMEOW : plugin 1: [libMEOW_gift.so]: 0xb40000765af22c80
03-04 13:09:01.629 18926 22848 D libMEOW : rebuild call chain: 0xb40000751b0b7ac0
03-04 13:09:01.629 18926 22848 D libMEOW : meow delete tls: 0xb40000751b0a8100
03-04 13:09:01.630 18926 18926 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-04 13:09:01.633 18926 18926 I System.out: Database is already up to date (version 2)
03-04 13:09:01.635 18926 22741 I System.out: Retrieving logcat output...
03-04 13:09:01.640 18926 18926 D ScrollOptim [SceneManager]: updateCurrentActivity: mCurrentActivityName=com.toasterofbread.spmp.ErrorReportActivity, isOptEnable=true, isAnimAheadEnable=true, isFrameInsertEnable=true, InsertNum=1, isEnabledForScrollChanged=false
03-04 13:09:01.640 18926 18926 D ActivityThread: ComponentInfo{com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity} checkFinished=false 2
03-04 13:09:01.640 18926 18926 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-04 13:09:01.641 18926 18926 D WindowManager: Add to mViews: DecorView@d4081b4[ErrorReportActivity],pkg= com.toasterofbread.spmp
03-04 13:09:01.646 18926 18926 D InputEventReceiver: Input log is disabled in InputEventReceiver.
03-04 13:09:01.647 18926 18926 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-04 13:09:01.647 18926 18926 E OplusBracketLog: [OplusViewMirrorManager] updateHostViewRootIfNeeded, not support android.view.ViewRootImpl@9c40c23
03-04 13:09:01.650 18926 18926 D AutofillManager: Fill dialog is enabled:false, hints=[password, passwordAuto, creditCardNumber, creditCardSecurityCode, creditCardExpirationDate]
03-04 13:09:01.656 18926 18926 D ViewRootImplExtImpl: wrapConfigInfoIntoFlags rotation=0, smallestScreenWidthDp=360, relayoutAsync=false, newFlags=23592960, title=com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity
03-04 13:09:01.667 18926 18926 D VRI[ErrorReportActivity]: relayoutWindow result, sizeChanged:true, surfaceControlChanged:true, transformHintChanged:true, mSurfaceSize:Point(1080, 2520), mLastSurfaceSize:Point(0, 0), mWidth:-1, mHeight:-1, requestedWidth:1080, requestedHeight:2520, transformHint:0, lastTransformHint:-2147483648, installOrientation:0, displayRotation:0, isSurfaceValid:true, attr.flag:-2122252032, useBlast:true, tmpFrames:ClientWindowFrames{frame=[0,0][1080,2520] display=[0,0][1080,2520] parentFrame=[0,0][0,0]}, params:{(0,0)(fillxfill) sim={adjust=pan forwardNavigation} ty=BASE_APPLICATION wanim=0x10302fe
03-04 13:09:01.667 18926 18926 D VRI[ErrorReportActivity]: fl=LAYOUT_IN_SCREEN LAYOUT_INSET_DECOR SPLIT_TOUCH HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS
03-04 13:09:01.667 18926 18926 D VRI[ErrorReportActivity]: pfl=NO_MOVE_ANIMATION FORCE_DRAW_STATUS_BAR_BACKGROUND USE_BLAST FIT_INSETS_CONTROLLED
03-04 13:09:01.667 18926 18926 D VRI[ErrorReportActivity]: bhv=DEFAULT
03-04 13:09:01.667 18926 18926 D VRI[ErrorReportActivity]: fitSides= CLP[ ]}
03-04 13:09:01.667 18926 18926 W VRI[ErrorReportActivity]: updateBlastSurfaceIfNeeded, surfaceSize:Point(1080, 2520), lastSurfaceSize:Point(0, 0), format:-1, blastBufferQueue:null
03-04 13:09:01.667 18926 18926 D BufferQueueConsumer: connect: controlledByApp=false
03-04 13:09:01.669 18926 22681 E OpenGLRenderer: Unable to match the desired swap behavior.
03-04 13:09:01.670 18926 18926 I SurfaceControl: setExtendedRangeBrightness sc=Surface(name=com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity)/@0xcb595fe,currentBufferRatio=1.0,desiredRatio=1.0
03-04 13:09:01.675 18926 22681 D BLASTBufferQueue: VRI[ErrorReportActivity]#1 acquireNextBufferLocked size=1080x2520 mFrameNumber=1 applyTransaction=true mTimestamp=103970248106196(auto) mPendingTransactions.size=0 graphicBufferId=81286551044101 transform=0
03-04 13:09:01.675 18926 22681 D VRI[ErrorReportActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true syncBuffer=false
03-04 13:09:01.675 18926 18926 D VRI[ErrorReportActivity]: draw finished.
03-04 13:09:01.675 18926 18926 D VRI[ErrorReportActivity]: reportDrawFinished
03-04 13:09:01.675 18926 18926 D ViewRootImplExtImpl: setMaxDequeuedBufferCount: 2
03-04 13:09:01.675 18926 18926 D VRI[MainActivity]: onFocusEvent false
03-04 13:09:01.677 18926 18926 W VRI[ErrorReportActivity]: handleResized, msg:5, frameChanged:false, configChanged:false, displayChanged:false, attachedFrameChanged:false, compatScaleChanged:false, pendingDragResizing=false
03-04 13:09:01.678 18926 22681 D VRI[ErrorReportActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=2 didProduceBuffer=false syncBuffer=false
03-04 13:09:01.678 18926 18926 D VRI[ErrorReportActivity]: draw finished.
03-04 13:09:01.678 18926 18926 D VRI[ErrorReportActivity]: reportDrawFinished

@toasterofbread
Copy link
Owner

@Peace-master2930 Are you sure you used the correct build? That doesn't seem to include the information I added.

@Peace-master2930
Copy link
Author

Peace-master2930 commented Mar 7, 2024

@Peace-master2930 Are you sure you used the correct build? That doesn't seem to include the information I added.

---STACK TRACE---
java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
at android.media.MediaMetadataRetriever._setDataSource(Native Method)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(SourceFile:31)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:2)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:1)
at okio.Okio__OkioKt.startUndispatchedOrReturn(SourceFile:5)
at kotlin.TuplesKt.withContext(SourceFile:75)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(SourceFile:15)
at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(Unknown Source:18)
at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(Unknown Source:80)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:107)
at androidx.fragment.app.Fragment$4.run(SourceFile:105)
at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@adcbb48, AndroidUiDispatcher@2bbdde1]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@c571c7, AndroidUiDispatcher@2bbdde1]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@937771d, AndroidUiDispatcher@2bbdde1]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@39d6363, AndroidUiDispatcher@2bbdde1]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@7d96819, AndroidUiDispatcher@2bbdde1]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@678d2bf, AndroidUiDispatcher@2bbdde1]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@50f6cd5, AndroidUiDispatcher@2bbdde1]
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelling}@771dbdb, AndroidUiDispatcher@2bbdde1]

---LOGCAT (last 126 lines)---
03-07 18:56:44.659 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(SourceFile:15)
03-07 18:56:44.659 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(Unknown Source:18)
03-07 18:56:44.659 2891 2891 W System.err: at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(Unknown Source:80)
03-07 18:56:44.659 2891 2891 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
03-07 18:56:44.659 2891 2891 W System.err: at kotlinx.coroutines.DispatchedTask.run(Unknown Source:107)
03-07 18:56:44.659 2891 2891 W System.err: at androidx.fragment.app.Fragment$4.run(SourceFile:105)
03-07 18:56:44.659 2891 2891 W System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
03-07 18:56:44.659 2891 2891 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
03-07 18:56:44.659 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@adcbb48, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.659 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@c571c7, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.659 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@937771d, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.659 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@39d6363, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.659 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelling}@7d96819, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.666 2891 2891 W System.err: java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
03-07 18:56:44.666 2891 2891 W System.err: at android.media.MediaMetadataRetriever._setDataSource(Native Method)
03-07 18:56:44.666 2891 2891 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
03-07 18:56:44.666 2891 2891 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
03-07 18:56:44.666 2891 2891 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
03-07 18:56:44.666 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(SourceFile:31)
03-07 18:56:44.666 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:2)
03-07 18:56:44.666 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:1)
03-07 18:56:44.666 2891 2891 W System.err: at okio.Okio__OkioKt.startUndispatchedOrReturn(SourceFile:5)
03-07 18:56:44.666 2891 2891 W System.err: at kotlin.TuplesKt.withContext(SourceFile:75)
03-07 18:56:44.666 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(SourceFile:15)
03-07 18:56:44.666 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(Unknown Source:18)
03-07 18:56:44.666 2891 2891 W System.err: at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(Unknown Source:80)
03-07 18:56:44.666 2891 2891 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
03-07 18:56:44.666 2891 2891 W System.err: at kotlinx.coroutines.DispatchedTask.run(Unknown Source:107)
03-07 18:56:44.666 2891 2891 W System.err: at androidx.fragment.app.Fragment$4.run(SourceFile:105)
03-07 18:56:44.666 2891 2891 W System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
03-07 18:56:44.666 2891 2891 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
03-07 18:56:44.666 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@adcbb48, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.666 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@c571c7, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.666 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@937771d, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.666 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@39d6363, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.666 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@7d96819, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.666 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelling}@678d2bf, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.671 2891 2891 W System.err: java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
03-07 18:56:44.671 2891 2891 W System.err: at android.media.MediaMetadataRetriever._setDataSource(Native Method)
03-07 18:56:44.671 2891 2891 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
03-07 18:56:44.671 2891 2891 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
03-07 18:56:44.671 2891 2891 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
03-07 18:56:44.671 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(SourceFile:31)
03-07 18:56:44.671 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:2)
03-07 18:56:44.671 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:1)
03-07 18:56:44.671 2891 2891 W System.err: at okio.Okio__OkioKt.startUndispatchedOrReturn(SourceFile:5)
03-07 18:56:44.671 2891 2891 W System.err: at kotlin.TuplesKt.withContext(SourceFile:75)
03-07 18:56:44.671 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(SourceFile:15)
03-07 18:56:44.671 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(Unknown Source:18)
03-07 18:56:44.671 2891 2891 W System.err: at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(Unknown Source:80)
03-07 18:56:44.671 2891 2891 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
03-07 18:56:44.671 2891 2891 W System.err: at kotlinx.coroutines.DispatchedTask.run(Unknown Source:107)
03-07 18:56:44.671 2891 2891 W System.err: at androidx.fragment.app.Fragment$4.run(SourceFile:105)
03-07 18:56:44.671 2891 2891 W System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
03-07 18:56:44.671 2891 2891 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
03-07 18:56:44.671 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@adcbb48, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.671 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@c571c7, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.671 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@937771d, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.671 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@39d6363, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.671 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@7d96819, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.671 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@678d2bf, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.671 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelling}@50f6cd5, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.676 2891 2891 W System.err: java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
03-07 18:56:44.676 2891 2891 W System.err: at android.media.MediaMetadataRetriever._setDataSource(Native Method)
03-07 18:56:44.676 2891 2891 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
03-07 18:56:44.676 2891 2891 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
03-07 18:56:44.676 2891 2891 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
03-07 18:56:44.676 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(SourceFile:31)
03-07 18:56:44.676 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:2)
03-07 18:56:44.676 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(SourceFile:1)
03-07 18:56:44.676 2891 2891 W System.err: at okio.Okio__OkioKt.startUndispatchedOrReturn(SourceFile:5)
03-07 18:56:44.676 2891 2891 W System.err: at kotlin.TuplesKt.withContext(SourceFile:75)
03-07 18:56:44.676 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(SourceFile:15)
03-07 18:56:44.676 2891 2891 W System.err: at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(Unknown Source:18)
03-07 18:56:44.676 2891 2891 W System.err: at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(Unknown Source:80)
03-07 18:56:44.676 2891 2891 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
03-07 18:56:44.676 2891 2891 W System.err: at kotlinx.coroutines.DispatchedTask.run(Unknown Source:107)
03-07 18:56:44.676 2891 2891 W System.err: at androidx.fragment.app.Fragment$4.run(SourceFile:105)
03-07 18:56:44.676 2891 2891 W System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
03-07 18:56:44.676 2891 2891 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
03-07 18:56:44.676 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@adcbb48, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.677 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@c571c7, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.677 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@937771d, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.677 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@39d6363, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.677 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@7d96819, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.677 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@678d2bf, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.677 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelled}@50f6cd5, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.677 2891 2891 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@cad413a, androidx.compose.runtime.BroadcastFrameClock@c80a1eb, StandaloneCoroutine{Cancelling}@771dbdb, AndroidUiDispatcher@2bbdde1]
03-07 18:56:44.683 2891 2891 I Quality : Skipped: false 2 cost 43.93848 refreshRate 16738826 bit true processName com.toasterofbread.spmp
03-07 18:56:44.683 2891 2891 D ScrollOptim [SceneManager]: updateCurrentActivity: mCurrentActivityName=null, isOptEnable=true, isAnimAheadEnable=true, isFrameInsertEnable=true, InsertNum=1, isEnabledForScrollChanged=false
03-07 18:56:44.691 2891 13405 D libMEOW : meow new tls: 0xb40000751d48edc0
03-07 18:56:44.691 2891 13405 D libMEOW : applied 1 plugins for [com.toasterofbread.spmp]:
03-07 18:56:44.691 2891 13405 D libMEOW : plugin 1: [libMEOW_gift.so]: 0xb40000765af22c80
03-07 18:56:44.692 2891 13405 D libMEOW : rebuild call chain: 0xb40000751d4a7880
03-07 18:56:44.692 2891 13405 D libMEOW : meow delete tls: 0xb40000751d48edc0
03-07 18:56:44.693 2891 2891 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-07 18:56:44.696 2891 2891 I System.out: Database is already up to date (version 2)
03-07 18:56:44.699 2891 13329 I System.out: Retrieving logcat output...
03-07 18:56:44.702 2891 2891 D ScrollOptim [SceneManager]: updateCurrentActivity: mCurrentActivityName=com.toasterofbread.spmp.ErrorReportActivity, isOptEnable=true, isAnimAheadEnable=true, isFrameInsertEnable=true, InsertNum=1, isEnabledForScrollChanged=false
03-07 18:56:44.702 2891 2891 D ActivityThread: ComponentInfo{com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity} checkFinished=false 2
03-07 18:56:44.702 2891 2891 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-07 18:56:44.703 2891 2891 D WindowManager: Add to mViews: DecorView@c58e6f9[ErrorReportActivity],pkg= com.toasterofbread.spmp
03-07 18:56:44.707 2891 2891 D InputEventReceiver: Input log is disabled in InputEventReceiver.
03-07 18:56:44.707 2891 2891 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-07 18:56:44.708 2891 2891 E OplusBracketLog: [OplusViewMirrorManager] updateHostViewRootIfNeeded, not support android.view.ViewRootImpl@3d9a0d8
03-07 18:56:44.710 2891 2891 D AutofillManager: Fill dialog is enabled:false, hints=[password, passwordAuto, creditCardNumber, creditCardSecurityCode, creditCardExpirationDate]
03-07 18:56:44.714 2891 2891 D ViewRootImplExtImpl: wrapConfigInfoIntoFlags rotation=0, smallestScreenWidthDp=360, relayoutAsync=false, newFlags=23592960, title=com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity
03-07 18:56:44.721 2891 2891 D VRI[ErrorReportActivity]: relayoutWindow result, sizeChanged:true, surfaceControlChanged:true, transformHintChanged:true, mSurfaceSize:Point(1080, 2520), mLastSurfaceSize:Point(0, 0), mWidth:-1, mHeight:-1, requestedWidth:1080, requestedHeight:2520, transformHint:0, lastTransformHint:-2147483648, installOrientation:0, displayRotation:0, isSurfaceValid:true, attr.flag:-2122252032, useBlast:true, tmpFrames:ClientWindowFrames{frame=[0,0][1080,2520] display=[0,0][1080,2520] parentFrame=[0,0][0,0]}, params:{(0,0)(fillxfill) sim={adjust=pan forwardNavigation} ty=BASE_APPLICATION wanim=0x10302fe
03-07 18:56:44.721 2891 2891 D VRI[ErrorReportActivity]: fl=LAYOUT_IN_SCREEN LAYOUT_INSET_DECOR SPLIT_TOUCH HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS
03-07 18:56:44.721 2891 2891 D VRI[ErrorReportActivity]: pfl=NO_MOVE_ANIMATION FORCE_DRAW_STATUS_BAR_BACKGROUND USE_BLAST FIT_INSETS_CONTROLLED
03-07 18:56:44.721 2891 2891 D VRI[ErrorReportActivity]: bhv=DEFAULT
03-07 18:56:44.721 2891 2891 D VRI[ErrorReportActivity]: fitSides= CLP[ ]}
03-07 18:56:44.721 2891 2891 W VRI[ErrorReportActivity]: updateBlastSurfaceIfNeeded, surfaceSize:Point(1080, 2520), lastSurfaceSize:Point(0, 0), format:-1, blastBufferQueue:null
03-07 18:56:44.721 2891 2891 D BufferQueueConsumer: connect: controlledByApp=false
03-07 18:56:44.723 2891 13286 E OpenGLRenderer: Unable to match the desired swap behavior.
03-07 18:56:44.726 2891 2891 I SurfaceControl: setExtendedRangeBrightness sc=Surface(name=com.toasterofbread.spmp/com.toasterofbread.spmp.ErrorReportActivity)/@0x2931677,currentBufferRatio=1.0,desiredRatio=1.0
03-07 18:56:44.729 2891 13286 D BLASTBufferQueue: VRI[ErrorReportActivity]#1 acquireNextBufferLocked size=1080x2520 mFrameNumber=1 applyTransaction=true mTimestamp=195812618326209(auto) mPendingTransactions.size=0 graphicBufferId=12416750452741 transform=0
03-07 18:56:44.729 2891 13286 D VRI[ErrorReportActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true syncBuffer=false
03-07 18:56:44.729 2891 2891 D VRI[ErrorReportActivity]: draw finished.
03-07 18:56:44.729 2891 2891 D VRI[ErrorReportActivity]: reportDrawFinished
03-07 18:56:44.729 2891 2891 D ViewRootImplExtImpl: setMaxDequeuedBufferCount: 2
03-07 18:56:44.729 2891 2891 D VRI[MainActivity]: onFocusEvent false
03-07 18:56:44.731 2891 2891 W VRI[ErrorReportActivity]: handleResized, msg:5, frameChanged:false, configChanged:false, displayChanged:false, attachedFrameChanged:false, compatScaleChanged:false, pendingDragResizing=false
03-07 18:56:44.731 2891 13286 D VRI[ErrorReportActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=2 didProduceBuffer=false syncBuffer=false
03-07 18:56:44.732 2891 2891 D VRI[ErrorReportActivity]: draw finished.
03-07 18:56:44.732 2891 2891 D VRI[ErrorReportActivity]: reportDrawFinished

@Peace-master2930
Copy link
Author

Bro I uploaded again check

@toasterofbread
Copy link
Owner

Again, that doesn't seem to include the new information for some reason. What's the exact commit you're using?

@Peace-master2930
Copy link
Author

Again, that doesn't seem to include the new information for some reason. What's the exact commit you're using?

bro what do you mean by commit??. if you mean the version i am using v0.3.0 ( this one:- spmp-v0.3.0-android-arm64-v8a.apk

@toasterofbread
Copy link
Owner

You ticked the box that says I am able to reproduce the bug with the latest debug version. What debug version were you using?

@Peace-master2930
Copy link
Author

You ticked the box that says I am able to reproduce the bug with the latest debug version. What debug version were you using?

same version

@toasterofbread
Copy link
Owner

v0.3.0 is not the latest build. Please upload the stack trace produced when using the latest build, which is linked to in the issue template.

@Peace-master2930
Copy link
Author

Peace-master2930 commented Mar 11, 2024

v0.3.0 is not the latest build. Please upload the stack trace produced when using the latest build, which is linked to in the issue template.

---STACK TRACE---
java.lang.RuntimeException: Reading metadata failed for PlatformFile(uri= Theme.mp4, file= Theme.mp4, parent_file=null) file:https:///data/user/0/com.toasterofbread.spmp.debug/files/library/songs/Adho%20%3A%20Theme.mp4
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(LocalSongMetadataProcessor.android.kt:54)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(Unknown Source:8)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(Unknown Source:4)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(LocalSongMetadataProcessor.android.kt:28)
at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(LocalSongMetadataProcessor.kt:51)
at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(MediaItemLibrary.kt:154)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@e8eb193, androidx.compose.runtime.BroadcastFrameClock@78e95d0, StandaloneCoroutine{Cancelling}@83b59c9, AndroidUiDispatcher@116a8ce]
Caused by: java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
at android.media.MediaMetadataRetriever._setDataSource(Native Method)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(LocalSongMetadataProcessor.android.kt:31)
... 16 more

---LOGCAT (last 126 lines)---
03-12 00:01:28.488 24743 27342 W System.err: at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
03-12 00:01:28.488 24743 27342 W System.err: at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
03-12 00:01:28.490 24743 27342 W System.err: at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
03-12 00:01:28.491 24743 27342 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(LocalSongMetadataProcessor.android.kt:28)
03-12 00:01:28.491 24743 27342 W System.err: at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(LocalSongMetadataProcessor.kt:51)
03-12 00:01:28.491 24743 27342 W System.err: at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(MediaItemLibrary.kt:154)
03-12 00:01:28.491 24743 27342 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
03-12 00:01:28.492 24743 27342 W System.err: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
03-12 00:01:28.492 24743 27342 W System.err: at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
03-12 00:01:28.492 24743 27342 W System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
03-12 00:01:28.492 24743 27342 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
03-12 00:01:28.492 24743 27342 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
03-12 00:01:28.493 24743 27342 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
03-12 00:01:28.493 24743 27342 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
03-12 00:01:28.494 24743 27342 W System.err: Caused by: java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
03-12 00:01:28.494 24743 27342 W System.err: at android.media.MediaMetadataRetriever._setDataSource(Native Method)
03-12 00:01:28.494 24743 27342 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
03-12 00:01:28.494 24743 27342 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
03-12 00:01:28.494 24743 27342 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
03-12 00:01:28.495 24743 27342 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(LocalSongMetadataProcessor.android.kt:31)
03-12 00:01:28.495 24743 27342 W System.err: ... 16 more
03-12 00:01:28.606 24743 24743 I Choreographer: Skipped 33 frames! The application may be doing too much work on its main thread.
03-12 00:01:28.606 24743 24743 I Quality : Skipped: false 33 cost 282.05847 refreshRate 8369399 bit true processName com.toasterofbread.spmp.debug
03-12 00:01:28.657 24743 24743 I Quality : Skipped: false 3 cost 32.742546 refreshRate 8369534 bit true processName com.toasterofbread.spmp.debug
03-12 00:01:28.712 24743 27350 W System.err: java.lang.RuntimeException: Reading metadata failed for PlatformFile(uri= Theme.mp4, file= Theme.mp4, parent_file=null) file:https:///data/user/0/com.toasterofbread.spmp.debug/files/library/songs/Adho%20%3A%20Theme.mp4
03-12 00:01:28.713 24743 27350 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(LocalSongMetadataProcessor.android.kt:54)
03-12 00:01:28.713 24743 27350 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(Unknown Source:8)
03-12 00:01:28.713 24743 27350 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(Unknown Source:4)
03-12 00:01:28.722 24743 27350 W System.err: at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
03-12 00:01:28.722 24743 27350 W System.err: at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
03-12 00:01:28.722 24743 27350 W System.err: at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
03-12 00:01:28.722 24743 27350 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(LocalSongMetadataProcessor.android.kt:28)
03-12 00:01:28.722 24743 27350 W System.err: at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(LocalSongMetadataProcessor.kt:51)
03-12 00:01:28.722 24743 27350 W System.err: at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(MediaItemLibrary.kt:154)
03-12 00:01:28.722 24743 27350 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
03-12 00:01:28.722 24743 27350 W System.err: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
03-12 00:01:28.722 24743 27350 W System.err: at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
03-12 00:01:28.722 24743 27350 W System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
03-12 00:01:28.723 24743 27350 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
03-12 00:01:28.723 24743 27350 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
03-12 00:01:28.723 24743 27350 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
03-12 00:01:28.723 24743 27350 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
03-12 00:01:28.723 24743 27350 W System.err: Caused by: java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
03-12 00:01:28.723 24743 27350 W System.err: at android.media.MediaMetadataRetriever._setDataSource(Native Method)
03-12 00:01:28.723 24743 27350 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
03-12 00:01:28.723 24743 27350 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
03-12 00:01:28.723 24743 27350 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
03-12 00:01:28.723 24743 27350 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(LocalSongMetadataProcessor.android.kt:31)
03-12 00:01:28.723 24743 27350 W System.err: ... 16 more
03-12 00:01:28.856 24743 27303 W System.err: java.lang.RuntimeException: Reading metadata failed for PlatformFile(uri= Theme.mp4, file= Theme.mp4, parent_file=null) file:https:///data/user/0/com.toasterofbread.spmp.debug/files/library/songs/Adho%20%3A%20Theme.mp4
03-12 00:01:28.856 24743 27303 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(LocalSongMetadataProcessor.android.kt:54)
03-12 00:01:28.856 24743 27303 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(Unknown Source:8)
03-12 00:01:28.856 24743 27303 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(Unknown Source:4)
03-12 00:01:28.857 24743 27303 W System.err: at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
03-12 00:01:28.857 24743 27303 W System.err: at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
03-12 00:01:28.857 24743 27303 W System.err: at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
03-12 00:01:28.857 24743 27303 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(LocalSongMetadataProcessor.android.kt:28)
03-12 00:01:28.857 24743 27303 W System.err: at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(LocalSongMetadataProcessor.kt:51)
03-12 00:01:28.857 24743 27303 W System.err: at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(MediaItemLibrary.kt:154)
03-12 00:01:28.857 24743 27303 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
03-12 00:01:28.857 24743 27303 W System.err: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
03-12 00:01:28.858 24743 27303 W System.err: at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
03-12 00:01:28.858 24743 27303 W System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
03-12 00:01:28.858 24743 27303 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
03-12 00:01:28.858 24743 27303 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
03-12 00:01:28.858 24743 27303 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
03-12 00:01:28.858 24743 27303 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
03-12 00:01:28.859 24743 27303 W System.err: Caused by: java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
03-12 00:01:28.859 24743 27303 W System.err: at android.media.MediaMetadataRetriever._setDataSource(Native Method)
03-12 00:01:28.859 24743 27303 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
03-12 00:01:28.859 24743 27303 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
03-12 00:01:28.859 24743 27303 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
03-12 00:01:28.859 24743 27303 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(LocalSongMetadataProcessor.android.kt:31)
03-12 00:01:28.859 24743 27303 W System.err: ... 16 more
03-12 00:01:28.880 24743 24743 I Quality : Skipped: true 2 cost 22.943916 refreshRate 8369621 bit true processName com.toasterofbread.spmp.debug
03-12 00:01:28.937 24743 24743 I Quality : Skipped: true 1 cost 13.09233 refreshRate 8369624 bit true processName com.toasterofbread.spmp.debug
03-12 00:01:28.956 24743 24743 I Quality : Skipped: true 1 cost 15.121049 refreshRate 8369627 bit true processName com.toasterofbread.spmp.debug
03-12 00:01:29.312 24743 24743 W System.err: java.lang.RuntimeException: Reading metadata failed for PlatformFile(uri= Theme.mp4, file= Theme.mp4, parent_file=null) file:https:///data/user/0/com.toasterofbread.spmp.debug/files/library/songs/Adho%20%3A%20Theme.mp4
03-12 00:01:29.312 24743 24743 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(LocalSongMetadataProcessor.android.kt:54)
03-12 00:01:29.312 24743 24743 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(Unknown Source:8)
03-12 00:01:29.312 24743 24743 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invoke(Unknown Source:4)
03-12 00:01:29.312 24743 24743 W System.err: at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
03-12 00:01:29.312 24743 24743 W System.err: at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
03-12 00:01:29.312 24743 24743 W System.err: at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
03-12 00:01:29.312 24743 24743 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1.readLocalSongMetadata(LocalSongMetadataProcessor.android.kt:28)
03-12 00:01:29.312 24743 24743 W System.err: at com.toasterofbread.spmp.platform.download.MetadataProcessor$DefaultImpls.readLocalSongMetadata$default(LocalSongMetadataProcessor.kt:51)
03-12 00:01:29.312 24743 24743 W System.err: at com.toasterofbread.spmp.model.mediaitem.library.MediaItemLibraryKt$getAllLocalSongFiles$2$1$1.invokeSuspend(MediaItemLibrary.kt:154)
03-12 00:01:29.312 24743 24743 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
03-12 00:01:29.312 24743 24743 W System.err: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
03-12 00:01:29.313 24743 24743 W System.err: at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
03-12 00:01:29.313 24743 24743 W System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
03-12 00:01:29.313 24743 24743 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
03-12 00:01:29.313 24743 24743 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
03-12 00:01:29.313 24743 24743 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
03-12 00:01:29.313 24743 24743 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
03-12 00:01:29.313 24743 24743 W System.err: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@e8eb193, androidx.compose.runtime.BroadcastFrameClock@78e95d0, StandaloneCoroutine{Cancelling}@83b59c9, AndroidUiDispatcher@116a8ce]
03-12 00:01:29.313 24743 24743 W System.err: Caused by: java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
03-12 00:01:29.314 24743 24743 W System.err: at android.media.MediaMetadataRetriever._setDataSource(Native Method)
03-12 00:01:29.314 24743 24743 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:299)
03-12 00:01:29.314 24743 24743 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:247)
03-12 00:01:29.314 24743 24743 W System.err: at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:373)
03-12 00:01:29.314 24743 24743 W System.err: at com.toasterofbread.spmp.platform.download.LocalSongMetadataProcessor_androidKt$LocalSongMetadataProcessor$1$readLocalSongMetadata$2.invokeSuspend(LocalSongMetadataProcessor.android.kt:31)
03-12 00:01:29.314 24743 24743 W System.err: ... 16 more
03-12 00:01:29.341 24743 24743 V AutofillManager: requestHideFillUi(null): anchor = null
03-12 00:01:29.348 24743 24743 D ViewRootImplExtImpl: MotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=850.7998, y[0]=1721.9004, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=84508768, downTime=84508657, deviceId=4, source=0x1002, displayId=0, eventId=885775653 } handled by client, just return
03-12 00:01:29.349 24743 24743 I Choreographer: Skipped 46 frames! The application may be doing too much work on its main thread.
03-12 00:01:29.349 24743 24743 I Quality : Skipped: false 46 cost 391.33438 refreshRate 8369627 bit true processName com.toasterofbread.spmp.debug
03-12 00:01:29.350 24743 24743 D ScrollOptim [SceneManager]: updateCurrentActivity: mCurrentActivityName=null, isOptEnable=true, isAnimAheadEnable=true, isFrameInsertEnable=true, InsertNum=1, isEnabledForScrollChanged=false
03-12 00:01:29.360 24743 27381 D libMEOW : meow new tls: 0xb40000746516d880
03-12 00:01:29.360 24743 27381 D libMEOW : applied 1 plugins for [com.toasterofbread.spmp.debug]:
03-12 00:01:29.360 24743 27381 D libMEOW : plugin 1: [libMEOW_gift.so]: 0xb40000755e322c40
03-12 00:01:29.360 24743 27381 D libMEOW : rebuild call chain: 0xb400007465186040
03-12 00:01:29.360 24743 27381 D libMEOW : meow delete tls: 0xb40000746516d880
03-12 00:01:29.363 24743 24743 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-12 00:01:29.372 24743 24743 I System.out: Database is already up to date (version 2)
03-12 00:01:29.377 24743 27142 I System.out: Retrieving logcat output...
03-12 00:01:29.391 24743 24743 D ScrollOptim [SceneManager]: updateCurrentActivity: mCurrentActivityName=com.toasterofbread.spmp.ErrorReportActivity, isOptEnable=true, isAnimAheadEnable=true, isFrameInsertEnable=true, InsertNum=1, isEnabledForScrollChanged=false
03-12 00:01:29.391 24743 24743 D ActivityThread: ComponentInfo{com.toasterofbread.spmp.debug/com.toasterofbread.spmp.ErrorReportActivity} checkFinished=false 2
03-12 00:01:29.391 24743 24743 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-12 00:01:29.394 24743 24743 D WindowManager: Add to mViews: DecorView@23570a9[ErrorReportActivity],pkg= com.toasterofbread.spmp.debug
03-12 00:01:29.403 24743 24743 D InputEventReceiver: Input log is disabled in InputEventReceiver.
03-12 00:01:29.403 24743 24743 D VRI[MainActivity]: onFocusEvent false
03-12 00:01:29.404 24743 24743 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-12 00:01:29.405 24743 24743 I Quality : Skipped: false 1 cost 14.067769 refreshRate 8369163 bit true processName com.toasterofbread.spmp.debug
03-12 00:01:29.406 24743 24743 E OplusBracketLog: [OplusViewMirrorManager] updateHostViewRootIfNeeded, not support android.view.ViewRootImpl@80deb5c
03-12 00:01:29.411 24743 24743 D AutofillManager: Fill dialog is enabled:false, hints=[password, passwordAuto, creditCardNumber, creditCardSecurityCode, creditCardExpirationDate]

@toasterofbread
Copy link
Owner

Seems like this might be an Android 14-specific issue. As a workaround, clearing app data and then turning auto-download off should fix this.

@toasterofbread toasterofbread changed the title Crashing whenever I open Crash on local file metadata read (possible A14 issue) Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants