|
From: Bart V. A. <bar...@gm...> - 2008-10-11 19:40:54
|
On Fri, Oct 10, 2008 at 8:52 PM, Sérgio Durigan Júnior <ser...@li...> wrote: > However, DRD reported some errors regarding printf() function. > One of these errors is pasted below: > > ==31740== Conflicting load by thread 2/2 at 0x041930b8 size 4 > ==31740== at 0x40A1C2D: vfprintf (in /lib/libc-2.6.1.so) > ==31740== by 0x40AA9F2: printf (in /lib/libc-2.6.1.so) > ==31740== by 0x80487F5: main.omp_fn.0 (omp_bug5fix.c:39) > ==31740== by 0x402E7E7: gomp_thread_start (team.c:108) > ==31740== by 0x402651E: vg_thread_wrapper > (drd_pthread_intercepts.c:189) > ==31740== by 0x405418A: start_thread (in /lib/libpthread-2.6.1.so) > ==31740== by 0x412709D: clone (in /lib/libc-2.6.1.so) > ==31740== Allocation context: BSS section of /lib/libc-2.6.1.so The above race report refers to stdout. glibc uses its own locking mechanism for streams (see also _IO_flockfile(FILE*) in the glibc source tree). Some of these races were already suppressed by drd, but not all. This has been fixed (trunk, revision 8663). Thanks for reporting this. Bart. |