Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Issue 11787031: Fix hang in Android WebView release build tests (Closed)

Created:
7 years, 11 months ago by boliu
Modified:
7 years, 11 months ago
Reviewers:
joth, no sievers
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org
Visibility:
Public.

Description

Fix hang in Android WebView release build tests SurfaceTexture.detachFromGLContext is not present in ICS and the old workaround of using a NullCompositor lead to the test creating TextureImageTransportSurface in ImageTransportSurface::CreateSurface. This path is wrong and not well tested in single-process mode and recently lead to a deadlock hang in release build only tests (see bug). Fixed by creating the real compositor but just avoid calling the missing method in ICS. The Java method is loaded lazily so this does not cause an error at run time. BUG=167236, 161864 Android only change. Ran through Android trybots. NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175480

Patch Set 1 #

Patch Set 2 : Do not call AttachToGLContext in ICS either. #

Patch Set 3 : Factor out check and add LOG(WARNING) when fails. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -59 lines) Patch
M android_webview/browser/aw_browser_main_parts.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AndroidWebViewTestBase.java View 1 chunk +1 line, -2 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 2 chunks +3 lines, -46 lines 0 comments Download
M content/common/android/surface_texture_bridge.cc View 1 2 3 chunks +24 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
boliu
Unfortunately there are no release trybots yet, but this works for me locally.
7 years, 11 months ago (2013-01-07 23:01:34 UTC) #1
no sievers
On 2013/01/07 23:01:34, boliu wrote: > Unfortunately there are no release trybots yet, but this ...
7 years, 11 months ago (2013-01-07 23:28:27 UTC) #2
boliu
On 2013/01/07 23:28:27, Daniel Sievers wrote: > On 2013/01/07 23:01:34, boliu wrote: > > Unfortunately ...
7 years, 11 months ago (2013-01-07 23:35:44 UTC) #3
boliu
On 2013/01/07 23:35:44, boliu wrote: > On 2013/01/07 23:28:27, Daniel Sievers wrote: > > On ...
7 years, 11 months ago (2013-01-07 23:49:53 UTC) #4
no sievers
On 2013/01/07 23:49:53, boliu wrote: > On 2013/01/07 23:35:44, boliu wrote: > > On 2013/01/07 ...
7 years, 11 months ago (2013-01-08 00:35:12 UTC) #5
boliu
On 2013/01/08 00:35:12, Daniel Sievers wrote: > lgtm. should we print a warning once somewhere ...
7 years, 11 months ago (2013-01-08 00:45:35 UTC) #6
joth
Thanks for getting to the root of this Bo. On 2013/01/07 23:35:44, boliu wrote: > ...
7 years, 11 months ago (2013-01-08 01:54:57 UTC) #7
boliu
Where's the rubberstamp?
7 years, 11 months ago (2013-01-08 01:56:36 UTC) #8
joth
lgtm
7 years, 11 months ago (2013-01-08 02:10:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/11787031/9001
7 years, 11 months ago (2013-01-08 03:08:27 UTC) #10
commit-bot: I haz the power
7 years, 11 months ago (2013-01-08 03:08:56 UTC) #11
Message was sent while issue was closed.
Change committed as 175480

Powered by Google App Engine
This is Rietveld 408576698