PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug] Crash (out of memory?) when updating feed

Open misieck opened this issue 6 months ago • 12 comments

Checklist

  • [x] I make sure that the issue is NOT a duplicate of pinned issues
  • [x] I make sure I am using the LATEST version - check here
  • [x] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • [ ] I have attached the error report in the issue

Describe the bug

When updating YouTube feed, the system seems to run out of memory after a few hundred items. System closes pipepipe and other programs. I can even see the launcher restarting. No crash report. Also the update is very slow. This happened after the update that fixes no items in feed.

Version

5.1.0 5.1.1

Frequency

Always (100% of the time)

Device

pixel 8a

Steps to reproduce the bug

  1. Goto what's new
  2. Refresh
  3. If there are many items to update ( >300 ), the app and other background apps will crash after a while. Unrelated background playback stops, apps will reload on coming back to them.

Additional context

Graphene os

misieck avatar May 25 '26 06:05 misieck

Please share your error report.

InfinityLoop1308 avatar May 28 '26 21:05 InfinityLoop1308

I seem to be running into the same issue. It does not seem to trigger the usual error notification, nor does it open on the error report page when the app re-opens (instead loading directly onto the main page). Where can the error report be located in this scenario?

eoin-cr avatar May 31 '26 00:05 eoin-cr

Please share your error report.

There is no report I can find. No crash notification or anything. It behaves as if the process was externally terminated. Hence I suspect the system does it to clear up memory.

misieck avatar Jun 01 '26 10:06 misieck

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=AT0Zm4XEEsM
  • Content Country:
  • Content Language: es-
  • App Language: es
  • Service: YouTube (Anonymous)
  • Version: 5.1.1
  • OS: Linux samsung/a56xnaeea/a56x:16/BP4A.251205.006/A566BXXUACZDR_OXMACZDR:user/release-keys 16 - 36
Crash log

com.google.android.exoplayer2.ExoPlaybackException: Source error
	at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:644)
	at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:616)
	at android.os.Handler.dispatchMessage(Handler.java:128)
	at android.os.Looper.dispatchMessage(Looper.java:358)
	at android.os.Looper.loopOnce(Looper.java:288)
	at android.os.Looper.loop(Looper.java:392)
	at android.os.HandlerThread.run(HandlerThread.java:139)
Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403
	at org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(YoutubeHttpDataSource.java:521)
	at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:263)
	at com.google.android.exoplayer2.upstream.TeeDataSource.open(TeeDataSource.java:52)
	at com.google.android.exoplayer2.upstream.cache.CacheDataSource.openNextSource(CacheDataSource.java:796)
	at com.google.android.exoplayer2.upstream.cache.CacheDataSource.open(CacheDataSource.java:609)
	at com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)
	at com.google.android.exoplayer2.source.chunk.ContainerMediaChunk.load(ContainerMediaChunk.java:124)
	at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
	at java.lang.Thread.run(Thread.java:1564)


juanzambrana25-dot avatar Jun 04 '26 19:06 juanzambrana25-dot

Hi @InfinityLoop1308 ,

Whilst the app does not provide any further info/logs, I was able to use the grapheneos log viewer to get the following logs. Hopefully they may be of some use. The crash happened around 18:00

Exception

  • Version: 5.2.0
  • OS: GrapheneOS android 16
Crash log

type: logcat
osVersion: google/tegu/tegu:16/BP4A.260205.001/2026061601:user/release-keys
userType: full.secondary
package: InfinityLoop1309.NewPipeEnhanced:110104, targetSdk 36
buffers: main,system,crash,events,kernel
level: verbose

--------- beginning of events
06-27 17:28:33.764 16361 16361 I auditd  : avc=type=1400 audit(0.0:2001145): avc:  denied  { read } for  comm="NewPipeEnhanced" name="u:object_r:odsign_prop:s0" dev="tmpfs" ino=823 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:odsign_prop:s0 tclass=file permissive=0
06-27 17:28:33.768 16361 16361 I auditd  : avc=type=1400 audit(0.0:2001146): avc:  denied  { getattr } for  comm="NewPipeEnhanced" path="/apex/apex-info-list.xml" dev="tmpfs" ino=90 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:apex_info_file:s0 tclass=file permissive=0
06-27 17:28:33.884 16361 16361 I auditd  : avc=type=1400 audit(0.0:2001147): avc:  denied  { read } for  comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=633 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
06-27 17:28:33.884 16361 16361 I auditd  : avc=type=1400 audit(0.0:2001148): avc:  denied  { read } for  comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=633 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
06-27 17:28:33.884 16361 16361 I auditd  : avc=type=1400 audit(0.0:2001149): avc:  denied  { read } for  comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=633 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
06-27 17:28:33.884 16361 16361 I auditd  : avc=type=1400 audit(0.0:2001150): avc:  denied  { read } for  comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=633 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
06-27 17:28:33.888 16361 16361 I auditd  : avc=type=1400 audit(0.0:2001151): avc:  denied  { read } for  comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=633 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
06-27 17:28:33.980 16361 16361 I auditd  : avc=type=1400 audit(0.0:2001154): avc:  denied  { read } for  comm="binder:16361_1" name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=853 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0
06-27 17:28:33.980 16361 16361 I auditd  : avc=type=1400 audit(0.0:2001155): avc:  denied  { read } for  comm="binder:16361_1" name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=853 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0
--------- beginning of system
06-27 17:28:34.020 16361 16361 V Configuration: Updating configuration, locales updated from [] to [en_GB]
06-27 17:28:34.167 16361 16408 E ActivityThread: Failed to find provider info for androidx.car.app.connection
06-27 17:28:34.209 16361 16417 I DisplayManager: Choreographer implicitly registered for the refresh rate.
--------- switch to events
06-27 17:28:34.284 16361 16361 I wm_on_create_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=performCreate,time=65ms]
06-27 17:28:34.290 16361 16361 I wm_on_start_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=handleStartActivity,time=5ms]
06-27 17:28:34.314 16361 16361 I wm_on_resume_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=RESUME_ACTIVITY,time=2ms]
06-27 17:28:34.317 16361 16361 I wm_on_top_resumed_gained_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=topStateChangedWhenResumed]
06-27 17:28:34.361 16361 16361 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
06-27 17:28:34.462 16361 16361 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
06-27 17:28:36.792 16361 16361 I view_enqueue_input_event: [eventType=Motion - Cancel,action=InfinityLoop1309.NewPipeEnhanced/org.schabi.newpipe.MainActivity]
06-27 17:28:37.065 16361 16361 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
--------- switch to system
06-27 17:28:37.778 16361 16361 D InsetsController: hide(ime())
--------- switch to events
06-27 17:28:38.522 16361 16361 I view_enqueue_input_event: [eventType=Motion - Cancel,action=InfinityLoop1309.NewPipeEnhanced/org.schabi.newpipe.MainActivity]
06-27 17:28:38.546 16361 16361 I wm_on_top_resumed_lost_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=topStateChangedWhenResumed]
06-27 17:28:39.321 16361 16361 I wm_on_paused_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=performPause,time=1ms]
06-27 17:28:39.358 16361 16361 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible. Reason=!mAppVisible && !mForceDecorViewVisibility]
06-27 17:28:39.365 16361 16361 I wm_on_stop_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=1ms]
06-27 17:28:48.241 16361 16361 I wm_on_restart_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=performRestart,time=0ms]
06-27 17:28:48.241 16361 16361 I wm_on_start_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=handleStartActivity,time=0ms]
06-27 17:28:48.248 16361 16361 I wm_on_resume_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=RESUME_ACTIVITY,time=6ms]
06-27 17:28:48.249 16361 16361 I wm_on_top_resumed_gained_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=topStateChangedWhenResumed]
06-27 17:28:48.257 16361 16361 I viewroot_draw_event: [window=VRI[MainActivity],event=Start draw after previous draw not visible]
06-27 17:28:48.266 16361 16361 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
--------- switch to system
06-27 17:28:48.397 16361 16361 D InsetsController: hide(ime())
--------- switch to events
06-27 17:28:51.563 16361 16361 I menu_item_selected: [Menu type where 0 is options and 1 is context=0,Menu item title=Search]
--------- switch to system
06-27 17:28:51.744 16361 16361 D InsetsController: show(ime())
06-27 17:28:51.744 16361 16361 D InsetsController: Setting requestedVisibleTypes to 511 (was 503)
--------- switch to events
06-27 17:28:52.292 16361 17718 I jank_cuj_events_begin_request: [CUJ Type=80,Unix Time Ns=1782581332292310s,Elapsed Time Ns=519915426321.213s,Uptime Ns=319028590629.077s,Tag=0@[email protected]]
--------- switch to system
06-27 17:28:52.439 16361 16361 D InsetsController: hide(ime())
06-27 17:28:52.439 16361 16361 D InsetsController: Setting requestedVisibleTypes to 503 (was 511)
--------- switch to events
06-27 17:28:52.440 16361 17718 I jank_cuj_events_cancel_request: [CUJ Type=80,Unix Time Ns=1782581332440400s,Elapsed Time Ns=519915574411.626s,Uptime Time Ns=319028738719.45s]
06-27 17:28:52.441 16361 17718 I jank_cuj_events_end_request: [CUJ Type=80,Unix Time Ns=1782581332440780s,Elapsed Time Ns=519915574790.777s,Uptime Time Ns=319028739098.641s]
06-27 17:28:52.441 16361 17718 I jank_cuj_events_begin_request: [CUJ Type=81,Unix Time Ns=1782581332440940s,Elapsed Time Ns=519915574950.689s,Uptime Ns=319028739258.553s,Tag=1@[email protected]]
06-27 17:28:52.654 16361 17718 I jank_cuj_events_end_request: [CUJ Type=81,Unix Time Ns=1782581332654185s,Elapsed Time Ns=519915788200.486s,Uptime Time Ns=319028952509.123s]
--------- switch to system
06-27 17:28:55.845 16361 16361 D InsetsController: hide(ime())
06-27 17:28:55.848 16361 16361 D InsetsController: hide(ime())
06-27 17:28:59.566 16361 16361 D InsetsController: hide(ime())
06-27 17:29:00.259 16361 16361 D InsetsController: hide(ime())
--------- switch to events
06-27 17:29:03.586 16361 16361 I wm_on_top_resumed_lost_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=topStateChangedWhenResumed]
06-27 17:29:03.647 16361 16361 I view_enqueue_input_event: [eventType=Motion - Cancel,action=InfinityLoop1309.NewPipeEnhanced/org.schabi.newpipe.MainActivity]
06-27 17:29:04.445 16361 16361 I wm_on_paused_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=performPause,time=2ms]
06-27 17:29:04.481 16361 16361 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible. Reason=!mAppVisible && !mForceDecorViewVisibility]
06-27 17:29:04.486 16361 16361 I wm_on_stop_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=1ms]
06-27 17:29:19.349 16361 16361 I wm_on_restart_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=performRestart,time=0ms]
06-27 17:29:19.355 16361 16361 I wm_on_start_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=handleStartActivity,time=6ms]
06-27 17:29:19.361 16361 16361 I wm_on_resume_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=RESUME_ACTIVITY,time=5ms]
06-27 17:29:19.362 16361 16361 I wm_on_top_resumed_gained_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=topStateChangedWhenResumed]
06-27 17:29:19.427 16361 16361 I viewroot_draw_event: [window=VRI[MainActivity],event=Start draw after previous draw not visible]
06-27 17:29:19.452 16361 16361 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
--------- switch to system
06-27 17:29:19.509 16361 16361 D InsetsController: hide(ime())
--------- switch to events
06-27 17:29:22.779 16361 16361 I wm_on_top_resumed_lost_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=topStateChangedWhenResumed]
06-27 17:29:22.895 16361 16361 I view_enqueue_input_event: [eventType=Motion - Cancel,action=InfinityLoop1309.NewPipeEnhanced/org.schabi.newpipe.MainActivity]
06-27 17:29:23.509 16361 16361 I wm_on_paused_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=performPause,time=1ms]
06-27 17:29:23.539 16361 16361 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible. Reason=!mAppVisible && !mForceDecorViewVisibility]
06-27 17:29:23.544 16361 16361 I wm_on_stop_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=3ms]
06-27 17:59:33.367 28484 28484 I auditd  : avc=type=1400 audit(0.0:2005466): avc:  denied  { read } for  comm="NewPipeEnhanced" name="u:object_r:odsign_prop:s0" dev="tmpfs" ino=823 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:odsign_prop:s0 tclass=file permissive=0
06-27 17:59:33.371 28484 28484 I auditd  : avc=type=1400 audit(0.0:2005467): avc:  denied  { getattr } for  comm="NewPipeEnhanced" path="/apex/apex-info-list.xml" dev="tmpfs" ino=90 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:apex_info_file:s0 tclass=file permissive=0
06-27 17:59:33.471 28484 28484 I auditd  : avc=type=1400 audit(0.0:2005468): avc:  denied  { read } for  comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=633 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
06-27 17:59:33.475 28484 28484 I auditd  : avc=type=1400 audit(0.0:2005469): avc:  denied  { read } for  comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=633 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
06-27 17:59:33.475 28484 28484 I auditd  : avc=type=1400 audit(0.0:2005470): avc:  denied  { read } for  comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=633 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
06-27 17:59:33.475 28484 28484 I auditd  : avc=type=1400 audit(0.0:2005471): avc:  denied  { read } for  comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=633 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
06-27 17:59:33.475 28484 28484 I auditd  : avc=type=1400 audit(0.0:2005472): avc:  denied  { read } for  comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=633 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
06-27 17:59:33.551 28484 28484 I auditd  : avc=type=1400 audit(0.0:2005473): avc:  denied  { read } for  comm="binder:28484_1" name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=853 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0
06-27 17:59:33.551 28484 28484 I auditd  : avc=type=1400 audit(0.0:2005474): avc:  denied  { read } for  comm="binder:28484_1" name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=853 scontext=u:r:untrusted_app:s0:c160,c256,c522,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0
--------- switch to system
06-27 17:59:33.580 28484 28484 V Configuration: Updating configuration, locales updated from [] to [en_GB]
06-27 17:59:33.716 28484 28512 E ActivityThread: Failed to find provider info for androidx.car.app.connection
06-27 17:59:33.747 28484 28521 I DisplayManager: Choreographer implicitly registered for the refresh rate.
--------- switch to events
06-27 17:59:33.838 28484 28484 I wm_on_create_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=performCreate,time=71ms]
06-27 17:59:33.853 28484 28484 I wm_on_start_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=handleStartActivity,time=16ms]
06-27 17:59:33.858 28484 28484 I wm_on_resume_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=RESUME_ACTIVITY,time=1ms]
06-27 17:59:33.877 28484 28484 I wm_on_top_resumed_gained_called: [Token=128157200,Component Name=org.schabi.newpipe.MainActivity,Reason=topStateChangedWhenResumed]
06-27 17:59:34.052 28484 28484 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
--------- switch to system
06-27 17:59:34.132 28484 28484 D InsetsController: hide(ime())
--------- beginning of main
06-27 18:00:50.818 28484 28497 I InfinityLoop1309.NewPipeEnhanced: Background young concurrent mark compact GC freed 75MB AllocSpace bytes, 33(10MB) LOS objects, 45% free, 106MB/197MB, paused 584us,977us total 323.607ms
06-27 18:00:54.661 28484 28497 I InfinityLoop1309.NewPipeEnhanced: Background concurrent mark compact GC freed 80MB AllocSpace bytes, 57(13MB) LOS objects, 47% free, 105MB/201MB, paused 1.714ms,1.704ms total 510.632ms
06-27 18:01:00.255 28484 28497 W InfinityLoop1309.NewPipeEnhanced: Suspending all threads took: 10.510ms
06-27 18:01:00.490 28484 28497 I InfinityLoop1309.NewPipeEnhanced: Background young concurrent mark compact GC freed 76MB AllocSpace bytes, 36(11MB) LOS objects, 45% free, 111MB/201MB, paused 14.106ms,4.757ms total 416.675ms
06-27 18:01:06.852 28484 28497 I InfinityLoop1309.NewPipeEnhanced: Background concurrent mark compact GC freed 88MB AllocSpace bytes, 40(11MB) LOS objects, 45% free, 113MB/209MB, paused 944us,2.356ms total 770.337ms
06-27 18:01:13.093 28484 28497 I InfinityLoop1309.NewPipeEnhanced: Background young concurrent mark compact GC freed 79MB AllocSpace bytes, 31(10116KB) LOS objects, 42% free, 120MB/209MB, paused 2.399ms,3.067ms total 374.698ms
06-27 18:01:16.484 28484 28497 I InfinityLoop1309.NewPipeEnhanced: Background concurrent mark compact GC freed 74MB AllocSpace bytes, 38(13MB) LOS objects, 45% free, 116MB/212MB, paused 1.429ms,2.213ms total 547.548ms
--------- switch to events
06-27 18:01:21.724 28484 28484 I sqlite_mem_released: Memory released=2555280B
06-27 18:01:21.747 28484 28484 I force_gc: reason=mem
--------- switch to main
06-27 18:01:22.810 28484 28497 I InfinityLoop1309.NewPipeEnhanced: Background concurrent mark compact GC freed 43MB AllocSpace bytes, 26(7744KB) LOS objects, 44% free, 121MB/217MB, paused 8.996ms,3.632ms total 1.060s


eoin-cr avatar Jun 27 '26 18:06 eoin-cr

Started experiencing this on 5.2.0 full release, never happened before this. Usually crashes when a video starts buffering.

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: none
  • Version: 5.2.0
  • OS: Linux Android 17 - 37
Crash log

java.lang.OutOfMemoryError: Failed to allocate a 8388624 byte allocation with 5929008 free bytes and 5790KB until OOM, target footprint 536870912, growth limit 536870912
	at java.util.Arrays.copyOf(Arrays.java:4276)
	at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:120)
	at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:95)
	at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:156)
	at us.shandian.giga.util.Utility.$r8$lambda$A-L6TlKW4jMzLiaZVJSymvGz1XA(r8-map-id-c0516b28995b7ee05916d6916abd6008f164779f86cdacbb6d441fe25326605f:309)
	at us.shandian.giga.util.Utility.read(r8-map-id-c0516b28995b7ee05916d6916abd6008f164779f86cdacbb6d441fe25326605f:317)
	at androidx.media3.exoplayer.audio.AudioCapabilities$Api33.postMediaRequest(r8-map-id-c0516b28995b7ee05916d6916abd6008f164779f86cdacbb6d441fe25326605f:565)
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.fetchNextResponse(r8-map-id-c0516b28995b7ee05916d6916abd6008f164779f86cdacbb6d441fe25326605f:432)
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.pumpOnce(r8-map-id-c0516b28995b7ee05916d6916abd6008f164779f86cdacbb6d441fe25326605f:1)
	at us.shandian.giga.ui.common.ProgressDrawable$$ExternalSyntheticLambda0.run(r8-map-id-c0516b28995b7ee05916d6916abd6008f164779f86cdacbb6d441fe25326605f:434)
	at java.lang.Thread.run(Thread.java:1572)


dvg48 avatar Jun 28 '26 02:06 dvg48

{"user_action":"ui error","request":"ACRA report","content_language":"en-CA","content_country":"CA","app_language":"en_CA","service":"none","package":"InfinityLoop1309.NewPipeEnhanced","version":"5.2.0","os":"Linux Android 17 - 37","time":"2026-07-01 10:14","exceptions":["java.lang.OutOfMemoryError: Failed to allocate a 16 byte allocation with 1870560 free bytes and 1826KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.\n\tat java.lang.Long.valueOf(Long.java:1236)\n\tat android.compat.Compatibility$ChangeConfig.isForceEnabled(Compatibility.java:286)\n\tat android.compat.Compatibility$OverrideCallbacks.isChangeEnabled(Compatibility.java:342)\n\tat android.compat.Compatibility.isChangeEnabled(Compatibility.java:83)\n\tat android.app.compat.CompatChanges.isChangeEnabled(CompatChanges.java:67)\n\tat android.os.Looper.isLooperClearsThreadInterruptedEnabled(Looper.java:222)\n\tat android.os.Looper.loopOnce(Looper.java:297)\n\tat android.os.Looper.loop(Looper.java:397)\n\tat android.app.ActivityThread.main(ActivityThread.java:9568)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:575)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:847)\n"],"user_comment":""}

I got a OOM error when trying to switch songs in a youtube mix.

DangerMage avatar Jul 01 '26 16:07 DangerMage

{"user_action":"ui error","request":"ACRA report","content_language":"en-CA","content_country":"CA","app_language":"en_CA","service":"none","package":"InfinityLoop1309.NewPipeEnhanced","version":"5.2.0","os":"Linux Android 17 - 37","time":"2026-07-01 10:14","exceptions":["java.lang.OutOfMemoryError: Failed to allocate a 16 byte allocation with 1870560 free bytes and 1826KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.\n\tat java.lang.Long.valueOf(Long.java:1236)\n\tat android.compat.Compatibility$ChangeConfig.isForceEnabled(Compatibility.java:286)\n\tat android.compat.Compatibility$OverrideCallbacks.isChangeEnabled(Compatibility.java:342)\n\tat android.compat.Compatibility.isChangeEnabled(Compatibility.java:83)\n\tat android.app.compat.CompatChanges.isChangeEnabled(CompatChanges.java:67)\n\tat android.os.Looper.isLooperClearsThreadInterruptedEnabled(Looper.java:222)\n\tat android.os.Looper.loopOnce(Looper.java:297)\n\tat android.os.Looper.loop(Looper.java:397)\n\tat android.app.ActivityThread.main(ActivityThread.java:9568)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:575)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:847)\n"],"user_comment":""}

I got a OOM error when trying to switch songs in a youtube mix.

@DangerMage If you're using Force SABR, there's a good chance this has been fixed on 5.2.1-beta3

dvg48 avatar Jul 01 '26 16:07 dvg48

{"user_action":"ui error","request":"ACRA report","content_language":"en-CA","content_country":"CA","app_language":"en_CA","service":"none","package":"InfinityLoop1309.NewPipeEnhanced","version":"5.2.0","os":"Linux Android 17 - 37","time":"2026-07-01 10:14","exceptions":["java.lang.OutOfMemoryError: Failed to allocate a 16 byte allocation with 1870560 free bytes and 1826KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.\n\tat java.lang.Long.valueOf(Long.java:1236)\n\tat android.compat.Compatibility$ChangeConfig.isForceEnabled(Compatibility.java:286)\n\tat android.compat.Compatibility$OverrideCallbacks.isChangeEnabled(Compatibility.java:342)\n\tat android.compat.Compatibility.isChangeEnabled(Compatibility.java:83)\n\tat android.app.compat.CompatChanges.isChangeEnabled(CompatChanges.java:67)\n\tat android.os.Looper.isLooperClearsThreadInterruptedEnabled(Looper.java:222)\n\tat android.os.Looper.loopOnce(Looper.java:297)\n\tat android.os.Looper.loop(Looper.java:397)\n\tat android.app.ActivityThread.main(ActivityThread.java:9568)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:575)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:847)\n"],"user_comment":""} I got a OOM error when trying to switch songs in a youtube mix.

@DangerMage If you're using Force SABR, there's a good chance this has been fixed on 5.2.1-beta3

Ah okay, I don't normally use the betas

DangerMage avatar Jul 01 '26 17:07 DangerMage

Should be fixed since 5.2.1

InfinityLoop1308 avatar Sep 07 '26 06:09 InfinityLoop1308

Hi @InfinityLoop1308 , unfortunately still seeing this behaviour present on 5.3.1. I attempted to screen record this issue, however, the app crashing seemed to kill both the screen recording and the music I was listening to. No set of logs are provided on reopening the app. Requesting issue be reopened.

eoin-cr avatar Sep 12 '26 13:09 eoin-cr

Yeah this is definitely an issue. My setup has 300+ subs and it takes forever/makes everything on the phone lag. (My keyboard is lagging while I type this)

Furthermore it takes forever to fetch the video list. Came from newpipe and it seems to take at least 10x longer

wickedst avatar Sep 29 '26 05:09 wickedst