Closed christian-eriksson closed 1 year ago
@AlvaroBrey
I think that this stack trace is a red herring.
Here is where it blows up:
// This can occur if a stream is malformed in a way that causes an extractor to think it
// needs to allocate a large amount of memory. We don't want the process to die in this
// case, but we do want the playback to fail.
if (!released) {
Log.e(TAG, "OutOfMemory error loading stream", e); <--- BLOWS UP HERE
obtainMessage(MSG_IO_EXCEPTION, new UnexpectedLoaderException(e)).sendToTarget();
}
I suspect that the player decoder exhausts the memory and fails with OOM. However, because it's under OOM condition, it does not have enough memory to format stack trace and fails again, with another OOM.
This bug should be fixed upstream.
Hi @christian-eriksson - Thanks for your report. The player has been updated a number of times since your original report. It's possible this issue has been resolved. Though it's hard to say with certainty due to the odd stack trace. Can you retest from your end with a current client version (preferably v3.26.0)?
This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!
Not sure how much detail I can give on this. I was attempting to stream a large video (1080p60hz, recorded on the phone, about 4.7GB). I had clicked into the video in the app, paused the auto play and chosen "stream with". I chose the Samsung video player but didn't get an image. When I tried to go back to the NextCloud app (three horizontal lines to switch app) it crashed with an
java.lang.OutOfMemoryError
, see below. I tried twice with the same result.