[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4959) replica seg faults if syncrepl searchbase =""
ali.pouya@free.fr wrote:
> Full_Name: Ali Pouya
> Version: 2.4.4alpha
> OS: Linux RedHat AS4 (kernel 2.6)
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (145.242.3.30)
>
>
> I'm testing OpenLdap 2.4.4alpha for future use.
> I have a master and a replica.
> In the replica's syncrepl configuration has searchbase="" then the replica seg
> faults after connecting to the master.
>
> The core backtrace shows very little information :
Likely because you used a stripped binary. Can you reproduce the issue
with a non-stripped build of HEAD?
p.
> (gdb) bt
> #0 0x00179d5a in strcmp () from /lib/tls/libc.so.6
> #1 0x08068ede in ?? ()
> #2 0x098c0d50 in ?? ()
> #3 0x00000000 in ?? ()
> (gdb)
>
> Below I add the end of the slapd detailed log.
> I can send any other information required.
> Thanks and best regards
> Ali Pouya
>
> Log extract :
>
> ** ld 0x991dcf8 Outstanding Requests:
> * msgid 1, origid 1, status InProgress
> outstanding referrals 0, parent count 0
> ld 0x991dcf8 request count 1 (abandoned 0)
> ** ld 0x991dcf8 Response Queue:
> Empty
> ld 0x991dcf8 response count 0
> ldap_chkResponseList ld 0x991dcf8 msgid 1 all 1
> ldap_chkResponseList returns ld 0x991dcf8 NULL
> ldap_int_select
> read1msg: ld 0x991dcf8 msgid 1 all 1
> ber_get_next
> ldap_read: want=8, got=8
> 0000: 30 0c 02 01 01 61 07 0a 0....a..
> ldap_read: want=6, got=6
> 0000: 01 00 04 00 04 00 ......
> ber_get_next: tag 0x30 len 12 contents:
> ber_dump: buf=0x099270b8 ptr=0x099270b8 end=0x099270c4 len=12
> 0000: 02 01 01 61 07 0a 01 00 04 00 04 00 ...a........
> read1msg: ld 0x991dcf8 msgid 1 message type bind
> ber_scanf fmt ({eAA) ber:
> ber_dump: buf=0x099270b8 ptr=0x099270bb end=0x099270c4 len=9
> 0000: 61 07 0a 01 00 04 00 04 00 a........
> read1msg: ld 0x991dcf8 0 new referrals
> read1msg: mark request completed, ld 0x991dcf8 msgid 1
> request done: ld 0x991dcf8 msgid 1
> res_errno: 0, res_error: <>, res_matched: <>
> ldap_free_request (origid 1, msgid 1)
> ldap_free_connection 0 1
> ldap_free_connection: refcnt 1
> ldap_parse_result
> ber_scanf fmt ({iAA) ber:
> ber_dump: buf=0x099270b8 ptr=0x099270bb end=0x099270c4 len=9
> 0000: 61 07 0a 01 00 04 00 04 00 a........
> ber_scanf fmt (}) ber:
> ber_dump: buf=0x099270b8 ptr=0x099270c4 end=0x099270c4 len=0
>
> ldap_msgfree
> Erreur de segmentation (core dumped)
>
>
>
>
>
>
>
>
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati@sys-net.it
---------------------------------------