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

Re: denyop segfaults



Hi,

Am Dienstag, 6. April 2004 00:29 schrieb Pierangelo Masarati:
> > Hi,
> >
> > "Pierangelo Masarati" <ando@sys-net.it> writes:
> >>> Hi,
> >>> I would like to test denyop but slapd segfaults.My slapd.conf
[...]
> I'm curious to see where you were getting a sigsegv,
> just to make it a bit more reliable.

Here is the backtrace

-.-.-.-.-.-.gdb backtrace-.-.-.-.-.-.-.-.-.-.-
(gdb) exec-file slapd
(gdb) run -h "ldapi:///"
Starting program: /home/dieter/openldap/libexec/slapd -h "ldapi:///"
[New Thread 16384 (LWP 1704)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 1704)]
0x4034521b in strlen () from /lib/i686/libc.so.6
(gdb) bt
#0  0x4034521b in strlen () from /lib/i686/libc.so.6
#1  0x403167d8 in vfprintf () from /lib/i686/libc.so.6
#2  0x403a439a in vsyslog () from /lib/i686/libc.so.6
#3  0x403a41ff in syslog () from /lib/i686/libc.so.6
#4  0x4065dc56 in denyop_config (be=0x45, 
    fname=0x80b7ea0 "/home/dieter/openldap/etc/openldap/slapd.conf", 
    lineno=69, argc=2, argv=0x80b7ea0) at denyop.c:170
#5  0x0809bb99 in ?? ()
#6  0x08126e08 in ?? ()
#7  0x080b7ea0 in ?? ()
#8  0x00000045 in ?? ()
#9  0x00000002 in ?? ()
#10 0x080e98c0 in ?? ()
#11 0x080ea0c8 in ?? ()
#12 0x080ea0c8 in ?? ()
#13 0x080ed908 in ?? ()
#14 0x080ea0c8 in ?? ()
#15 0x080b7ea0 in ?? ()
#16 0xbffff268 in ?? ()
#17 0x00000045 in ?? ()
#18 0x080ea0c8 in ?? ()
#19 0x080b7ea0 in ?? ()
#20 0xbffff318 in ?? ()
#21 0x08058a04 in ?? ()
#22 0x08126e08 in ?? ()
#23 0x080b7ea0 in ?? ()
#24 0x00000045 in ?? ()
#25 0x00000002 in ?? ()
#26 0x080e98c0 in ?? ()
#27 0x080b84dd in ?? ()
#28 0xfffffff4 in ?? ()
#29 0xfffffff4 in ?? ()
#30 0x40018df8 in _r_debug ()
#31 0x0804f271 in ?? ()
#32 0x00000019 in ?? ()
#33 0x40058b77 in ber_strdup_x (s=0x8126e08 "ðr\022\b", ctx=0x80b7ea0)
    at memory.c:667
Previous frame inner to this frame (corrupt stack?)
(gdb)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.

-Dieter

-- 
Dieter Klünter | Systemberatung
Tel.: +49.40.64861967
Fax : +49.40.64891521
http://www.avci.de