New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 719133 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Android WebView Crashes with large favicon.

Reported by mikeruss...@gmail.com, May 6 2017

Issue description

Steps to reproduce the problem:
1. In a WebView, go to http://foundation.zurb.com or another site that uses a large favicon (6000x6000 in this case). 
2.  Sometimes will crash with out of memory because the icon is too large. 

What is the expected behavior?
Not crash

What went wrong?
05-06 09:59:30.091 26673-26673/com.example.mike.browser W/art: Throwing OutOfMemoryError "Failed to allocate a 144000012 byte allocation with 16777216 free bytes and 33MB until OOM"
05-06 09:59:30.092 26673-26673/com.example.mike.browser W/System.err: java.lang.OutOfMemoryError: Failed to allocate a 144000012 byte allocation with 16777216 free bytes and 33MB until OOM
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at android.graphics.Bitmap.nativeCreate(Native Method)
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at android.graphics.Bitmap.createBitmap(Bitmap.java:879)
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at android.graphics.Bitmap.createBitmap(Bitmap.java:856)
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at android.graphics.Bitmap.createBitmap(Bitmap.java:823)
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at org.chromium.ui.gfx.BitmapHelper.createBitmap(BitmapHelper.java:22)
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:41)
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at android.os.Looper.loop(Looper.java:241)
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:6217)
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
05-06 09:59:30.102 26673-26673/com.example.mike.browser W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
05-06 09:59:30.104 26673-26673/com.example.mike.browser A/chromium: [FATAL:jni_android.cc(243)] Please include Java exception stack in crash report
05-06 09:59:30.503 26673-26673/com.example.mike.browser W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
05-06 09:59:30.503 26673-26673/com.example.mike.browser W/google-breakpad: Chrome build fingerprint:
05-06 09:59:30.503 26673-26673/com.example.mike.browser W/google-breakpad: 1.0
05-06 09:59:30.503 26673-26673/com.example.mike.browser W/google-breakpad: 1
05-06 09:59:30.503 26673-26673/com.example.mike.browser W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
05-06 09:59:30.503 26673-26673/com.example.mike.browser A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 26673 (le.mike.browser)

Crashed report ID: 

How much crashed? Just one tab

Is it a problem with a plugin? No 

Did this work before? No 

Chrome version: 57.0.2987.132  Channel: n/a
OS Version: 7.0.0
Flash Version: 

Probably should be careful decoding images > 512 * 512 or decode image sampled down.
 
Cc: sandeepkumars@chromium.org
Labels: Needs-triage-Mobile Triaged-Mobile Needs-Feedback
@mikerussellnz: Thanks for the report!!

Could you please upgrade your Chrome or WebView to the latest version and check if you still face the Crash? If so attach a Crash I'd from chrome://crashes.

Thanks!!
Status: WontFix (was: Unconfirmed)
***Bulk Edit***

There is no updates in the past few months, closing now. Feel free to reopen if needed.

Sign in to add a comment