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

Issue 2854053002: Revert of Fixing sigslot copy constructors. (Closed)

Created:
3 years, 7 months ago by perkj_webrtc
Modified:
3 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Revert of Fixing sigslot copy constructors. (patchset #3 id:40001 of https://codereview.webrtc.org/2842423002/ ) Reason for revert: This seems to cause a heap use after free issue in Chrome: XmppConnectionTest.ConnectThenError XmppConnectionTest.RaisedError XmppConnectionTest.FailureAfterPreAuth XmppConnectionTest.PreAuthFailure XmppConnectionTest.ImmediateFailure https://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/65096 Original issue's description: > Fixing sigslot copy constructors. > > They used to work, but were broken by a somewhat recent refactoring of > sigslot.h. > > It's reasonable for signals and slots to have copy constructors, since > a class that uses signals/slots may want to be copyable. > > BUG=webrtc:7342 > > Review-Url: https://codereview.webrtc.org/2842423002 > Cr-Commit-Position: refs/heads/master@{#17942} > Committed: https://chromium.googlesource.com/external/webrtc/+/8b1d862bfe6b8c160b0130e7d0b0444bcf668dd4 TBR=pthatcher@webrtc.org,deadbeef@webrtc.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=webrtc:7342

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -45 lines) Patch
M webrtc/base/sigslot.h View 2 chunks +9 lines, -14 lines 0 comments Download
M webrtc/base/sigslot_unittest.cc View 4 chunks +2 lines, -31 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
perkj_webrtc
Created Revert of Fixing sigslot copy constructors.
3 years, 7 months ago (2017-05-02 11:31:46 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2854053002/1
3 years, 7 months ago (2017-05-02 11:31:52 UTC) #3
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_ios9_dbg/builds/3985) ios64_sim_ios10_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 7 months ago (2017-05-02 11:33:18 UTC) #5
perkj_webrtc
3 years, 7 months ago (2017-05-02 13:16:03 UTC) #6
On 2017/05/02 11:33:18, commit-bot: I haz the power wrote:
> Try jobs failed on following builders:
>   ios32_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED,
>
http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_ios9_dbg/buil...)
>   ios64_sim_ios10_dbg on master.tryserver.webrtc (JOB_FAILED,
>
http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_ios10_dbg/bui...)
>   ios_arm64_dbg on master.tryserver.webrtc (JOB_FAILED,
>
http://build.chromium.org/p/tryserver.webrtc/builders/ios_arm64_dbg/builds/19961)
>   ios_dbg on master.tryserver.webrtc (JOB_FAILED,
> http://build.chromium.org/p/tryserver.webrtc/builders/ios_dbg/builds/25273)
>   mac_asan on master.tryserver.webrtc (JOB_FAILED,
> http://build.chromium.org/p/tryserver.webrtc/builders/mac_asan/builds/24310)
>   mac_rel on master.tryserver.webrtc (JOB_FAILED,
> http://build.chromium.org/p/tryserver.webrtc/builders/mac_rel/builds/25293)

Turns out that this is the offending cl:
https://codereview.webrtc.org/2846593005...

Powered by Google App Engine
This is Rietveld 408576698