[Pkg-openldap-devel] Bug#464024: Update: backtrace of dead consumer

Ralph Rößner roessner at capcom.de
Tue Feb 26 15:56:19 UTC 2008


Hi,

after spending some time trying - without success - to reproduce my
problems with a test producer slapd, I switched my test consumer back to
the production producer and was able to capture another consumer SEGV.
This time my gdb was ready for it, so here is the backtrace:


0xb7c6f590 in pthread_join () from /lib/libpthread.so.0
(gdb) cont
Continuing.
[New Thread 0xb53dcb90 (LWP 17602)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb69eab90 (LWP 10148)]
0x080caa7a in compare_csns (sc1=0xb69e9c00, sc2=0xb69e9c20, which=0xb69e9cf4)
    at /build/buildd/openldap2.3-2.4.7/servers/slapd/syncrepl.c:668
668     /build/buildd/openldap2.3-2.4.7/servers/slapd/syncrepl.c: No such file or directory.
        in /build/buildd/openldap2.3-2.4.7/servers/slapd/syncrepl.c
(gdb) bt
#0  0x080caa7a in compare_csns (sc1=0xb69e9c00, sc2=0xb69e9c20, 
    which=0xb69e9cf4)
    at /build/buildd/openldap2.3-2.4.7/servers/slapd/syncrepl.c:668
#1  0x080d2e42 in do_syncrep2 (op=0xb69e9d8c, si=0x81f4e88)
    at /build/buildd/openldap2.3-2.4.7/servers/slapd/syncrepl.c:1012
#2  0x080d375b in do_syncrepl (ctx=0xb69ea248, arg=0x81f4190)
    at /build/buildd/openldap2.3-2.4.7/servers/slapd/syncrepl.c:1207
#3  0xb7ec2a44 in ?? () from /usr/lib/libldap_r-2.4.so.2
#4  0xb69ea248 in ?? ()
#5  0x081f4190 in ?? ()
#6  0x00000000 in ?? ()
(gdb) 


The relevant syslog entries from the consumer machine show up the empty
csn again:


Feb 25 08:54:26 gorkon-test2 slapd[10145]: =>do_syncrepl rid=001 
Feb 25 08:54:26 gorkon-test2 slapd[10145]: =>do_syncrep2 rid=001 
Feb 25 08:54:26 gorkon-test2 slapd[10145]: do_syncrep2: rid=001 LDAP_RES_SEARCH_
RESULT 
Feb 25 08:56:26 gorkon-test2 slapd[10145]: =>do_syncrepl rid=001 
Feb 25 08:56:26 gorkon-test2 slapd[10145]: =>do_syncrep2 rid=001 
Feb 25 08:56:26 gorkon-test2 slapd[10145]: do_syncrep2: rid=001 LDAP_RES_INTERME
DIATE - SYNC_ID_SET 
Feb 25 08:56:26 gorkon-test2 slapd[10145]: do_syncrep2: cookie=rid=001,csn= 
Feb 25 09:13:46 gorkon-test2 -- MARK --


Note that this is on both ends of the connection package version
2.4.7-4, not -3 as in the original post.

Sincerely,
   Ralph Rößner

-- 
Ralph Rößner
CAPCom AG < http://www.capcom.de >
Rundeturmstr. 10, 64283 Darmstadt, Germany
Phone +49 6151 155 900, Fax +49 6151 155 909

Vorstand: Luc Neumann (Vorsitzender)
Vorsitzender des Aufsichtsrats: Prof. Dr.-Ing. José L. Encarnação
Sitz der Gesellschaft: Darmstadt, Registergericht: Darmstadt HRB 8090





More information about the Pkg-openldap-devel mailing list