Closed Bug 787338 Opened 14 years ago Closed 12 years ago

java.util.ConcurrentModificationException: at java.util.ArrayList$ArrayListIterator.next(ArrayList.java) at org.mozilla.gecko.PropertyAnimator.run(PropertyAnimator.java)

Categories

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

16 Branch
ARM
Android
defect

Tracking

(firefox16 affected, firefox17 affected, firefox18 affected, firefox30 affected)

RESOLVED DUPLICATE of bug 969743
Tracking Status
firefox16 --- affected
firefox17 --- affected
firefox18 --- affected
firefox30 --- affected

People

(Reporter: scoobidiver, Unassigned)

Details

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

Crash Data

There are 118 crashes over the last four weeks across all versions. It's #301 crasher in 15.0. Here is a recent report: bp-d44d7e7e-b7f5-4e35-97ec-ef89d2120829. java.util.ConcurrentModificationException at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:569) at org.mozilla.gecko.PropertyAnimator.run(PropertyAnimator.java:89) at java.util.Timer$TimerImpl.run(Timer.java:284) More reports at: https://crash-stats.mozilla.com/report/list?signature=java.util.ConcurrentModificationException%3A+at+java.util.ArrayList%24ArrayListIterator.next%28ArrayList.java%29
BrowserApp.onTabsLayoutChange() must be calling mMainLayoutAnimator.stop() while a TimerTask background thread is simultaneously executing mMainLayoutAnimator.run(). The only reason BrowserApp retains the mMainLayoutAnimator reference is to call stop(). Is stopping the PropertyAnimator necessary? If so, then PropertyManager.mElementsList should probably be a CopyOnWriteArrayList instead of an ArrayList.
Priority: -- → P3
Version: Firefox 15 → Firefox 16
I just hit this on Nightly (02/07) for Android idling my device (Nexus 4, 4.4.2) on https://mobile.twitter.com/search/?q=mozilla
I woke up and unlocked my phone to find the crash reporter staring me in the face. Apparently this crash signature was what I had crashed on.
Had a few of these crashes in the last couple of days. I'll be doing something totally unrelated and get a crash screen pop up out of nowhere.
(In reply to Paul [sabret00the] from comment #4) > Had a few of these crashes in the last couple of days. I'll be doing > something totally unrelated and get a crash screen pop up out of nowhere. What's the stack trace?
(In reply to Lucas Rocha (:lucasr) from comment #5) > (In reply to Paul [sabret00the] from comment #4) > > Had a few of these crashes in the last couple of days. I'll be doing > > something totally unrelated and get a crash screen pop up out of nowhere. > > What's the stack trace? java.util.ConcurrentModificationException at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573) at org.mozilla.gecko.widget.ActivityChooserModel.access$600(ActivityChooserModel.java:104) at org.mozilla.gecko.widget.ActivityChooserModel$DataModelPackageMonitor.onReceive(ActivityChooserModel.java:1218) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:768) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5081) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
This is a dup of bug 969743 then.
(In reply to Lucas Rocha (:lucasr) from comment #7) > This is a dup of bug 969743 then. I just followed the link from about:crashes, but I'm happy for you to dupe this across considering bug 969743 has a patch in there already.
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.