[Bug nscd/19755] New: nscd assertion failure in gc

schwab@linux-m68k.org sourceware-bugzilla@sourceware.org
Wed Mar 2 16:34:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=19755

            Bug ID: 19755
           Summary: nscd assertion failure in gc
           Product: glibc
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nscd
          Assignee: unassigned at sourceware dot org
          Reporter: schwab@linux-m68k.org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

If a GETGRBYNAME request (for passwd or group) is running in parallel to an
INVALIDATE request (for the same database) then in a particular order of events
the garbage collector is not properly marking all used memory and fails an
assertion.

   GETGRBYNAME (root)
Haven't found "root" in group cache!
add new entry "root" of type GETGRBYNAME for group to cache (first)
handle_request: request received (Version = 2) from PID 7413
   INVALIDATE (group)
pruning group cache; time 9223372036854775807
considering GETGRBYNAME entry "root", timeout 1456763027
add new entry "0" of type GETGRBYGID for group to cache
remove GETGRBYNAME entry "root"
nscd: mem.c:403: gc: Assertion `next_data == &he_data[db->head->nentries]'
failed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list