Closed Bug 725167 Opened 8 years ago Closed 8 years ago

java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@4... at android.view.ViewGroup.updateViewLayout(ViewGroup.java)

Categories

(Firefox for Android :: General, defect, P1, critical)

ARM
Android
defect

Tracking

()

VERIFIED FIXED
Firefox 14
Tracking Status
firefox13 --- fixed
firefox14 --- verified
firefox15 --- verified
blocking-fennec1.0 --- +

People

(Reporter: kbrosnan, Assigned: snorp)

References

Details

(Keywords: crash, reproducible, topcrash, Whiteboard: [native-crash])

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is 
report bp-2b1d53e7-d0ea-4e82-a21b-3e6662120202 .
============================================================= 

Someone with stack access please post it in this bug.
java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@4054b560
	at android.view.ViewGroup.updateViewLayout(ViewGroup.java:1968)
	at org.mozilla.gecko.GeckoApp.repositionPluginViews(GeckoApp.java:1492)
	at org.mozilla.gecko.GeckoApp.repositionPluginViews(GeckoApp.java:1475)
	at org.mozilla.gecko.gfx.LayerController$2.run(LayerController.java:269)
	at android.os.Handler.handleCallback(Handler.java:587)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:150)
	at org.mozilla.gecko.GeckoApp$32.run(GeckoApp.java:1670)
	at android.os.Handler.handleCallback(Handler.java:587)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:150)
	at android.app.ActivityThread.main(ActivityThread.java:4293)
	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:849)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
	at dalvik.system.NativeStart.main(Native Method)
Seems like there's another crash that is the same but at a different address:
https://crash-stats.mozilla.com/report/index/9f7e122f-99f8-46b6-bbc1-f4f462120202
w/ url : http://www.weather.com
on a kindle fire

java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@40567478
	at android.view.ViewGroup.updateViewLayout(ViewGroup.java:1882)
	at org.mozilla.gecko.GeckoApp.repositionPluginViews(GeckoApp.java:1492)
	at org.mozilla.gecko.GeckoApp.repositionPluginViews(GeckoApp.java:1475)
	at org.mozilla.gecko.gfx.LayerController$2.run(LayerController.java:269)
	at android.os.Handler.handleCallback(Handler.java:587)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:130)
	at org.mozilla.gecko.GeckoApp$32.run(GeckoApp.java:1670)
	at android.os.Handler.handleCallback(Handler.java:587)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:130)
	at android.app.ActivityThread.main(ActivityThread.java:3683)
	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:850)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)
	at dalvik.system.NativeStart.main(Native Method)
Whiteboard: [native-crash]
Created bug 726385 in regards to trying to combine all the same crashes with different addresses.
Crash Signature: [@ java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@4054b560 at android.view.ViewGroup.updateViewLayout(ViewGroup.java)] → [@ java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@4054b560 at android.view.ViewGroup.updateViewLayout(ViewGroup.java)] [@ java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLa…
Crash Signature: android.view.ViewGroup.updateViewLayout(ViewGroup.java)] [@ java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@4055db60 at android.view.ViewGroup.updateViewLayout(ViewGroup.java) ] → android.view.ViewGroup.updateViewLayout(ViewGroup.java)] [@ java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@4055db60 at android.view.ViewGroup.updateViewLayout(ViewGroup.java) ] [@ java.lang.IllegalArgumentExc…
Crash Signature: java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@405183b8 at android.view.ViewGroup.updateViewLayout(ViewGroup.java)] → java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@405183b8 at android.view.ViewGroup.updateViewLayout(ViewGroup.java)] [@ java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayou…
Depends on: 726385
There are about 8 crashes per build making it #1 top crasher.
Keywords: topcrash
Summary: crash java [@ java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@4054b560 at android.view.ViewGroup.updateViewLayout(ViewGroup.java) ] → java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@4... at android.view.ViewGroup.updateViewLayout(ViewGroup.java)
Crash Signature: java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@4055ce90 at android.view.ViewGroup.updateViewLayout(ViewGroup.java)] → java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@4055ce90 at android.view.ViewGroup.updateViewLayout(ViewGroup.java)] [@ java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayou…
Priority: -- → P1
tracking-fennec: ? → ---
Java crash; nom-ing for blocking fennec
blocking-fennec1.0: --- → ?
Crash Signature: android.widget.AbsoluteLayout@463785e8 at android.view.ViewGroup.updateViewLayout(ViewGroup.java)] → android.widget.AbsoluteLayout@463785e8 at android.view.ViewGroup.updateViewLayout(ViewGroup.java)] [@ java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@40564018 at android.view.ViewGroup.updateViewLayout(ViewGrou…
I hit this crash last evening on my Photon - https://crash-stats.mozilla.com/report/index/bp-67d89ba5-d70e-4ba2-9dcb-882342120228 but I haven't been able to reproduce yet.
Crash Signature: java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@40560128 at android.view.ViewGroup.updateViewLayout(ViewGroup.java) ] → java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@40560128 at android.view.ViewGroup.updateViewLayout(ViewGroup.java) ] [@ java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayo…
blocking based on being the #1 top crasher, let's get STR for it though
blocking-fennec1.0: ? → +
Whiteboard: [native-crash] → [native-crash], str-wanted, qa+
Crash Signature: android.widget.AbsoluteLayout@4053af20 at android.view.ViewGroup.updateViewLayout(ViewGroup.java) ] → android.widget.AbsoluteLayout@4053af20 at android.view.ViewGroup.updateViewLayout(ViewGroup.java) ] [@ java.lang.IllegalArgumentException: Given view not a child of android.widget.AbsoluteLayout@47001bd0 at android.view.ViewGroup.updateViewLayout(ViewGro…
Assignee: nobody → cpeterson
It represents 8% of crashes over the last 3 days making it #2 top crasher.
snorp, is this crash related to Flash?
Assignee: cpeterson → snorp
Duplicate of this bug: 736318
It's not related to flash after all. I did hit this issue.  It's some sort of race condition I believe.


STR:
1. go to http://www.yahoo.co.jp
2. click on a link
3. before it turns over to the new page, hit back button
4. repeat 2 to 3... 

it's some timing issue with building the layout and changing the page somehow; ie back button, quitting, new tab, etc...
Keywords: reproducible
Whiteboard: [native-crash], str-wanted, qa+ → [native-crash][qa+]
Attachment #608551 - Flags: review?(blassey.bugs) → review+
Target Milestone: --- → Firefox 14
https://hg.mozilla.org/mozilla-central/rev/b05d102a6406
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Based on crash stats (no crashes from 14..0a1/20120325), I mark it as verified.

It's still a top crasher in Aurora.
Comment on attachment 608551 [details] [diff] [review]
Don't reposition Android plugin views that aren't in view hierarchy

[Approval Request Comment]
Regression caused by (bug #): 
User impact if declined: 
Testing completed (on m-c, etc.): 
Risk to taking this patch (and alternatives if risky):
String changes made by this patch:
Attachment #608551 - Flags: approval-mozilla-aurora?
Comment on attachment 608551 [details] [diff] [review]
Don't reposition Android plugin views that aren't in view hierarchy

[Triage Comment]
Mobile only - approved for Aurora 13.
Attachment #608551 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
I cannot reproduce this issue on the latest Nightly or Aurora by performing the str from comment #13.

Naoki, are you able to reproduce it anymore? If not, I guess that we can close it as verified fixed.
Still not able to reproduce this crash, and also it seems that there are no related crashes in the last week. Closing bug as verified fixed on:

Firefox 15.0a1 (2012-05-30)
Firefox 14.0a2 (2012-05-30)

Device: Galaxy Nexus
OS: Android 4.0.2
Status: RESOLVED → VERIFIED
removing [qa+], bug verified from comment 23
Whiteboard: [native-crash][qa+] → [native-crash]
You need to log in before you can comment on or make changes to this bug.