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

Issue 1970223002: Fix race in BaseChannel destructor when network thread differ from worker thread (Closed)

Created:
4 years, 7 months ago by danilchap
Modified:
4 years, 7 months ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, tommi
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix BaseChannel destructor when network thread differ from worker thread BUG=webrtc:5645 R=pthatcher@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/dae07bae82c0c92e062c451a0648c70015593018

Patch Set 1 : Tests to reveal race #

Patch Set 2 : fix #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -6 lines) Patch
M webrtc/pc/channel.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/pc/channel.cc View 1 2 3 3 chunks +27 lines, -5 lines 0 comments Download
M webrtc/pc/channel_unittest.cc View 7 chunks +37 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
danilchap
transport channel may signal ReadPacket on network thread while BaseChannel is destructing on worker thread. ...
4 years, 7 months ago (2016-05-12 15:41:18 UTC) #2
pthatcher1
lgtm, with nit https://codereview.webrtc.org/1970223002/diff/20001/webrtc/pc/channel.cc File webrtc/pc/channel.cc (right): https://codereview.webrtc.org/1970223002/diff/20001/webrtc/pc/channel.cc#newcode261 webrtc/pc/channel.cc:261: // Packets arrive on network thread, ...
4 years, 7 months ago (2016-05-13 18:33:28 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1970223002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1970223002/40001
4 years, 7 months ago (2016-05-13 22:34:56 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_msan on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_msan/builds/10082)
4 years, 7 months ago (2016-05-13 23:08:09 UTC) #8
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/dae07bae82c0c92e062c451a0648c70015593018 Cr-Commit-Position: refs/heads/master@{#12740}
4 years, 7 months ago (2016-05-13 23:44:05 UTC) #11
danilchap
4 years, 7 months ago (2016-05-13 23:44:07 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
dae07bae82c0c92e062c451a0648c70015593018 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698