Pierangelo Masarati <ando(a)sys-net.it> writes:
> dieter(a)dkluenter.de wrote:
>
>> (gdb) bt
>> #0 0xb7a67139 in free () from /lib/libc.so.6
>> #1 0xb7ec128a in ber_memfree_x (p=0x2001, ctx=0x0) at memory.c:152
>> #2 0x0808f556 in ch_free ()
>> #3 0xb76f458c in ppolicy_restrict (op=0xa0a50d54, rs=0xa0a51148)
>> at ppolicy.c:1245
>
> I suspect this free occurs an internal operation initiated with
> connection_fake_init(); can you check, from the core, if the value of
> op->o_conn->c_conn_idx is -1?
Sorry, I'm a bit stupid.
(gdb) frame 3
#3 0xb76e758c in ppolicy_restrict (op=0xa09e4d54, rs=0xa09e5148) at ppolicy.c:1245
1245 ch_free( pwcons[op->o_conn->c_conn_idx].dn.bv_val );
(gdb)
-Dieter
--
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6
Pierangelo Masarati <ando(a)sys-net.it> writes:
> dieter(a)dkluenter.de wrote:
>
>> (gdb) bt
>> #0 0xb7a67139 in free () from /lib/libc.so.6
>> #1 0xb7ec128a in ber_memfree_x (p=0x2001, ctx=0x0) at memory.c:152
>> #2 0x0808f556 in ch_free ()
>> #3 0xb76f458c in ppolicy_restrict (op=0xa0a50d54, rs=0xa0a51148)
>> at ppolicy.c:1245
>
> I suspect this free occurs an internal operation initiated with
> connection_fake_init(); can you check, from the core, if the value of
> op->o_conn->c_conn_idx is -1?
sorry :-(
(gdb) gcore
*** buffer overflow detected ***: gdb terminated
======= Backtrace: =========
-Dieter
--
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6
dieter(a)dkluenter.de wrote:
> (gdb) bt
> #0 0xb7a67139 in free () from /lib/libc.so.6
> #1 0xb7ec128a in ber_memfree_x (p=0x2001, ctx=0x0) at memory.c:152
> #2 0x0808f556 in ch_free ()
> #3 0xb76f458c in ppolicy_restrict (op=0xa0a50d54, rs=0xa0a51148)
> at ppolicy.c:1245
I suspect this free occurs an internal operation initiated with
connection_fake_init(); can you check, from the core, if the value of
op->o_conn->c_conn_idx is -1?
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati(a)sys-net.it
---------------------------------------
marg(a)rz.tu-clausthal.de wrote:
> Hello,
>
> fig. 3.3 in
>
> http://www.openldap.org/doc/admin24/config.html
>
> mentions "slurpd", while the text was updated to reflect syncrepl.
>
> bye
> Christian
Thanks, I haven't had time to update the pics yet.
--
Kind Regards,
Gavin Henry.
OpenLDAP Engineering Team.
E ghenry(a)OpenLDAP.org
Community developed LDAP software.
http://www.openldap.org/project/
Full_Name: Dieter Kluenter
Version: HEAD
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (84.142.190.40)
core.ldif
olcAttributeTypes: ( 2.5.4.6 NAME ( 'c' 'countryName' )
DESC 'RFC2256: ISO-3166 country 2-letter code'
SUP name SINGLE-VALUE )
core.schema
attributetype ( 2.5.4.6 NAME 'c'
DESC 'RFC2256: ISO-3166 country 2-letter code'
SUP name
SYNTAX 1.3.6.1.4.1.1466.115.121.1.11
SINGLE-VALUE )
As far as I understand, core.schema is correct here.
-Dieter
Hello,
fig. 3.3 in
http://www.openldap.org/doc/admin24/config.html
mentions "slurpd", while the text was updated to reflect syncrepl.
bye
Christian
--
Christian Marg mail : mailto:marg@rz.tu-clausthal.de
Dezernat 2 TU Clausthal web : http://www.tu-clausthal.de
D-38678 Clausthal-Zellerfeld fon : 05323/72-2107
Germany jabber: ifcma(a)jabber.tu-clausthal.de
Tested in HEAD again, on same machine with same cmd:
for i in `seq 1 100`; do ./run test020 >> test_results.log; done;
and grepped the log file for "Error" and -i "succeed".
Results:
100 Passes
0 Fails
Looks good to me.
Gavin.
--
Kind Regards,
Gavin Henry.
Managing Director.
T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry(a)suretecsystems.com
Open Source. Open Solutions(tm).
http://www.suretecsystems.com/