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

Re: (ITS#6096) 2.4.16 replica segfault



Howard Chu ha scritto:
> Luca Scamoni wrote:
>> 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...
> 
> Everything looks normal here.
> 
> (I generally would do:
>   p *entry->e_attrs
>   p *entry->e_attrs->a_desc
>   p *entry->e_attrs->a_vals
>   p *entry->e_attrs->a_next
>   p *entry->e_attrs->a_next->a_desc
>   p *entry->e_attrs->a_next->a_vals
> ...
> 
> Obviously it's easier with command history/editing...)
> 
> Judging from the provider log, there's nothing special about the DN
> either. Can't imagine that it would get corrupted in the consumer, but
> we'll need to see what turns up in the LDAPMessage.
> 
This one?

(gdb) frame 6
#6  0x080eebcf in do_syncrep2 (op=0x380acf0, si=0x8fdebf8) at
../../../servers/slapd/syncrepl.c:892
892     ../../../servers/slapd/syncrepl.c: No such file or directory.
        in ../../../servers/slapd/syncrepl.c
(gdb) p *msg
$1 = {lm_msgid = 2, lm_msgtype = 100, lm_ber = 0x4d32d5d0, lm_chain =
0x0, lm_chain_tail = 0x4d3741f0, lm_next = 0x0, lm_time = 0}
(gdb) p *msg->lm_ber
$2 = {ber_opts = {lbo_valid = 2, lbo_options = 1, lbo_debug = 0},
ber_tag = 100, ber_len = 1194, ber_usertag = 0,
  ber_buf = 0x4d32c958 "\002\001\002d\202\0046\004", ber_ptr =
0x4d32c95b "d\202\0046\004", ber_end = 0x4d32ce02 "", ber_sos = 0x0,
ber_rwptr = 0x0,
  ber_memctx = 0x0}



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
-----------------------------------