App crashes when adding to playlist
Whenever I add a track to my playlist, the app crashes (but the track is successfully added to the playlist)
From Funkwhale-Android logs :
--------- beginning of system
08-25 18:50:46.343 24732 24732 I Timeline: Timeline: Activity_launch_request time:3925251
08-25 18:50:46.841 24732 24732 W Looper : PerfMonitor looperActivity : package=audio.funkwhale.ffa.dev/audio.funkwhale.ffa.activities.MainActivity time=1ms latency=397ms running=0ms procState=2 ClientTransaction{ callbacks=[android.app.servertransaction.TopResumedActivityChangeItem] } historyMsgCount=5 (msgIndex=5 wall=325ms seq=26434 running=237ms runnable=11ms io=49ms late=72ms h=android.app.ActivityThread$H w=159)
08-25 18:50:47.233 24732 24732 W Looper : PerfMonitor doFrame : time=75ms vsyncFrame=0 latency=307ms procState=2 historyMsgCount=11 (msgIndex=1 wall=299ms seq=26467 running=200ms runnable=18ms late=12ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver)
08-25 18:50:47.727 24732 24732 W Looper : PerfMonitor doFrame : time=410ms vsyncFrame=0 latency=149ms procState=2 historyMsgCount=41 (msgIndex=1 wall=75ms seq=26478 running=49ms runnable=5ms late=307ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver) (msgIndex=5 wall=75ms seq=26482 running=63ms runnable=2ms io=2ms late=379ms h=android.view.ViewRootImpl$ViewRootHandler c=androidx.appcompat.app.ToolbarActionBar$1)
08-25 18:50:47.753 24732 24732 W Looper : PerfMonitor doFrame : time=15ms vsyncFrame=0 latency=420ms procState=2 historyMsgCount=13 (msgIndex=1 wall=410ms seq=26519 running=311ms runnable=12ms io=6ms late=149ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver)
--------- beginning of main
08-25 18:51:33.006 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:51:33.006 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:51:34.346 24732 31560 D BufferPoolAccessor2.0: bufferpool2 0xb4000070786ab628 : 4(32768 size) total buffers - 4(32768 size) used buffers - 0/5 (recycle/alloc) - 4/1215 (fetch/transfer)
08-25 18:51:36.368 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:51:36.369 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:51:37.898 24732 25363 I HttpUpstream: get() - url: /api/v1/favorites/tracks/all/?playable=true&page_size=50&page=1&scope=all
08-25 18:51:37.904 24732 31546 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:51:37.904 24732 25363 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:51:37.925 24732 25363 I Request.authorize(): Accesstoken not renewed
08-25 18:51:37.925 24732 31546 I Request.authorize(): Accesstoken not renewed
08-25 18:51:37.981 24732 24948 I HttpUpstream: get() - url: /api/v1/favorites/tracks/all/?playable=true&page_size=50&page=1&scope=all
08-25 18:51:37.987 24732 24948 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:51:37.997 24732 24948 I Request.authorize(): Accesstoken not renewed
08-25 18:51:39.584 24732 31560 D BufferPoolAccessor2.0: bufferpool2 0xb4000070786ab628 : 4(32768 size) total buffers - 4(32768 size) used buffers - 0/5 (recycle/alloc) - 4/1615 (fetch/transfer)
08-25 18:51:39.728 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:51:39.729 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:51:42.309 24732 24732 W nkwhale.ffa.de: Accessing hidden field Landroid/widget/AbsListView;->mIsChildViewEnabled:Z (greylist, reflection, allowed)
08-25 18:51:43.120 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:51:43.120 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:51:44.821 24732 31560 D BufferPoolAccessor2.0: bufferpool2 0xb4000070786ab628 : 4(32768 size) total buffers - 4(32768 size) used buffers - 0/5 (recycle/alloc) - 4/2017 (fetch/transfer)
08-25 18:51:46.491 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:51:46.491 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:51:46.844 24732 24732 D MIUIInput: [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=3985746, downTime=3985746, deviceId=-1, source=0x101, displayId=0 }
08-25 18:51:46.934 24732 24732 D MIUIInput: [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=3985839, downTime=3985746, deviceId=-1, source=0x101, displayId=0 }
08-25 18:51:47.698 24732 24732 D MIUIInput: [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=3986598, downTime=3986598, deviceId=-1, source=0x101, displayId=0 }
08-25 18:51:47.789 24732 24732 D MIUIInput: [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=3986692, downTime=3986598, deviceId=-1, source=0x101, displayId=0 }
08-25 18:51:49.838 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:51:49.838 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:51:49.942 24732 31560 D BufferPoolAccessor2.0: bufferpool2 0xb4000070786ab628 : 4(32768 size) total buffers - 4(32768 size) used buffers - 0/5 (recycle/alloc) - 4/2409 (fetch/transfer)
08-25 18:51:50.241 24732 24732 D MIUIInput: [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=3989143, downTime=3989143, deviceId=-1, source=0x101, displayId=0 }
08-25 18:51:50.327 24732 24732 D MIUIInput: [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=3989232, downTime=3989143, deviceId=-1, source=0x101, displayId=0 }
08-25 18:51:50.347 24732 24732 W TabLayout: MODE_SCROLLABLE + GRAVITY_FILL is not supported, GRAVITY_START will be used instead
08-25 18:51:50.444 24732 24948 I HttpUpstream: get() - url: /api/v1/radios/radios/?ordering=name&page_size=50&page=1&scope=all
08-25 18:51:50.445 24732 24948 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:51:50.447 24732 24732 W InputEventReceiver: App Input: Dispatching InputEvent took 120ms in main thread! (KeyEvent: event_seq=416, seq=32412, code=KEYCODE_BACK, action=ACTION_UP)
08-25 18:51:50.460 24732 24948 I Request.authorize(): Accesstoken not renewed
08-25 18:51:50.698 24732 24746 I nkwhale.ffa.de: Background concurrent copying GC freed 216664(10MB) AllocSpace objects, 33(1344KB) LOS objects, 49% free, 15MB/30MB, paused 88us total 119.205ms
08-25 18:51:50.729 24732 24748 W System : A resource failed to call close.
08-25 18:51:50.730 24732 24748 I chatty : uid=10387(audio.funkwhale.ffa.dev) FinalizerDaemon identical 6 lines
08-25 18:51:50.730 24732 24748 W System : A resource failed to call close.
08-25 18:51:53.246 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:51:53.246 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:51:55.180 24732 31560 D BufferPoolAccessor2.0: bufferpool2 0xb4000070786ab628 : 4(32768 size) total buffers - 4(32768 size) used buffers - 0/5 (recycle/alloc) - 4/2809 (fetch/transfer)
08-25 18:51:56.600 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:51:56.600 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:51:59.960 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:51:59.960 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:52:00.427 24732 31560 D BufferPoolAccessor2.0: bufferpool2 0xb4000070786ab628 : 4(32768 size) total buffers - 4(32768 size) used buffers - 0/5 (recycle/alloc) - 4/3211 (fetch/transfer)
08-25 18:52:01.812 24732 24948 I HttpUpstream: get() - url: /api/v1/favorites/tracks/all/?playable=true&page_size=50&page=1&scope=all
08-25 18:52:01.820 24732 31545 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:01.833 24732 24948 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:01.846 24732 31545 I Request.authorize(): Accesstoken not renewed
08-25 18:52:01.865 24732 24948 I Request.authorize(): Accesstoken not renewed
08-25 18:52:01.957 24732 25091 I HttpUpstream: get() - url: /api/v1/favorites/tracks/all/?playable=true&page_size=50&page=1&scope=all
08-25 18:52:01.976 24732 25091 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:01.995 24732 25091 I Request.authorize(): Accesstoken not renewed
08-25 18:52:03.362 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:52:03.362 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:52:03.590 24732 31545 I HttpUpstream: get() - url: /api/v1/albums/?playable=true&artist=49&ordering=release_date&page_size=50&page=1&scope=all
08-25 18:52:03.592 24732 31545 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:03.605 24732 31545 I Request.authorize(): Accesstoken not renewed
08-25 18:52:05.620 24732 31560 D BufferPoolAccessor2.0: bufferpool2 0xb4000070786ab628 : 4(32768 size) total buffers - 4(32768 size) used buffers - 0/5 (recycle/alloc) - 4/3611 (fetch/transfer)
08-25 18:52:06.726 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:52:06.727 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:52:10.121 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:52:10.121 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:52:10.858 24732 31560 D BufferPoolAccessor2.0: bufferpool2 0xb4000070786ab628 : 4(32768 size) total buffers - 4(32768 size) used buffers - 0/5 (recycle/alloc) - 4/4011 (fetch/transfer)
08-25 18:52:13.437 24732 24948 I HttpUpstream: get() - url: /api/v1/favorites/tracks/all/?playable=true&page_size=50&page=1&scope=all
08-25 18:52:13.442 24732 25091 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:13.443 24732 24948 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:13.475 24732 25091 I Request.authorize(): Accesstoken not renewed
08-25 18:52:13.478 24732 24948 I Request.authorize(): Accesstoken not renewed
08-25 18:52:13.489 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:52:13.489 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:52:13.548 24732 25363 I HttpUpstream: get() - url: /api/v1/favorites/tracks/all/?playable=true&page_size=50&page=1&scope=all
08-25 18:52:13.550 24732 25363 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:13.571 24732 25363 I Request.authorize(): Accesstoken not renewed
08-25 18:52:14.869 24732 24948 I HttpUpstream: get() - url: /api/v1/tracks/?playable=true&album=55&ordering=disc_number,position&page_size=50&page=1&scope=all
08-25 18:52:14.870 24732 25363 I HttpUpstream: get() - url: /api/v1/tracks/?playable=true&album=55&ordering=disc_number,position&page_size=50&page=1&scope=all
08-25 18:52:14.871 24732 24948 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:14.871 24732 25363 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:14.882 24732 24948 I Request.authorize(): Accesstoken not renewed
08-25 18:52:14.891 24732 25363 I Request.authorize(): Accesstoken not renewed
08-25 18:52:16.104 24732 31560 D BufferPoolAccessor2.0: bufferpool2 0xb4000070786ab628 : 4(32768 size) total buffers - 4(32768 size) used buffers - 0/5 (recycle/alloc) - 4/4411 (fetch/transfer)
08-25 18:52:16.848 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:52:16.848 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:52:20.243 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:52:20.243 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:52:21.340 24732 31560 D BufferPoolAccessor2.0: bufferpool2 0xb4000070786ab628 : 4(32768 size) total buffers - 4(32768 size) used buffers - 0/5 (recycle/alloc) - 4/4813 (fetch/transfer)
08-25 18:52:22.247 24732 24732 D CompatibilityChangeReporter: Compat change id reported: 147798919; UID 10387; state: ENABLED
08-25 18:52:22.285 24732 24732 D FFA : QueueManager:54 - Replacing queue with 18 tracks: [602 Artist(id=51, name=Anni-Frid Lyngstad, albums=null) (Album(id=55, artist=Artist(name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad/ABBA), title=På Svenska, cover=Covers(urls=CoverUrls(original=https://music.next.nohost.me/media/attachments/c6/db/d8/attachment_cover-51a94198-38c3-4e79-b626-219138110d90.jpg)), release_date=1994-01-01)): Fernando, 614 Artist(id=54, name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad/ABBA, albums=null) (Album(id=55, artist=Artist(name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad/ABBA), title=På Svenska, cover=Covers(urls=CoverUrls(original=https://music.next.nohost.me/media/attachments/c6/db/d8/attachment_cover-51a94198-38c3-4e79-b626-219138110d90.jpg)), release_date=1994-01-01)): Åh, vilka tider, 609 Artist(id=51, name=Anni-Frid Lyngstad, albums=null) (Album(id=55, artist=Artist(name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad/ABBA), title=På Svenska, cover=Covers(urls=CoverUrls(original=https://music.next.nohost.me/media/attachments/c6/db/d8/attachment_cover-51a94198-38c3-4e79-b626-219138110d90.jpg)), release_date=1994-01-01)): Som en sparv, 601 Artist(id=50, name=Agnetha Fältskog, albums=null) (Album(id=55, artist=Artist(name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad/ABBA), title=På Svenska, cover=Covers(urls=CoverUrls(original=https://music.next.nohost.me/media/attachments/c6/db/d8/attachment_cover-51a94198-38c3-4e79-b626-219138110d90.jpg)), release_date=1994-01-01)): En sång om sorg och glädje, 599 Artist(id=49, name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad/ABBA, albums=null) (Album(id=55, artist=Artist(name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad/ABBA), title=På Svenska, cover=Covers(urls=CoverUrls(original=https://music.next.nohost.me/media/attachments/c6/db/d8/attachment_cover-51a94198-38c3-4e79-b626-219138110d90.jpg)), release_date=1994-01-01)): En karusell, 598 Artist(id=50, name=Agnetha Fältskog, albums=null) (Album(id=55, artist=Artist(name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad/ABBA), title=På Svenska, cover=Covers(urls=CoverUrls(original=https://music.next.nohost.me/media/attachments/c6/db/d8/attachment_cover-51a94198-38c3-4e79-b626-219138110d90.jpg)), release_date=1994-01-01)): Dröm är dröm och saga saga, 605 Artist(id=51, name=Anni-Frid Lyngstad, albums=null) (Album(id=55, artist=Artist(name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad/ABBA), title=På Svenska, cover=Covers(urls=CoverUrls(original=https://music.next.nohost.me/media/attachments/c6/db/d8/attachment_cover-51a94198-38c3-4e79-b626-219138110d90.jpg)), release_date=1994-01-01)): Man vill ju leva lite dessemellan, 603 Artist(id=49, name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad/ABBA, albums=null) (Album(id=55, artist=Artist(name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad/ABBA), title=På Svenska, cover=Covers(urls=CoverUrls(original=https://music.next.nohost.me/media/attachments/c6/db/d8/attachment_cover-51a94198-38c3-4e79-b626-219138110d90.jpg)), release_date=1994-01-01)): Hej gamle man, 606 Artist(id=53, name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad, albums=null) (Album(id=55, artist=Artist(name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad/ABBA), title=På Svenska, cover=Covers(urls=CoverUrls(original=https://music.next.nohost.me/media/attachments/c6/db/d8/attachment_cover-51a94198-38c3-4e79-b626-219138110d90.jpg)), release_date=1994-01-01)): Ring Ring, 610 Artist(id=50, name=Agnetha Fältskog, albums=null) (Album(id=55, artist=Artist(name=Agnetha Fältskog/Björn Ulvaeus/Benny Andersson/Anni-Frid Lyngstad/ABBA), title=På Svenska, cover=Covers(urls=CoverUrls(original=https://music.next.nohost.me/media/attachments/c6/db/d8/attachment_cover-51a94198-38c3-4e79-b626-219138110d90.jpg)), release_date=
08-25 18:52:22.364 24732 32593 I HttpUpstream: get() - url: /api/v1/favorites/tracks/all/?playable=true&page_size=50&page=1&scope=all
08-25 18:52:22.366 24732 32593 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:22.374 24732 32593 I Request.authorize(): Accesstoken not renewed
08-25 18:52:22.376 24732 31544 I HttpUpstream: get() - url: /api/v1/favorites/tracks/all/?playable=true&page_size=50&page=1&scope=all
08-25 18:52:22.380 24732 31560 D CCodecBuffers: [c2.android.mp3.decoder#523:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 0
08-25 18:52:22.380 24732 31560 D CCodecBuffers: [c2.android.mp3.decoder#523:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 1
08-25 18:52:22.380 24732 31560 D CCodecBuffers: [c2.android.mp3.decoder#523:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 2
08-25 18:52:22.381 24732 31544 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:22.395 24732 31560 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
08-25 18:52:22.396 24732 31560 W Codec2Client: query -- param skipped: index = 1342179345.
08-25 18:52:22.396 24732 31560 W Codec2Client: query -- param skipped: index = 2415921170.
08-25 18:52:22.405 24732 31544 I Request.authorize(): Accesstoken not renewed
08-25 18:52:22.415 24732 31560 D CCodecBuffers: [c2.android.mp3.decoder#523:Output[N]] popFromStashAndRegister: output format changed to AMessage(what = 0x00000000) = {
08-25 18:52:22.415 24732 31560 D CCodecBuffers: int32_t channel-count = 2
08-25 18:52:22.415 24732 31560 D CCodecBuffers: string mime = "audio/raw"
08-25 18:52:22.415 24732 31560 D CCodecBuffers: int32_t sample-rate = 44100
08-25 18:52:22.415 24732 31560 D CCodecBuffers: }
08-25 18:52:22.438 24732 32595 I FFA : OAuth:80 - tryRefreshAccessToken(): true
08-25 18:52:22.496 24732 24746 I nkwhale.ffa.de: Background young concurrent copying GC freed 238115(12MB) AllocSpace objects, 56(1464KB) LOS objects, 34% free, 19MB/30MB, paused 159us total 100.324ms
08-25 18:52:22.504 24732 24748 W System : A resource failed to call close.
08-25 18:52:22.504 24732 24748 I chatty : uid=10387(audio.funkwhale.ffa.dev) FinalizerDaemon identical 9 lines
08-25 18:52:22.504 24732 24748 W System : A resource failed to call close.
08-25 18:52:22.504 24732 24748 W System : A resource failed to call close.
08-25 18:52:22.506 24732 24748 W System : A resource failed to call close.
08-25 18:52:22.806 24732 32595 W XingSeeker: XING data size mismatch: 10213296, 10213168
08-25 18:52:22.815 24732 31560 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
08-25 18:52:22.815 24732 31560 W Codec2Client: query -- param skipped: index = 1342179345.
08-25 18:52:22.815 24732 31560 W Codec2Client: query -- param skipped: index = 2415921170.
08-25 18:52:22.817 24732 31560 D CCodecBuffers: [c2.android.mp3.decoder#523:Output[N]] popFromStashAndRegister: output format changed to AMessage(what = 0x00000000) = {
08-25 18:52:22.817 24732 31560 D CCodecBuffers: int32_t channel-count = 2
08-25 18:52:22.817 24732 31560 D CCodecBuffers: string mime = "audio/raw"
08-25 18:52:22.817 24732 31560 D CCodecBuffers: int32_t sample-rate = 44100
08-25 18:52:22.817 24732 31560 D CCodecBuffers: }
08-25 18:52:22.827 24732 31560 D CCodecBufferChannel: [c2.android.mp3.decoder#523] MediaCodec discarded an unknown buffer
08-25 18:52:22.828 24732 31560 I chatty : uid=10387(audio.funkwhale.ffa.dev) identical 2 lines
08-25 18:52:22.828 24732 31560 D CCodecBufferChannel: [c2.android.mp3.decoder#523] MediaCodec discarded an unknown buffer
08-25 18:52:22.856 24732 32593 I HttpUpstream: get() - url: /api/v1/favorites/tracks/all/?playable=true&page_size=50&page=1&scope=all
08-25 18:52:22.857 24732 32593 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:22.863 24732 31560 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
08-25 18:52:22.872 24732 32593 I Request.authorize(): Accesstoken not renewed
08-25 18:52:22.878 24732 32597 D CCodec : allocate(c2.android.mp3.decoder)
08-25 18:52:22.889 24732 32597 I CCodec : setting up 'default' as default (vendor) store
08-25 18:52:22.970 24732 32597 I CCodec : Created component [c2.android.mp3.decoder]
08-25 18:52:22.971 24732 32597 D CCodecConfig: read media type: audio/mpeg
08-25 18:52:22.976 24732 32597 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
08-25 18:52:22.976 24732 32597 D ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
08-25 18:52:22.976 24732 32597 D ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
08-25 18:52:22.977 24732 32597 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
08-25 18:52:22.977 24732 32597 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
08-25 18:52:22.977 24732 32597 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
08-25 18:52:22.977 24732 32597 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
08-25 18:52:22.983 24732 32597 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
08-25 18:52:22.983 24732 32597 D CCodecConfig: c2 config diff is Dict {
08-25 18:52:22.983 24732 32597 D CCodecConfig: c2::u32 coded.bitrate.value = 64000
08-25 18:52:22.983 24732 32597 D CCodecConfig: c2::u32 input.buffers.max-size.value = 8192
08-25 18:52:22.983 24732 32597 D CCodecConfig: c2::u32 input.delay.value = 0
08-25 18:52:22.983 24732 32597 D CCodecConfig: string input.media-type.value = "audio/mpeg"
08-25 18:52:22.983 24732 32597 D CCodecConfig: string output.media-type.value = "audio/raw"
08-25 18:52:22.983 24732 32597 D CCodecConfig: c2::u32 raw.channel-count.value = 2
08-25 18:52:22.983 24732 32597 D CCodecConfig: c2::u32 raw.sample-rate.value = 44100
08-25 18:52:22.983 24732 32597 D CCodecConfig: }
08-25 18:52:22.986 24732 32597 D CCodec : [c2.android.mp3.decoder] buffers are bound to CCodec for this session
08-25 18:52:22.986 24732 32597 D CCodecConfig: no c2 equivalents for flags
08-25 18:52:22.987 24732 32597 D CCodecConfig: config failed => CORRUPTED
08-25 18:52:22.987 24732 32597 W Codec2Client: query -- param skipped: index = 1107298332.
08-25 18:52:22.987 24732 32597 D CCodec : client requested max input size 4096, which is smaller than what component recommended (8192); overriding with component recommendation.
08-25 18:52:22.987 24732 32597 W CCodec : This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range.
08-25 18:52:22.987 24732 32597 D CCodec : setup formats input: AMessage(what = 0x00000000) = {
08-25 18:52:22.987 24732 32597 D CCodec : int32_t channel-count = 2
08-25 18:52:22.987 24732 32597 D CCodec : int32_t max-input-size = 8192
08-25 18:52:22.987 24732 32597 D CCodec : string mime = "audio/mpeg"
08-25 18:52:22.987 24732 32597 D CCodec : int32_t sample-rate = 44100
08-25 18:52:22.987 24732 32597 D CCodec : } and output: AMessage(what = 0x00000000) = {
08-25 18:52:22.987 24732 32597 D CCodec : int32_t channel-count = 2
08-25 18:52:22.987 24732 32597 D CCodec : string mime = "audio/raw"
08-25 18:52:22.987 24732 32597 D CCodec : int32_t sample-rate = 44100
08-25 18:52:22.987 24732 32597 D CCodec : }
08-25 18:52:22.988 24732 32597 W Codec2Client: query -- param skipped: index = 1342179345.
08-25 18:52:22.988 24732 32597 W Codec2Client: query -- param skipped: index = 2415921170.
08-25 18:52:22.991 24732 32597 E FMQ : grantorIdx must be less than 3
08-25 18:52:22.991 24732 32597 E FMQ : grantorIdx must be less than 3
08-25 18:52:22.991 24732 32597 D CCodecBufferChannel: [c2.android.mp3.decoder#523] Created input block pool with allocatorID 16 => poolID 23 - OK (0)
08-25 18:52:22.999 24732 32597 I CCodecBufferChannel: [c2.android.mp3.decoder#523] Created output block pool with allocatorID 16 => poolID 37 - OK
08-25 18:52:22.999 24732 32597 D CCodecBufferChannel: [c2.android.mp3.decoder#523] Configured output block pool ids 37 => OK
08-25 18:52:22.999 24732 32597 D CCodecBufferChannel: [c2.android.mp3.decoder#523] start: updating output delay 0
08-25 18:52:23.003 24732 32597 E FMQ : grantorIdx must be less than 3
08-25 18:52:23.007 24732 24871 E FMQ : grantorIdx must be less than 3
08-25 18:52:23.138 24732 24801 D AudioTrack: getTimestamp_l(47): device stall time corrected using current time 4022046323517
08-25 18:52:23.148 24732 24801 W AudioTrack: getTimestamp_l(47): retrograde timestamp time corrected, 4022039936173 < 4022046323517
08-25 18:52:23.599 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:52:23.599 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:52:26.441 24732 24770 I HttpUpstream: get() - url: /api/v1/playlists/?scope=me&ordering=name&page_size=50&page=1&scope=all
08-25 18:52:26.443 24732 24770 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:26.453 24732 24770 I Request.authorize(): Accesstoken not renewed
08-25 18:52:26.923 24732 24859 D CCodecBufferChannel: [c2.android.mp3.decoder#523] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
08-25 18:52:26.923 24732 24859 D PipelineWatcher: DEBUG: elapsed 0 / 4
08-25 18:52:27.068 24732 24757 W RenderInspector: DequeueBuffer time out on audio.funkwhale.ffa.dev/audio.funkwhale.ffa.activities.MainActivity, count=1, avg=19 ms, max=19 ms.
08-25 18:52:27.867 24732 24870 D BufferPoolAccessor2.0: bufferpool2 0xb4000070786ab628 : 0(0 size) total buffers - 0(0 size) used buffers - 0/5 (recycle/alloc) - 4/4892 (fetch/transfer)
08-25 18:52:27.867 24732 24870 D BufferPoolAccessor2.0: evictor expired: 1, evicted: 1
08-25 18:52:28.141 24732 24732 I Request.authorize(): Accesstoken expiration: 2021-08-26T04:16:58+0200
08-25 18:52:28.153 24732 24732 I Request.authorize(): Accesstoken not renewed
08-25 18:52:28.155 24732 24732 D AndroidRuntime: Shutting down VM
--------- beginning of crash
08-25 18:52:28.163 24732 24732 E AndroidRuntime: FATAL EXCEPTION: main
08-25 18:52:28.163 24732 24732 E AndroidRuntime: Process: audio.funkwhale.ffa.dev, PID: 24732
08-25 18:52:28.163 24732 24732 E AndroidRuntime: java.lang.IllegalStateException: Illegal state: context is null
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at audio.funkwhale.ffa.repositories.ManagementPlaylistsRepository.add(PlaylistsRepository.kt:102)
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at audio.funkwhale.ffa.fragments.AddToPlaylistDialog$show$adapter$1.onClick(AddToPlaylistDialog.kt:85)
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at audio.funkwhale.ffa.adapters.PlaylistsAdapter$ViewHolder.onClick(PlaylistsAdapter.kt:99)
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at android.view.View.performClick(View.java:7568)
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at android.view.View.performClickInternal(View.java:7545)
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at android.view.View.access$3600(View.java:834)
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:28706)
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at android.os.Looper.loop(Looper.java:236)
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8019)
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:600)
08-25 18:52:28.163 24732 24732 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)
08-25 18:52:28.185 24732 32597 D BufferPoolAccessor2.0: bufferpool2 0xb400007078699228 : 5(40960 size) total buffers - 4(32768 size) used buffers - 0/5 (recycle/alloc) - 4/423 (fetch/transfer)
08-25 18:52:28.188 24732 24732 D OOMEventManagerFK: checkEventAndDumpForJE: 0
java.lang.IllegalStateException: Illegal state: context is null
Device : Xiaomi Redmi Note 10
Android : 11 (MIUI 12.5)
Funkwhale 1.1.4
Funkwhale-Android 0.0.1-153 (latest version from Froid)
Edited by Thomas