Closed Bug 790180 Opened 13 years ago Closed 13 years ago

android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRootImpl.checkThread(ViewRootImpl.java) at android.widget.ListView.setSelectionFromTop(ListView.java)

Categories

(Firefox for Android Graveyard :: Theme and Visual Design, defect, P1)

15 Branch
ARM
Android
defect

Tracking

(firefox15+ affected, firefox16+ fixed, firefox17+ verified, firefox18+ verified)

VERIFIED FIXED
Firefox 18
Tracking Status
firefox15 + affected
firefox16 + fixed
firefox17 + verified
firefox18 + verified

People

(Reporter: scoobidiver, Assigned: cpeterson)

References

Details

(4 keywords, Whiteboard: [native-crash][STR in comment 4])

Crash Data

It's #2 top crasher in 15.0.1, #9 in 17.0a2 and #20 in 18.0a1. The stack trace is different from bug 771544 and bug 786312. It first appeared in 18.0a1/20120906, 17.0a2/20120606 and 15.0.1. The regression windows are: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=6705e131aeaa&tochange=0c4fa25f637b http://hg.mozilla.org/releases/mozilla-aurora/pushloghtml?fromchange=31341ab65f0c&tochange=c2cc63c864e4 http://hg.mozilla.org/releases/mozilla-release/pushloghtml?fromchange=d470654392d9&tochange=3011a47b3812 It's a regression from bug 769894. Here is a crash report: bp-c79418ad-e776-4894-bf4b-04eb52120911. android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:4267) at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:842) at android.view.View.requestLayout(View.java:12815) at android.view.View.requestLayout(View.java:12815) at android.widget.AbsListView.requestLayout(AbsListView.java:1809) at android.widget.ListView.setSelectionFromTop(ListView.java:1930) at android.widget.ListView.setSelection(ListView.java:1895) at android.widget.ListPopupWindow.setSelection(ListPopupWindow.java:673) at android.widget.Spinner$DropdownPopup.show(Spinner.java:778) at android.widget.ListPopupWindow$ResizePopupRunnable.run(ListPopupWindow.java:1240) at android.os.Handler.handleCallback(Handler.java:605) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at org.mozilla.gecko.GeckoBackgroundThread.run(GeckoBackgroundThread.java:31) More reports at: https://crash-stats.mozilla.com/report/list?signature=android.view.ViewRootImpl%24CalledFromWrongThreadException%3A+Only+the+original+thread+that+created+a+view+hierarchy+can+touch+its+views.+at+android.view.ViewRootImpl.checkThread%28ViewRootImpl.java%29
Assigning to Chris. Are we sure this is caused by bug 769894 as opposed to bug 788600? We'll keep an eye on the volume to make sure this isn't a significant new top crasher.
Assignee: nobody → cpeterson
(In reply to Alex Keybl [:akeybl] from comment #1) > Assigning to Chris. Are we sure this is caused by bug 769894 as opposed to > bug 788600? By fixing bug 788600, this bug and all dependencies of bug 769520 including crashes have been (re-)introduced.
(In reply to Alex Keybl [:akeybl] from comment #1) > Assigning to Chris. Are we sure this is caused by bug 769894 as opposed to > bug 788600? > > We'll keep an eye on the volume to make sure this isn't a significant new > top crasher. This bug is likely related to, not a regression, of bug 769894. The patch for bug 769894 was fixed *a* bug, but it was mostly speculation by Sriram and me that it was the exact stack trace in bug 769894. I don't think IME bug 788600 is related.
STR on Nightly (09/13) Install Phony, pull up the Phony menu and scroll through it. I hit this crash each and every single.
Keywords: reproducible
Whiteboard: [native-crash] → [native-crash][STR in comment 4]
Priority: -- → P1
Thanks, Aaron! With your STR, I can repro with Nightly 09-13.
I posted a patch on bug 786312 that should fix this bug.
Depends on: 786312
Assignee: cpeterson → nobody
Status: NEW → ASSIGNED
Component: General → Theme and Visual Design
Target Milestone: --- → Firefox 18
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
There are no crashes after 18.0a1/20120918 and 17.0a2/20120918.
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.