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

(ITS#5820) segfault with slapacl



Full_Name: Gavin Henry
Version: 2.4.12
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (212.159.59.85)
Submitted by: ghenry


Hi All,

I've just hit this:

/usr/local/sbin/slapacl -f /usr/local/etc/openldap/slapd.conf -b
"dc=suretecsystems,dc=com" -U ghenry "userPassword/read:"
authcDN: "uid=ghenry,cn=auth"
read access to userPassword=: DENIED
Segmentation fault

gdb:

Starting program: /usr/local/sbin/slapacl -f /usr/local/etc/openldap/slapd.conf
-b "dc=suretecsystems,dc=com" -U ghenry "userPassword/read:"
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208350960 (LWP 10744)]
authcDN: "uid=ghenry,cn=auth"
read access to userPassword=: DENIED

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208350960 (LWP 10744)]
0x005f70c7 in free () from /lib/libc.so.6
(gdb) bt
#0  0x005f70c7 in free () from /lib/libc.so.6
#1  0x00158c0a in ber_memfree_x (p=0x0, ctx=0x0) at memory.c:152
#2  0x08089ee8 in ch_free ()
#3  0x080d4d3c in slap_tool_destroy ()
#4  0x080d71a1 in slapacl ()
#5  0x080564d2 in main ()
(gdb) q


I'm just compiling up HEAD now to test with the latest code and will get back to
you.

Gavin.