[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
bdb2 on Alpha OSF 4.0e
Under tests, "make bdb2" fails on a single-CPU Alpha OSF 4.0e.
I've figured out that removing TIMING=-t from defines.sh elminates
this problem (slapd core dumps during test002-populate), and the
tests all succeed.
Interestingly, this is not a problem on my Sparc Solaris 2.5.0 with
the same versions of slapd and db.
More specifically, slapd traps with a SIGSEGV (output of -d 65535 also
included):
:
:
:
ber_scanf fmt (}) ber:
ber_dump: buf 0x14005f600, ptr 0x14005f7ce, end 0x14005f7ce
(end)
conn=1 op=1 ADD dn="O=UNIVERSITY OF MICHIGAN,C=US"
add_created_attrs
bdb2i_enter_backend() -- write lock granted
bdb2i_start_transaction: transaction started.
==> bdb2i_back_add: o=University of Michigan, c=US
=> bdb2i_dn2id( "O=UNIVERSITY OF MICHIGAN,C=US" )
bdb2i_get_db_file_cache(): looking for file dn2id.bdb2
<= bdb2i_dn2id NOID
oc_check_required entry (o=University of Michigan, c=US), objectclass "top"
oc_check_required entry (o=University of Michigan, c=US), objectclass "organization"
oc_check_required entry (o=University of Michigan, c=US), objectclass "domainRelatedObject"
oc_check_allowed type "objectclass"
oc_check_allowed type "l"
oc_check_allowed type "st"
oc_check_allowed type "streetaddress"
oc_check_allowed type "o"
oc_check_allowed type "description"
oc_check_allowed type "postaladdress"
oc_check_allowed type "telephonenumber"
oc_check_allowed type "associateddomain"
oc_check_allowed type "creatorsname"
oc_check_allowed type "modifiersname"
oc_check_allowed type "createtimestamp"
oc_check_allowed type "modifytimestamp"
next_id_read: could not get nextid from "NEXTID"
conn=1 op=1 ADD-CACHE elapsed=0.000000
=> index_add( 1, "o=University of Michigan, c=US" )
=> bdb2i_index_add_values( "dn", 1 )
=> bdb2i_index_add_values( "objectclass", 1 )
bdb2i_get_db_file_cache(): looking for file objectClass.bdb2
*** bdb2i_index_add_values syntax 0x1 syntax bin 0x4
=> add_value( "=TOP" )
Program received signal SIGSEGV, Segmentation fault.
0x120051d00 in bdb2i_uncond_stop_timing (time1={tv_sec = 0, tv_usec = 0},
func=0x0, conn=0x0, op=0x0, level=1074258432) at timing.c:44
44 bdb2i_uncond_stop_timing(
(gdb) where
#0 0x120051d00 in bdb2i_uncond_stop_timing (time1={tv_sec = 0, tv_usec = 0},
func=0x0, conn=0x0, op=0x0, level=1074258432) at timing.c:44
#1 0x12006873c in bdb2i_cache_store (db=0x14007e200, key={data = 0x1401f16b8,
size = 5, ulen = 0, dlen = 0, doff = 0, flags = 0}, data={
data = 0x14005dbe0, size = 24, ulen = 0, dlen = 0, doff = 0, flags = 0},
flags=0) at dbcache.c:169
#2 0x120064c18 in idl_store (be=0x140036d60, db=0x14007e200, key={
data = 0x1401f16b8, size = 5, ulen = 0, dlen = 0, doff = 0, flags = 0},
idl=0x14005dbe0) at idl.c:217
#3 0x120065144 in bdb2i_idl_insert_key (be=0x140036d60, db=0x14007e200, key={
data = 0x1401f16b8, size = 5, ulen = 0, dlen = 0, doff = 0, flags = 0},
id=1) at idl.c:345
#4 0x120067744 in add_value (be=0x140036d60, db=0x14007e200,
type=0x1400592a0 "objectClass", indextype=2, val=0x1401f3748 "TOP", id=1)
at index.c:213
#5 0x120067c20 in bdb2i_index_add_values (be=0x140036d60,
type=0x14005f1e0 "objectclass", vals=0x14007d820, id=1) at index.c:312
#6 0x120066f2c in bdb2i_index_add_entry (be=0x140036d60, e=0x14007d880)
at index.c:51
#7 0x12004e4e4 in bdb2i_back_add_internal (be=0x140036d60, conn=0x140080438,
op=0x14007d640, e=0x14007d880) at add.c:212
#8 0x12004ea5c in bdb2_back_add (be=0x140036d60, conn=0x140080438,
op=0x14007d640, e=0x14007d880) at add.c:306
---Type <return> to continue, or q <return> to quit---
#9 0x120020720 in do_add (conn=0x140080438, op=0x14007d640) at add.c:192
#10 0x12001c848 in connection_operation (arg_v=0x14005d960) at connection.c:725
#11 0x3ff805a1d38 in thdBase ()
(gdb)