Roon ARC app crashes due to low memory on Sony Xperia 5 V (ref#OIUG8O)

What app are you having the slowness issue with?

· ARC

What kind of performance/speed issue are you experiencing?

· The app is crashing

Please try to reboot your Roon Server

· No, the issue is still the same even immediately after a reboot

Please try to reboot your networking gear (Router/Switches/etc.)

· No, the issue is still the same even after a reboot

Is there any change in behavior if you try to navigate to Roon Settings -> Library and set both Background and On-Demand Audio Analysis to Throttled or Off?

· No, the issue is still the same

Does the issue happen on multiple Roon Remotes (controllers) or just one?

· Issue happens only on one remote while others work as expected

Please try to restart your Roon Remote (controller) app

· No, the issue is still the same even after a restart

What is the operating system of your Roon Remote (controller)?

· Android

Reinstall Mobile Roon Remote App

· No, I am still having the issue even after reinstalling

Router Domain Name System (DNS) change

· I was able to change my router's DNS servers but it did not help

What is the operating system of your Roon Server host machine?

· Linux Server (Ubuntu, Fedora, ArchLinux...)

Timestamp of issue occurrences

· No particular time for multiple months now. Crashes after around ~1-5min of playing anything with ARC.

Describe the issue

The Roon ARC app (1.71 379) crashes regularly on a Sony Xperia 5 V (Android 15). This has been happening since multiple versions on two separate Sony phones while the ARC app is open and playing, or playing in the background. Crash seems to be due to low memory, but since there is nothing besides ARC open this is not expected.

Thanks in advance for any help!

Describe your network setup

FRITZ!Box 7690 router.
Roon Core Ubuntu Server directly connected via Ethernet. Roon ARC is only used inside the LAN or using a Wireguard VPN to the LAN.

Logs:
AudioMediaPlayerWrapper com.android.bluetooth W onMetadataChanged(): com.roon.onthego tried to update with no new data<br>RAATService com.roon.onthego D updateNotification<br>MediaSessionService system_server D onSessionPlaybackStateChanged: record=com.roon.onthego/RAATService/6137 (userId=0) playbackState=PlaybackState {state=PLAYING(3), position=101000, buffered position=0, speed=1.0, updated=14570265467, actions=802, custom actions=[], active item id=-1, error=null}<br>RAATService com.roon.onthego D updateNotification: notification active<br>AudioMediaPlayerWrapper com.android.bluetooth W onMetadataChanged(): com.roon.onthego tried to update with no new data<br>AudioMediaPlayerWrapper com.android.bluetooth W onMetadataChanged(): com.roon.onthego tried to update with no new data<br>RAATService com.roon.onthego D updateNotification<br>MediaSessionService system_server D onSessionPlaybackStateChanged: record=com.roon.onthego/RAATService/6137 (userId=0) playbackState=PlaybackState {state=PLAYING(3), position=102000, buffered position=0, speed=1.0, updated=14570266460, actions=802, custom actions=[], active item id=-1, error=null}<br>RAATService com.roon.onthego D updateNotification: notification active<br>AudioMediaPlayerWrapper com.android.bluetooth W onMetadataChanged(): com.roon.onthego tried to update with no new data<br>AudioMediaPlayerWrapper com.android.bluetooth W onMetadataChanged(): com.roon.onthego tried to update with no new data<br>RAATService com.roon.onthego D updateNotification<br>MediaSessionService system_server D onSessionPlaybackStateChanged: record=com.roon.onthego/RAATService/6137 (userId=0) playbackState=PlaybackState {state=PLAYING(3), position=103000, buffered position=0, speed=1.0, updated=14570267472, actions=802, custom actions=[], active item id=-1, error=null}<br>RAATService com.roon.onthego D updateNotification: notification active<br>AudioMediaPlayerWrapper com.android.bluetooth W onMetadataChanged(): com.roon.onthego tried to update with no new data<br>AudioMediaPlayerWrapper com.android.bluetooth W onMetadataChanged(): com.roon.onthego tried to update with no new data<br>lowmemorykiller lmkd I Kill 'com.roon.onthego' (10859), uid 10551, oom_score_adj 200 to free 356656kB rss, 172604kB swap; reason: critical pressure and device is low on memory<br>ActivityManager system_server I Process com.roon.onthego (pid 10859) has died: prcp FGS <br>MediaSessionStack system_server I removeSession | record: com.roon.onthego/RAATService/6137 (userId=0)<br>ConnectivityService system_server D releasing NetworkRequest [ REQUEST id=1393224, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED&NOT_BANDWIDTH_CONSTRAINED Uid: 10551 RequestorUid: 10551 RequestorPkg: com.roon.onthego UnderlyingNetworks: Null] ] (release request)<br>ConnectivityService system_server D releasing NetworkRequest [ REQUEST id=1393226, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED&NOT_BANDWIDTH_CONSTRAINED Uid: 10551 RequestorUid: 10551 RequestorPkg: com.roon.onthego UnderlyingNetworks: Null] ] (release request)<br>WindowManager system_server I WIN DEATH: Window{e97a137 u0 com.roon.onthego/com.roon.onthego.MainActivity}<br>MediaSessionService system_server D destroySessionLocked: record=com.roon.onthego/RAATService/6137 (userId=0)<br>InputManager-JNI system_server W Input channel object 'e97a137 com.roon.onthego/com.roon.onthego.MainActivity (client)' was disposed without first being removed with the input manager!<br>MediaDataManager com.android.systemui D session destroyed for 0|com.roon.onthego|1|null|10551<br>2MediaDataManager com.android.systemui D Removing still-active player 0|com.roon.onthego|1|null|10551<br>UsageStatsService system_server W Unexpected activity event reported! (com.roon.onthego/com.roon.onthego.MainActivity event : 23 instanceId : 92969106)<br>MediaPlayerList com.android.bluetooth I onMediaKeyEventSessionChanged: packageName=com.roon.onthego<br>MediaPlayerList com.android.bluetooth W com.roon.onthego is already the active player<br>MediaPlayerList com.android.bluetooth I onMediaKeyEventSessionChanged: packageName=com.roon.onthego<br>MediaPlayerList com.android.bluetooth W com.roon.onthego is already the active player<br>AudioMediaPlayerWrapper com.android.bluetooth W The session was destroyed com.roon.onthego<br>AudioMediaPlayerWrapper com.android.bluetooth W The session was destroyed com.roon.onthego<br>Notificati...diaManager com.android.systemui D Not dismissing 0|com.roon.onthego|1|null|10551 because it was removed by the system<br>Sony360Audio android.hardware.audio.service_64 I is_prioritized_app: 78: app_name=com.roon.onthego<br>SonyPal android.hardware.audio.service_64 I IDD_audio_playback_state: [259,0,17,3,105,0,48000,3,com.roon.onthego,0,0,1,None,0,-1,,0,0,0,0,0,0,0,0,0,0,,0,0,0]<br>ndroid.systemui com.android.systemui W ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~gIw4X3kzthKJqKKUrzPnAg==/com.roon.onthego-jfqHhhDvGCM2mtGt6lFg0Q==/base.apk' with 1 weak references<br>ndroid.systemui com.android.systemui W ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~gIw4X3kzthKJqKKUrzPnAg==/com.roon.onthego-jfqHhhDvGCM2mtGt6lFg0Q==/split_config.arm64_v8a.apk' with 1 weak references<br>ndroid.systemui com.android.systemui W ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~gIw4X3kzthKJqKKUrzPnAg==/com.roon.onthego-jfqHhhDvGCM2mtGt6lFg0Q==/split_config.de.apk' with 1 weak references<br>ndroid.systemui com.android.systemui W ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~gIw4X3kzthKJqKKUrzPnAg==/com.roon.onthego-jfqHhhDvGCM2mtGt6lFg0Q==/split_config.en.apk' with 1 weak references<br>ndroid.systemui com.android.systemui W ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~gIw4X3kzthKJqKKUrzPnAg==/com.roon.onthego-jfqHhhDvGCM2mtGt6lFg0Q==/split_config.xxhdpi.apk' with 1 weak references

How many tracks are in your Roon library?

About 10k tracks / 800 albums. 10GB / 158 albums are downloaded to the ARC app.

OK, then this is not the problem. (We have seen cases with several 100k tracks, beyond Roon’s recommendation, causing similar problems, so I thought I’d ask)

Hello @Julian_Knepel

Thank you for reaching Roon support.

I think the next step here is to enable some diagnostics on your account so our technical staff can get some more insight into what’s going on here.

However, before I enable this feature, I’d like to ask for your help ensuring we gather the right information.

First, can you please reproduce the issue once more and note the time at which the error occurs. Then respond here with that time, and I’ll make sure we review the diagnostics related to that timestamp.

Hello @vadim

Thank you for the quick answer. I just reproduced the issue at 09:22 CET today, the 6th Jan. Thanks for any help!

Hello @Julian_Knepel,

Thank you for the update.

I reviewed the diagnostic data available on our servers, and the most recent report we have ends at Jan 6, 08:20:51.917 AM UTC. This suggests that the crash information did not reach our servers.

If you’re comfortable doing so, could you please help us by providing ADB logs from your Android device? This would allow us to better understand what’s happening at the moment of the crash.

How to collect ADB logs

  1. Connect your Android phone to your computer
  2. Install ADB (instructions for all platforms are available here):
    How to install ADB on Windows, macOS, and Linux
  3. Open a terminal and run:
adb shell
logcat -v time
  1. Reproduce the issue on the phone
  2. Let the logs continue for 3–5 seconds after the issue occurs
  3. Copy the log output starting from when you begin reproducing the issue through to the end

Please upload the log file here and let us know once it’s done:
https://workdrive.zohoexternal.com/collection/8i5239cc05950ac07456889838d9319545a82/external

Thank you for your help — this should give us the information we need to continue investigating.

Hi @Julian_Knepel,

You mentioned that this crash also happened on another Sony phone before the Xperio 5 V. What was the model and Android version of the previous phone?

Hello @vadim and @connor,

I’ve uploaded the logs for Roon ARC from between opening the app, starting playback and locking the screen until playback stopped. Nothing else was open on the phone in the meantime.

The phone that had identical issues was a Sony Xperia XA2 about a year ago. But this was also on a completely different network with a different router, but the same Roon core. Thank you!