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

Issue 2615743002: cros: Fix clusterfuzz crash when spawning app list very early in startup (Closed)

Created:
3 years, 11 months ago by James Cook
Modified:
3 years, 11 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Fix clusterfuzz crash when spawning app list very early in startup The app list relies on the shelf being created for positioning. If a test injects a search-key-press event as the very first event processed by the message loop then the app list code that relies on the shelf may crash. It's theoretically possible a user could hit the search key after login but before the window manager has created the shelf. Don't rely on the existance of the shelf app list button to init the app list. BUG=676843 TEST=none Review-Url: https://codereview.chromium.org/2615743002 Cr-Commit-Position: refs/heads/master@{#441673} Committed: https://chromium.googlesource.com/chromium/src/+/64a56f0578be10ab62cdb66cbbbf62d5f306b489

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase, alternate fix #

Patch Set 3 : cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -21 lines) Patch
M ash/app_list/app_list_presenter_delegate.cc View 1 2 7 chunks +21 lines, -21 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
James Cook
msw, please take a look. This isn't a great fix, but I doubt this crash ...
3 years, 11 months ago (2017-01-04 23:08:02 UTC) #4
James Cook
On 2017/01/04 23:08:02, James Cook wrote: > msw, please take a look. This isn't a ...
3 years, 11 months ago (2017-01-04 23:18:35 UTC) #5
msw
lgtm as a crash workaround, but yeah, this isn't the optimal fix. https://codereview.chromium.org/2615743002/diff/1/ash/common/accelerators/accelerator_controller.cc File ash/common/accelerators/accelerator_controller.cc ...
3 years, 11 months ago (2017-01-05 00:41:34 UTC) #8
James Cook
msw, please take a look at this alternate fix. AppListPresenterDelegate continues to have shelf dependencies ...
3 years, 11 months ago (2017-01-05 03:50:29 UTC) #12
msw
lgtm
3 years, 11 months ago (2017-01-05 15:43:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2615743002/40001
3 years, 11 months ago (2017-01-05 16:33:10 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-05 16:40:09 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/64a56f0578be10ab62cdb66cbbbf...

Powered by Google App Engine
This is Rietveld 408576698