[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Replication test on Solaris 2.5
> At 05:00 PM 1/14/99 -0600, Randy Kunkee wrote:
> >I've got all of the tests working with the exception of the replication
> >test. Sometimes is runs through to completion, sometimes not. When it
> >does not complete, and I hit control-C to interrupt it, the master slapd
> >process sticks around.
>
> Is the process running or waiting?
>
> >A normal kill won't do it in -- I have to use a
> >kill -10 or -11, attempting to get a core dump. Unfortunately, gdb will
> >not read the core dump.
>
> I assume this is with devel...
>
> BTW, I've made some recent changes to slapd's shutdown code to
> remove a busy loop/yield with a cond wait loop. The code has
> passed all of my testing... but every platform is different.
>
> I assume you configured using LIBS="-lpthread -lposix4"
>
> Kurt
>
>
>
>
>
It was waiting. And yes, it is with devel. On a possibly related note,
an attempt build and run on Solaris X86 2.6 produces the following
stack trace from ldif2ldbm (again using db-2.3.16):
#0 0x8060d93 in ravl_insert (iroot=0x807279c, data=0x80799a0 "°\235\a\b(",
taller=0x8046c88, fcmp=0x8058668 <ainfo_cmp>, fdup=0x805867c <ainfo_dup>,
depth=0) at avl.c:79
79 cmp = (*fcmp)( data, (*iroot)->avl_data );
(gdb) where
#0 0x8060d93 in ravl_insert (iroot=0x807279c, data=0x80799a0 "°\235\a\b(",
taller=0x8046c88, fcmp=0x8058668 <ainfo_cmp>, fdup=0x805867c <ainfo_dup>,
depth=0) at avl.c:79
#1 0x80610f1 in avl_insert (root=0x807279c, data=0x80799a0 "°\235\a\b(",
fcmp=0x8058668 <ainfo_cmp>, fdup=0x805867c <ainfo_dup>) at avl.c:213
#2 0x80588cc in attr_index_config (li=0x8072748,
fname=0x806b33e "ldbm dn initialization", lineno=0, argc=3,
argv=0x80799a0, init=1) at attr.c:145
#3 0x805ddf4 in ldbm_back_init (be=0x8046c88) at init.c:56
#4 0x804fdd1 in new_backend (type=0x806fea9 "ldbm") at backend.c:137
#5 0x804e3ab in read_config (fname=0x806f4a0 "./data/slapd-master.conf",
bep=0x8046f5c, pfp=0x0) at config.c:80
#6 0x804d9cd in main (argc=7, argv=0x8047970) at ldif2ldbm.c:107
(gdb) print data
$1 = 0x80799a0 "°\235\a\b("
(gdb) print iroot
$2 = (struct avlnode **) 0x807279c
(gdb) print *iroot
$3 = (struct avlnode *) 0x3e8
(gdb) print **iroot
Cannot access memory at address 0x3e8.
Randy.