Re: [Valgrind-users] failure to run on armv6 following the armv6legacy patches suggested by bug 276897

2012-01-08 Thread Hershkovitz, Koby (Koby)
Indeed I have check this patch is correctly in place. The relevant strace output is: mmap2(0x6229, 1064960, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 0, 0) = 0x6229 mprotect(0x6229, 8192, PROT_NONE) = 0 mprotect(0x62392000, 8192, PROT_NONE) = 0 gettid()

Re: [Valgrind-users] virtual inheritance and race conditions

2012-01-08 Thread Bart Van Assche
On Fri, Jan 6, 2012 at 4:04 PM, Joris Koster joris.kos...@aimms.com wrote:    void releaseRef() {        int nRefCnt = __sync_add_and_fetch(m_nRefCnt, -1);        if (nRefCnt == 0) {            delete this;        }    } Please read the documentation of ANNOTATE_HAPPENS_BEFORE() and

Re: [Valgrind-users] failure to run on armv6 following the armv6legacy patches suggested by bug 276897

2012-01-08 Thread John Reiser
On 01/08/2012 12:44 AM, Hershkovitz, Koby (Koby) wrote: Indeed I have check this patch is correctly in place. The relevant strace output is: mmap2(0x6229, 1064960, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 0, 0) = 0x6229 That mmap2 is OK because the