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

Re: (ITS#6096) 2.4.16 replica segfault



hyc@symas.com ha scritto:
> Can you print out the a_desc and values of all of the attributes in 
> entry->e_attrs ?
> 
Don't know if this is the "right" way to do it, but here it is...

(gdb) p *(entry->e_attrs->a_desc)
$10 = {ad_next = 0x0, ad_type = 0x8f08d70, ad_cname = {bv_len = 9,
bv_val = 0x8f08cb0 "entryUUID"}, ad_tags = {bv_len = 0, bv_val = 0x0},
ad_flags = 0}
(gdb) p *(entry->e_attrs->a_vals)
$11 = {bv_len = 36, bv_val = 0x4d36f498
"6a0ba116-b291-11da-8006-87f6e679f1bd"}
(gdb) p *(entry->e_attrs->a_nvals)
$12 = {bv_len = 16, bv_val = 0x45631550
"j\v¡\026²\221\021�\200\006\207öæyñ½"}
p (struct Attribute) *0x54a2de9c
$13 = {a_desc = 0x8f07d88, a_vals = 0x4d3e1dd0, a_nvals = 0x4d3e1dd0,
a_numvals = 2, a_flags = 0, a_next = 0x54a3c41c}
p (AttributeDescription) *0x8f07d88
$14 = {ad_next = 0x0, ad_type = 0x8f07cb0, ad_cname = {bv_len = 11,
bv_val = 0x8f07c28 "objectClass"}, ad_tags = {bv_len = 0, bv_val = 0x0},
ad_flags = 0}
(gdb) p (struct berval) *0x4d3e1dd0
$15 = {bv_len = 20, bv_val = 0x4d3f84d8 "cRLDistributionPoint"}
(gdb) p (struct Attribute) *0x54a3c41c
$16 = {a_desc = 0x8f0ce90, a_vals = 0x45665718, a_nvals = 0x4d366d98,
a_numvals = 1, a_flags = 0, a_next = 0x54a41ec4}
(gdb) p (AttributeDescription) *0x8f0ce90
$17 = {ad_next = 0x0, ad_type = 0x8f0cd70, ad_cname = {bv_len = 2,
bv_val = 0x8f0ccf8 "cn"}, ad_tags = {bv_len = 0, bv_val = 0x0}, ad_flags
= 0}
(gdb) p (struct berval) *0x45665718
$18 = {bv_len = 5, bv_val = 0x45662320 "CRL19"}
(gdb) p (struct berval) *0x4d366d98
$19 = {bv_len = 5, bv_val = 0x45666fc8 "crl19"}
(gdb) p (struct Attribute) *0x54a41ec4
$20 = {a_desc = 0x8f08508, a_vals = 0x4d366d80, a_nvals = 0x4d3f9cf8,
a_numvals = 1, a_flags = 0, a_next = 0x54a47d44}
(gdb) p (AttributeDescription) *0x8f08508
$21 = {ad_next = 0x0, ad_type = 0x8f08528, ad_cname = {bv_len = 12,
bv_val = 0x8f08460 "creatorsName"}, ad_tags = {bv_len = 0, bv_val =
0x0}, ad_flags = 0}
(gdb) p (struct berval) *0x4d366d80
$22 = {bv_len = 20, bv_val = 0x4d301108 "cn=directory manager"}
(gdb) p (struct berval) *0x4d3f9cf8
$23 = {bv_len = 20, bv_val = 0x45603f68 "cn=directory manager"}
(gdb) p (struct Attribute) *0x54a47d44
$24 = {a_desc = 0x8f08178, a_vals = 0x45631538, a_nvals = 0x4d31b2b8,
a_numvals = 1, a_flags = 0, a_next = 0x54a47f3c}
(gdb) p (AttributeDescription) *0x8f08178
$25 = {ad_next = 0x0, ad_type = 0x8f08198, ad_cname = {bv_len = 15,
bv_val = 0x8f08098 "createTimestamp"}, ad_tags = {bv_len = 0, bv_val = 0x0},
  ad_flags = 0}
$26 = {a_desc = 0xf, a_vals = 0x4d36d8c0, a_nvals = 0x0, a_numvals = 0,
a_flags = 0, a_next = 0x11}
(gdb) p (struct berval) *0x45631538
$27 = {bv_len = 15, bv_val = 0x4d31b2a0 "20060313130120Z"}
(gdb) p (struct berval) *0x4d31b2b8
$28 = {bv_len = 15, bv_val = 0x4d36d8c0 "20060313130120Z"}
(gdb) p (struct Attribute) *0x54a47f3c
$29 = {a_desc = 0x8f07f10, a_vals = 0x4d36d8d8, a_nvals = 0x4d36d8d8,
a_numvals = 1, a_flags = 0, a_next = 0x54a39c74}
(gdb) p (AttributeDescription) *0x8f07f10
$30 = {ad_next = 0x0, ad_type = 0x8f07f30, ad_cname = {bv_len = 21,
bv_val = 0x8f07e50 "structuralObjectClass"}, ad_tags = {bv_len = 0,
bv_val = 0x0},
  ad_flags = 0}
(gdb) p (struct berval) *0x4d36d8d8
$31 = {bv_len = 20, bv_val = 0x4d3650a0 "cRLDistributionPoint"}
(gdb) p (struct berval) *0x4d36d8d8
$32 = {bv_len = 20, bv_val = 0x4d3650a0 "cRLDistributionPoint"}
(gdb) p (struct Attribute) *0x54a39c74
$33 = {a_desc = 0x905aa98, a_vals = 0x4d3650c0, a_nvals = 0x4d3650c0,
a_numvals = 1, a_flags = 0, a_next = 0x54a38d8c}
(gdb) p (AttributeDescription) *0x905aa98
$34 = {ad_next = 0x0, ad_type = 0x8f24f48, ad_cname = {bv_len = 32,
bv_val = 0x905aab4 "certificateRevocationList;binary"}, ad_tags =
{bv_len = 0,
    bv_val = 0x6769666e ""}, ad_flags = 1}
(gdb) p (struct berval) *0x4d3650c0
$35 = {bv_len = 558, bv_val = 0x4d303a58
"0\202\002*0\202\001\022\002\001\0010\r\006\t*\206H\206÷\r\001\001\005\005"}
(gdb) p (struct Attribute) *0x54a38d8c
$36 = {a_desc = 0x8f08f10, a_vals = 0x4d34c588, a_nvals = 0x4565ce58,
a_numvals = 1, a_flags = 0, a_next = 0x54a38ce4}
(gdb) p (AttributeDescription) *0x8f08f10
$37 = {ad_next = 0x0, ad_type = 0x8f08f30, ad_cname = {bv_len = 8,
bv_val = 0x8f08e50 "entryCSN"}, ad_tags = {bv_len = 0, bv_val = 0x0},
ad_flags = 0}
(gdb) p (struct berval) *0x4d34c588
$38 = {bv_len = 40, bv_val = 0x4d303c90
"20090507070014.234380Z#000000#000#000000"}
(gdb) p (struct berval) *0x4565ce58
$39 = {bv_len = 40, bv_val = 0x4d3fb340
"20090507070014.234380Z#000000#000#000000"}
(gdb) p (struct Attribute) *0x54a38ce4
$40 = {a_desc = 0x8f086b8, a_vals = 0x4565ce70, a_nvals = 0x456197b0,
a_numvals = 1, a_flags = 0, a_next = 0x54a480a4}
(gdb) p (AttributeDescription) *0x8f086b8
$41 = {ad_next = 0x0, ad_type = 0x8f086d8, ad_cname = {bv_len = 13,
bv_val = 0x8f08608 "modifiersName"}, ad_tags = {bv_len = 0, bv_val =
0x0}, ad_flags = 0}
(gdb) p (struct berval) *0x4565ce70
$42 = {bv_len = 34, bv_val = 0x456076d8
"cn=manager,dc=a,dc=prod,dc=actalis"}
(gdb) p (struct berval) *0x456197b0
$43 = {bv_len = 34, bv_val = 0x4565baa8
"cn=manager,dc=a,dc=prod,dc=actalis"}
(gdb) p (struct Attribute) *0x54a480a4
$44 = {a_desc = 0x8f08360, a_vals = 0x456197c8, a_nvals = 0x4d3677e8,
a_numvals = 1, a_flags = 0, a_next = 0x0}
(gdb) p (AttributeDescription) *0x8f08360
$45 = {ad_next = 0x0, ad_type = 0x8f08380, ad_cname = {bv_len = 15,
bv_val = 0x8f08278 "modifyTimestamp"}, ad_tags = {bv_len = 0, bv_val = 0x0},
  ad_flags = 0}
(gdb) p (struct berval) *0x456197c8
$46 = {bv_len = 15, bv_val = 0x4d3677d0 "20090507070014Z"}
(gdb) p (struct berval) *0x4d3677e8
$47 = {bv_len = 15, bv_val = 0x4d36a008 "20090507070014Z"}



Ing. Luca Scamoni
Responsabile Ricerca e Sviluppo

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 0382 573859 (137)
Fax:     +39 0382 476497
Email:   luca.scamoni@sys-net.it
-----------------------------------