Closed Bug 723499 Opened 13 years ago Closed 13 years ago

java.lang.IllegalStateException: at android.widget.ListView.layoutChildren(ListView.java)

Categories

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

ARM
Android
defect

Tracking

(firefox11 affected, firefox12 affected, firefox13 affected)

RESOLVED DUPLICATE of bug 713056
Tracking Status
firefox11 --- affected
firefox12 --- affected
firefox13 --- affected

People

(Reporter: scoobidiver, Assigned: gbrown)

Details

(Keywords: crash, regression, topcrash, Whiteboard: [native-crash], startupcrash, strwanted)

Crash Data

It's #10 top crasher in 12.0a1 and 11.0a2.
It first appeared in 12.0a1/20120125031119 and 11.0a2/220120127042007.

The m-c (about 500 ADU) regression range might be:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=cfaee7b043f7&tochange=005488525c43
The Aurora (about 1000 ADU) regression range might be:
http://hg.mozilla.org/releases/mozilla-aurora/pushloghtml?fromchange=c0df4333b5b7&tochange=47cb704586dc
bug 701002 is in common which is useless to know.

More reports at:
https://crash-stats.mozilla.com/report/list?signature=java.lang.IllegalStateException%3A%20at%20android.widget.ListView.layoutChildren%28ListView.java%29
Whiteboard: [native-crash], startupcrash → [native-crash], startupcrash, strwanted
https://crash-stats.mozilla.com/report/index/5c188638-9fac-4d3a-8474-86f072120205

java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. [in ListView(2131492896, class android.widget.ListView) with Adapter(class org.mozilla.gecko.AwesomeBarTabs$AwesomeBarCursorAdapter)]
	at android.widget.ListView.layoutChildren(ListView.java:1510)
	at android.widget.AbsListView.onLayout(AbsListView.java:1260)
	at android.view.View.layout(View.java:7175)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:338)
	at android.view.View.layout(View.java:7175)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1047)
	at android.view.View.layout(View.java:7175)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:338)
	at android.view.View.layout(View.java:7175)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1047)
	at android.view.View.layout(View.java:7175)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:338)
	at android.view.View.layout(View.java:7175)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:338)
	at android.view.View.layout(View.java:7175)
	at android.view.ViewRoot.performTraversals(ViewRoot.java:1144)
	at android.view.ViewRoot.handleMessage(ViewRoot.java:1873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:123)
	at org.mozilla.gecko.GeckoApp$32.run(GeckoApp.java:1623)
	at android.os.Handler.handleCallback(Handler.java:587)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:123)
	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:864)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
	at dalvik.system.NativeStart.main(Native Method)
tracking-fennec: --- → ?
It's #3 top crasher in 13.0a1 and #19 in 12.0a2 over the last 3 days.
Keywords: topcrash
Version: Firefox 12 → Trunk
Priority: -- → P1
tracking-fennec: ? → ---
Assignee: nobody → jdhaliwal
Is there any information available as to when/with which device this happens? Any clues as to how to reproduce this?
(In reply to Josh Dhaliwal (:Arreth) from comment #3)
> Is there any information available as to when/with which device this
> happens?
85% of crashes happen within one minute (see the startupcrash keyword).
It occurs on Asus Transformer TF101, Dell Streak 7, HP Touchpad, HTC Desire HD, HTC Nexus One, HTC PG86100, Motorola DROID3, Motorola DROIDX, Motorola MB870, Samsung Galaxy Nexus, Samsung GT-I9000, Samsung Nexus S, Samsung SGH-T959V, Sony LT15i...
Here are the list of devices:

NEC N-04C
Barnes&Noble Nook Tablet
'Android, Model: 'DROID3', Product: 'solana_vzw'
Acer A500
'HP Touchpad'
Samsung GT-I9100
'Nexus S 4G'
'Galaxy Nexus'
HTC Desire HD
Samsung SGH-T959V
HTC Nexus One
Samsung SPH-D700
Sony Ericsson LT15i
Sony Ericsson MT15i
Sony Ericsson LT18i
samsung GT-I9000
samsung Nexus S
Dell Inc. Dell Streak 7

The most I can gather with the crash log without looking at code :
Something went wonky in our use of ListView in the Awesomebar.

I know that there is issues when looking at Awesome page during the time of syncing; perhaps that might have something to do with it?
Looks like a dup bug 713056 which I fixed a couple of days ago. Closing.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Assignee: jdhaliwal → gbrown
No longer blocks: 701002
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.