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

(ITS#4135) assertion: SLAP_SOCK_NOT_ACTIVE( s )



Full_Name: Aaron Richton
Version: HEAD
OS: Solaris 9
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (128.6.31.135)


Fairly recent HEAD but I note that I have connection.c,v 1.334 2005/11/01
14:11:54 which is not up-to-the-second. This also has the tcpd mutex patch
(ITS#4099).

Two different test suite runs have resulted in:

Assertion failed: SLAP_SOCK_NOT_ACTIVE( s ), file daemon.c, line 1358

Here are the two backtraces. I also have the two testrun directories
archived (e.g. slapd -d output) and available upon request.

Thread 4 (process 209003    ):
#0  0xfec45998 in __lwp_park () from /usr/lib/libthread.so.1
#1  0xfec41674 in mutex_lock_queue () from /usr/lib/libthread.so.1
#2  0xfec42074 in slow_lock () from /usr/lib/libthread.so.1
#3  0xff31c53c in ldap_pvt_thread_mutex_lock (mutex=0x294bf8)
    at thr_posix.c:307
#4  0x00062de4 in slapd_daemon_task (ptr=0x0) at daemon.c:1748

Thread 3 (process 77931    ):
#0  0xfed1f8e4 in _lwp_wait () from /usr/lib/libc.so.1
#1  0xfec3d6b8 in lwp_wait () from /usr/lib/libthread.so.1
#2  0xfec390f0 in _thrp_join () from /usr/lib/libthread.so.1
#3  0xff31c2b8 in ldap_pvt_thread_join (thread=3, thread_return=0x0)
    at thr_posix.c:172
#4  0x00064544 in slapd_daemon () at daemon.c:2210
#5  0x00049778 in main (argc=8, argv=0xffbff70c) at main.c:785

Thread 2 (process 340075    ):
#0  0xfec429d0 in pthread_mutex_destroy () from /usr/lib/libthread.so.1
#1  0xff31c4fc in ldap_pvt_thread_mutex_destroy (mutex=0x373ac8)
    at thr_posix.c:296
#2  0xff32d4c4 in ldap_ld_free (ld=0x373a08, close=1, sctrls=0x0, cctrls=0x0)
    at unbind.c:195
#3  0xff32cfbc in ldap_unbind_ext (ld=0x373a08, sctrls=0x0, cctrls=0x0)
    at unbind.c:55
#4  0x000f3560 in do_syncrep2 (op=0xfd3ffa90, si=0x2e96f8) at syncrepl.c:983
#5  0x000f3900 in do_syncrepl (ctx=0xfd3ffe14, arg=0x302ae8) at syncrepl.c:1059
#6  0xff31a954 in ldap_int_thread_pool_wrapper (xpool=0x2c5d10) at tpool.c:615

Thread 1 (process 274539    ):
#0  0xfed1f82c in _lwp_kill () from /usr/lib/libc.so.1
#1  0xfecd0a24 in raise () from /usr/lib/libc.so.1
#2  0xfecb6ce0 in abort () from /usr/lib/libc.so.1
#3  0xfecb6f80 in _assert () from /usr/lib/libc.so.1
#4  0x000617bc in slap_listener (sl=0x2b6198) at daemon.c:1358
#5  0x00062370 in slap_listener_thread (ctx=0xfdbffe14, ptr=0x2b6198)
    at daemon.c:1535
#6  0xff31a954 in ldap_int_thread_pool_wrapper (xpool=0x2c5d10) at tpool.c:615



Thread 4 (process 225806    ):
#0  0xfec45998 in __lwp_park () from /usr/lib/libthread.so.1
#1  0xfec41674 in mutex_lock_queue () from /usr/lib/libthread.so.1
#2  0xfec42074 in slow_lock () from /usr/lib/libthread.so.1
#3  0xff31c53c in ldap_pvt_thread_mutex_lock (mutex=0x294bf8)
    at thr_posix.c:307
#4  0x00062de4 in slapd_daemon_task (ptr=0x0) at daemon.c:1748

Thread 3 (process 94734    ):
#0  0xfed1f8e4 in _lwp_wait () from /usr/lib/libc.so.1
#1  0xfec3d6b8 in lwp_wait () from /usr/lib/libthread.so.1
#2  0xfec390f0 in _thrp_join () from /usr/lib/libthread.so.1
#3  0xff31c2b8 in ldap_pvt_thread_join (thread=3, thread_return=0x0)
    at thr_posix.c:172
#4  0x00064544 in slapd_daemon () at daemon.c:2210
#5  0x00049778 in main (argc=8, argv=0xffbff70c) at main.c:785

Thread 2 (process 356878    ):
#0  0xff2e234c in ber_int_sb_destroy (sb=0x35dab8) at sockbuf.c:380
#1  0xff2e1054 in ber_sockbuf_free (sb=0x35dab8) at sockbuf.c:77
#2  0xff32d4b4 in ldap_ld_free (ld=0x373a08, close=1, sctrls=0x0, cctrls=0x0)
    at unbind.c:192
#3  0xff32cfbc in ldap_unbind_ext (ld=0x373a08, sctrls=0x0, cctrls=0x0)
    at unbind.c:55
#4  0x000f3560 in do_syncrep2 (op=0xfd3ffa90, si=0x2e96f8) at syncrepl.c:983
#5  0x000f3900 in do_syncrepl (ctx=0xfd3ffe14, arg=0x302ae8) at syncrepl.c:1059
#6  0xff31a954 in ldap_int_thread_pool_wrapper (xpool=0x2c5d10) at tpool.c:615

Thread 1 (process 291342    ):
#0  0xfed1f82c in _lwp_kill () from /usr/lib/libc.so.1
#1  0xfecd0a24 in raise () from /usr/lib/libc.so.1
#2  0xfecb6ce0 in abort () from /usr/lib/libc.so.1
#3  0xfecb6f80 in _assert () from /usr/lib/libc.so.1
#4  0x000617bc in slap_listener (sl=0x2b6198) at daemon.c:1358
#5  0x00062370 in slap_listener_thread (ctx=0xfdbffe14, ptr=0x2b6198)
    at daemon.c:1535
#6  0xff31a954 in ldap_int_thread_pool_wrapper (xpool=0x2c5d10) at tpool.c:615