Closed
Bug 827248
Opened 12 years ago
Closed 11 years ago
java.lang.OutOfMemoryError: at android.graphics.BitmapFactory.nativeDecodeByteArray(Native Method) at org.mozilla.gecko.AboutHomeContent.getThumbnailsFromCursor or getTopSitesThumbnails(AboutHomeContent.java)
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox19 affected, firefox20 affected, firefox21 wontfix, firefox22 fixed, firefox23 fixed)
RESOLVED
FIXED
Firefox 23
People
(Reporter: scoobidiver, Assigned: cpeterson)
References
Details
(Keywords: crash, reproducible, Whiteboard: [native-crash])
Crash Data
There are two crashes in 20.0a1, bp-e8874b27-cd56-45e5-ba18-968ae2130107 and bp-08a43bee-0bd9-4953-bd8b-bfecf2121223, with similar stack traces.
It's different from bug 778459.
java.lang.OutOfMemoryError
at android.graphics.BitmapFactory.nativeDecodeByteArray(Native Method)
at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:424)
at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:441)
at org.mozilla.gecko.AboutHomeContent.getThumbnailsFromCursor(AboutHomeContent.java:418)
at org.mozilla.gecko.AboutHomeContent$9.onPostExecute(AboutHomeContent.java:445)
at org.mozilla.gecko.AboutHomeContent$9.onPostExecute(AboutHomeContent.java:437)
at org.mozilla.gecko.util.GeckoAsyncTask$BackgroundTaskRunnable$1.run(GeckoAsyncTask.java:37)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4487)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
More reports at:
https://crash-stats.mozilla.com/report/list?signature=java.lang.OutOfMemoryError%3A+at+android.graphics.BitmapFactory.nativeDecodeByteArray%28Native+Method%29
Comment 1•12 years ago
|
||
I can consistently reproduce this if I just rotate about:home repeatedly between vertical and landscape orientations. After the 6th or 7th rotation, it crashes.
Comment 2•12 years ago
|
||
Yeah I can too
E/dalvikvm-heap( 4484): Out of memory on a 749584-byte allocation.
I/dalvikvm( 4484): "main" prio=5 tid=1 RUNNABLE
I/dalvikvm( 4484): | group="main" sCount=0 dsCount=0 obj=0x40aed9a0 self=0x400b0010
I/dalvikvm( 4484): | sysTid=4484 nice=0 sched=0/0 cgrp=apps handle=1074156508
I/dalvikvm( 4484): | state=R schedstat=( 0 0 0 ) utm=4075 stm=1141 core=1
I/dalvikvm( 4484): at android.graphics.BitmapFactory.nativeDecodeByteArray(Native Method)
I/dalvikvm( 4484): at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:428)
Keywords: reproducible
Comment 3•12 years ago
|
||
I filed bug 838398 for the rotation memory leak. That was introduced in Fx21, so there must be something else causing the crash here.
Reporter | ||
Updated•12 years ago
|
status-firefox19:
--- → affected
status-firefox22:
--- → affected
Reporter | ||
Updated•12 years ago
|
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → cpeterson
Status: NEW → RESOLVED
Closed: 11 years ago
status-firefox23:
--- → fixed
Resolution: --- → FIXED
Reporter | ||
Updated•11 years ago
|
Target Milestone: --- → Firefox 23
Updated•4 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
•