[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4179) slapd-meta seg faults if a time attribute is mal formed
On Tue, 2005-11-22 at 08:40 +0000, ali.pouya@dgi.finances.gouv.fr wrote:
> This is a multipart message in MIME format.
> --=_alternative 00313D1FC12570C1_=
> Content-Type: text/plain; charset="us-ascii"
>
> Now I use OpenLdap 2.3.12 (which includes the fix to the ITS 4107), but my
> problem is not fixed yet.
> I remark that the seg fault happens randomly at two different points.
> I attach the back trace of each case.
> Best Regards
> Ali Pouya
>
> Case 1 :
> (gdb) bt
> #0 0x0811cdde in ber_bvarray_free_x (a=0x7373616c, ctx=0x0) at
> memory.c:757
> #1 0x0811ce30 in ber_bvarray_free (a=0x7373616c) at memory.c:771
> #2 0x08060263 in attr_free (a=0x8f55370) at attr.c:64
> #3 0x080bc18f in meta_back_search (op=0x8f54cf8, rs=0xb7698230) at
> search.c:1075
You might have somehow confused sources or binaries, because there's no
longer any attr_free() call at line 1075 of back-meta/search.c; this
call likely moved to line 1108 of that file, which is part of the fix to
ITS#4107; can you confirm?
> #4 0x0805bb82 in fe_op_search (op=0x8f54cf8, rs=0xb7698230) at
> search.c:349
> #5 0x0805b489 in do_search (op=0x8f54cf8, rs=0xb7698230) at search.c:219
> #6 0x0805a321 in connection_operation (ctx=0xb76982b0, arg_v=0x8f54cf8)
> at connection.c:1061
> #7 0x081018c9 in ldap_int_thread_pool_wrapper (xpool=0x8ed3b20) at
> tpool.c:485
> #8 0x007c1341 in start_thread (arg=0xb7698bb0) at pthread_create.c:261
> #9 0x002a5fee in ?? () from /lib/tls/libc.so.6
Also, I tried faking the invalid date into a debugger, and there was no
problem with 2.3.12 (while the ITS#4107 issue caused a segfault much
like you reported).
Please feedback. p.
Ing. Pierangelo Masarati
Responsabile Open Solution
SysNet s.n.c.
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
------------------------------------------