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

Re: (ITS#5235) ppolicy leads to segfault



dieter@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@sys-net.it
---------------------------------------