[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: OpenLDAP configure/test error (ITS#975)
> As far as the test issue goes, your welcome to submit a
> separate ITS. Please provide a stack traceback from
> ldapsearch.
> >As for your comments can you elaborate more as to what inconsistancies
might
> >cause this?
>
> A Kernel/System Library/Compiler tool chain mismatch might
> cause this. This is only initial guess and is meant to
> aid you in investigating the issue further.
>
> >I have been running these systems for about 5 years.
>
> Linux 2.4, 5 years, sure.
Granted, not 2.4.0, This system started out as a 1.2.x system. Over the
course
of years I've manually replaced every system/library/file for AT LEAST every
major
revision (ie. 1.2.x -> 2.0.x re-compiled entire system, likewise with
2.0->2.2.x and
now going from 2.2->2.4).
> >Granted that I have some local configuration differences
>
> Looks to me like you are running a pre-release system or
> have on your own replaced the kernel, libraries, and/or compiler
> tool chain provided with Slackware releases. Hence my initial
> guess. I've guessed wrong before and could be guessing wrong
> here.
Like I mentioned I have the standard glibc-2.1.3 distribution w/
linuxthreads & crypt
Kernel v2.4.0release
Compiler is GCC v2.95.2 (thread support)
gdbm v1.7.3
This is all on a PPro SMP system.
I ran the test000-rootdse manuall (or tried to), but this is what I got when
I started up slapd with the same
arguments from the command line. Also attached is an strace output.
www:/usr/src/openldap-2.0.7/tests# ../servers/slapd/slapd -f
./data/slapd-schema.conf -h ldap://localhost:9009/ -d 1
@(#) $OpenLDAP: slapd 2.0.7-Release (Fri Jan 19 19:44:24 CST 2001) $
root@www:/usr/src/openldap-2.0.7/servers/slapd
daemon_init: listen on ldap://localhost:9009/
daemon_init: 1 listeners to open...
ldap_url_parse(ldap://localhost:9009/)
Segmentation fault
www:/usr/src/openldap-2.0.7/tests# ../servers/slapd/slapd -f
./data/slapd-schema.conf -h ldap://localhost:9009/ -d 5
@(#) $OpenLDAP: slapd 2.0.7-Release (Fri Jan 19 19:44:24 CST 2001) $
root@www:/usr/src/openldap-2.0.7/servers/slapd
daemon_init: ldap://localhost:9009/
daemon_init: listen on ldap://localhost:9009/
daemon_init: 1 listeners to open...
ldap_url_parse(ldap://localhost:9009/)
Segmentation fault
www:/usr/src/openldap-2.0.7/tests# strace ../servers/slapd/slapd -f
./data/slapd-schema.conf -h ldap://localhost:9009/ -
d 5
execve("../servers/slapd/slapd", ["../servers/slapd/slapd", "-f",
"./data/slapd-schema.conf", "-h", "ldap://localhost:90
09/", "-d", "5"], [/* 29 vars */]) = 0
brk(0) = 0x817cfb8
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40014000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=6506, ...}) = 0
mmap(0, 6506, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40015000
close(3) = 0
open("/lib/libdb.so.3", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=811341, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 248760, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40017000
mprotect(0x40053000, 3000, PROT_NONE) = 0
mmap(0x40053000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x3b000) = 0x40053000
close(3) = 0
open("/lib/libcrypt.so.1", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=60981, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 181820, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40054000
mprotect(0x40059000, 161340, PROT_NONE) = 0
mmap(0x40059000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x4000) = 0x40059000
mmap(0x4005a000, 157244, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4005a000
close(3) = 0
open("/lib/libpthread.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=286502, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 73912, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40081000
mprotect(0x4008c000, 28856, PROT_NONE) = 0
mmap(0x4008c000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0xa000) = 0x4008c000
mmap(0x40093000, 184, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40093000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=4071210, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 922652, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40094000
mprotect(0x4016e000, 29724, PROT_NONE) = 0
mmap(0x4016e000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0xd9000) = 0x4016e000
mmap(0x40172000, 13340, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40172000
close(3) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40176000
mprotect(0x40094000, 892928, PROT_READ|PROT_WRITE) = 0
mprotect(0x40094000, 892928, PROT_READ|PROT_EXEC) = 0
munmap(0x40015000, 6506) = 0
personality(PER_LINUX) = 0
getpid() = 16440
getpid() = 16440
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
setrlimit(RLIMIT_STACK, {rlim_cur=2040*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="www", ...}) = 0
SYS_174(0x20, 0xbffff784, 0, 0x8, 0x20) = 0
SYS_174(0x21, 0xbffff794, 0, 0x8, 0x21) = 0
SYS_174(0x22, 0xbffff784, 0, 0x8, 0x22) = 0
SYS_175(0, 0xbffff884, 0, 0x8, 0) = 0
brk(0) = 0x817cfb8
brk(0x817cfe8) = 0x817cfe8
brk(0x817d000) = 0x817d000
brk(0x817e000) = 0x817e000
uname({sys="Linux", node="www", ...}) = 0
gettimeofday({979960992, 82460}, NULL) = 0
getpid() = 16440
open("/etc/resolv.conf", O_RDONLY) = 3
recvmsg(3, Segmentation fault