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

Issue 1571643003: Fix crash in device_forwarder (Closed)

Created:
4 years, 11 months ago by Xianzhu
Modified:
4 years, 11 months ago
Reviewers:
qinmin, jbudorick, Sami
CC:
chromium-reviews, klundberg+watch_chromium.org, mikecase+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash in device_forwarder There are many crashes in device_forwarder on bots, e.g. https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/5713/steps/stack_tool_for_tombstones/logs/stdio/text The original method was incorrect because ServiceDelegate::DeleteControllerOnInternalThread() may execute after ServiceDelegate::~ServiceDelegate(). Committed: https://crrev.com/91b8d5ad02d99b59cb17e100eb645b2fefb4eb7f Cr-Commit-Position: refs/heads/master@{#368466}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -13 lines) Patch
M tools/android/forwarder2/device_forwarder_main.cc View 1 chunk +3 lines, -13 lines 3 comments Download

Messages

Total messages: 23 (8 generated)
Xianzhu
4 years, 11 months ago (2016-01-08 19:30:45 UTC) #2
Xianzhu
4 years, 11 months ago (2016-01-08 21:35:32 UTC) #4
qinmin
lgtm
4 years, 11 months ago (2016-01-08 21:39:05 UTC) #5
jbudorick
fwiw, most of the "crashes" on the bots are when we kill the device_forwarder. https://codereview.chromium.org/1571643003/diff/1/tools/android/forwarder2/device_forwarder_main.cc ...
4 years, 11 months ago (2016-01-08 21:41:08 UTC) #8
jbudorick
fwiw, most of the "crashes" on the bots are when we kill the device_forwarder. https://codereview.chromium.org/1571643003/diff/1/tools/android/forwarder2/device_forwarder_main.cc ...
4 years, 11 months ago (2016-01-08 21:41:08 UTC) #9
Xianzhu
https://codereview.chromium.org/1571643003/diff/1/tools/android/forwarder2/device_forwarder_main.cc File tools/android/forwarder2/device_forwarder_main.cc (left): https://codereview.chromium.org/1571643003/diff/1/tools/android/forwarder2/device_forwarder_main.cc#oldcode56 tools/android/forwarder2/device_forwarder_main.cc:56: // DeleteSoon() is not used here since it would ...
4 years, 11 months ago (2016-01-08 21:47:03 UTC) #12
Xianzhu
On 2016/01/08 21:41:08, jbudorick wrote: > fwiw, most of the "crashes" on the bots are ...
4 years, 11 months ago (2016-01-08 21:54:27 UTC) #13
jbudorick
https://codereview.chromium.org/1571643003/diff/1/tools/android/forwarder2/device_forwarder_main.cc File tools/android/forwarder2/device_forwarder_main.cc (left): https://codereview.chromium.org/1571643003/diff/1/tools/android/forwarder2/device_forwarder_main.cc#oldcode56 tools/android/forwarder2/device_forwarder_main.cc:56: // DeleteSoon() is not used here since it would ...
4 years, 11 months ago (2016-01-08 22:11:37 UTC) #14
Xianzhu
On 2016/01/08 22:11:37, jbudorick wrote: > https://codereview.chromium.org/1571643003/diff/1/tools/android/forwarder2/device_forwarder_main.cc > File tools/android/forwarder2/device_forwarder_main.cc (left): > > https://codereview.chromium.org/1571643003/diff/1/tools/android/forwarder2/device_forwarder_main.cc#oldcode56 > ...
4 years, 11 months ago (2016-01-08 22:19:26 UTC) #15
jbudorick
On 2016/01/08 22:19:26, Xianzhu wrote: > On 2016/01/08 22:11:37, jbudorick wrote: > > > https://codereview.chromium.org/1571643003/diff/1/tools/android/forwarder2/device_forwarder_main.cc ...
4 years, 11 months ago (2016-01-08 22:20:47 UTC) #16
Xianzhu
On 2016/01/08 22:20:47, jbudorick wrote: > On 2016/01/08 22:19:26, Xianzhu wrote: > > On 2016/01/08 ...
4 years, 11 months ago (2016-01-08 23:02:59 UTC) #17
jbudorick
On 2016/01/08 23:02:59, Xianzhu wrote: > On 2016/01/08 22:20:47, jbudorick wrote: > > On 2016/01/08 ...
4 years, 11 months ago (2016-01-08 23:06:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1571643003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1571643003/1
4 years, 11 months ago (2016-01-08 23:12:21 UTC) #20
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-08 23:53:31 UTC) #21
commit-bot: I haz the power
4 years, 11 months ago (2016-01-08 23:55:29 UTC) #23
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/91b8d5ad02d99b59cb17e100eb645b2fefb4eb7f
Cr-Commit-Position: refs/heads/master@{#368466}

Powered by Google App Engine
This is Rietveld 408576698