https://bugs.kde.org/show_bug.cgi?id=513598

--- Comment #4 from Aaron Merey <[email protected]> ---
(In reply to Paul Floyd from comment #3)
> The line of code that is firing the assert is
> 
>    tl_assert(lk->kind == LK_rdwr);
> 
> where kind ins an enum
> 
>    enum {
>       LK_mbRec=1001, /* normal mutex, possibly recursive */
>       LK_nonRec,     /* normal mutex, definitely non recursive */
>       LK_rdwr        /* reader-writer lock */
>    }
>    LockKind;
> 
> Aaron, could you build Valgrind with a small change in the source so that we
> can see what the input kind is?
> 
> Before the assert on line 309 put something like
> 
> if (lk->kind != LK_rdwr)
>    VG_(printf)("Unexpected lock acquire type is %d\n", lk->kind);

The lock acquire type is 1001 in all cases I've seen.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to