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

RE: slapd seg. fault when repeated getpwnam (ITS#1329)



Just loaded openldap 2.0.15 and it seems faster but it eventually core
dumps.  The backtrace seems a little different.  Any thoughts?

#0  0x402168a5 in __sigsuspend (set=0xbffff880)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:45
45      ../sysdeps/unix/sysv/linux/sigsuspend.c: No such file or
directory.
        in ../sysdeps/unix/sysv/linux/sigsuspend.c
(gdb) where
#0  0x402168a5 in __sigsuspend (set=0xbffff880)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:45
#1  0x401dc0d9 in __pthread_wait_for_restart_signal (self=0x401e4e80)
    at pthread.c:934
#2  0x401d954a in pthread_join (thread_id=1026, thread_return=0x0)
    at restart.h:34
#3  0x0804e421 in strcpy () at ../sysdeps/generic/strcpy.c:31
#4  0x0804beba in strcpy () at ../sysdeps/generic/strcpy.c:31
#5  0x40205177 in __libc_start_main (main=0x804b880 <strcpy+324>,
argc=3, 
    ubp_av=0xbffffadc, init=0x804aa54 <_init>, fini=0x8099630 <_fini>, 
    rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffffacc)
    at ../sysdeps/generic/libc-start.c:129
(gdb)

Thanks,

Gerry 


 -----Original Message-----
From: 	Morong, Gerry  
Sent:	Wednesday, September 19, 2001 5:18 PM
To:	'Kurt D. Zeilenga'
Cc:	openldap-its@OpenLDAP.org
Subject:	RE: slapd seg. fault when repeated getpwnam (ITS#1329)


Ran REL_ENG_2 after adjusting my solaris.schema file.  Slapd still fails
but note the following message when I start slapd on the command line.

# ./slapd -d 256
daemon: socket() failed errno=97 (Address family not supported by
protocol)
slapd starting

Back Trace
(gdb) where
#0  0x402168a5 in __sigsuspend (set=0x497ff9fc)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:45
#1  0x401dc0d9 in __pthread_wait_for_restart_signal (self=0x497ffc00)
    at pthread.c:934
#2  0x401d8c5c in pthread_cond_wait (cond=0x80b8104, mutex=0x80b80ec)
    at restart.h:34
#3  0x08084580 in strcpy () at ../sysdeps/generic/strcpy.c:31
#4  0x401d9bfd in pthread_start_thread (arg=0x497ffc00) at manager.c:262
(gdb)quit


Gerry Morong
Electronic Design Automation
ISSG
gerry.morong@compaq.com

 -----Original Message-----
From: 	Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org] 
Sent:	Wednesday, September 19, 2001 2:25 PM
To:	Morong, Gerry
Cc:	openldap-its@OpenLDAP.org
Subject:	RE: slapd seg. fault when repeated getpwnam (ITS#1329)

At 12:03 PM 2001-09-19, Gerry.Morong@compaq.com wrote:
>Got REL_ENG_2 compiled and install.  However it will not start due to a
>schema syntax error with solaris.schema.  Note that I have been using
>this schema file for openldap 2.0.7 through 2.0.14.  Has something
>changed in the schema parsing code?

Yes, it's been fixed and now will properly disallow
non-conformant schema from being excepted.  The
schema you use appears not to have valid OID fields.