Fix make distcheck by removing references to uncommitted files
[valgrind.git] / glibc-2.X-drd.supp.in
blob9a9b6f0752981eb791c5eb41cf5b25dd9201e814
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.
9    drd-ld
10    drd:ConflictingAccess
11    obj:*/lib*/ld*.so*
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.
25    drd-libc-stdio
26    drd:ConflictingAccess
27    obj:@GLIBC_LIBC_PATH@
30    drd-libc-thread-cancellation-test
31    drd:ConflictingAccess
32    fun:write
35    drd-libc-random
36    drd:ConflictingAccess
37    fun:random_r
38    fun:random
42 # Suppression patterns for libstdc++, the implementation of the standard C++
43 # library included with the gcc compiler.
45 # Note: several versions of the libstdc++ library (4.2.2, 4.3.2, 4.4.0, 4.5.0
46 # and their predecessors) contain an implementation of the std::string class
47 # that triggers conflicting memory accesses. See also
48 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40518
51 # {
52 #    drd-libstdc++-std::string::string()
53 #    drd:ConflictingAccess
54 #    fun:_ZNSsC1ERKSs
55 # }
58    drd-libstdc++-cxa_guard_release
59    drd:CondErr
60    fun:pthread_cond_broadcast@*
61    fun:__cxa_guard_release
64    drd-libstdc++-std::__ostream_insert()
65    drd:ConflictingAccess
66    fun:_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
67    fun:_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
70    drd-libstdc++-std::ostream::_M_insert<long>()
71    drd:ConflictingAccess
72    ...
73    fun:_ZNSo9_M_insertIlEERSoT_
78 # Suppression patterns for libpthread.
82    drd-libpthread-pthread_create
83    drd:ConflictingAccess
84    ...
85    fun:pthread_create*
88    drd-libpthread-pthread_join
89    drd:ConflictingAccess
90    fun:pthread_join
91    fun:pthread_join
94    drd-libpthread-__deallocate_stack
95    drd:ConflictingAccess
96    ...
97    fun:__deallocate_stack
100    drd-libpthread-__free_stacks
101    drd:ConflictingAccess
102    fun:__free_stacks
105    drd-libpthread-__free_tcb
106    drd:ConflictingAccess
107    ...
108    fun:__free_tcb
111    drd-libpthread-__nptl_deallocate_tsd
112    drd:ConflictingAccess
113    fun:__nptl_deallocate_tsd
116    drd-libpthread-pthread_detach
117    drd:ConflictingAccess
118    fun:pthread_detach
119    fun:pthread_detach
122    drd-libpthread-pthread_once
123    drd:ConflictingAccess
124    fun:pthread_once
127    drd-libpthread-pthread_cancel_init
128    drd:ConflictingAccess
129    fun:pthread_cancel_init
132    drd-libpthread-pthread_cancel
133    drd:ConflictingAccess
134    fun:pthread_cancel
135    fun:pthread_cancel_intercept
138    drd-libpthread-_Unwind_ForcedUnwind
139    drd:ConflictingAccess
140    ...
141    fun:_Unwind_ForcedUnwind
144    drd-libpthread-_Unwind_GetCFA
145    drd:ConflictingAccess
146    fun:_Unwind_GetCFA
149    drd-libpthread-_Unwind_Resume
150    drd:ConflictingAccess
151    ...
152    fun:_Unwind_Resume
155    drd-libpthread-?
156    drd:ConflictingAccess
157    obj:*/lib/libgcc_s.so.1
160    drd-libpthread-nanosleep
161    drd:ConflictingAccess
162    fun:nanosleep
166 # Suppression patterns for libgomp.
169 # Unfortunately many statements in libgomp trigger conflicting accesses. It is
170 # not clear to me which of these are safe and which ones not. See also
171 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40362
173    drd-libgomp
174    drd:ConflictingAccess
175    obj:/usr/lib*/libgomp.so*
179 # Suppression patterns for libX11.
183    drd-libX11-XCreateFontSet
184    drd:CondErr
185    fun:pthread_cond_init*
186    fun:_XReply
187    fun:XListFontsWithInfo
188    obj:/usr/lib*/libX11.so*
189    fun:XCreateOC
190    fun:XCreateFontSet
194 # Suppression patterns for libxcb.
198    drd-libxcb-xcb_wait_for_reply
199    drd:CondErr
200    ...
201    fun:pthread_cond_destroy*
202    fun:xcb_wait_for_reply
206 # Suppression patterns for libglib.
210    drd-libglib-access-g_threads_got_initialized
211    drd:ConflictingAccess
212    ...
213    fun:g_slice_alloc
214    fun:g_ptr_array_sized_new
217    drd-libglib-access-g_threads_got_initialized
218    drd:ConflictingAccess
219    ...
220    fun:_ZN27QEventDispatcherGlibPrivateC1EP13_GMainContext
221    fun:_ZN20QEventDispatcherGlibC1EP7QObject
222    obj:/usr/lib*/libQtCore.so.4.*
223    obj:/usr/lib*/libQtCore.so.4.*
226    drd-libglib-access-g_mem_initialized
227    drd:ConflictingAccess
228    fun:g_malloc0
231    drd-libglib-g_private_get_posix_impl
232    drd:ConflictingAccess
233    fun:g_private_get_posix_impl
236    drd-libglib-g_private_set_posix_impl
237    drd:ConflictingAccess
238    fun:g_private_set_posix_impl
241    drd-libglib-g_get_language_names
242    drd:ConflictingAccess
243    fun:g_slice_free_chain_with_offset
246    drd-libglib-g_main_context_new
247    drd:ConflictingAccess
248    fun:fcntl
249    obj:/usr/lib*/libglib-*.so*
250    fun:g_main_context_new
254 # Suppression patterns for libQtCore.
258    drd-libQtCore-deref-that-calls-QThreadData-destructor
259    drd:ConflictingAccess
260    fun:_ZN11QThreadDataD1Ev
261    obj:/usr/lib*/libQtCore.so.4.*
264    drd-libQtCore-4.0/4.1-Q_GLOBAL_STATIC-connectionList
265    drd:ConflictingAccess
266    obj:/usr/lib*/libQtCore.so.4.*
267    fun:_ZN11QMetaObject8activateEP7QObjectiiPPv
268    fun:_ZN11QMetaObject8activateEP7QObjectPKS_iPPv
271    drd-libQtCore-QObjectPrivate::clearGuards(QObject*)
272    drd:ConflictingAccess
273    fun:_ZN14QReadWriteLock12lockForWriteEv
274    fun:_ZN14QObjectPrivate11clearGuardsEP7QObject
275    fun:_ZN7QObjectD2Ev
278    drd-libQtCore-QObjectPrivate::clearGuards(QObject*)
279    drd:ConflictingAccess
280    fun:_ZN14QReadWriteLock12lockForWriteEv
281    fun:_ZN12QWriteLocker6relockEv
282    fun:_ZN12QWriteLockerC1EP14QReadWriteLock
283    fun:_ZN14QObjectPrivate11clearGuardsEP7QObject
284    fun:_ZN7QObjectD2Ev
285    fun:_ZN24QAbstractEventDispatcherD2Ev
286    fun:_ZN20QEventDispatcherGlibD0Ev
289    drd-libQtCore-QMutexPool::get(void const*)
290    drd:ConflictingAccess
291    fun:_ZN10QMutexPool3getEPKv
294    drd-libQtCore-qt_gettime_is_monotonic()
295    drd:ConflictingAccess
296    fun:_Z23qt_gettime_is_monotonicv
300 # Suppression patterns for libboost.
303 # Suppress the races on boost::once_flag::epoch and on
304 # boost::detail::this_thread_epoch. See also the source file
305 # boost/thread/pthread/once.hpp in the Boost source tree
306 # (https://svn.boost.org/trac/boost/browser/trunk/boost/thread/pthread/once.hpp).
308    drd-libboost-boost::call_once<void (*)()>(boost::once_flag&, void (*)())
309    drd:ConflictingAccess
310    ...
311    fun:_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_
314    drd-libboost-boost::detail::get_once_per_thread_epoch()
315    drd:ConflictingAccess
316    fun:_ZN5boost6detail25get_once_per_thread_epochEv
318 # Suppress the race reports on boost::detail::current_thread_tls_key. See also
319 # https://svn.boost.org/trac/boost/ticket/3526 for more information about why
320 # the access pattern of current_thread_tls_key is safe.
322    drd-libboost-boost::detail::get_current_thread_data()
323    drd:ConflictingAccess
324    ...
325    fun:_ZN5boost6detail23get_current_thread_dataEv
328    drd-libboost-boost::detail::set_current_thread_data(boost::detail::thread_data_base*)
329    drd:ConflictingAccess
330    ...
331    fun:_ZN5boost6detail23set_current_thread_dataEPNS0_16thread_data_baseE