2 # Suppression patterns for ld, the dynamic loader.
5 # Suppress all data races triggered by ld.
13 # Suppression patterns for libc.
16 # Suppress all data races where the topmost frame is inside libc.so. Although
17 # this could hide some real data races, unfortunately this is the only way to
18 # not report any false positives on stdio functions. The glibc functions
19 # manipulating FILE objects use locking primitives that cannot be intercepted
20 # easily. See also the definitions of _IO_lock_lock() etc. in the file
21 # nptl/sysdeps/pthread/bits/stdio-lock.h in the glibc source tree.
28 drd-libc-thread-cancellation-test
40 # Suppression patterns for libstdc++, the implementation of the standard C++
41 # library included with the gcc compiler.
43 # Note: several versions of the libstdc++ library (4.2.2, 4.3.2, 4.4.0, 4.5.0
44 # and their predecessors) contain an implementation of the std::string class
45 # that triggers conflicting memory accesses. See also
46 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40518
50 # drd-libstdc++-std::string::string()
51 # drd:ConflictingAccess
56 drd-libstdc++-cxa_guard_release
58 fun:pthread_cond_broadcast@*
59 fun:__cxa_guard_release
64 # Suppression patterns for libpthread.
68 drd-libpthread-pthread_create
74 drd-libpthread-pthread_join
80 drd-libpthread-__deallocate_stack
83 fun:__deallocate_stack
86 drd-libpthread-__free_stacks
91 drd-libpthread-__free_tcb
97 drd-libpthread-__nptl_deallocate_tsd
99 fun:__nptl_deallocate_tsd
102 drd-libpthread-pthread_detach
103 drd:ConflictingAccess
108 drd-libpthread-pthread_once
109 drd:ConflictingAccess
113 drd-libpthread-pthread_cancel_init
114 drd:ConflictingAccess
115 fun:pthread_cancel_init
118 drd-libpthread-_Unwind_ForcedUnwind
119 drd:ConflictingAccess
121 fun:_Unwind_ForcedUnwind
124 drd-libpthread-_Unwind_GetCFA
125 drd:ConflictingAccess
129 drd-libpthread-_Unwind_Resume
130 drd:ConflictingAccess
136 drd:ConflictingAccess
137 obj:*/lib/libgcc_s.so.1
140 drd-libpthread-nanosleep
141 drd:ConflictingAccess
146 # Suppression patterns for libgomp.
149 # Unfortunately many statements in libgomp trigger conflicting accesses. It is
150 # not clear to me which of these are safe and which ones not. See also
151 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40362
154 drd:ConflictingAccess
155 obj:/usr/lib*/libgomp.so*
159 # Suppression patterns for libX11.
163 drd-libX11-XCreateFontSet
165 fun:pthread_cond_init*
167 fun:XListFontsWithInfo
168 obj:/usr/lib*/libX11.so*
174 # Suppression patterns for libxcb.
178 drd-libxcb-xcb_wait_for_reply
181 fun:pthread_cond_destroy*
182 fun:xcb_wait_for_reply
186 # Suppression patterns for libglib.
190 drd-libglib-access-g_threads_got_initialized
191 drd:ConflictingAccess
194 fun:g_ptr_array_sized_new
197 drd-libglib-access-g_threads_got_initialized
198 drd:ConflictingAccess
200 fun:_ZN27QEventDispatcherGlibPrivateC1EP13_GMainContext
201 fun:_ZN20QEventDispatcherGlibC1EP7QObject
202 obj:/usr/lib*/libQtCore.so.4.*
203 obj:/usr/lib*/libQtCore.so.4.*
206 drd-libglib-access-g_mem_initialized
207 drd:ConflictingAccess
211 drd-libglib-g_private_get_posix_impl
212 drd:ConflictingAccess
213 fun:g_private_get_posix_impl
216 drd-libglib-g_private_set_posix_impl
217 drd:ConflictingAccess
218 fun:g_private_set_posix_impl
221 drd-libglib-g_get_language_names
222 drd:ConflictingAccess
223 fun:g_slice_free_chain_with_offset
226 drd-libglib-g_main_context_new
227 drd:ConflictingAccess
229 obj:/usr/lib*/libglib-*.so*
230 fun:g_main_context_new
234 # Suppression patterns for libQtCore.
238 drd-libQtCore-deref-that-calls-QThreadData-destructor
239 drd:ConflictingAccess
240 fun:_ZN11QThreadDataD1Ev
241 obj:/usr/lib*/libQtCore.so.4.*
244 drd-libQtCore-4.0/4.1-Q_GLOBAL_STATIC-connectionList
245 drd:ConflictingAccess
246 obj:/usr/lib*/libQtCore.so.4.*
247 fun:_ZN11QMetaObject8activateEP7QObjectiiPPv
248 fun:_ZN11QMetaObject8activateEP7QObjectPKS_iPPv
251 drd-libQtCore-QObjectPrivate::clearGuards(QObject*)
252 drd:ConflictingAccess
253 fun:_ZN14QReadWriteLock12lockForWriteEv
254 fun:_ZN14QObjectPrivate11clearGuardsEP7QObject
258 drd-libQtCore-QObjectPrivate::clearGuards(QObject*)
259 drd:ConflictingAccess
260 fun:_ZN14QReadWriteLock12lockForWriteEv
261 fun:_ZN12QWriteLocker6relockEv
262 fun:_ZN12QWriteLockerC1EP14QReadWriteLock
263 fun:_ZN14QObjectPrivate11clearGuardsEP7QObject
265 fun:_ZN24QAbstractEventDispatcherD2Ev
266 fun:_ZN20QEventDispatcherGlibD0Ev
269 drd-libQtCore-QMutexPool::get(void const*)
270 drd:ConflictingAccess
271 fun:_ZN10QMutexPool3getEPKv
274 drd-libQtCore-qt_gettime_is_monotonic()
275 drd:ConflictingAccess
276 fun:_Z23qt_gettime_is_monotonicv
280 # Suppression patterns for libboost.
283 # Suppress the races on boost::once_flag::epoch and on
284 # boost::detail::this_thread_epoch. See also the source file
285 # boost/thread/pthread/once.hpp in the Boost source tree
286 # (https://svn.boost.org/trac/boost/browser/trunk/boost/thread/pthread/once.hpp).
288 drd-libboost-boost::call_once<void (*)()>(boost::once_flag&, void (*)())
289 drd:ConflictingAccess
291 fun:_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_
294 drd-libboost-boost::detail::get_once_per_thread_epoch()
295 drd:ConflictingAccess
296 fun:_ZN5boost6detail25get_once_per_thread_epochEv
298 # Suppress the race reports on boost::detail::current_thread_tls_key. See also
299 # https://svn.boost.org/trac/boost/ticket/3526 for more information about why
300 # the access pattern of current_thread_tls_key is safe.
302 drd-libboost-boost::detail::get_current_thread_data()
303 drd:ConflictingAccess
305 fun:_ZN5boost6detail23get_current_thread_dataEv
308 drd-libboost-boost::detail::set_current_thread_data(boost::detail::thread_data_base*)
309 drd:ConflictingAccess
311 fun:_ZN5boost6detail23set_current_thread_dataEPNS0_16thread_data_baseE