Closed
Bug 738331
Opened 12 years ago
Closed 12 years ago
java.lang.OutOfMemoryError: at java.lang.String.<init>(String.java) at android.text.SpannableStringBuilder.toString(SpannableStringBuilder.java)
Categories
(Firefox for Android Graveyard :: Keyboards and IME, defect, P3)
Tracking
(blocking-fennec1.0 -, fennec+)
RESOLVED
FIXED
Firefox 16
People
(Reporter: cpeterson, Assigned: cpeterson)
References
Details
(Keywords: crash, Whiteboard: [native-crash])
Crash Data
Attachments
(1 file)
1.51 KB,
patch
|
blassey
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is report bp-af2cdc62-2143-403a-9152-c00962120321 . ============================================================= java.lang.OutOfMemoryError at java.lang.String.<init>(String.java:513) at java.lang.String.<init>(String.java:488) at android.text.SpannableStringBuilder.toString(SpannableStringBuilder.java:943) at org.mozilla.gecko.GeckoInputConnection.getExtractedText(GeckoInputConnection.java:242) at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:260) at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:75) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3821) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) at dalvik.system.NativeStart.main(Native Method)
Assignee | ||
Comment 1•12 years ago
|
||
This OOM exception may be yet another instance of SpannableStringBuilder having stale selection indexes. Interesting that all 3 crashes were on DROID3 phones.
blocking-fennec1.0: --- → ?
Updated•12 years ago
|
tracking-fennec: --- → +
blocking-fennec1.0: ? → -
Priority: -- → P3
Comment 2•12 years ago
|
||
(In reply to Chris Peterson (:cpeterson) from comment #1) > Interesting that all 3 crashes were on DROID3 phones. It's the same user that crashed three times.
OS: Linux → Android
Hardware: All → ARM
Whiteboard: [native-crash]
Version: Trunk → Firefox 13
Assignee | ||
Comment 3•12 years ago
|
||
I believe this crash was fixed by bug 734156. content.toString() would try to allocate a huge string when the IME's bogus selection indexes were not clamped.
Assignee: nobody → cpeterson
Status: NEW → ASSIGNED
Depends on: 734156
Target Milestone: --- → Firefox 14
Assignee | ||
Comment 4•12 years ago
|
||
Remove IndexOutOfBoundsException band-aid now that we clamp bogus selection indexes. I believe this crash has been fixed, so I would like to remove this old try/catch cruft to make sure we're not hiding another problem. We don't want this patch for Fennec 14 or 15.
Attachment #632944 -
Flags: review?(blassey.bugs)
Updated•12 years ago
|
Attachment #632944 -
Flags: review?(blassey.bugs) → review+
Assignee | ||
Comment 5•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/55b91a3a460f
Comment 6•12 years ago
|
||
There are two recent crashes with this signature (bp-1136174b-9537-41ec-a56f-214652120610, bp-2091f0e5-5ff5-4f69-8e91-78c0f2120613) but none with the stack in comment 0.
Summary: Crash Report [@ java.lang.OutOfMemoryError: at java.lang.String.<init>(String.java) ] → java.lang.OutOfMemoryError: at java.lang.String.<init>(String.java) at android.text.SpannableStringBuilder.toString(SpannableStringBuilder.java)
Target Milestone: Firefox 14 → Firefox 16
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/55b91a3a460f
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•