Closed
Bug 806822
Opened 12 years ago
Closed 12 years ago
WebRTC possible data race with cprGetMessage vs. cprPegSendMessageStats
Categories
(Core :: WebRTC: Signaling, defect)
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: posidron, Assigned: jesup)
References
Details
(Whiteboard: [tsan] [WebRTC] [blocking-webrtc-] [qa-])
Attachments
(2 files)
3.29 KB,
text/plain
|
Details | |
1.74 KB,
patch
|
ehugg
:
review+
|
Details | Diff | Splinter Review |
media/webrtc/signaling/src/sipcc/cpr/linux/cpr_linux_ipc.c:505 msgq->currentCount--; media/webrtc/signaling/src/sipcc/cpr/linux/cpr_linux_ipc.c:729 msgq->maxCount = msgq->currentCount; This race was confirmed by race verifier. Tested with m-c changeset: 111684:e19e170d2f6d
Updated•12 years ago
|
Whiteboard: [tsan] → [tsan] [WebRTC] [blocking-webrtc+]
Reporter | ||
Comment 1•12 years ago
|
||
This is a definite race but I am not sure how important this one might be.
Assignee | ||
Comment 2•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → rjesup
Assignee | ||
Comment 3•12 years ago
|
||
True race, but non-problematic - at most the stats are wrong, and we ignore the stats.
Whiteboard: [tsan] [WebRTC] [blocking-webrtc+] → [tsan] [WebRTC] [blocking-webrtc-]
Assignee | ||
Updated•12 years ago
|
Attachment #690189 -
Flags: review?(ethanhugg)
Comment 4•12 years ago
|
||
Comment on attachment 690189 [details] [diff] [review] avoid race condition in gathering stats Review of attachment 690189 [details] [diff] [review]: ----------------------------------------------------------------- lgtm. Even though we don't currently take advantage of these stats, I'm hesitant take them out yet.
Attachment #690189 -
Flags: review?(ethanhugg) → review+
Assignee | ||
Comment 5•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/13da8dc7b474
Target Milestone: --- → mozilla20
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/13da8dc7b474
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Whiteboard: [tsan] [WebRTC] [blocking-webrtc-] → [tsan] [WebRTC] [blocking-webrtc-] [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•