Automattic / Automattic/pocket-casts-ios
Crash: App crashes during playback for specific episode
- Dominant language
- Swift
- Stars
- 1.8k
- Forks
- 198
- Avg merge
- 17h 20m
- Merged PRs (30d)
- 103
Description
It was reported in 6382056-zd-woothemes, that the app crashes when playing this episode: https://pca.st/22iph0yt.
The app archived the episode when I tried to play the downloaded episode, and crashed when I wanted to play it via streaming. The issue doesn't happen to other newer episodes, but I didn't test them all.
Crash logs:
[podcasts-2023-06-09-135150.ips.zip](https://github.com/Automattic/pocket-casts-ios/files/11702805/podcasts-2023-06-09-135150.ips.zip)
### Steps to reproduce the behavior
1. Open this podcast in the app: https://pca.st/22iph0yt.
2. Download the "Billy Madison Show Podcast - June 5, 2023" episode.
3. Play the downloaded episode and notice it will be marked as archived almost immediately.
4. Remove the downloaded file by going to the podcast page again > long press on the episode > ... > Remove Download.
5. Play the same episode again via streaming.
6. The app crashes after a few seconds of playback.
##### Tested on iPhone 11, iOS 16.5, Pocket Casts 7.39
Contributor guide
Research direction
Start by reproducing the crash with the Billy Madison Show episode from the linked podcast, following the six listed playback steps, and inspect the attached podcasts-2023-06-09-135150.ips.zip crash log. Done means the episode can be downloaded and streamed on the reported iPhone 11/iOS 16.5 setup without being archived unexpectedly or crashing during playback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- audio-video-rtc, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100