[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#5235) ppolicy leads to segfault
Pierangelo Masarati <ando@sys-net.it> writes:
> 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?
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