Issue 7465 - mdb_stat core dumps when used with -a -s
Summary: mdb_stat core dumps when used with -a -s
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-07 19:20 UTC by Quanah Gibson-Mount
Modified: 2014-08-01 21:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Quanah Gibson-Mount 2012-12-07 19:20:34 UTC
Full_Name: Quanah Gibson-Mount
Version: RE24 12/7/2012
OS: Linux 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (74.196.25.250)


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)
Comment 1 Howard Chu 2012-12-08 03:23:10 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2012-12-10 20:34:51 UTC
changed notes
changed state Test to Release
Comment 3 Quanah Gibson-Mount 2013-03-05 02:24:56 UTC
changed notes
changed state Release to Closed
Comment 4 OpenLDAP project 2014-08-01 21:04:45 UTC
fixed in master
fixed in RE24