Remote on iOS iPhone XS crashes a lot

Core Machine (Operating system/System info/Roon build number)

Nuc6i5 (all versions since last summer i think)

Network Details (Including networking gear model/manufacturer and if on WiFi/Ethernet)

WiFi 5ghz

Description Of Issue

Since last summer, i’m having a lot of crashes on my iPhone XS. It usually happens when loading album covers. For example when i look at “Recommended albums” at the bottom of an album. But also when browsing my library.

Also, iPhone gets hot when running Roon.

Already tried a lot of things:

  • Reboot
  • Soft reset iPhone
  • Reinstall app
  • Delete app, soft reset, install app
  • Delete app, reboot, install app
  • Enable “keep screen awake”
  • Disable background apps on iOS

Thought of something else, upped the max memory for artwork from 64mb to 256mb and emptied the images cache. Because I’m quarantined i’ve got a lot of time to test…

Hi @jmvdv,

Was there any change since setting the artwork memory higher? If not, could you let me know the exact local time + date of the next crash and what exactly you clicked on to get the crash to occur? Perhaps a screen recording of the behavior might be best.

Happened again a couple of times. Trying hard to reproduce. Will report back.

1 Like

Still working as it should…

1 Like

11-04-2020 between 10:10 - 10:11
11-04-2020 10:28
11-04-2020 10:31

Screencapture here: juliusvandervaart.stackstorage.com/s/GlHgKvE6h3z9rFzQ

I tapped on the playing bar in the bottom.

11-04-2020 Between 10:53 and 10:55 when reading review of an album and doing nothing.

Hi @jmvdv,

I know it’s been a while since we spoke about this issue, but has there been any change to this behavior with the new release in Roon?

We have been internally discussing iOS crashes and in at least one of the reports, we’re seeing the iOS device run out of RAM resources.

If this behavior is still ongoing, I was wondering if it could be possible for you to access your iOS console logs, reproduce this issue and send us a set?

Thank you!

Hi @noris,

Getting this when the crash occurs:

kernel	standaard	18:26:59.329768+0200	kernel	EXC_RESOURCE -> RoonMobile[14800] exceeded mem limit: ActiveHard 2098 MB (fatal)
kernel	standaard	18:26:59.329855+0200	kernel	EXC_RESOURCE -> RoonMobile[14800] exceeded mem limit: ActiveHard 2098 MB (fatal)
kernel	standaard	18:26:59.331096+0200	kernel	393531.259 memorystatus: killing_specific_process pid 14800 [RoonMobile] (per-process-limit 10) 2148355KB - memorystatus_available_pages: 34385
kernel	standaard	18:26:59.331170+0200	kernel	393531.259 memorystatus: killing_specific_process pid 14800 [RoonMobile] (per-process-limit 10) 2148355KB - memorystatus_available_pages: 34385
IOKit	standaard	18:26:59.335573+0200	backboardd	Connection removed: IOHIDEventSystemConnection uuid:C9F0DE36-04F9-472C-AEAD-6EBEEA81E688 pid:14800 process:RoonMobile type:Passive entitlements:0x0 caller:BackBoardServices: <redacted> + 368 attributes:{
    HighFrequency = 1;
    bundleID = "com.roon.mobile";
    pid = 14800;
} state:0x1 events:521 mask:0x800
IOKit	standaard	18:26:59.335675+0200	backboardd	Connection removed: IOHIDEventSystemConnection uuid:C9F0DE36-04F9-472C-AEAD-6EBEEA81E688 pid:14800 process:RoonMobile type:Passive entitlements:0x0 caller:BackBoardServices: <redacted> + 368 attributes:{
    HighFrequency = 1;
    bundleID = "com.roon.mobile";
    pid = 14800;
} state:0x1 events:521 mask:0x800
mDNSResponder	standaard	18:26:59.341850+0200	mDNSResponder	[R146726] DNSServiceCreateConnection STOP PID[14800](RoonMobile)
mDNSResponder	standaard	18:26:59.341939+0200	mDNSResponder	[R146726] DNSServiceCreateConnection STOP PID[14800](RoonMobile)
OSAnalytics	standaard	18:26:59.345444+0200	osanalyticshelper	Process RoonMobile [14800] killed by jetsam reason per-process-limit
OSAnalytics	standaard	18:26:59.345501+0200	osanalyticshelper	Process RoonMobile [14800] killed by jetsam reason per-process-limit
CrashReporterSupport	standaard	18:26:59.394135+0200	ReportCrash	cr_update: Parsing corpse data for process RoonMobile [pid 14800]
CrashReporterSupport	standaard	18:26:59.394191+0200	ReportCrash	cr_update: Parsing corpse data for process RoonMobile [pid 14800]
ReportCrash	standaard	18:27:00.109349+0200	ReportCrash	Formulating fatal report for corpse[14800] RoonMobile
ReportCrash	standaard	18:27:00.109404+0200	ReportCrash	Formulating fatal report for corpse[14800] RoonMobile

Hi @noris,

So it seems memory is also a problem on my device. Think it happens when i scroll through lots of images too much is stored in RAM. It’s as if they don’t get removed from memory.

Thanks.

Hi @jmvdv,

Thanks for the console snippet! This trace looks a bit different than the one’s we’ve received so far, can I please ask you to upload the full Console log and send me a link (with the info leading up to the memorystatus: killing_specific_process)?

The image is a good theory, but we are also taking a look to see if the iPhone queue screen could be a cause, what is the amount of items in the iPhone’s queue when this issue occurs?

You mean the running app’s? Or the Roon queue?

Hi @jmvdv,

I mean the track/album queue from inside the Roon app.

I’ll check tomorrow, got a large history in the queue and scrolling through it caused the same issue. Will also send the logs.

1 Like

Allright @noris, it still happens with empty queue. Got two log sets for you until the crash (and a minute before) with everything happening on my phone:

  1. Scrolling through a very large queue history:
    https://juliusvandervaart.stackstorage.com/s/5R2Ntw4keoeUojH

  2. Scrolling through all my albums with an empty queue history and nothing playing:
    https://juliusvandervaart.stackstorage.com/s/PUs0Nc9wGW5t79p

  3. Again scrolling through all my albums with an empty queue history and nothing playing and logs filtered on keyword “roon”:
    https://juliusvandervaart.stackstorage.com/s/JJ3ISGb81VBXh2f

1 Like

And number 4:

Started to crash while doing nothing, again connected to my Macbook and here’s the console for multiple crashes filtered on “roon”. During al these crashes the iPhone was running hot:
https://juliusvandervaart.stackstorage.com/s/I7cxu8E9dfFukGm

Hope this is enough. Let me know.

1 Like

Update:

When I clear the image cache (settings > setup) on my iPhone I can scroll through my whole collection (1500+ albums) again without crashing after every 25-50 albums (when I start Roon again after crashing it’s scrolled back to top… the horror! :wink:).

Curious when it will start crashing again. Keep you posted.

1 Like

Since emptying queue AND emptying image cache 5 days ago (previous comment) I had no more crashed…

1 Like

Hi @jmvdv,

Thanks for sending those logs over, I have forwarded them to QA for closer inspection.
Since clearing out the queue and the image cache last week, has your iPhone still been stable?