Closed Bug 1131711 Opened 9 years ago Closed 9 years ago

TSan: data race js/src/jsgc.cpp:2211 Visit

Categories

(Core :: JavaScript: GC, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1135100

People

(Reporter: froydnj, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [tsan])

Attachments

(1 file)

Attached file js-gc-race.txt
[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) [1].

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.

[1] http://software.intel.com/en-us/blogs/2013/01/06/benign-data-races-what-could-possibly-go-wrong

I found this while running dom/indexedDB/ mochitests.  There seem to be a couple other GC races that come up in these tests; I'll file bugs for them, too, and y'all can tell me that they're all manifestations of the same bug. :)
This appears to be a dup of bug 1131714.
Blocks: GC.stability
Flags: needinfo?(jcoppeard)
Depends on: 1135100
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(jcoppeard)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: