Crash in mozilla::widget::Base64UtilsSupport::Encode
Categories
(GeckoView :: General, defect, P1)
Tracking
(firefox-esr68 wontfix, firefox76 wontfix, firefox77 wontfix, firefox78 fixed)
People
(Reporter: agi, Assigned: snorp)
Details
(Keywords: crash, Whiteboard: [geckoview:m78])
Crash Data
Attachments
(1 file)
This bug is for crash report bp-4fda00b7-8785-4c54-83a0-0b88f0200519.
A reddit user is seeing frequent crashes with this signature.
Looks like something in jni, aklotz any ideas?
Top 10 frames of crashing thread:
0 libc.so libc.so@0x83134
1 libc.so libc.so@0x83104
2 libart.so libart.so@0x4b3c08
3 libbase.so libbase.so@0xc5b4
4 libart.so libart.so@0x374a94
5 libart.so libart.so@0x3c1f40
6 libxul.so mozilla::jni::ArrayRefBase<_jbyteArray*, signed char>::GetElements const widget/android/jni/Refs.h:819
7 libxul.so _jstring* mozilla::jni::NativeStub<mozilla::java::Base64Utils::Encode_t, mozilla::widget::Base64UtilsSupport, mozilla::jni::Args<mozilla::jni::Ref<mozilla::jni::TypedObject<_jbyteArray*>, _jbyteArray*> const&> >::Wrap<&mozilla::widget::Base64UtilsSupport::Encode> widget/android/jni/Natives.h:690
8 base.odex base.odex@0x1964ec
9 base.odex base.odex@0x1964ec
Reporter | ||
Comment 1•5 years ago
•
|
||
I'm wondering if we have more of these buried under the libc.so@<addr>
signature.
Comment 2•5 years ago
|
||
Some kind of failure retrieving the length of an array, but that's the best I can do without analyzing the raw dump (which is a non-trivial process).
Reporter | ||
Comment 3•5 years ago
|
||
Thanks, I skimmed our crashes, they're all in mozilla::widget::Base64UtilsSupport
under various libc.so
signature.
Reporter | ||
Comment 4•5 years ago
|
||
Looks like there's been an uptick recently. I wonder if it runs some java stacks after the jni call.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 5•5 years ago
|
||
Looks like we use this mostly in WebPush https://searchfox.org/mozilla-central/search?q=Base64Utils.encode&path=
Assignee | ||
Comment 7•5 years ago
|
||
It looks like we're just missing a null check in the native side.
Assignee | ||
Comment 8•5 years ago
|
||
Updated•5 years ago
|
Comment 10•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•