Closed
Bug 845513
Opened 12 years ago
Closed 12 years ago
TSan: Thread data race in sctp_notify_assoc_change() vs. user_connect()
Categories
(Core :: WebRTC, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: posidron, Assigned: jesup)
References
()
Details
(Keywords: sec-want, Whiteboard: [tsan][tsan-test-blocker][webrtc][blocking-webrtc+][qa-])
Attachments
(1 file)
27.14 KB,
text/plain
|
Details |
During initial tests with ThreadSanitizer (LLVM version), we get a data race reported as described in the attached log. Trace was created on mozilla-central with changeset 122820:c233837cce08.
According to the TSan devs, most of the reported traces should be real data races, even though they can be "benign". We need to determine if the race can/should be fixed, or put on the ignore list. Even for benign races, TSan devs suggest to fix them (second priority), as they can also cause problems [1].
[1] http://software.intel.com/en-us/blogs/2013/01/06/benign-data-races-what-could-possibly-go-wrong
Assignee | ||
Comment 1•12 years ago
|
||
Michael: probable upstream issue with usrsctp
Comment 2•12 years ago
|
||
Randell: OK. I see what happens. Let me think about if it is OK or how it has to be resolved. This is not userland specific, but general.
Best regards
Michael
Comment 3•12 years ago
|
||
OK, the problem has been fixed upstream. The patch for the main sources is in
http://code.google.com/p/sctp-refimpl/source/detail?r=8427
and the patch for the userland stack is part of
http://code.google.com/p/sctp-refimpl/source/detail?r=8429
(the changes of /trunk/KERN/usrsctp/usrsctplib/netinet/sctputil.c are relevant).
Thank you very much for reporting!
Best regards
Michael
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → rjesup
Priority: -- → P2
Whiteboard: [tsan][tsan-test-blocker] → [tsan][tsan-test-blocker][webrtc][blocking-webrtc+]
Assignee | ||
Comment 4•12 years ago
|
||
Fixed by checkin for bug 855620
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Updated•12 years ago
|
Whiteboard: [tsan][tsan-test-blocker][webrtc][blocking-webrtc+] → [tsan][tsan-test-blocker][webrtc][blocking-webrtc+][qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•