[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7465) mdb_stat core dumps when used with -a -s

Full_Name: Quanah Gibson-Mount
Version: RE24 12/7/2012
OS: Linux 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

I believe the mdb_stat options "-a" and "-s <db>" are supposed to be mutually
exclusive.  However, if they are used in conjunction with one another, mdb_stat
core dumps:

[zimbra@ldap02-zcs ~]$ mdb_stat -a -e data/ldap/mdb/db -s id2e
Environment Info
  Map address: (nil)
  Map size: 85899345920
  Page size: 4096
  Max pages: 20971520
  Number of pages used: 6309
  Last transaction ID: 434
  Max readers: 126
  Number of readers used: 7
Status of id2e
  Tree depth: 3
  Branch pages: 6
  Leaf pages: 678
  Overflow pages: 1957
  Entries: 2963
mdb_stat: mdb.c:4297: mdb_cursor_set: Assertion `key->mv_size > 0' failed.
Aborted (core dumped)