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

Re: Perl-Bakend Segmentation fault



> If you're interested...
Yes!! I'm very interested, for now i'm using the bachend-shell, but my
goal is to use the backend-perl, i expect more performance, but any
way...here is my trace, i hope it helps...


#0  0x810fefc in Perl_pp_method_named ()
No symbol table info available.
#1  0x81dc748 in ?? ()
No symbol table info available.
#2  0x810fe2a in Perl_pp_method ()
No symbol table info available.
#3  0x80cdb88 in perl_call_method ()
No symbol table info available.
#4  0x80a90b7 in perl_back_db_config ()
No symbol table info available.
#5  0x807339d in read_config ()
No symbol table info available.
#6  0x8064bf9 in main ()
No symbol table info available.
#7  0x40161e21 in __libc_start_main (main=0x80647fc <main>, argc=3,
ubp_av=0xbffffaa4, init=0x8063398 <_init>, fini=0x8150ddc <_fini>, 
    rtld_fini=0x4000df94 <_dl_fini>, stack_end=0xbffffa9c) at
../sysdeps/generic/libc-start.c:111
	ubp_av = (char **) 0xbffffaa4
	fini = (void (*)()) 0
	rtld_fini = (void (*)()) 0
	ubp_ev = (char **) 0xbffffab4


Thanks.

Paulo Calçada
www.clorofila.ipp.pt


> i) if your slapd is strip ( probably is, 'file /path/to/slapd' command 
> to tell ), rebuild slapd...
>    a) first rename your strip binary temporary ( currently there doesn't 
> seem to be any way to tell OpenLDAP build environment to not strip 
> binaries ) or 'ln -s true strip' in a directory before the real 'strip' 
> in your path
>    b) add "-g" to the CFLAGS environment variable, before building 
> OpenLDAP, leave the source around after rebuilding
> ii) start OpenLDAP under GDB ( 'gdb /path/to/slapd' )and run with your 
> usual flags ('gdb_prompt>run -f slapd.conf...').  After the core do a 
> full backtrace, "gdb_prompt>bt f" gdb command.
> iii)Post the results
> 
> --Kervin
> 
> Paulo Calçada wrote:
> > Hi.
> > 
> > I'm trying to use de perl-backend with openldap-2.1.5/4, every time i
> > start the slapd i recive a segmentation fault.
> > 
> > 
> > Already somebody used the Perl-backend with success. 
> > 
> > Thanks
> > 
> > Paulo Calçada
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
>