Fatal Exception: GeckoLooper Thread @ java.lang.IllegalArgumentException: width and height must be > 0

VERIFIED FIXED in Firefox 11

Status

()

Firefox for Android
General
P2
critical
VERIFIED FIXED
6 years ago
5 years ago

People

(Reporter: aaronmt, Assigned: blassey)

Tracking

({crash, regression, reproducible})

unspecified
Firefox 12
ARM
Android
crash, regression, reproducible
Points:
---

Firefox Tracking Flags

(firefox11 fixed, firefox12 fixed, fennec11+)

Details

(Whiteboard: [native-crash])

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
E/AndroidRuntime( 1543): FATAL EXCEPTION: GeckoLooper Thread
E/AndroidRuntime( 1543): java.lang.IllegalArgumentException: width and height must be > 0
E/AndroidRuntime( 1543): 	at android.graphics.Bitmap.createBitmap(Bitmap.java:603)
E/AndroidRuntime( 1543): 	at android.graphics.Bitmap.createBitmap(Bitmap.java:585)
E/AndroidRuntime( 1543): 	at org.mozilla.gecko.gfx.GeckoSoftwareLayerClient.getBitmap(GeckoSoftwareLayerClient.java:213)
E/AndroidRuntime( 1543): 	at org.mozilla.gecko.GeckoApp$SessionSnapshotRunnable.run(GeckoApp.java:614)
E/AndroidRuntime( 1543): 	at android.os.Handler.handleCallback(Handler.java:605)
E/AndroidRuntime( 1543): 	at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 1543): 	at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1543): 	at org.mozilla.gecko.GeckoAppShell$LooperThread.run(GeckoAppShell.java:155)
W/ActivityManager(  153):   Force finishing activity org.mozilla.fennec/.App
W/ActivityManager(  153): Activity pause timeout for ActivityRecord{41676a20 org.mozilla.fennec/.App}
I/ActivityManager(  153): Process org.mozilla.fennec (pid 1543) has died.
D/Zygote  (   80): Process 1543 exited cleanly (1)
I/WindowManager(  153): WIN DEATH: Window{415e7138 org.mozilla.fennec/org.mozilla.fennec.App paused=false}
W/ActivityManager(  153): Force removing ActivityRecord{4159e570 org.mozilla.fennec/.CrashReporter}: app died, no saved state
I/WindowManager(  153): WIN DEATH: Window{417bbf88 org.mozilla.fennec/org.mozilla.fennec.CrashReporter paused=false}
I/WindowManager(  153): WIN DEATH: Window{41767ba8 SurfaceView paused=false}

--
Samsung Nexus S (Android 4.0.3)
20111217090244
http://hg.mozilla.org/mozilla-central/rev/d4aad9645f77
(Assignee)

Updated

6 years ago
Assignee: nobody → blassey.bugs
Priority: -- → P2
Created attachment 583067 [details] [diff] [review]
patch
Attachment #583067 - Flags: review?(mark.finkle)

Comment 2

6 years ago
Comment on attachment 583067 [details] [diff] [review]
patch

why is the buffer <=0 ?
Attachment #583067 - Flags: review?(mark.finkle) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/5367244f4d73
Whiteboard: [native-crash] → [native-crash][inbound][fennec-aurora]

Comment 4

6 years ago
https://hg.mozilla.org/mozilla-central/rev/5367244f4d73
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Keywords: regressionwindow-wanted
Resolution: --- → FIXED
Target Milestone: --- → Firefox 12
(Reporter)

Comment 5

6 years ago
Samsung Nexus S (Android 4.0.3)
20111221041234
http://hg.mozilla.org/mozilla-central/rev/d6b976e83811
Status: RESOLVED → VERIFIED
(Assignee)

Updated

6 years ago
Duplicate of this bug: 712568
I got a crash similar to the ones I reported in bug 712568 with aurora. If this is indeed the same bug, it should be fixed on aurora as well.
https://crash-stats.mozilla.com/report/index/a93192c7-6235-421e-86f6-038632111223
that's the crash i got on aurora.
(Assignee)

Updated

6 years ago
tracking-fennec: --- → 11+
Comment on attachment 583067 [details] [diff] [review]
patch

[Approval Request Comment]
Crash fix needed on aurora
Attachment #583067 - Flags: approval-mozilla-aurora?
status-firefox11: --- → affected
status-firefox12: --- → fixed
Whiteboard: [native-crash][inbound][fennec-aurora] → [native-crash]
Comment on attachment 583067 [details] [diff] [review]
patch

[Triage Comment]
Mobile only - approved for Aurora.
Attachment #583067 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
https://hg.mozilla.org/releases/mozilla-aurora/rev/4d85daeaac0e
status-firefox11: affected → fixed
You need to log in before you can comment on or make changes to this bug.