Open Bug 1897843 Opened 9 months ago Updated 9 months ago

HLS OutOfMemory Crash in [@ java.lang.OutOfMemoryError: at java.util.concurrent.ConcurrentLinkedQueue.offer(ConcurrentLinkedQueue.java) ]

Categories

(Core :: Audio/Video: Playback, defect)

defect

Tracking

()

People

(Reporter: calu, Unassigned)

Details

Crash Data

Multiple Out of Memory crash reports seem to be related to how the HLSDecoder from dom/ is getting shutdown and consequently, how the GeckoHLSResourceWrapper is getting destroyed. Wondering if the media team has any ideas on this.

java.lang.OutOfMemoryError
	at java.util.concurrent.ConcurrentLinkedQueue.offer(ConcurrentLinkedQueue.java:355)
	at org.mozilla.gecko.media.CodecProxy$CallbacksForwarder.onOutput(CodecProxy.java:29)
	at org.mozilla.gecko.media.ICodecCallbacks$Stub.onTransact(ICodecCallbacks.java:72)
	at android.os.Binder.execTransactInternal(Binder.java:1501)
	at android.os.Binder.execTransact(Binder.java:1440)
0 	libxul.so 	NS_ABORT_OOM(unsigned long) 	xpcom/base/nsDebugImpl.cpp:674 	context
1 	libxul.so 	mozilla::jni::ReportException(_JNIEnv*, _jthrowable*, _jstring*) 	widget/android/jni/Utils.cpp:237 	cfi
2 	libxul.so 	mozilla::jni::HandleUncaughtException(_JNIEnv*) 	widget/android/jni/Utils.cpp:206 	cfi
3 	libxul.so 	mozilla::jni::Accessor::EndAccess<mozilla::java::GeckoHLSResourceWrapper::Destroy_t>(mozilla::java::GeckoHLSResourceWrapper::Destroy_t const::Owner::Context&, nsresult*) 	widget/android/jni/Accessors.h:61 	inlined
3 	libxul.so 	mozilla::jni::Method<mozilla::java::GeckoHLSResourceWrapper::Destroy_t, bool>::EndAccess(mozilla::jni::Context<mozilla::java::GeckoHLSResourceWrapper, _jobject*> const&, nsresult*) 	widget/android/jni/Accessors.h:99 	inlined
3 	libxul.so 	mozilla::jni::Method<mozilla::java::GeckoHLSResourceWrapper::Destroy_t, void>::Call<>(mozilla::jni::Context<mozilla::java::GeckoHLSResourceWrapper, _jobject*> const&, nsresult*, const&) 	widget/android/jni/Accessors.h:147 	inlined
3 	libxul.so 	mozilla::java::GeckoHLSResourceWrapper::Destroy() const 	widget/android/GeneratedJNIGeckoHLSResourceWrapperWrappers.cpp:30 	cfi
4 	libxul.so 	mozilla::HLSDecoder::Shutdown() 	dom/media/hls/HLSDecoder.cpp:236 	cfi
5 	libxul.so 	mozilla::dom::HTMLMediaElement::ShutdownDecoder() 	dom/html/HTMLMediaElement.cpp:2303 	cfi
6 	libxul.so 	mozilla::dom::HTMLMediaElement::~HTMLMediaElement() 	dom/html/HTMLMediaElement.cpp:4375 	cfi
Blocks: media-triage

Looks like whatever site triggered this reverted their change.

Severity: -- → S3
No longer blocks: media-triage
You need to log in before you can comment on or make changes to this bug.