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

Issue 602918 link

Starred by 13 users

Issue metadata

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



Sign in to add a comment

segmentation fault after clicking items in context menu

Project Member Reported by yiyix@chromium.org, Apr 13 2016

Issue description

<b>Version: <Kenneth, what is the frequency?></b>
<b>OS: <please tell me it's not XP></b>

What steps will reproduce the problem?
(1)Build the system to chrome os
(2)open chrome os. Open chrome. right click chrome icon in the shelf.
(3)choose "autohide shelf" item, I get segmentation fault and application crashes.

What is the expected output?
No crashes after clicking on any items from context menu

What do you see instead?
segmentation fault

Please use labels and text to provide additional information.
When I choose autohide shelf, it tries to execute ExtensionLauncherContextMenu::ExecuteCommand, and command autohide shelf is not defined. 


 

Comment 1 by varkha@chromium.org, Apr 13 2016

Blocking: -536987
Components: UI>Shell>Shelf
Labels: -Pri-3 ReleaseBlock-Stable M-51 Pri-1
Pri-1, based on likely recency. Cannot see it on device with 51.0.2699.0. Can see it in ToT 52.0.2707.0. Assuming this will need to get fixed in M-51, correct if this is wrong.
Project Member

Comment 2 by bugdroid1@chromium.org, Apr 13 2016

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

commit 6ebd2ffdf5c5973d95632e25e544cde378828bda
Author: lgcheng <lgcheng@google.com>
Date: Wed Apr 13 17:18:12 2016

Fix segment fault issue bring by last cl https://codereview.chromium.org/1857213004/
Fix segment fault issue related to launcher context menu.

BUG=  602918 

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

Cr-Commit-Position: refs/heads/master@{#387013}

[modify] https://crrev.com/6ebd2ffdf5c5973d95632e25e544cde378828bda/chrome/browser/ui/ash/launcher/launcher_context_menu.cc

Comment 3 by lgcheng@google.com, Apr 13 2016

Status: Fixed (was: Assigned)

Comment 4 by varkha@chromium.org, Apr 13 2016

This will need to be patched in M-51 branch, correct?

Comment 5 by lgcheng@google.com, Apr 13 2016

Yes, I think so. Otherwise chrome crashed after clicking launcher context menu item.

Comment 6 by varkha@chromium.org, Apr 13 2016

#5, right. I think the fix is quite straightforward so I would request a merge. You may need to wait to see it verified on the next canary before actually merging.

Comment 7 by varkha@chromium.org, Apr 14 2016

Looks fixed on ToT, can now see it on samus in Dev (51.0.2704.0). Crash ID 8f2f0fc400000000.

Comment 8 by lgcheng@google.com, Apr 14 2016

Cc: bhthompson@chromium.org pucchakayala@chromium.org dhadd...@chromium.org josa...@chromium.org khmel@chromium.org
 Issue 603282  has been merged into this issue.

Comment 9 by lgcheng@google.com, Apr 14 2016

Cc: abodenha@chromium.org abod...@chromium.org rookrishna@chromium.org
 Issue 602791  has been merged into this issue.

Comment 10 by lgcheng@google.com, Apr 18 2016

Issue 604139 has been merged into this issue.
Should this be merged to M51?

Comment 12 by lgcheng@google.com, Apr 27 2016

Yes, I think so. Do I need to request for merge anywhere?
Labels: Merge-Approved-51
Here should do the trick, consider it approved merge at your leisure.
Project Member

Comment 14 by sheriffbot@chromium.org, May 1 2016

This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 15 by sheriffbot@chromium.org, May 4 2016

This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Assigned (was: Fixed)
Reopening the bug, did some form of this ever get merged to R51?
How should I merge it to R51? Is there any instructions? Thanks
You should be able to use Drover (go/drover). 
Project Member

Comment 19 by bugdroid1@chromium.org, May 4 2016

Labels: -merge-approved-51 merge-merged-2704
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/99e16b550ddbbf0874c5a9e25b0c1f55fe8c5af4

commit 99e16b550ddbbf0874c5a9e25b0c1f55fe8c5af4
Author: Yusuke Sato <yusukes@google.com>
Date: Wed May 04 19:27:35 2016

Fix segment fault issue bring by last cl https://codereview.chromium.org/1857213004/

Fix segment fault issue related to launcher context menu.

BUG=  602918 

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

Cr-Commit-Position: refs/heads/master@{#387013}
(cherry picked from commit 6ebd2ffdf5c5973d95632e25e544cde378828bda)

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

Cr-Commit-Position: refs/branch-heads/2704@{#376}
Cr-Branched-From: 6e53600def8f60d8c632fadc70d7c1939ccea347-refs/heads/master@{#386251}

[modify] https://crrev.com/99e16b550ddbbf0874c5a9e25b0c1f55fe8c5af4/chrome/browser/ui/ash/launcher/launcher_context_menu.cc

Status: Fixed (was: Assigned)
Merged to M51 on behalf of Long :)
Issue 607600 has been merged into this issue.
 Issue 604125  has been merged into this issue.
Status: Verified (was: Fixed)
Verified on ChromeOS (8297.0.0, 52.0.2727.0) and (8172.25.0, 51.0.2704.37)

Sign in to add a comment