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

Issue 627137 link

Starred by 6 users

Issue metadata

Status: Verified
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug-Regression

Blocked on:
issue 610902



Sign in to add a comment

Browser crashes if you click on an extension's Details link

Project Member Reported by w...@chromium.org, Jul 11 2016

Issue description

Version: 53.0.2785.4 
OS: ChromeOS

What steps will reproduce the problem?
(1) Open chrome://extensions
(2) Pick the first extension (mine is something called "Android Bug Tool") and hit Details.

What is the expected output?

Expect to see details of the extension, e.g. manifest, etc.

What do you see instead?
Browser crashes (see 46b226b600000000 or c6db7e0200000000, though because of  issue 610902  they are not symbolized.

I filed a very similar-sounding bug against GMail recently ( issue 623275 ), so once we have crash stacks we should compare.
 

Comment 1 by w...@chromium.org, Jul 11 2016

Cc: mmand...@chromium.org ivanpe@chromium.org dgarr...@chromium.org

Comment 2 by w...@chromium.org, Jul 11 2016

Labels: Stability-Crash ReleaseBlock-Beta
Repros 100% reliably -> RB-Beta.

Still an issue in ChromeOS 54.0.2792.0 build, FWIW.

Comment 3 by w...@chromium.org, Jul 11 2016

ChromeOS 54.x crash-ID: 4346c10200000000 (sadly still no symbols).

Comment 4 by trapti@chromium.org, Jul 12 2016

Components: Enterprise
Status: Available (was: Untriaged)
Could repro this on Enrolled Device

M	ChromeOS	Chrome	ARC	Type	Channel
53	8530.10.0	53.0.2785.10	3026157	release	dev
Owner: warx@chromium.org
Status: Assigned (was: Available)

Comment 6 by trapti@chromium.org, Jul 12 2016

Cc: dchan@chromium.org krishna...@chromium.org scunning...@chromium.org

Comment 7 by trapti@chromium.org, Jul 12 2016

Cc: xiy...@chromium.org

Comment 8 by trapti@chromium.org, Jul 12 2016

Paine Devices crash id and chrome://version are attached
Screenshot 2016-07-12 at 4.25.13 PM.png
137 KB View Download

Comment 9 by trapti@chromium.org, Jul 12 2016

Screenshot 2016-07-12 at 4.25.04 PM.png
91.5 KB View Download
Cc: dhadd...@chromium.org sdantul...@chromium.org abodenha@chromium.org
Components: Platform>Extensions
Cc: khmel@chromium.org
+khmel

Think this is the crash:

[17504:17504:0713/084511:FATAL:arc_auth_service.cc(637)] Check failed: profile_. 
#0 0x7f1c1927ae3e base::debug::StackTrace::StackTrace()
#1 0x7f1c192d307c logging::LogMessage::~LogMessage()
#2 0x7f1c1c9d004d arc::ArcAuthService::IsArcEnabled()
#3 0x7f1c1c112271 AppInfoDialog::AppInfoDialog()
#4 0x7f1c1c111c46 ShowAppInfoInNativeDialog()
#5 0x7f1c1d260037 extensions::ShowPermissionsDialogHelper::Show()
#6 0x7f1c1d23bee9 extensions::api::DeveloperPrivateShowPermissionsDialogFunction::Run()


Happens on non arc enabled devices, where --enable-arc is not present and ArcAuthService does not have a proper |profile_|.

Comment 13 by khmel@chromium.org, Jul 13 2016

Proper check should be arc_auth_service->IsAllowed() && arc_auth_service->IsArcEnabled()

Comment 14 by khmel@chromium.org, Jul 13 2016

Owner: khmel@chromium.org
Status: Started (was: Assigned)
I will fix this, found one more place with danger usage.

Comment 15 by warx@chromium.org, Jul 13 2016

Cc: warx@chromium.org

Comment 16 by w...@chromium.org, Jul 16 2016

Would it make sense to have IsArcEnabled require IsAllowed, rather than patching up lots of call sites?  It seems that if it's not "allowed" then it really isn't "enabled".

Comment 17 by khmel@chromium.org, Jul 18 2016

Yes, it is done in CL: https://codereview.chromium.org/2149853004/
Cc: trapti@chromium.org

Comment 19 by khmel@chromium.org, Jul 19 2016

Status: Fixed (was: Started)
Project Member

Comment 20 by bugdroid1@chromium.org, Jul 19 2016

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

commit 4b937b462197e87d4ac0c44c0275b7a5350963c0
Author: khmel <khmel@chromium.org>
Date: Tue Jul 19 17:58:33 2016

arc: Implement safe access to ArcAuthService.

TEST=Extended browser_tests
TEST=Manually on device with Arc enabled/disabled.
BUG= 627137 

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

[modify] https://crrev.com/4b937b462197e87d4ac0c44c0275b7a5350963c0/chrome/browser/chromeos/arc/arc_auth_service.cc
[modify] https://crrev.com/4b937b462197e87d4ac0c44c0275b7a5350963c0/chrome/browser/chromeos/arc/arc_auth_service.h
[modify] https://crrev.com/4b937b462197e87d4ac0c44c0275b7a5350963c0/chrome/browser/chromeos/arc/arc_auth_service_unittest.cc
[modify] https://crrev.com/4b937b462197e87d4ac0c44c0275b7a5350963c0/chrome/browser/chromeos/arc/arc_support_host.cc
[modify] https://crrev.com/4b937b462197e87d4ac0c44c0275b7a5350963c0/chrome/browser/chromeos/arc/arc_support_host.h
[modify] https://crrev.com/4b937b462197e87d4ac0c44c0275b7a5350963c0/chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc
[modify] https://crrev.com/4b937b462197e87d4ac0c44c0275b7a5350963c0/chrome/browser/chromeos/login/users/fake_chrome_user_manager.h
[modify] https://crrev.com/4b937b462197e87d4ac0c44c0275b7a5350963c0/chrome/browser/extensions/api/feedback_private/feedback_private_api.cc
[modify] https://crrev.com/4b937b462197e87d4ac0c44c0275b7a5350963c0/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc
[modify] https://crrev.com/4b937b462197e87d4ac0c44c0275b7a5350963c0/components/user_manager/user_manager_base.cc

Comment 21 by trapti@google.com, Jul 29 2016

Do not see fix in the latest available build.Is it not yet merged?

M	ChromeOS	Chrome	ARC	Type	Channel
53	8530.35.0	53.0.2785.36	3102164	release	beta
Labels: Merge-Request-53

Comment 23 by dimu@chromium.org, Jul 29 2016

Labels: -Merge-Request-53 Merge-Approved-53 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M53 (branch: 2785)

Comment 24 by trapti@google.com, Jul 29 2016

Cc: sdurais...@google.com
Status: Assigned (was: Fixed)
Keeping the bug opened as the merging is in progress.
Project Member

Comment 26 by bugdroid1@chromium.org, Aug 1 2016

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

commit b2ae94d69130233a271a36971b7a27f0f6ae8d08
Author: Luis Hector Chavez <lhchavez@google.com>
Date: Mon Aug 01 15:36:39 2016

[Merge to M53] arc: Implement safe access to ArcAuthService.

TEST=Extended browser_tests
TEST=Manually on device with Arc enabled/disabled.
BUG= 627137 

Review-Url: https://codereview.chromium.org/2149853004
Cr-Commit-Position: refs/heads/master@{#406307}
(cherry picked from commit 4b937b462197e87d4ac0c44c0275b7a5350963c0)

R=afakhry@chromium.org, xiyuan@chromium.org

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

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

[modify] https://crrev.com/b2ae94d69130233a271a36971b7a27f0f6ae8d08/chrome/browser/chromeos/arc/arc_auth_service.cc
[modify] https://crrev.com/b2ae94d69130233a271a36971b7a27f0f6ae8d08/chrome/browser/chromeos/arc/arc_auth_service.h
[modify] https://crrev.com/b2ae94d69130233a271a36971b7a27f0f6ae8d08/chrome/browser/chromeos/arc/arc_auth_service_unittest.cc
[modify] https://crrev.com/b2ae94d69130233a271a36971b7a27f0f6ae8d08/chrome/browser/chromeos/arc/arc_support_host.cc
[modify] https://crrev.com/b2ae94d69130233a271a36971b7a27f0f6ae8d08/chrome/browser/chromeos/arc/arc_support_host.h
[modify] https://crrev.com/b2ae94d69130233a271a36971b7a27f0f6ae8d08/chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc
[modify] https://crrev.com/b2ae94d69130233a271a36971b7a27f0f6ae8d08/chrome/browser/chromeos/login/users/fake_chrome_user_manager.h
[modify] https://crrev.com/b2ae94d69130233a271a36971b7a27f0f6ae8d08/chrome/browser/extensions/api/feedback_private/feedback_private_api.cc
[modify] https://crrev.com/b2ae94d69130233a271a36971b7a27f0f6ae8d08/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc
[modify] https://crrev.com/b2ae94d69130233a271a36971b7a27f0f6ae8d08/components/user_manager/user_manager_base.cc

Cc: -scunning...@chromium.org
Status: Fixed (was: Assigned)
Fixed checked in to 53.0.2785.42. Marking this Fixed, to be verified in M53.
Status: Verified (was: Fixed)
Working in M53,Enguarde device.No crashes observed.


M	ChromeOS	Chrome	ARC	Type	Channel
53	8530.43.0	53.0.2785.47	3117197	release	beta

Comment 29 by khmel@chromium.org, Aug 12 2016

 Issue 635230  has been merged into this issue.

Sign in to add a comment