New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 729574 link

Starred by 6 users

Issue metadata

Status: WontFix
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression


Show other hotlists

Hotlists containing this issue:
Chromebook-Kiosk-app


Sign in to add a comment

Kiosk app fails to fully launch

Reported by jonathan...@pearson.com, Jun 5 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Platform: 9334.72.0 (Official Build) stable-channel daisy

Steps to reproduce the problem:
1. Launch TestNav as Kiosk Application.
2. TestNav will "hang" and not launch successfully, remaining at the "TestNav" screen and not load to the login page.
3. Issue persists after powering the device off and powering back on again, launching TestNav as a Kiosk Application.

What is the expected behavior?
Launching TestNav will initialize, then connect to the last used customer page, the "tn8StartPage," and present the user with their login page.

What went wrong?
TestNav initializes a network connection, changes to a full-screen splash page with the "TestNav" logo, and then does not proceed to the login page. Hitting Ctrl + Shift + Z when the app is "stuck" will force a purge of the cached login page, and force the app to reconnect to the home.testnav.com selection page. From there, the state or program needed can be selected and the user can log in as expected.

WebStore page: TestNav (mdmkkicfmmkgmpkmkdikhlbggogpicma)

Did this work before? Yes Issue 649348 reported this same issue on ChromeOS 53.0.2785.116

Chrome version: 58.0.3029.140  Channel: stable
OS Version: 58.0.3029.140
Flash Version: 25.0.0.171

Issue 649348 appears to be the same issue. 
I have an affected device in my position.
I have attached TestNav application log files from a normal startup, frozen startup, and using Ctrl + Shift + Z key combo to clear the cache.
I have a video of the behavior as well, but it will not attach as it is larger than the 10.0 MB limit.
 
TestNav Frozen Screen.log
1.4 KB View Download
Normal TestNav Startup.log
5.1 KB View Download
CtrlShiftZ Clear Cache Return Home.log
2.0 KB View Download
CtrlShiftZ Clear Cache MN Login to Pull Log Files from TestNav.log
5.1 KB View Download

Comment 1 by jayhlee@google.com, Jun 5 2017

This does not appear to be the same as issue 649348. That issue is a halt at the Chrome OS kiosk app startup screen (CTRL+ALT+S still displaying). With this issue, the fullscreen TestNav splash is showing which indicates the kiosk app has launched and is running.

The attached log files don't seem to be Chrome OS logs. Can you pull the Chrome OS logs by reproducing the issue (and noting the time of repro) then exiting the app or restarting and logging in as a real user and guest then going to:

chrome://net-internals#chromeos

then click "Store debug logs" and upload the file saved. Please also attach the video reproduction. If these files are >10mb, save them to Google Drive or another file sharing app and place the link in your comment here.

Comment 2 by jayhlee@google.com, Jun 5 2017

Attempted to reproduce the issue on a Samsung Series 3 Chromebook (XE303, Daisy) and was not able. TestNav app launched list of states page.

Are there additional steps necessary to repro?
logs from chrome://net-internals#chromeos
TestNav launched, and was stuck on the "TestNav" screen at 11:03.

Google Drive Links to Videos:
Video showing Chromebook with issue
https://drive.google.com/open?id=0BxpzVu8CM4KrNkV0WmFTWFB0WXM
Video showing Chromebook with issue next to a device working as expected
https://drive.google.com/open?id=0BxpzVu8CM4KreDRxeVp4XzNOb2c
debug-logs_20170605-110459.tgz
1.8 MB Download
Cc: jayhlee@chromium.org maxkirsch@chromium.org royans@chromium.org cyrusm@chromium.org
Shared with Max Kirsch
any updates on this yet?
Is there any additional information we can provide to help shed some light on this situation?

We have not been able to identify what causes the Chromebooks to get caught in this loop of the Kiosk Application failing to fully launch, but when this happens on a device, it will happen after every power cycle of that device. Powerwashing the device seems to correct the issue, but we don't know for a fact that the behavior will not repeat in the future.

We have a single device that this is suffering from this problem, but we have had multiple reports of this happening across multiple makes of Chromebooks (Samsung, Asus, HP, Dell). We will refrain from Powerwashing this device, as we have not been able to reproduce this behavior to the point where we can force scenarios that will cause a device to get stuck in this loop.

We are still working on our end to attempt to determine a root cause, but have been unsuccessful so far.

Any additional assistance would be greatly appreciated.
Cc: atwilson@chromium.org
Owner: atwilson@chromium.org
atwilson@, do you know who could help debug this? Think it has any relation to crbug.com/678829?
I think I may have fixed this issue in our environment.  Within the Google Admin Console:
Device Management - Chrome - Device Settings - User Data
Set to "Do not erase all local user data"

Not sure why this works as the kiosk app is launched prior to any user sign in.  I assume that when this setting is set to delete, the app must download every time the device starts up, which would explain why the hang times have been unpredictable and vary depending on the wireless network the device is attached to.
it sounds like the problem is "first time kiosk launch/initialization is flaky" (since ephemeral mode is forcing app download/config every time).

I don't know what's causing *that* flakiness, but I've refreshed crbug.com/362593 to make kiosk apps ignore ephemeral mode policy.
Cc: isandrk@chromium.org emaxx@chromium.org
Ivan/Maksim - note logs in comment #3 - do you see anything suspicious in there explaining why the app might have not loaded?

Comment 12 by emaxx@chromium.org, Aug 17 2017

I haven't found anything helpful in the logs.
However, when I tried to run the given app in the Kiosk mode with chrome Debug, the app's NaCl module is crashing leading the app to freeze exactly at the "TestNav" screen:

[0817/151446.103410:FATAL:ref_counted.h(95)] Check failed: CalledOnValidSequence(). 
** abort() called
** Signal 4 from untrusted code: pc=40f50ffba1e0
[9201:9235:0817/171446.107819:ERROR:nacl_process_host.cc(256)] NaCl process exited with status 64512 (0xfc00)
[9201:9201:0817/171446.126757:INFO:CONSOLE(0)] "NativeClient: NaCl module crashed", source: chrome-extension://mdmkkicfmmkgmpkmkdikhlbggogpicma/window.html (0)

Not saying that it's necessarily related - it could be the Debug build that is just broken.

But it may be that the DCHECK being false highlights some underlying problem in the Native Client, which leads to some incorrect behavior in the Release mode under some circumstances.
The DCHECK that is hit is about threading assumptions violation, which could explain why the issue is hard to reproduce.
This is no longer an issue. This defect can be closed. 
Status: WontFix (was: Unconfirmed)

Sign in to add a comment