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

Re: RE24 connection code reworking



Quanah Gibson-Mount wrote:
RE24 has had some code reworking in the connections area, due to some race conditions that were being triggered. It would be useful if people could test current RE24 to see if they encounter issues. There are still a number of outstanding issues that need to be resolved before 2.4.14 will be released, but I'd appreciate a head start on making sure that at least make test is passing for folks with this new code in place. So far, it does for both Howard and I, but Michael StrÃder has reported failures in his OpenSuSE builds that we can't reproduce.

I found two apparently identical core dumps (from HEAD). The second one was from test045 with hdb (all tests went fine with bdb, apparently). The first one I don't know, as it occurred 12 minutes earlier, the test didn't detect it and I didn't save the log info from the runs. The backtrace looks identical:


test045:

#0  0x0049f402 in __kernel_vsyscall ()
(gdb) bt
#0  0x0049f402 in __kernel_vsyscall ()
#1  0x00c9ad20 in raise () from /lib/libc.so.6
#2  0x00c9c631 in abort () from /lib/libc.so.6
#3  0x00c9416b in __assert_fail () from /lib/libc.so.6
#4  0x08219421 in ldap_pvt_runqueue_remove (rq=0x83521c0, entry=0x9635328)
    at ../../../ldap-2.4-src/libraries/libldap_r/rq.c:92
#5  0x080f567a in do_syncrepl (ctx=0xb63e11d0, arg=0x9635328)
    at ../../../ldap-2.4-src/servers/slapd/syncrepl.c:1402
#6  0x08085a71 in connection_read_thread (ctx=0xb63e11d0, argv=0xa)
    at ../../../ldap-2.4-src/servers/slapd/connection.c:1225
#7  0x082188a5 in ldap_int_thread_pool_wrapper (xpool=0x9604cd8)
    at ../../../ldap-2.4-src/libraries/libldap_r/tpool.c:663
#8  0x00deb46b in start_thread () from /lib/libpthread.so.0
#9  0x00d42dbe in clone () from /lib/libc.so.6

unknown test:

#0  0x006d3402 in __kernel_vsyscall ()
(gdb) bt
#0  0x006d3402 in __kernel_vsyscall ()
#1  0x00c9ad20 in raise () from /lib/libc.so.6
#2  0x00c9c631 in abort () from /lib/libc.so.6
#3  0x00c9416b in __assert_fail () from /lib/libc.so.6
#4  0x08219421 in ldap_pvt_runqueue_remove (rq=0x83521c0, entry=0x963b050)
    at ../../../ldap-2.4-src/libraries/libldap_r/rq.c:92
#5  0x080f567a in do_syncrepl (ctx=0xb355d1d0, arg=0x963b050)
    at ../../../ldap-2.4-src/servers/slapd/syncrepl.c:1402
#6  0x08085a71 in connection_read_thread (ctx=0xb355d1d0, argv=0xc)
    at ../../../ldap-2.4-src/servers/slapd/connection.c:1225
#7  0x082188a5 in ldap_int_thread_pool_wrapper (xpool=0x960acd8)
    at ../../../ldap-2.4-src/libraries/libldap_r/tpool.c:663
#8  0x00deb46b in start_thread () from /lib/libpthread.so.0
#9  0x00d42dbe in clone () from /lib/libc.so.6

I'm currently using CentOS 5.2
kernel: 2.6.18-92.1.10.el5
Oracle DB: 4.7.25

The db library was built quite some time ago; I do not recall how many patches I applied, though I recall applying some. For this reason, I'm going to rebuild it right now.

p.


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
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------