Closed Bug 1132109 Opened 5 years ago Closed 5 years ago
TSan: data race netwerk/cache2/Cache
Entry .cpp:1018 Set Expiration Time
[cribbing from decoder's script, hopefully he won't mind] The attached logfile shows a thread/data race detected by TSan (ThreadSanitizer). Typically, races reported by TSan are not false positives, but it is possible that the race is benign. Even in this case though, we should try to come up with a fix unless this would cause unacceptable performance issues. Also note that seemingly benign races can possibly be harmful (also depending on the compiler and the architecture) . If the bug cannot be fixed, then this bug should be used to either make a compile-time annotation for blacklisting or add an entry to the runtime blacklist. I don't know why TSan thinks this race is in operator->; it's pretty clearly in SetExpirationTime. Maybe the debug information is poor.  http://software.intel.com/en-us/blogs/2013/01/06/benign-data-races-what-could-possibly-go-wrong
Assignee: nobody → honzab.moz
Status: NEW → ASSIGNED
Attachment #8562948 - Flags: review?(michal.novotny) → review+
You need to log in before you can comment on or make changes to this bug.