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

Paul Floyd <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Paul Floyd <[email protected]> ---
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);

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

Reply via email to