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

"unknown filter type" followed by SEGV (ITS#3300)



While configuring a testbed for ITS#3296 proposed patch, I got another
"unknown filter" SEGV. Again, all the searches in question appear to be
syncRepl consumers. Unknown filter message (this appears right after the
last connid=106 syslog, from thread 5):

Aug 31 18:47:05 nstanlee.rutgers.edu slapd[3047]: [ID 536628 local4.debug]     unknown filter type 85956392
Aug 31 18:47:05 nstanlee.rutgers.edu slapd[3047]: [ID 536628 local4.debug]     unknown filter type 4272221938

"thr apply all bt", with syslogs as appropriate:

Thread 11 (process 134119    ):
#0  0xfee9d9c8 in _poll () from /usr/lib/libc.so.1
#1  0xfee52238 in _select () from /usr/lib/libc.so.1
#2  0xfedbe6b0 in select () from /usr/lib/libthread.so.1
#3  0x00070b38 in slapd_daemon_task (ptr=0x0) at daemon.c:1422

Thread 10 (process 68583    ):
#0  0xfee9f6f4 in _lwp_wait () from /usr/lib/libc.so.1
#1  0xfedbd6b8 in lwp_wait () from /usr/lib/libthread.so.1
#2  0xfedb90f0 in _thrp_join () from /usr/lib/libthread.so.1
#3  0x00180ea0 in ldap_pvt_thread_join (thread=2, thread_return=0x0)
    at thr_posix.c:151
#4  0x00072664 in slapd_daemon () at daemon.c:2032
#5  0x00060bec in main (argc=4, argv=0xffbffd94) at main.c:710

Thread 9 (process 723943    ):
#0  0xfedc58f8 in __lwp_park () from /usr/lib/libthread.so.1
#1  0xfedc2ba4 in cond_wait_queue () from /usr/lib/libthread.so.1
#2  0xfedc3360 in cond_wait () from /usr/lib/libthread.so.1
#3  0xfedc339c in pthread_cond_wait () from /usr/lib/libthread.so.1
#4  0x001810a0 in ldap_pvt_thread_cond_wait (cond=0x3394e0, mutex=0x3394c8)
    at thr_posix.c:251
#5  0x0017faf4 in ldap_int_thread_pool_wrapper (xpool=0x3394c0) at tpool.c:456

Thread 8 (process 658407    ):
#0  0xfedc58f8 in __lwp_park () from /usr/lib/libthread.so.1
#1  0xfedc2ba4 in cond_wait_queue () from /usr/lib/libthread.so.1
#2  0xfedc3360 in cond_wait () from /usr/lib/libthread.so.1
#3  0xfedc339c in pthread_cond_wait () from /usr/lib/libthread.so.1
#4  0x001810a0 in ldap_pvt_thread_cond_wait (cond=0x3394e0, mutex=0x3394c8)
    at thr_posix.c:251
#5  0x0017faf4 in ldap_int_thread_pool_wrapper (xpool=0x3394c0) at tpool.c:456

Thread 7 (process 592871    ):
connid=16
Aug 31 18:39:24 nstanlee.rutgers.edu slapd[3047]: [ID 848112 local4.debug] conn=16 fd=33 ACCEPT from IP=192.168.4.64:50354 (IP=0.0.0.0:389)
Aug 31 18:39:24 nstanlee.rutgers.edu slapd[3047]: [ID 347666 local4.debug] conn=16 op=1 BIND dn="cn=readEverything,dc=eden,dc=rutgers,dc=edu" method=128
Aug 31 18:39:24 nstanlee.rutgers.edu slapd[3047]: [ID 992945 local4.debug] conn=16 op=1 BIND dn="cn=readEverything,dc=eden,dc=rutgers,dc=edu" mech=SIMPLE ssf=0
Aug 31 18:39:24 nstanlee.rutgers.edu slapd[3047]: [ID 217296 local4.debug] conn=16 op=1 RESULT tag=97 err=0 text=
Aug 31 18:39:24 nstanlee.rutgers.edu slapd[3047]: [ID 998954 local4.debug] conn=16 op=2 SRCH base="dc=eden,dc=rutgers,dc=edu" scope=2 deref=0 filter="(objectClass=*)"
Aug 31 18:39:24 nstanlee.rutgers.edu slapd[3047]: [ID 706578 local4.debug] conn=16 op=2 SRCH attr=* objectClass structuralObjectClass entryCSN

#0  0xfedc58f8 in __lwp_park () from /usr/lib/libthread.so.1
#1  0xfedc2ba4 in cond_wait_queue () from /usr/lib/libthread.so.1
#2  0xfedc3360 in cond_wait () from /usr/lib/libthread.so.1
#3  0xfedc339c in pthread_cond_wait () from /usr/lib/libthread.so.1
#4  0x001810a0 in ldap_pvt_thread_cond_wait (cond=0x3e1e70, mutex=0x3e1dc0)
    at thr_posix.c:251
#5  0x0008a968 in send_ldap_ber (conn=0x3e1db0, ber=0xd733f638) at result.c:211
#6  0x0008e694 in slap_send_search_entry (op=0x6624738, rs=0xd73ffd58)
    at result.c:1304
#7  0x0010febc in hdb_do_search () at tools.c:288
#8  0x0010c52c in hdb_search () at tools.c:288
#9  0x00079958 in do_search (op=0x6624738, rs=0xd73ffd58) at search.c:412
#10 0x00075e7c in connection_operation (ctx=0xd73ffe14, arg_v=0x6624738)
    at connection.c:1073
#11 0x0017fb70 in ldap_int_thread_pool_wrapper (xpool=0x3394c0) at tpool.c:467

Thread 6 (process 527335    ):
#0  0xfedc58f8 in __lwp_park () from /usr/lib/libthread.so.1
#1  0xfedc2ba4 in cond_wait_queue () from /usr/lib/libthread.so.1
#2  0xfedc3360 in cond_wait () from /usr/lib/libthread.so.1
#3  0xfedc339c in pthread_cond_wait () from /usr/lib/libthread.so.1
#4  0x001810a0 in ldap_pvt_thread_cond_wait (cond=0x3394e0, mutex=0x3394c8)
    at thr_posix.c:251
#5  0x0017faf4 in ldap_int_thread_pool_wrapper (xpool=0x3394c0) at tpool.c:456

Thread 5 (process 461799    ):
connid=106
Aug 31 18:47:04 nstanlee.rutgers.edu slapd[3047]: [ID 848112 local4.debug] conn=106 fd=35 ACCEPT from IP=192.168.4.64:50425 (IP=0.0.0.0:389)
Aug 31 18:47:04 nstanlee.rutgers.edu slapd[3047]: [ID 347666 local4.debug] conn=106 op=1 BIND dn="cn=readEverything,dc=rci,dc=rutgers,dc=edu" method=128
Aug 31 18:47:04 nstanlee.rutgers.edu slapd[3047]: [ID 992945 local4.debug] conn=106 op=1 BIND dn="cn=readEverything,dc=rci,dc=rutgers,dc=edu" mech=SIMPLE ssf=0
Aug 31 18:47:04 nstanlee.rutgers.edu slapd[3047]: [ID 217296 local4.debug] conn=106 op=1 RESULT tag=97 err=0 text=
Aug 31 18:47:04 nstanlee.rutgers.edu slapd[3047]: [ID 998954 local4.debug] conn=106 op=2 SRCH base="dc=rci,dc=rutgers,dc=edu" scope=2 deref=0 filter="(objectClass=*)"
Aug 31 18:47:04 nstanlee.rutgers.edu slapd[3047]: [ID 706578 local4.debug] conn=106 op=2 SRCH attr=* objectClass structuralObjectClass entryCSN

#0  test_filter (op=0x1f4c5f0, e=0x4209670, f=0xd833f8dc) at filterentry.c:67
#1  0x0010f444 in hdb_do_search () at tools.c:288
#2  0x0010c52c in hdb_search () at tools.c:288
#3  0x00079958 in do_search (op=0x1f4c5f0, rs=0xd83ffd58) at search.c:412
#4  0x00075e7c in connection_operation (ctx=0xd83ffe14, arg_v=0x1f4c5f0)
    at connection.c:1073
#5  0x0017fb70 in ldap_int_thread_pool_wrapper (xpool=0x3394c0) at tpool.c:467

Thread 4 (process 396263    ):
#0  0xfedc58f8 in __lwp_park () from /usr/lib/libthread.so.1
#1  0xfedc2ba4 in cond_wait_queue () from /usr/lib/libthread.so.1
#2  0xfedc3360 in cond_wait () from /usr/lib/libthread.so.1
#3  0xfedc339c in pthread_cond_wait () from /usr/lib/libthread.so.1
#4  0x001810a0 in ldap_pvt_thread_cond_wait (cond=0x3394e0, mutex=0x3394c8)
    at thr_posix.c:251
#5  0x0017faf4 in ldap_int_thread_pool_wrapper (xpool=0x3394c0) at tpool.c:456

Thread 3 (process 330727    ):
#0  0xfedc58f8 in __lwp_park () from /usr/lib/libthread.so.1
#1  0xfedc2ba4 in cond_wait_queue () from /usr/lib/libthread.so.1
#2  0xfedc3360 in cond_wait () from /usr/lib/libthread.so.1
#3  0xfedc339c in pthread_cond_wait () from /usr/lib/libthread.so.1
#4  0x001810a0 in ldap_pvt_thread_cond_wait (cond=0x3394e0, mutex=0x3394c8)
    at thr_posix.c:251
#5  0x0017faf4 in ldap_int_thread_pool_wrapper (xpool=0x3394c0) at tpool.c:456

Thread 2 (process 265191    ):
#0  0xfedc58f8 in __lwp_park () from /usr/lib/libthread.so.1
#1  0xfedc2ba4 in cond_wait_queue () from /usr/lib/libthread.so.1
#2  0xfedc3360 in cond_wait () from /usr/lib/libthread.so.1
#3  0xfedc339c in pthread_cond_wait () from /usr/lib/libthread.so.1
#4  0x001810a0 in ldap_pvt_thread_cond_wait (cond=0x3394e0, mutex=0x3394c8)
    at thr_posix.c:251
#5  0x0017faf4 in ldap_int_thread_pool_wrapper (xpool=0x3394c0) at tpool.c:456

Thread 1 (process 199655    ):
connid=74
Aug 31 18:45:56 nstanlee.rutgers.edu slapd[3047]: [ID 848112 local4.debug] conn=74 fd=34 ACCEPT from IP=192.168.4.197:32873 (IP=0.0.0.0:389)
Aug 31 18:45:56 nstanlee.rutgers.edu slapd[3047]: [ID 347666 local4.debug] conn=74 op=1 BIND dn="cn=readEverything,dc=rci,dc=rutgers,dc=edu" method=128
Aug 31 18:45:56 nstanlee.rutgers.edu slapd[3047]: [ID 992945 local4.debug] conn=74 op=1 BIND dn="cn=readEverything,dc=rci,dc=rutgers,dc=edu" mech=SIMPLE ssf=0
Aug 31 18:45:56 nstanlee.rutgers.edu slapd[3047]: [ID 217296 local4.debug] conn=74 op=1 RESULT tag=97 err=0 text=
Aug 31 18:45:56 nstanlee.rutgers.edu slapd[3047]: [ID 998954 local4.debug] conn=74 op=2 SRCH base="dc=rci,dc=rutgers,dc=edu" scope=2 deref=0 filter="(objectClass=*)"
Aug 31 18:45:56 nstanlee.rutgers.edu slapd[3047]: [ID 706578 local4.debug] conn=74 op=2 SRCH attr=* objectClass structuralObjectClass entryCSN

#0  0x0009dff8 in test_filter (op=0x3af1ca8, e=0x3ecca40, f=0x999abbe4)
    at filterentry.c:67
#1  0x0009f074 in test_filter_and (op=0x3af1ca8, e=0x3ecca40, flist=0xda33f8e8)
    at filterentry.c:544
#2  0x0009dd00 in test_filter (op=0x3af1ca8, e=0x3ecca40, f=0xda33f8f4)
    at filterentry.c:139
#3  0x0009f074 in test_filter_and (op=0x3af1ca8, e=0x3ecca40, flist=0xda33f8ac)
    at filterentry.c:544
#4  0x0009dd00 in test_filter (op=0x3af1ca8, e=0x3ecca40, f=0xda33f8b8)
    at filterentry.c:139
#5  0x0009f074 in test_filter_and (op=0x3af1ca8, e=0x3ecca40, flist=0xda33f8d0)
    at filterentry.c:544
#6  0x0009dd00 in test_filter (op=0x3af1ca8, e=0x3ecca40, f=0xda33f8dc)
    at filterentry.c:139
#7  0x0010f444 in hdb_do_search () at tools.c:288
#8  0x0010c52c in hdb_search () at tools.c:288
#9  0x00079958 in do_search (op=0x3af1ca8, rs=0xda3ffd58) at search.c:412
#10 0x00075e7c in connection_operation (ctx=0xda3ffe14, arg_v=0x3af1ca8)
    at connection.c:1073
#11 0x0017fb70 in ldap_int_thread_pool_wrapper (xpool=0x3394c0) at tpool.c:467