1 # IMPORTANT: DO NOT EDIT glibc-2.X-drd.supp, as it is as a generated
2 # file. Instead edit glibc-2.X-drd.supp.in.
4 # Suppression patterns for ld, the dynamic loader.
7 # Suppress all data races triggered by ld.
15 # Suppression patterns for libc.
18 # Suppress all data races where the topmost frame is inside libc.so. Although
19 # this could hide some real data races, unfortunately this is the only way to
20 # not report any false positives on stdio functions. The glibc functions
21 # manipulating FILE objects use locking primitives that cannot be intercepted
22 # easily. See also the definitions of _IO_lock_lock() etc. in the file
23 # nptl/sysdeps/pthread/bits/stdio-lock.h in the glibc source tree.
30 drd-libc-thread-cancellation-test
41 drd-glibc-io-xsputn-mempcpy
49 # Suppression patterns for libstdc++, the implementation of the standard C++
50 # library included with the gcc compiler.
52 # Note: several versions of the libstdc++ library (4.2.2, 4.3.2, 4.4.0, 4.5.0
53 # and their predecessors) contain an implementation of the std::string class
54 # that triggers conflicting memory accesses. See also
55 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40518
59 # drd-libstdc++-std::string::string()
60 # drd:ConflictingAccess
65 drd-libstdc++-cxa_guard_release
67 fun:pthread_cond_broadcast@*
68 fun:__cxa_guard_release
71 drd-libstdc++-std::__ostream_insert()
73 fun:_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
74 fun:_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
77 drd-libstdc++-std::ostream::_M_insert<long>()
80 fun:_ZNSo9_M_insertIlEERSoT_
85 # Suppression patterns for libpthread.
89 drd-libpthread-pthread_create
95 drd-libpthread-pthread_join
101 drd-libpthread-__deallocate_stack
102 drd:ConflictingAccess
104 fun:__deallocate_stack
107 drd-libpthread-__free_stacks
108 drd:ConflictingAccess
112 drd-libpthread-__free_tcb
113 drd:ConflictingAccess
118 drd-libpthread-__nptl_deallocate_tsd
119 drd:ConflictingAccess
120 fun:__nptl_deallocate_tsd
123 drd-libpthread-pthread_detach
124 drd:ConflictingAccess
129 drd-libpthread-pthread_once
130 drd:ConflictingAccess
134 drd-libpthread-pthread_cancel_init
135 drd:ConflictingAccess
136 fun:pthread_cancel_init
139 drd-libpthread-pthread_cancel
140 drd:ConflictingAccess
142 fun:pthread_cancel_intercept
145 drd-libpthread-_Unwind_ForcedUnwind
146 drd:ConflictingAccess
148 fun:_Unwind_ForcedUnwind
151 drd-libpthread-_Unwind_GetCFA
152 drd:ConflictingAccess
156 drd-libpthread-_Unwind_Resume
157 drd:ConflictingAccess
163 drd:ConflictingAccess
164 obj:*/lib/libgcc_s.so.1
167 drd-libpthread-nanosleep
168 drd:ConflictingAccess
173 # Suppression patterns for libgomp.
176 # Unfortunately many statements in libgomp trigger conflicting accesses. It is
177 # not clear to me which of these are safe and which ones not. See also
178 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40362
181 drd:ConflictingAccess
182 obj:/usr/lib*/libgomp.so*
186 # Suppression patterns for libX11.
190 drd-libX11-XCreateFontSet
192 fun:pthread_cond_init*
194 fun:XListFontsWithInfo
195 obj:/usr/lib*/libX11.so*
201 # Suppression patterns for libxcb.
205 drd-libxcb-xcb_wait_for_reply
208 fun:pthread_cond_destroy*
209 fun:xcb_wait_for_reply
213 # Suppression patterns for libglib.
217 drd-libglib-access-g_threads_got_initialized
218 drd:ConflictingAccess
221 fun:g_ptr_array_sized_new
224 drd-libglib-access-g_threads_got_initialized
225 drd:ConflictingAccess
227 fun:_ZN27QEventDispatcherGlibPrivateC1EP13_GMainContext
228 fun:_ZN20QEventDispatcherGlibC1EP7QObject
229 obj:/usr/lib*/libQtCore.so.4.*
230 obj:/usr/lib*/libQtCore.so.4.*
233 drd-libglib-access-g_mem_initialized
234 drd:ConflictingAccess
238 drd-libglib-g_private_get_posix_impl
239 drd:ConflictingAccess
240 fun:g_private_get_posix_impl
243 drd-libglib-g_private_set_posix_impl
244 drd:ConflictingAccess
245 fun:g_private_set_posix_impl
248 drd-libglib-g_get_language_names
249 drd:ConflictingAccess
250 fun:g_slice_free_chain_with_offset
253 drd-libglib-g_main_context_new
254 drd:ConflictingAccess
256 obj:/usr/lib*/libglib-*.so*
257 fun:g_main_context_new
261 # Suppression patterns for libQtCore.
265 drd-libQtCore-deref-that-calls-QThreadData-destructor
266 drd:ConflictingAccess
267 fun:_ZN11QThreadDataD1Ev
268 obj:/usr/lib*/libQtCore.so.4.*
271 drd-libQtCore-4.0/4.1-Q_GLOBAL_STATIC-connectionList
272 drd:ConflictingAccess
273 obj:/usr/lib*/libQtCore.so.4.*
274 fun:_ZN11QMetaObject8activateEP7QObjectiiPPv
275 fun:_ZN11QMetaObject8activateEP7QObjectPKS_iPPv
278 drd-libQtCore-QObjectPrivate::clearGuards(QObject*)
279 drd:ConflictingAccess
280 fun:_ZN14QReadWriteLock12lockForWriteEv
281 fun:_ZN14QObjectPrivate11clearGuardsEP7QObject
285 drd-libQtCore-QObjectPrivate::clearGuards(QObject*)
286 drd:ConflictingAccess
287 fun:_ZN14QReadWriteLock12lockForWriteEv
288 fun:_ZN12QWriteLocker6relockEv
289 fun:_ZN12QWriteLockerC1EP14QReadWriteLock
290 fun:_ZN14QObjectPrivate11clearGuardsEP7QObject
292 fun:_ZN24QAbstractEventDispatcherD2Ev
293 fun:_ZN20QEventDispatcherGlibD0Ev
296 drd-libQtCore-QMutexPool::get(void const*)
297 drd:ConflictingAccess
298 fun:_ZN10QMutexPool3getEPKv
301 drd-libQtCore-qt_gettime_is_monotonic()
302 drd:ConflictingAccess
303 fun:_Z23qt_gettime_is_monotonicv
307 # Suppression patterns for libboost.
310 # Suppress the races on boost::once_flag::epoch and on
311 # boost::detail::this_thread_epoch. See also the source file
312 # boost/thread/pthread/once.hpp in the Boost source tree
313 # (https://svn.boost.org/trac/boost/browser/trunk/boost/thread/pthread/once.hpp).
315 drd-libboost-boost::call_once<void (*)()>(boost::once_flag&, void (*)())
316 drd:ConflictingAccess
318 fun:_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_
321 drd-libboost-boost::detail::get_once_per_thread_epoch()
322 drd:ConflictingAccess
323 fun:_ZN5boost6detail25get_once_per_thread_epochEv
325 # Suppress the race reports on boost::detail::current_thread_tls_key. See also
326 # https://svn.boost.org/trac/boost/ticket/3526 for more information about why
327 # the access pattern of current_thread_tls_key is safe.
329 drd-libboost-boost::detail::get_current_thread_data()
330 drd:ConflictingAccess
332 fun:_ZN5boost6detail23get_current_thread_dataEv
335 drd-libboost-boost::detail::set_current_thread_data(boost::detail::thread_data_base*)
336 drd:ConflictingAccess
338 fun:_ZN5boost6detail23set_current_thread_dataEPNS0_16thread_data_baseE