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

Crashing when in background (iOS 16.4.1) #440

Closed
ghost opened this issue Apr 28, 2023 · 12 comments
Closed

Crashing when in background (iOS 16.4.1) #440

ghost opened this issue Apr 28, 2023 · 12 comments

Comments

@ghost
Copy link

ghost commented Apr 28, 2023

Unfortunately since the app doesn't seem to show logs from before the most recent launch, I don't seem to have a way to check what's causing the crashing until I'm back at my computer. I'll update when I do so, but in the meantime, is anyone else having this issue? This is on 0.6.14 but I've also tried updating to the Testflight (0.6.15) with no luck. I also restarted my phone thinking memory consumption from some other app was killing it, but no dice there either.

@yuruxuan
Copy link
Contributor

I try to use App Store version on my iPhone 8 Plus(16.4.1). And I don't meet crash when music playing in background. 😞
Give the developer crash log so the problem might be easier to fix.

  1. If you using testflight version, after the app crashes, a window will pop up asking whether to share the crash information to the developer. Click "Share" and fill in your email and other information. In this way, developers will see the crash information in the Testflight management interface.
  2. You can also found the log at: Settings > Privacy > Analytics & Improvements > Analytics Data > Found item like 'Runner-2023-04-27-075852.ips.beta', this is crash log.

@ghost
Copy link
Author

ghost commented Apr 28, 2023

Thanks! Appears the app was at 99% CPU usage for too long?
Runner.cpu_resource_fatal-2023-04-28-071526.txt

(Relevant part):

Event:            cpu usage
Action taken:     Process killed
CPU:              48 seconds cpu time over 48 seconds (99% cpu average), exceeding limit of 80% cpu over 60 seconds
CPU limit:        48s
Limit duration:   60s
CPU used:         48s
CPU duration:     48s
Duration:         48.37s
Duration Sampled: 46.67s
Steps:            25

@ghost
Copy link
Author

ghost commented Apr 28, 2023

As far as the TestFlight popup, because it only happens in background with other apps in foreground or on a locked device, I am not getting that pop up that appears after a crash :(

@ghost
Copy link
Author

ghost commented Apr 28, 2023

It seems to be having a problem with a download that is queued but I can't find a way to delete the download, cause I don't know which track is failing. jellyfin-logs.txt

@jmshrv
Copy link
Owner

jmshrv commented Apr 28, 2023

Looks like yet another issue with downloading 🙃

How much storage do you have on your phone, and how many downloads did you have in Finamp?

@ghost
Copy link
Author

ghost commented Apr 28, 2023

184GB free on the device, with Finamp taking 16.03GB. I have 1513 downloads (727 items, 813 images) and 1511 are complete and 2 are perpetually running. This number is strange however, as I have 6 song downloads I'm missing from the three albums I attempted to download on Wednesday.

@jmshrv
Copy link
Owner

jmshrv commented Apr 28, 2023

Oh weird, were you affected by #433?

@ghost
Copy link
Author

ghost commented Apr 28, 2023

Not previously, 2 days ago was the first time I encountered this bug. My other downloads were done 3 weeks ago though, so it's possible if that was before 0.6.11, that's why I haven't encountered it.

@ghost
Copy link
Author

ghost commented May 6, 2023

Any update on this issue? It's been crashing for the last week about 9 out of 10 times I attempt to background the app (every once in a while it surprises me by not crashing when my phone locks after going into Low Power Mode). The only solution I can see right now, which I'd prefer to avoid, is to delete all my downloaded music, remove and re-add my server to then redownload all the music.

@jmshrv
Copy link
Owner

jmshrv commented May 10, 2023

It sounds like the download plugin has died on you, your best course of action is probably reinstalling the app :(

Stuff like this should be fixed in #213

@ghost
Copy link
Author

ghost commented May 10, 2023

I can still download new items however, strangely enough, so I don't think the downloader has died. But I'll try reinstallation when I get a chance.

@ghost
Copy link
Author

ghost commented Jun 5, 2023

Reinstalling has indeed fixed the issue.

@ghost ghost closed this as completed Jun 5, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants