New issue
Advanced search Search tips

Issue 620091 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Jul 2016
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

all ARC welder created apps stopped working in latest chromeos update

Reported by mhant...@gmail.com, Jun 14 2016

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS x86_64 8172.47.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36
Platform: 8172.47.0 (Official Build) stable-channel link

Steps to reproduce the problem:
1. have ARC welder created apps installed
2. receive latest chrome os update
3. all ARC welder apps open to an empty (white) screen anymore

What is the expected behavior?
the ARC welder apps should open normally and display their main screen

What went wrong?
dunno, I just received the cros update through the regular automatic updates

Did this work before? Yes previous stable build, but don't know the number

Chrome version: 51.0.2704.79  Channel: stable
OS Version: 8172.47.0
Flash Version: Shockwave Flash 21.0 r0

this happened with all my ARC welder converted Android apps, even those I installed through the Chrome store (f.x. AquaMail) and also some that I converted myself
 

Comment 1 by uekawa@chromium.org, Jun 20 2016

Components: Platform>ARC

Comment 2 by mhant...@gmail.com, Jun 23 2016

After rolling back to the previous stable Chrome OS 50, all ARC welder apps started working again.

Updated again to OS 51, and they all stopped working.

It made no difference if the apps had been installed from the Chrome store (for example, AquaMail, or VLC) or if I had converted them myself using ARC welder or ARChon packager. Must be something preventing ARC from working correctly.


Comment 3 by mhant...@gmail.com, Jun 23 2016

I tried to capture something from the Console but all I see is:

filesystem.js:97 File system is initialized.
plugin.js:639 ARC JS Init: 80.148ms
plugin.js:648 Compositor is enabled
plugin.js:336 Plugin not ready
    $jscomp.scope.Plugin.postMessage @ plugin.js:336
    $jscomp.scope.Plugin.computeLayout_ @ plugin.js:1105
    $jscomp.scope.Plugin.doLayout_ @ plugin.js:991
    $jscomp.scope.Plugin.initializeWindow_ @ plugin.js:361
    (anonymous function) @ plugin.js:295
filesystem.js:227 ARC HTML5 FS: prefetchExtraFileMetadata_: 181.456ms

Sorry for the formatting, can't take a screenshot of the dev console and the text copy/paste messes up the formatting.

As for what you see in the actual app: the main window opens but remains white with only the app icon in the center.

When I minimize/restore/maximize the app window, the dev console only logs "Plugin not ready".

Owner: elijahtaylor@chromium.org
Status: Assigned (was: Unconfirmed)
It may be the case that the ARC runtime is disabled somehow in the update.  Check chrome://extensions in developer mode to see if this is the case.  If so, a possible workaround is to uninstall all ARC apps (including ARC Welder) and install again.

I'm looking at a fix for this.

Comment 5 by cdel...@gmail.com, Jul 8 2016

My machine shows the ARC extension as enabled. I powerwashed my machine and the problem still persisted. Reinstalling doesn't seem to help.
hmm, this is not what I expected the error would be.  Can you inspect the background page as well?  The console you pasted so far is only the app window context.  See chrome://extensions and find your app, the context with "app_main" is the background context.  Anything interesting in that console?
since you've already powerwashed your machine, another thing to try temporarily is if moving to beta (M52) or dev (M53) makes the problem go away. 
Project Member

Comment 8 by bugdroid1@chromium.org, Jul 9 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/49c09c5cdf77a9f8380ce78b0e450006e22110f6

commit 49c09c5cdf77a9f8380ce78b0e450006e22110f6
Author: elijahtaylor <elijahtaylor@chromium.org>
Date: Sat Jul 09 01:06:22 2016

Make sure Shared Modules cannot be disabled

BUG= 601310 , 620091 
TEST=ExtensionServiceTest.CannotDisableSharedModules
TEST=manually disable shared module in preferences, start chrome and observe
     shared module is enabled on restart

Review-Url: https://codereview.chromium.org/2131173003
Cr-Commit-Position: refs/heads/master@{#404554}

[modify] https://crrev.com/49c09c5cdf77a9f8380ce78b0e450006e22110f6/chrome/browser/extensions/extension_service.cc
[modify] https://crrev.com/49c09c5cdf77a9f8380ce78b0e450006e22110f6/chrome/browser/extensions/extension_service_unittest.cc

Project Member

Comment 9 by bugdroid1@chromium.org, Jul 11 2016

Labels: merge-merged-2785
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/01925b7fc8a584580e564f8ad2c2f96a2e96441e

commit 01925b7fc8a584580e564f8ad2c2f96a2e96441e
Author: Elijah Taylor <elijahtaylor@google.com>
Date: Mon Jul 11 19:31:54 2016

Make sure Shared Modules cannot be disabled

BUG= 601310 , 620091 
TEST=ExtensionServiceTest.CannotDisableSharedModules
TEST=manually disable shared module in preferences, start chrome and observe
     shared module is enabled on restart

Review-Url: https://codereview.chromium.org/2131173003
Cr-Commit-Position: refs/heads/master@{#404554}
(cherry picked from commit 49c09c5cdf77a9f8380ce78b0e450006e22110f6)

Review URL: https://codereview.chromium.org/2136173002 .

Cr-Commit-Position: refs/branch-heads/2785@{#89}
Cr-Branched-From: 68623971be0cfc492a2cb0427d7f478e7b214c24-refs/heads/master@{#403382}

[modify] https://crrev.com/01925b7fc8a584580e564f8ad2c2f96a2e96441e/chrome/browser/extensions/extension_service.cc
[modify] https://crrev.com/01925b7fc8a584580e564f8ad2c2f96a2e96441e/chrome/browser/extensions/extension_service_unittest.cc

Comment 10 by cdel...@gmail.com, Jul 13 2016

Note that I'm not the original submitter, just someone with what seemed the same symptoms.

I tried the dev channel as of 10am PT Jul 12 (sorry I didn't get the version). The new Google Play store feature worked fine for running android apps. I didn't try ARC Welder.

I also tried with the beta channel.
Version 52.0.2743.49 beta
Platform 8350.38.0 (Official Build) beta-channel veyron_minnie
Firmware Google_Veyron_Minnie.6588.197.0
The problem no longer occurred for me with that channel (using ARC Welder this time)

Comment 11 by cdel...@gmail.com, Jul 13 2016

The problem came back. Looks like there is a conflict between the "CKP - KeePass integration for Chrome" extension and ARC. When I disable this extension, the ARC apps work fine. If I re-enable it, they won't start. I'm not sure if the original submitter had this extension installed as well.

ARC and this extension were coexisting happily on my system prior to the OS update that submitter mentioned.
Status: Started (was: Assigned)
@cdelsey, that is an incredibly interesting finding.  I just reproduced it myself by installing that extension.  No idea what's going on right now, but I will dig in.
ok, found the root cause, and will have a workaround shortly.  The underlying issue is that modifying src and type attributes of embed tags is not safe to do while the element is attached to the document: issue 629926

Comment 14 by mhant...@gmail.com, Jul 24 2016

Guys, what an amazing find. I am the original poster but was out of the country for a few weeks, so could only follow up now.

Yes, same here: when I remove "CKP - KeePass Integration for Chrome" then my ARC apps work again. Wow!

Looking forward to a full fix, but this helps me already. I can live without CKP for now. Thank you so much!

Status: Fixed (was: Started)
The fix has been made to ARC and we'll be pushing it out this week if testing goes ok.
Labels: VerifyIn-54
Labels: VerifyIn-55
Status: Verified (was: Fixed)
closing 

Sign in to add a comment