Make the message "brk segment overflow in thread #%u: can't grow to %#lx"
[valgrind.git] / glibc-2.X-drd.supp
blobabddb515f6d020350ff670aa0c32b087a46a01bc
2 # Suppression patterns for ld, the dynamic loader.
5 # Suppress all data races triggered by ld.
7    drd-ld
8    drd:ConflictingAccess
9    obj:*/lib*/ld-*.so
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.
23    drd-libc-stdio
24    drd:ConflictingAccess
25    obj:*/lib*/libc-*
28    drd-libc-thread-cancellation-test
29    drd:ConflictingAccess
30    fun:write
33    drd-libc-random
34    drd:ConflictingAccess
35    fun:random_r
36    fun:random
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
49 # {
50 #    drd-libstdc++-std::string::string()
51 #    drd:ConflictingAccess
52 #    fun:_ZNSsC1ERKSs
53 # }
56    drd-libstdc++-cxa_guard_release
57    drd:CondErr
58    fun:pthread_cond_broadcast@*
59    fun:__cxa_guard_release
64 # Suppression patterns for libpthread.
68    drd-libpthread-pthread_create
69    drd:ConflictingAccess
70    ...
71    fun:pthread_create*
74    drd-libpthread-pthread_join
75    drd:ConflictingAccess
76    fun:pthread_join
77    fun:pthread_join
80    drd-libpthread-__deallocate_stack
81    drd:ConflictingAccess
82    ...
83    fun:__deallocate_stack
86    drd-libpthread-__free_stacks
87    drd:ConflictingAccess
88    fun:__free_stacks
91    drd-libpthread-__free_tcb
92    drd:ConflictingAccess
93    ...
94    fun:__free_tcb
97    drd-libpthread-__nptl_deallocate_tsd
98    drd:ConflictingAccess
99    fun:__nptl_deallocate_tsd
102    drd-libpthread-pthread_detach
103    drd:ConflictingAccess
104    fun:pthread_detach
105    fun:pthread_detach
108    drd-libpthread-pthread_once
109    drd:ConflictingAccess
110    fun:pthread_once
113    drd-libpthread-pthread_cancel_init
114    drd:ConflictingAccess
115    fun:pthread_cancel_init
118    drd-libpthread-pthread_cancel
119    drd:ConflictingAccess
120    fun:pthread_cancel
121    fun:pthread_cancel_intercept
124    drd-libpthread-_Unwind_ForcedUnwind
125    drd:ConflictingAccess
126    ...
127    fun:_Unwind_ForcedUnwind
130    drd-libpthread-_Unwind_GetCFA
131    drd:ConflictingAccess
132    fun:_Unwind_GetCFA
135    drd-libpthread-_Unwind_Resume
136    drd:ConflictingAccess
137    ...
138    fun:_Unwind_Resume
141    drd-libpthread-?
142    drd:ConflictingAccess
143    obj:*/lib/libgcc_s.so.1
146    drd-libpthread-nanosleep
147    drd:ConflictingAccess
148    fun:nanosleep
152 # Suppression patterns for libgomp.
155 # Unfortunately many statements in libgomp trigger conflicting accesses. It is
156 # not clear to me which of these are safe and which ones not. See also
157 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40362
159    drd-libgomp
160    drd:ConflictingAccess
161    obj:/usr/lib*/libgomp.so*
165 # Suppression patterns for libX11.
169    drd-libX11-XCreateFontSet
170    drd:CondErr
171    fun:pthread_cond_init*
172    fun:_XReply
173    fun:XListFontsWithInfo
174    obj:/usr/lib*/libX11.so*
175    fun:XCreateOC
176    fun:XCreateFontSet
180 # Suppression patterns for libxcb.
184    drd-libxcb-xcb_wait_for_reply
185    drd:CondErr
186    ...
187    fun:pthread_cond_destroy*
188    fun:xcb_wait_for_reply
192 # Suppression patterns for libglib.
196    drd-libglib-access-g_threads_got_initialized
197    drd:ConflictingAccess
198    ...
199    fun:g_slice_alloc
200    fun:g_ptr_array_sized_new
203    drd-libglib-access-g_threads_got_initialized
204    drd:ConflictingAccess
205    ...
206    fun:_ZN27QEventDispatcherGlibPrivateC1EP13_GMainContext
207    fun:_ZN20QEventDispatcherGlibC1EP7QObject
208    obj:/usr/lib*/libQtCore.so.4.*
209    obj:/usr/lib*/libQtCore.so.4.*
212    drd-libglib-access-g_mem_initialized
213    drd:ConflictingAccess
214    fun:g_malloc0
217    drd-libglib-g_private_get_posix_impl
218    drd:ConflictingAccess
219    fun:g_private_get_posix_impl
222    drd-libglib-g_private_set_posix_impl
223    drd:ConflictingAccess
224    fun:g_private_set_posix_impl
227    drd-libglib-g_get_language_names
228    drd:ConflictingAccess
229    fun:g_slice_free_chain_with_offset
232    drd-libglib-g_main_context_new
233    drd:ConflictingAccess
234    fun:fcntl
235    obj:/usr/lib*/libglib-*.so*
236    fun:g_main_context_new
240 # Suppression patterns for libQtCore.
244    drd-libQtCore-deref-that-calls-QThreadData-destructor
245    drd:ConflictingAccess
246    fun:_ZN11QThreadDataD1Ev
247    obj:/usr/lib*/libQtCore.so.4.*
250    drd-libQtCore-4.0/4.1-Q_GLOBAL_STATIC-connectionList
251    drd:ConflictingAccess
252    obj:/usr/lib*/libQtCore.so.4.*
253    fun:_ZN11QMetaObject8activateEP7QObjectiiPPv
254    fun:_ZN11QMetaObject8activateEP7QObjectPKS_iPPv
257    drd-libQtCore-QObjectPrivate::clearGuards(QObject*)
258    drd:ConflictingAccess
259    fun:_ZN14QReadWriteLock12lockForWriteEv
260    fun:_ZN14QObjectPrivate11clearGuardsEP7QObject
261    fun:_ZN7QObjectD2Ev
264    drd-libQtCore-QObjectPrivate::clearGuards(QObject*)
265    drd:ConflictingAccess
266    fun:_ZN14QReadWriteLock12lockForWriteEv
267    fun:_ZN12QWriteLocker6relockEv
268    fun:_ZN12QWriteLockerC1EP14QReadWriteLock
269    fun:_ZN14QObjectPrivate11clearGuardsEP7QObject
270    fun:_ZN7QObjectD2Ev
271    fun:_ZN24QAbstractEventDispatcherD2Ev
272    fun:_ZN20QEventDispatcherGlibD0Ev
275    drd-libQtCore-QMutexPool::get(void const*)
276    drd:ConflictingAccess
277    fun:_ZN10QMutexPool3getEPKv
280    drd-libQtCore-qt_gettime_is_monotonic()
281    drd:ConflictingAccess
282    fun:_Z23qt_gettime_is_monotonicv
286 # Suppression patterns for libboost.
289 # Suppress the races on boost::once_flag::epoch and on
290 # boost::detail::this_thread_epoch. See also the source file
291 # boost/thread/pthread/once.hpp in the Boost source tree
292 # (https://svn.boost.org/trac/boost/browser/trunk/boost/thread/pthread/once.hpp).
294    drd-libboost-boost::call_once<void (*)()>(boost::once_flag&, void (*)())
295    drd:ConflictingAccess
296    ...
297    fun:_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_
300    drd-libboost-boost::detail::get_once_per_thread_epoch()
301    drd:ConflictingAccess
302    fun:_ZN5boost6detail25get_once_per_thread_epochEv
304 # Suppress the race reports on boost::detail::current_thread_tls_key. See also
305 # https://svn.boost.org/trac/boost/ticket/3526 for more information about why
306 # the access pattern of current_thread_tls_key is safe.
308    drd-libboost-boost::detail::get_current_thread_data()
309    drd:ConflictingAccess
310    ...
311    fun:_ZN5boost6detail23get_current_thread_dataEv
314    drd-libboost-boost::detail::set_current_thread_data(boost::detail::thread_data_base*)
315    drd:ConflictingAccess
316    ...
317    fun:_ZN5boost6detail23set_current_thread_dataEPNS0_16thread_data_baseE