Closed Bug 717060 Opened 12 years ago Closed 12 years ago

If flash player is running in multiple tabs, Fennec will crash with no crash report

Categories

(Firefox for Android Graveyard :: General, defect)

12 Branch
ARM
Android
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 719872

People

(Reporter: nhirata, Assigned: blassey)

References

Details

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

Attachments

(3 files)

Attached file logcat
1. open a tab to www.cnn.com/video and play a video
2. open another tab to www.cnn.com/video and play a different video

Expected: only the front most video will play
Actual: fennec will crash

Note:
1. nexus S, Android 2.3.1, Flash 11, build 20120110
Relevant section of logcat:
01-10 14:54:29.664: I/GeckoJNI(974): void Java_org_mozilla_gecko_GeckoAppShell_executeNextRunnable(JNIEnv*, _jclass*)
01-10 14:54:29.714: I/GeckoJNI(974): leaving void Java_org_mozilla_gecko_GeckoAppShell_executeNextRunnable(JNIEnv*, _jclass*)
01-10 14:54:29.746: D/GeckoSoftwareLayerClient(974): Received viewport update from gecko
01-10 14:54:29.746: D/GeckoLayerController(974): setViewportMetrics: v=RectF(0.0, 0.0, 800.0, 379.0) p=(869.0,724.0) z=0.81632656 o=0.0,0.0
01-10 14:54:29.746: I/GeckoApp.PluginLayoutParams(974): Repositioning plugin by 0, 0, (81.63265%)
01-10 14:54:29.750: W/System.err(974): android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
01-10 14:54:29.753: W/System.err(974): 	at android.view.ViewRoot.checkThread(ViewRoot.java:2932)
01-10 14:54:29.753: W/System.err(974): 	at android.view.ViewRoot.requestLayout(ViewRoot.java:629)
01-10 14:54:29.753: W/System.err(974): 	at android.view.View.requestLayout(View.java:8267)
01-10 14:54:29.753: W/System.err(974): 	at android.view.View.requestLayout(View.java:8267)
01-10 14:54:29.753: W/System.err(974): 	at android.view.View.requestLayout(View.java:8267)
01-10 14:54:29.753: W/System.err(974): 	at android.view.View.requestLayout(View.java:8267)
01-10 14:54:29.753: W/System.err(974): 	at android.widget.RelativeLayout.requestLayout(RelativeLayout.java:257)
01-10 14:54:29.753: W/System.err(974): 	at android.view.View.requestLayout(View.java:8267)
01-10 14:54:29.753: W/System.err(974): 	at android.view.View.requestLayout(View.java:8267)
01-10 14:54:29.753: W/System.err(974): 	at android.view.View.setLayoutParams(View.java:5000)
01-10 14:54:29.753: W/System.err(974): 	at android.view.ViewGroup.updateViewLayout(ViewGroup.java:1884)
01-10 14:54:29.753: W/System.err(974): 	at org.mozilla.gecko.GeckoApp.repositionPluginViews(GeckoApp.java:1395)
01-10 14:54:29.753: W/System.err(974): 	at org.mozilla.gecko.gfx.LayerController.setViewportMetrics(LayerController.java:233)
01-10 14:54:29.753: W/System.err(974): 	at org.mozilla.gecko.gfx.GeckoSoftwareLayerClient.updateViewport(GeckoSoftwareLayerClient.java:207)
01-10 14:54:29.753: W/System.err(974): 	at org.mozilla.gecko.gfx.GeckoSoftwareLayerClient.endDrawing(GeckoSoftwareLayerClient.java:223)
01-10 14:54:29.753: W/System.err(974): 	at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method)
01-10 14:54:29.753: W/System.err(974): 	at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method)
01-10 14:54:29.753: W/System.err(974): 	at org.mozilla.gecko.GeckoAppShell.runGecko(GeckoAppShell.java:453)
01-10 14:54:29.753: W/System.err(974): 	at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:107)
Attached patch patchSplinter Review
Assignee: nobody → blassey.bugs
Attachment #589527 - Flags: review?(snorp)
Comment on attachment 589527 [details] [diff] [review]
patch

I don't like this because it spins off a runnable every time, regardless of whether or not we're already on the UI thread. I would rather fix whatever call site is using the wrong thread.
Attachment #589527 - Flags: review?(snorp) → review-
it looks like bug 712037 already fixed the call site. Finkle, can you confirm you were testing a build with out that patch?
Naoki, please retest with bug 712037 fixed
Attached file logcat
Nexus S Logcat from 2012-01-22 build
Bug 719872 is reporting the same skia crash.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Depends on: 712037
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: