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

Re: (ITS#4712) test007: slapd crashes



michael@stroeder.com wrote:
> Full_Name: Michael Ströder
> Version: HEAD
> OS: SuSE Linux 10.0
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (83.124.12.70)
>
>
> In test007 slapd seg faults. The backtrace:
>
> #0  0x080dd880 in lutil_strncopy (a=0xbfde5a08 "", b=0x111 <Address 0x111 out of
> bounds>, n=0)
>     at utils.c:303
> #1  0x08066916 in slap_cf_aux_table_unparse (src=0x819e010, bv=0xbfde6218,
> tab0=0x8142180)
>     at config.c:1175
> #2  0x08066b68 in bindconf_free (bc=0x3) at config.c:1243
> #3  0x0805fb84 in config_replica (c=0xbfde634c) at bconfig.c:2734
> #4  0x08065cfc in config_get_vals (cf=0x81419b0, c=0xbfde634c) at config.c:449
> #5  0x08062611 in config_build_entry (op=0x8141280, rs=0xbfde634c, parent=0x0,
> c=0x0, rdn=0x0, 
>     main=0xbfde6373, extra=0x81cade0) at bconfig.c:4565
> #6  0xbfde634c in ?? ()
> #7  0x081794a8 in ?? ()
> #8  0x081794a8 in ?? ()
> #9  0x00000000 in ?? ()
>   
Michael,

this backtrace looks weird, because:
- bconfig.c:2734 is not in config_replica() in HEAD right now, and, 
according to cvsweb, the last commit to bconfig.c occurred 4 weeks ago 
(unless you modified that file yourself)

- there's nothing at config.c:449 that can call config_replica();

- bindconf_free() cannot really call slap_cf_aux_table_unparse ()

- there's more inconsistencies...

You should really cross-check what you're debugging, or something else 
is going berserk. Maybe try without optimization?

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

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
------------------------------------------