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

Issue 490033003: Fixes three crashes (Closed)

Created:
6 years, 4 months ago by oshima
Modified:
6 years, 4 months ago
Reviewers:
flackr, Jun Mukai
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

Fixes three crashes * AppListViewDelegate was accessing deleted search_provider. * DeviceSocketListener::StopListening can happen after DeviceSocketManager is deleted * Explicitly delete FilePathWatcher. This was causing recursive callback to FilePathWatcherImpl::Cancel from FilePathWatcherImpl::CancelOnMessageLoopThread, which caused crash. Clean ups * change OnIO to OnFILE as they run on FILE thread. * removed unused singleton related code. BUG=None TEST=Run athena_main on desktop and close window. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291214 R=flackr@chromium.org, mukai@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291423

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : Add file thread #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -66 lines) Patch
M athena/home/home_card_impl.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M athena/main/athena_launcher.h View 1 2 3 4 5 2 chunks +8 lines, -1 line 0 comments Download
M athena/main/athena_launcher.cc View 1 2 3 4 5 3 chunks +3 lines, -5 lines 0 comments Download
M athena/main/athena_main.cc View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M athena/system/device_socket_listener.h View 1 chunk +2 lines, -2 lines 0 comments Download
M athena/system/device_socket_listener.cc View 1 10 chunks +56 lines, -33 lines 0 comments Download
M athena/system/orientation_controller.h View 1 2 3 4 2 chunks +16 lines, -5 lines 0 comments Download
M athena/system/orientation_controller.cc View 1 2 3 4 3 chunks +29 lines, -12 lines 0 comments Download
M athena/system/system_ui_impl.cc View 1 2 2 chunks +8 lines, -6 lines 0 comments Download
M athena/test/athena_test_helper.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M athena/test/athena_test_helper.cc View 1 2 3 4 5 3 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
oshima
mukai -> athena/home flackr -> the rest https://codereview.chromium.org/490033003/diff/40001/athena/system/device_socket_listener.cc File athena/system/device_socket_listener.cc (right): https://codereview.chromium.org/490033003/diff/40001/athena/system/device_socket_listener.cc#newcode173 athena/system/device_socket_listener.cc:173: base::Unretained(this), let ...
6 years, 4 months ago (2014-08-21 01:32:42 UTC) #1
flackr
https://codereview.chromium.org/490033003/diff/60001/athena/system/orientation_controller.cc File athena/system/orientation_controller.cc (right): https://codereview.chromium.org/490033003/diff/60001/athena/system/orientation_controller.cc#newcode76 athena/system/orientation_controller.cc:76: void OrientationController::StopWatchingSocketPath() { This doesn't just stop watching for ...
6 years, 4 months ago (2014-08-21 03:24:55 UTC) #2
Jun Mukai
athena/home lgtm
6 years, 4 months ago (2014-08-21 04:18:41 UTC) #3
oshima
https://codereview.chromium.org/490033003/diff/60001/athena/system/orientation_controller.cc File athena/system/orientation_controller.cc (right): https://codereview.chromium.org/490033003/diff/60001/athena/system/orientation_controller.cc#newcode76 athena/system/orientation_controller.cc:76: void OrientationController::StopWatchingSocketPath() { On 2014/08/21 03:24:55, flackr wrote: > ...
6 years, 4 months ago (2014-08-21 15:03:41 UTC) #4
flackr
lgtm https://codereview.chromium.org/490033003/diff/120001/athena/system/orientation_controller.cc File athena/system/orientation_controller.cc (right): https://codereview.chromium.org/490033003/diff/120001/athena/system/orientation_controller.cc#newcode108 athena/system/orientation_controller.cc:108: if (error || shutdown_) Not sure this check ...
6 years, 4 months ago (2014-08-21 15:07:22 UTC) #5
oshima
https://codereview.chromium.org/490033003/diff/120001/athena/system/orientation_controller.cc File athena/system/orientation_controller.cc (right): https://codereview.chromium.org/490033003/diff/120001/athena/system/orientation_controller.cc#newcode108 athena/system/orientation_controller.cc:108: if (error || shutdown_) On 2014/08/21 15:07:22, flackr wrote: ...
6 years, 4 months ago (2014-08-21 16:41:00 UTC) #6
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 4 months ago (2014-08-21 16:41:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/490033003/120001
6 years, 4 months ago (2014-08-21 16:43:01 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-21 19:44:35 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (120001) as 291214
6 years, 4 months ago (2014-08-21 22:12:07 UTC) #10
oshima
rob, there is a leak because there was no FILE thread on unit tests :) ...
6 years, 4 months ago (2014-08-22 14:57:35 UTC) #11
oshima
6 years, 4 months ago (2014-08-22 16:13:31 UTC) #12
Message was sent while issue was closed.
Committed patchset #6 manually as 291423 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698