Closed Bug 726395 Opened 12 years ago Closed 12 years ago

android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRoot.checkThread(ViewRoot.java) at android.text.method.Touch.scrollTo

Categories

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

12 Branch
ARM
Android
defect

Tracking

(firefox13 affected, blocking-fennec1.0 -)

RESOLVED WORKSFORME
Tracking Status
firefox13 --- affected
blocking-fennec1.0 --- -

People

(Reporter: nhirata, Unassigned)

Details

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

Crash Data

This bug was filed from the Socorro interface and is 
report bp-9dd8a5f2-2da1-43a6-8d75-e96922120209 .
============================================================= 
android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
	at android.view.ViewRoot.checkThread(ViewRoot.java:3165)
	at android.view.ViewRoot.invalidateChild(ViewRoot.java:690)
	at android.view.ViewRoot.invalidateChildInParent(ViewRoot.java:716)
	at android.view.ViewGroup.invalidateChild(ViewGroup.java:2628)
	at android.view.View.invalidate(View.java:5363)
	at android.view.View.scrollTo(View.java:5102)
	at android.text.method.Touch.scrollTo(Touch.java:72)
	at com.htc.textselection.AutoScroller.doAutoScroll(AutoScroller.java:109)
	at com.htc.textselection.AutoScroller.access$000(AutoScroller.java:15)
	at com.htc.textselection.AutoScroller$1.handleMessage(AutoScroller.java:36)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:150)
	at org.mozilla.gecko.GeckoApp$32.run(GeckoApp.java:1777)
	at android.os.Handler.handleCallback(Handler.java:587)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:150)
	at android.app.ActivityThread.main(ActivityThread.java:4385)
	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:849)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
	at dalvik.system.NativeStart.main(Native Method)

On build : 	20120209042012
on Model: 'HTC Desire S'

Different stack than from bug 715836 and bug 703256
OS: Linux → Android
Hardware: All → ARM
Whiteboard: [native-crash]
tracking-fennec: --- → ?
Not sure but this looks like the same issue with a different stack?

https://crash-stats.mozilla.com/report/index/bf86b1ca-0cb1-4142-8b63-9747b2120219
Build ID :20120218031156
android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
	at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method)
	at org.mozilla.gecko.GeckoAppShell.runGecko(GeckoAppShell.java:503)
	at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:104)
Crash Signature: [@ android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRoot.checkThread(ViewRoot.java)] → [@ android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRoot.checkThread(ViewRoot.java)] [@ android.view.ViewRoot$CalledFromWrongThreadException: Only the or…
Priority: -- → P1
tracking-fennec: ? → ---
Java crash; nom-ing for blocking fennec
blocking-fennec1.0: --- → ?
Not a top crash, not blocking. Still good to fix though.
blocking-fennec1.0: ? → -
Summary: crash [@ android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRoot.checkThread(ViewRoot.java) ] → android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRoot.checkThread(ViewRoot.java) at android.text.method.Touch.scrollTo
Closing this bug in favor of bug 746946.  Same crash, 746946 has STRs.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Although they share the same signature, the stack in this bug is different from the one in bug 746946.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
I think we can safely close this bug. This particular stack trace, from two months ago, has not reappeared in the last 28 days of Socorro crash reports.

Also, the crash looks like it's in com.htc.textselection code, not Gecko.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.