Closed
Bug 715836
Opened 13 years ago
Closed 13 years ago
android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Tracking
(firefox11 fixed, firefox12 fixed, fennec11+)
RESOLVED
FIXED
Firefox 12
People
(Reporter: nhirata, Assigned: kats)
References
()
Details
(Keywords: regression)
Attachments
(3 files)
38.62 KB,
text/plain
|
Details | |
4.02 KB,
patch
|
pcwalton
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
1.59 KB,
patch
|
pcwalton
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
1. go to http://www.wechoosethemoon.org
2. look at logcat
Expected: no errors
Actual:
01-06 08:39:10.625: W/System.err(381): android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
01-06 08:39:10.636: W/System.err(381): at android.view.ViewRoot.checkThread(ViewRoot.java:2932)
Note:
1. It's not crashing, just an error
2. nexus s, 2.3.1; flash 11, 20120105
3. bug 703256 fixed the crash
Assignee | ||
Comment 1•13 years ago
|
||
Regression introduced in 58a278555680 (bug 710096). It shouldn't be hard to fix. I'm going to take some time to re-review the threading model of all the pan/zoom code though, there are definitely more bugs lurking there.
Assignee: nobody → bugmail.mozilla
Keywords: regression
Updated•13 years ago
|
tracking-firefox11:
--- → +
Priority: -- → P2
Updated•13 years ago
|
tracking-fennec: --- → 11+
tracking-firefox11:
+ → ---
Assignee | ||
Comment 2•13 years ago
|
||
Just in case somebody calls these in the future from the wrong thread.
Attachment #588177 -
Flags: review?(pwalton)
Assignee | ||
Comment 3•13 years ago
|
||
Attachment #588178 -
Flags: review?(pwalton)
Comment 4•13 years ago
|
||
Comment on attachment 588177 [details] [diff] [review]
(1/2) Remove unused functions that call repositionPluginViews
Review of attachment 588177 [details] [diff] [review]:
-----------------------------------------------------------------
Nice cleanup catch.
Attachment #588177 -
Flags: review?(pwalton) → review+
Comment 5•13 years ago
|
||
Comment on attachment 588178 [details] [diff] [review]
(2/2) Make sure repositionPluginViews is called on the UI thread
Review of attachment 588178 [details] [diff] [review]:
-----------------------------------------------------------------
r=me
Attachment #588178 -
Flags: review?(pwalton) → review+
Assignee | ||
Comment 6•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/317592537ff6
https://hg.mozilla.org/integration/mozilla-inbound/rev/157c86d30692
status-firefox11:
--- → affected
status-firefox12:
--- → affected
Comment 7•13 years ago
|
||
You can set the status-firefoxN and Target Milestone fields when landing on inbound; it saves some work for the inbound mergers.
Target Milestone: --- → Firefox 12
Comment 8•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/317592537ff6
https://hg.mozilla.org/mozilla-central/rev/157c86d30692
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•13 years ago
|
||
Comment on attachment 588177 [details] [diff] [review]
(1/2) Remove unused functions that call repositionPluginViews
[Approval Request Comment (for both patches)]
Regression caused by (bug #): bug 710096
User impact if declined: possible races and errors as UI things are accessed from a non-UI thread
Testing completed (on m-c, etc.): on m-c
Risk to taking this patch (and alternatives if risky): pretty low-risk; one patches removes dead code (errors will be caught by compiler) and the other patch moves a chunk of code to another thread
Attachment #588177 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•13 years ago
|
Attachment #588178 -
Flags: approval-mozilla-aurora?
Comment 10•13 years ago
|
||
Comment on attachment 588177 [details] [diff] [review]
(1/2) Remove unused functions that call repositionPluginViews
[Triage Comment]
Mobile only - approved for Aurora.
Attachment #588177 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•13 years ago
|
Attachment #588178 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 11•13 years ago
|
||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•