Closed Bug 777907 Opened 12 years ago Closed 12 years ago

java.util.ConcurrentModificationException: at java.util.ArrayList$ArrayListIterator.next(ArrayList.java) at org.mozilla.gecko.TabsTray$TabsAdapter.refreshTabsData(TabsTray.java)

Categories

(Firefox for Android Graveyard :: General, defect)

16 Branch
ARM
Android
defect
Not set
critical

Tracking

(firefox16 affected)

RESOLVED DUPLICATE of bug 730039
Tracking Status
firefox16 --- affected

People

(Reporter: scoobidiver, Assigned: Margaret)

References

Details

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

Crash Data

There's one crash in 16.0a2/20120725: bp-6a3afc70-c723-4613-a286-3ed4f2120726.

java.util.ConcurrentModificationException
	at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:569)
	at org.mozilla.gecko.TabsTray$TabsAdapter.refreshTabsData(TabsTray.java:198)
	at org.mozilla.gecko.TabsTray$TabsAdapter.onTabChanged(TabsTray.java:166)
	at org.mozilla.gecko.Tabs.notifyListeners(Tabs.java:366)
	at org.mozilla.gecko.Tabs.notifyListeners(Tabs.java:357)
	at org.mozilla.gecko.Tabs$1.run(Tabs.java:71)
	at android.os.Handler.handleCallback(Handler.java:615)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:137)
	at android.app.ActivityThread.main(ActivityThread.java:4745)
	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:786)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
	at dalvik.system.NativeStart.main(Native Method)

More reports at:
https://crash-stats.mozilla.com/report/list?signature=java.util.ConcurrentModificationException%3A+at+java.util.ArrayList%24ArrayListIterator.next%28ArrayList.java%29
QA Contact: margaret.leibovic
There's also one crash in 17.0a1/20120730: bp-e5769486-aa31-4e50-82d1-9cf352120730.
Assignee: nobody → margaret.leibovic
QA Contact: margaret.leibovic
See bug 730039 comment 32. Hopefully whatever patch lands for that bug will fix this one as well.
Depends on: 730039
Actually, I don't think the patch in bug 730039 will fix this, but TabsAdapter.mTabs is suffering from the same problem that we found with Tabs.mOrder. We need to implement a more threadsafe solution in TabsTray.
There don't appear to be any new crashes since bug 730039, so I believe that patch fixed this crash.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.