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

Re: syncrepl consumer locks up (ITS#3263)



On Monday 02 August 2004 19:41, Jong-Hyuk wrote:
> A stack trace when it is locked up and/or when a search to syncrepl<rid>
> entry is performed will help to identify the case. It'll also be of great
> help if you send me the syncrepl part of the slapd.conf file.
> - Jong-Hyuk

O.k., I finally got a core. I recovered the database on the consumer with 
"db_recover -e" and restarted the consumer with "-d -1". This is the tail of 
the output:

....
slapd starting
daemon: added 7r
daemon: added 8r
daemon: added 9r
daemon: added 10r
daemon: added 11r
daemon: select: listen=7 active_threads=0 tvp=zero
daemon: select: listen=8 active_threads=0 tvp=zero
daemon: select: listen=9 active_threads=0 tvp=zero
daemon: select: listen=10 active_threads=0 tvp=zero
daemon: select: listen=11 active_threads=0 tvp=zero
=>do_syncrepl
ldap_create
ldap_url_parse_ext(ldap://puma.rentec.com)
ldap_sasl_interactive_bind_s: user selected: GSSAPI
ldap_int_sasl_bind: GSSAPI
ldap_new_connection
ldap_int_open_connection
ldap_connect_to_host: TCP puma.rentec.com:389
ldap_new_socket: 16
ldap_prepare_socket: 16
ldap_connect_to_host: Trying 172.26.69.40:389
ldap_connect_timeout: fd: 16 tm: -1 async: 0
ldap_ndelay_on: 16
ldap_is_sock_ready: 16
ldap_ndelay_off: 16
ldap_int_sasl_open: host=puma.rentec.com
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_send_server_request
ber_flush: 614 bytes to sd 16
  0000:  30 82 02 62 02 01 01 60  82 02 5b 02 01 03 04 00   0..b...`..[.....
  0010:  a3 82 02 52 04 06 47 53  53 41 50 49 04 82 02 46   ...R..GSSAPI...F
  0020:  60 82 02 42 06 09 2a 86  48 86 f7 12 01 02 02 01   `..B..*.H.......
  0030:  00 6e 82 02 31 30 82 02  2d a0 03 02 01 05 a1 03   .n..10..-.......
  0040:  02 01 0e a2 07 03 05 00  20 00 00 00 a3 82 01 39   ........ ......9
  0050:  61 82 01 35 30 82 01 31  a0 03 02 01 05 a1 0c 1b   a..50..1........
  0060:  0a 52 45 4e 54 45 43 2e  43 4f 4d a2 22 30 20 a0   .RENTEC.COM."0 .
  0070:  03 02 01 01 a1 19 30 17  1b 04 6c 64 61 70 1b 0f   ......0...ldap..
  0080:  70 75 6d 61 2e 72 65 6e  74 65 63 2e 63 6f 6d a3   puma.rentec.com.
  0090:  81 f7 30 81 f4 a0 03 02  01 10 a1 03 02 01 01 a2   ..0.............
  00a0:  81 e7 04 81 e4 fc 19 de  69 ec e7 20 64 b7 8d 30   ........i.. d..0
  00b0:  84 1b d0 9d b3 21 f1 ff  21 36 f4 c5 e2 b6 5e c6   .....!..!6....^.
  00c0:  bb cf 65 79 47 67 05 61  1a 9c 0f 25 3f fe e3 ae   ..eyGg.a...%?...
  00d0:  2c 23 8d 91 0a c1 53 d3  8b f8 1c d7 02 37 84 fa   ,#....S......7..
  00e0:  e6 59 3b 7f 31 0d 24 86  e3 ca 7e 96 f4 da bf a5   .Y;.1.$...~.....
  00f0:  f9 56 39 dd 9f ec ea 84  35 a5 c5 b9 d5 42 be f9   .V9.....5....B..
  0100:  09 c8 0c b4 43 06 50 ff  52 16 d8 b2 a3 a7 34 7c   ....C.P.R.....4|
  0110:  12 74 87 e9 d6 56 f9 08  38 3a 56 b4 cd 6a 0b 57   .t...V..8:V..j.W
  0120:  2f 7a 7c 50 2b 25 2c cc  19 c8 ba b0 5e 48 e6 d6   /z|P+%,.....^H..
  0130:  95 2a 2c a1 5c d3 aa ef  4e f8 61 c0 a5 c4 a4 9c   .*,.\...N.a.....
  0140:  a0 63 75 57 61 dd ee d7  f4 e6 c3 cc 4e 2b 96 4a   .cuWa.......N+.J
  0150:  92 b9 f8 d4 6b 45 99 58  28 c2 ee 4d 3c a0 2d c6   ....kE.X(..M<.-.
  0160:  f3 74 fa ad 1a 37 d4 ae  06 ae 0c af de ce ba 56   .t...7.........V
  0170:  df c0 cc 40 9d f7 d7 10  a4 02 4d af a9 f2 29 ab   ...@......M...).
  0180:  53 57 9a 06 3e 92 59 f3  0e a4 81 da 30 81 d7 a0   SW..>.Y.....0...
  0190:  03 02 01 10 a2 81 cf 04  81 cc fd 47 a2 82 dc 18   ...........G....
  01a0:  83 a5 55 44 f1 14 11 0a  6d 1f 36 cf 34 be 59 ee   ..UD....m.6.4.Y.
  01b0:  b7 00 f0 0c 99 b2 59 8d  26 0f b0 77 57 4e ea e2   ......Y.&..wWN..
  01c0:  e9 ef c0 b4 35 3c 8c 40  b0 f2 36 17 88 be 4f 86   ....5<.@..6...O.
  01d0:  4f 05 c4 47 b6 8d be d1  3e ca 91 31 a1 7e 61 f8   O..G....>..1.~a.
  01e0:  ce a2 56 18 43 58 02 31  0d c4 cf fe 2d 9e 05 59   ..V.CX.1....-..Y
  01f0:  b5 9b 31 01 b8 a2 18 f8  92 d1 9c 13 82 80 9e 23   ..1............#
  0200:  ed 4c d3 4b a3 5f 80 3e  55 17 ab 1f ba 67 e2 bb   .L.K._.>U....g..
  0210:  b2 f2 b5 55 c4 11 60 a9  f6 5b 28 7f 50 7b 17 88   ...U..`..[(.P{..
  0220:  48 01 0b f7 25 c6 8d 52  a4 25 b1 28 a3 ff 04 4d   H...%..R.%.(...M
  0230:  b2 a6 cf 41 2c 36 f7 0b  5d 54 94 12 49 27 4f fe   ...A,6..]T..I'O.
  0240:  7a 1d 2c e6 3e 6a f8 9e  f4 15 e4 60 f0 25 7a f1   z.,.>j.....`.%z.
  0250:  cb 1d 39 08 ae cb 8f b0  1a e8 61 ab d2 c8 6a d2   ..9.......a...j.
  0260:  b6 c7 94 78 ec 1b                                  ...x..
ldap_write: want=614, written=614
  0000:  30 82 02 62 02 01 01 60  82 02 5b 02 01 03 04 00   0..b...`..[.....
  0010:  a3 82 02 52 04 06 47 53  53 41 50 49 04 82 02 46   ...R..GSSAPI...F
  0020:  60 82 02 42 06 09 2a 86  48 86 f7 12 01 02 02 01   `..B..*.H.......
  0030:  00 6e 82 02 31 30 82 02  2d a0 03 02 01 05 a1 03   .n..10..-.......
  0040:  02 01 0e a2 07 03 05 00  20 00 00 00 a3 82 01 39   ........ ......9
  0050:  61 82 01 35 30 82 01 31  a0 03 02 01 05 a1 0c 1b   a..50..1........
  0060:  0a 52 45 4e 54 45 43 2e  43 4f 4d a2 22 30 20 a0   .RENTEC.COM."0 .
  0070:  03 02 01 01 a1 19 30 17  1b 04 6c 64 61 70 1b 0f   ......0...ldap..
  0080:  70 75 6d 61 2e 72 65 6e  74 65 63 2e 63 6f 6d a3   puma.rentec.com.
  0090:  81 f7 30 81 f4 a0 03 02  01 10 a1 03 02 01 01 a2   ..0.............
  00a0:  81 e7 04 81 e4 fc 19 de  69 ec e7 20 64 b7 8d 30   ........i.. d..0
  00b0:  84 1b d0 9d b3 21 f1 ff  21 36 f4 c5 e2 b6 5e c6   .....!..!6....^.
  00c0:  bb cf 65 79 47 67 05 61  1a 9c 0f 25 3f fe e3 ae   ..eyGg.a...%?...
  00d0:  2c 23 8d 91 0a c1 53 d3  8b f8 1c d7 02 37 84 fa   ,#....S......7..
  00e0:  e6 59 3b 7f 31 0d 24 86  e3 ca 7e 96 f4 da bf a5   .Y;.1.$...~.....
  00f0:  f9 56 39 dd 9f ec ea 84  35 a5 c5 b9 d5 42 be f9   .V9.....5....B..
  0100:  09 c8 0c b4 43 06 50 ff  52 16 d8 b2 a3 a7 34 7c   ....C.P.R.....4|
  0110:  12 74 87 e9 d6 56 f9 08  38 3a 56 b4 cd 6a 0b 57   .t...V..8:V..j.W
  0120:  2f 7a 7c 50 2b 25 2c cc  19 c8 ba b0 5e 48 e6 d6   /z|P+%,.....^H..
  0130:  95 2a 2c a1 5c d3 aa ef  4e f8 61 c0 a5 c4 a4 9c   .*,.\...N.a.....
  0140:  a0 63 75 57 61 dd ee d7  f4 e6 c3 cc 4e 2b 96 4a   .cuWa.......N+.J
  0150:  92 b9 f8 d4 6b 45 99 58  28 c2 ee 4d 3c a0 2d c6   ....kE.X(..M<.-.
  0160:  f3 74 fa ad 1a 37 d4 ae  06 ae 0c af de ce ba 56   .t...7.........V
  0170:  df c0 cc 40 9d f7 d7 10  a4 02 4d af a9 f2 29 ab   ...@......M...).
  0180:  53 57 9a 06 3e 92 59 f3  0e a4 81 da 30 81 d7 a0   SW..>.Y.....0...
  0190:  03 02 01 10 a2 81 cf 04  81 cc fd 47 a2 82 dc 18   ...........G....
  01a0:  83 a5 55 44 f1 14 11 0a  6d 1f 36 cf 34 be 59 ee   ..UD....m.6.4.Y.
  01b0:  b7 00 f0 0c 99 b2 59 8d  26 0f b0 77 57 4e ea e2   ......Y.&..wWN..
  01c0:  e9 ef c0 b4 35 3c 8c 40  b0 f2 36 17 88 be 4f 86   ....5<.@..6...O.
  01d0:  4f 05 c4 47 b6 8d be d1  3e ca 91 31 a1 7e 61 f8   O..G....>..1.~a.
  01e0:  ce a2 56 18 43 58 02 31  0d c4 cf fe 2d 9e 05 59   ..V.CX.1....-..Y
  01f0:  b5 9b 31 01 b8 a2 18 f8  92 d1 9c 13 82 80 9e 23   ..1............#
  0200:  ed 4c d3 4b a3 5f 80 3e  55 17 ab 1f ba 67 e2 bb   .L.K._.>U....g..
  0210:  b2 f2 b5 55 c4 11 60 a9  f6 5b 28 7f 50 7b 17 88   ...U..`..[(.P{..
  0220:  48 01 0b f7 25 c6 8d 52  a4 25 b1 28 a3 ff 04 4d   H...%..R.%.(...M
  0230:  b2 a6 cf 41 2c 36 f7 0b  5d 54 94 12 49 27 4f fe   ...A,6..]T..I'O.
  0240:  7a 1d 2c e6 3e 6a f8 9e  f4 15 e4 60 f0 25 7a f1   z.,.>j.....`.%z.
  0250:  cb 1d 39 08 ae cb 8f b0  1a e8 61 ab d2 c8 6a d2   ..9.......a...j.
  0260:  b6 c7 94 78 ec 1b                                  ...x..
ldap_result msgid 1
ldap_chkResponseList for msgid=1, all=1
ldap_chkResponseList returns NULL
wait4msg (infinite timeout), msgid 1
wait4msg continue, msgid 1, all 1
** Connections:
* host: puma.rentec.com  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Tue Aug  3 14:35:50 2004

** Outstanding Requests:
 * msgid 1,  origid 1, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
ldap_chkResponseList for msgid=1, all=1
ldap_chkResponseList returns NULL
ldap_int_select
read1msg: msgid 1, all 1
ber_get_next
ldap_read: want=8, got=8
  0000:  30 7c 02 01 01 61 77 0a                            0|...aw.
ldap_read: want=118, got=118
  0000:  01 0e 04 00 04 00 87 6e  60 6c 06 09 2a 86 48 86   .......n`l..*.H.
  0010:  f7 12 01 02 02 02 00 6f  5d 30 5b a0 03 02 01 05   .......o]0[.....
  0020:  a1 03 02 01 0f a2 4f 30  4d a0 03 02 01 10 a2 46   ......O0M......F
  0030:  04 44 df 8a 8b 91 37 22  a8 f7 7f 1a 9f d1 78 43   .D....7"......xC
  0040:  42 65 3c 60 d8 38 65 a6  32 a1 ba 0f e9 65 f4 b2   Be<`.8e.2....e..
  0050:  7f 1b 45 e4 ca 60 85 8b  a7 37 50 89 61 a2 a2 f5   ..E..`...7P.a...
  0060:  de 37 18 7d 46 1c d0 b3  07 c6 f5 e3 00 c5 2e 7e   .7.}F..........~
  0070:  b8 38 61 30 db 64                                  .8a0.d
ber_get_next: tag 0x30 len 124 contents:
ber_dump: buf=0x004cef38 ptr=0x004cef38 end=0x004cefb4 len=124
  0000:  02 01 01 61 77 0a 01 0e  04 00 04 00 87 6e 60 6c   ...aw........n`l
  0010:  06 09 2a 86 48 86 f7 12  01 02 02 02 00 6f 5d 30   ..*.H........o]0
  0020:  5b a0 03 02 01 05 a1 03  02 01 0f a2 4f 30 4d a0   [...........O0M.
  0030:  03 02 01 10 a2 46 04 44  df 8a 8b 91 37 22 a8 f7   .....F.D....7"..
  0040:  7f 1a 9f d1 78 43 42 65  3c 60 d8 38 65 a6 32 a1   ....xCBe<`.8e.2.
  0050:  ba 0f e9 65 f4 b2 7f 1b  45 e4 ca 60 85 8b a7 37   ...e....E..`...7
  0060:  50 89 61 a2 a2 f5 de 37  18 7d 46 1c d0 b3 07 c6   P.a....7.}F.....
  0070:  f5 e3 00 c5 2e 7e b8 38  61 30 db 64               .....~.8a0.d
ldap_read: message type bind msgid 1, original id 1
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x004cef38 ptr=0x004cef3b end=0x004cefb4 len=121
  0000:  61 77 0a 01 0e 04 00 04  00 87 6e 60 6c 06 09 2a   aw........n`l..*
  0010:  86 48 86 f7 12 01 02 02  02 00 6f 5d 30 5b a0 03   .H........o]0[..
  0020:  02 01 05 a1 03 02 01 0f  a2 4f 30 4d a0 03 02 01   .........O0M....
  0030:  10 a2 46 04 44 df 8a 8b  91 37 22 a8 f7 7f 1a 9f   ..F.D....7".....
  0040:  d1 78 43 42 65 3c 60 d8  38 65 a6 32 a1 ba 0f e9   .xCBe<`.8e.2....
  0050:  65 f4 b2 7f 1b 45 e4 ca  60 85 8b a7 37 50 89 61   e....E..`...7P.a
  0060:  a2 a2 f5 de 37 18 7d 46  1c d0 b3 07 c6 f5 e3 00   ....7.}F........
  0070:  c5 2e 7e b8 38 61 30 db  64                        ..~.8a0.d
ber_scanf fmt ({iaa}) ber:
ber_dump: buf=0x004cef38 ptr=0x004cef3b end=0x004cefb4 len=121
  0000:  61 77 0a 01 0e 04 00 04  00 87 6e 60 6c 06 09 2a   aw........n`l..*
  0010:  86 48 86 f7 12 01 02 02  02 00 6f 5d 30 5b a0 03   .H........o]0[..
  0020:  02 01 05 a1 03 02 01 0f  a2 4f 30 4d a0 03 02 01   .........O0M....
  0030:  10 a2 46 04 44 df 8a 8b  91 37 22 a8 f7 7f 1a 9f   ..F.D....7".....
  0040:  d1 78 43 42 65 3c 60 d8  38 65 a6 32 a1 ba 0f e9   .xCBe<`.8e.2....
  0050:  65 f4 b2 7f 1b 45 e4 ca  60 85 8b a7 37 50 89 61   e....E..`...7P.a
  0060:  a2 a2 f5 de 37 18 7d 46  1c d0 b3 07 c6 f5 e3 00   ....7.}F........
  0070:  c5 2e 7e b8 38 61 30 db  64                        ..~.8a0.d
ldap_chase_referrals
read1msg:  V2 referral chased, mark request completed, id = 1
new result:  res_errno: 14, res_error: <>, res_matched: <>
read1msg:  0 new referrals
read1msg:  mark request completed, id = 1
request 1 done
res_errno: 14, res_error: <>, res_matched: <>
ldap_free_request (origid 1, msgid 1)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_parse_sasl_bind_result
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x004cef38 ptr=0x004cef3b end=0x004cefb4 len=121
  0000:  61 77 0a 01 0e 04 00 04  00 87 6e 60 6c 06 09 2a   aw........n`l..*
  0010:  86 48 86 f7 12 01 02 02  02 00 6f 5d 30 5b a0 03   .H........o]0[..
  0020:  02 01 05 a1 03 02 01 0f  a2 4f 30 4d a0 03 02 01   .........O0M....
  0030:  10 a2 46 04 44 df 8a 8b  91 37 22 a8 f7 7f 1a 9f   ..F.D....7".....
  0040:  d1 78 43 42 65 3c 60 d8  38 65 a6 32 a1 ba 0f e9   .xCBe<`.8e.2....
  0050:  65 f4 b2 7f 1b 45 e4 ca  60 85 8b a7 37 50 89 61   e....E..`...7P.a
  0060:  a2 a2 f5 de 37 18 7d 46  1c d0 b3 07 c6 f5 e3 00   ....7.}F........
  0070:  c5 2e 7e b8 38 61 30 db  64                        ..~.8a0.d
ber_scanf fmt (O) ber:
ber_dump: buf=0x004cef38 ptr=0x004cef44 end=0x004cefb4 len=112
  0000:  87 6e 60 6c 06 09 2a 86  48 86 f7 12 01 02 02 02   .n`l..*.H.......
  0010:  00 6f 5d 30 5b a0 03 02  01 05 a1 03 02 01 0f a2   .o]0[...........
  0020:  4f 30 4d a0 03 02 01 10  a2 46 04 44 df 8a 8b 91   O0M......F.D....
  0030:  37 22 a8 f7 7f 1a 9f d1  78 43 42 65 3c 60 d8 38   7"......xCBe<`.8
  0040:  65 a6 32 a1 ba 0f e9 65  f4 b2 7f 1b 45 e4 ca 60   e.2....e....E..`
  0050:  85 8b a7 37 50 89 61 a2  a2 f5 de 37 18 7d 46 1c   ...7P.a....7.}F.
  0060:  d0 b3 07 c6 f5 e3 00 c5  2e 7e b8 38 61 30 db 64   .........~.8a0.d
ldap_parse_result
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x004cef38 ptr=0x004cef3b end=0x004cefb4 len=121
  0000:  61 77 0a 01 0e 04 00 04  00 87 6e 60 6c 06 09 2a   aw........n`l..*
  0010:  86 48 86 f7 12 01 02 02  02 00 6f 5d 30 5b a0 03   .H........o]0[..
  0020:  02 01 05 a1 03 02 01 0f  a2 4f 30 4d a0 03 02 01   .........O0M....
  0030:  10 a2 46 04 44 df 8a 8b  91 37 22 a8 f7 7f 1a 9f   ..F.D....7".....
  0040:  d1 78 43 42 65 3c 60 d8  38 65 a6 32 a1 ba 0f e9   .xCBe<`.8e.2....
  0050:  65 f4 b2 7f 1b 45 e4 ca  60 85 8b a7 37 50 89 61   e....E..`...7P.a
  0060:  a2 a2 f5 de 37 18 7d 46  1c d0 b3 07 c6 f5 e3 00   ....7.}F........
  0070:  c5 2e 7e b8 38 61 30 db  64                        ..~.8a0.d
ber_scanf fmt (x) ber:
ber_dump: buf=0x004cef38 ptr=0x004cef44 end=0x004cefb4 len=112
  0000:  87 6e 60 6c 06 09 2a 86  48 86 f7 12 01 02 02 02   .n`l..*.H.......
  0010:  00 6f 5d 30 5b a0 03 02  01 05 a1 03 02 01 0f a2   .o]0[...........
  0020:  4f 30 4d a0 03 02 01 10  a2 46 04 44 df 8a 8b 91   O0M......F.D....
  0030:  37 22 a8 f7 7f 1a 9f d1  78 43 42 65 3c 60 d8 38   7"......xCBe<`.8
  0040:  65 a6 32 a1 ba 0f e9 65  f4 b2 7f 1b 45 e4 ca 60   e.2....e....E..`
  0050:  85 8b a7 37 50 89 61 a2  a2 f5 de 37 18 7d 46 1c   ...7P.a....7.}F.
  0060:  d0 b3 07 c6 f5 e3 00 c5  2e 7e b8 38 61 30 db 64   .........~.8a0.d
ber_scanf fmt (}) ber:
ber_dump: buf=0x004cef38 ptr=0x004cefb4 end=0x004cefb4 len=0

ldap_msgfree
sasl_client_step: 1
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_send_server_request
ber_flush: 22 bytes to sd 16
  0000:  30 14 02 01 02 60 0f 02  01 03 04 00 a3 08 04 06   0....`..........
  0010:  47 53 53 41 50 49                                  GSSAPI
ldap_write: want=22, written=22
  0000:  30 14 02 01 02 60 0f 02  01 03 04 00 a3 08 04 06   0....`..........
  0010:  47 53 53 41 50 49                                  GSSAPI
ldap_result msgid 2
ldap_chkResponseList for msgid=2, all=1
ldap_chkResponseList returns NULL
wait4msg (infinite timeout), msgid 2
wait4msg continue, msgid 2, all 1
** Connections:
* host: puma.rentec.com  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Tue Aug  3 14:35:50 2004

** Outstanding Requests:
 * msgid 2,  origid 2, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
ldap_chkResponseList for msgid=2, all=1
ldap_chkResponseList returns NULL
ldap_int_select
read1msg: msgid 2, all 1
ber_get_next
ldap_read: want=8, got=8
  0000:  30 4f 02 01 02 61 4a 0a                            0O...aJ.
ldap_read: want=73, got=73
  0000:  01 0e 04 00 04 00 87 41  60 3f 06 09 2a 86 48 86   .......A`?..*.H.
  0010:  f7 12 01 02 02 02 01 04  00 ff ff ff ff df 5e 8c   ..............^.
  0020:  da ec b6 53 55 79 b0 c7  df fa a1 5a a9 1d 87 c0   ...SUy.....Z....
  0030:  67 dc 31 96 ce 1e c2 a5  24 c0 11 d6 2e 28 83 40   g.1.....$....(.@
  0040:  bb 07 01 00 00 04 04 04  04                        .........
ber_get_next: tag 0x30 len 79 contents:
ber_dump: buf=0x004cef38 ptr=0x004cef38 end=0x004cef87 len=79
  0000:  02 01 02 61 4a 0a 01 0e  04 00 04 00 87 41 60 3f   ...aJ........A`?
  0010:  06 09 2a 86 48 86 f7 12  01 02 02 02 01 04 00 ff   ..*.H...........
  0020:  ff ff ff df 5e 8c da ec  b6 53 55 79 b0 c7 df fa   ....^....SUy....
  0030:  a1 5a a9 1d 87 c0 67 dc  31 96 ce 1e c2 a5 24 c0   .Z....g.1.....$.
  0040:  11 d6 2e 28 83 40 bb 07  01 00 00 04 04 04 04      ...(.@.........
ldap_read: message type bind msgid 2, original id 2
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x004cef38 ptr=0x004cef3b end=0x004cef87 len=76
  0000:  61 4a 0a 01 0e 04 00 04  00 87 41 60 3f 06 09 2a   aJ........A`?..*
  0010:  86 48 86 f7 12 01 02 02  02 01 04 00 ff ff ff ff   .H..............
  0020:  df 5e 8c da ec b6 53 55  79 b0 c7 df fa a1 5a a9   .^....SUy.....Z.
  0030:  1d 87 c0 67 dc 31 96 ce  1e c2 a5 24 c0 11 d6 2e   ...g.1.....$....
  0040:  28 83 40 bb 07 01 00 00  04 04 04 04               (.@.........
ber_scanf fmt ({iaa}) ber:
ber_dump: buf=0x004cef38 ptr=0x004cef3b end=0x004cef87 len=76
  0000:  61 4a 0a 01 0e 04 00 04  00 87 41 60 3f 06 09 2a   aJ........A`?..*
  0010:  86 48 86 f7 12 01 02 02  02 01 04 00 ff ff ff ff   .H..............
  0020:  df 5e 8c da ec b6 53 55  79 b0 c7 df fa a1 5a a9   .^....SUy.....Z.
  0030:  1d 87 c0 67 dc 31 96 ce  1e c2 a5 24 c0 11 d6 2e   ...g.1.....$....
  0040:  28 83 40 bb 07 01 00 00  04 04 04 04               (.@.........
ldap_chase_referrals
read1msg:  V2 referral chased, mark request completed, id = 2
new result:  res_errno: 14, res_error: <>, res_matched: <>
read1msg:  0 new referrals
read1msg:  mark request completed, id = 2
request 2 done
res_errno: 14, res_error: <>, res_matched: <>
ldap_free_request (origid 2, msgid 2)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_parse_sasl_bind_result
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x004cef38 ptr=0x004cef3b end=0x004cef87 len=76
  0000:  61 4a 0a 01 0e 04 00 04  00 87 41 60 3f 06 09 2a   aJ........A`?..*
  0010:  86 48 86 f7 12 01 02 02  02 01 04 00 ff ff ff ff   .H..............
  0020:  df 5e 8c da ec b6 53 55  79 b0 c7 df fa a1 5a a9   .^....SUy.....Z.
  0030:  1d 87 c0 67 dc 31 96 ce  1e c2 a5 24 c0 11 d6 2e   ...g.1.....$....
  0040:  28 83 40 bb 07 01 00 00  04 04 04 04               (.@.........
ber_scanf fmt (O) ber:
ber_dump: buf=0x004cef38 ptr=0x004cef44 end=0x004cef87 len=67
  0000:  87 41 60 3f 06 09 2a 86  48 86 f7 12 01 02 02 02   .A`?..*.H.......
  0010:  01 04 00 ff ff ff ff df  5e 8c da ec b6 53 55 79   ........^....SUy
  0020:  b0 c7 df fa a1 5a a9 1d  87 c0 67 dc 31 96 ce 1e   .....Z....g.1...
  0030:  c2 a5 24 c0 11 d6 2e 28  83 40 bb 07 01 00 00 04   ..$....(.@......
  0040:  04 04 04                                           ...
ldap_parse_result
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x004cef38 ptr=0x004cef3b end=0x004cef87 len=76
  0000:  61 4a 0a 01 0e 04 00 04  00 87 41 60 3f 06 09 2a   aJ........A`?..*
  0010:  86 48 86 f7 12 01 02 02  02 01 04 00 ff ff ff ff   .H..............
  0020:  df 5e 8c da ec b6 53 55  79 b0 c7 df fa a1 5a a9   .^....SUy.....Z.
  0030:  1d 87 c0 67 dc 31 96 ce  1e c2 a5 24 c0 11 d6 2e   ...g.1.....$....
  0040:  28 83 40 bb 07 01 00 00  04 04 04 04               (.@.........
ber_scanf fmt (x) ber:
ber_dump: buf=0x004cef38 ptr=0x004cef44 end=0x004cef87 len=67
  0000:  87 41 60 3f 06 09 2a 86  48 86 f7 12 01 02 02 02   .A`?..*.H.......
  0010:  01 04 00 ff ff ff ff df  5e 8c da ec b6 53 55 79   ........^....SUy
  0020:  b0 c7 df fa a1 5a a9 1d  87 c0 67 dc 31 96 ce 1e   .....Z....g.1...
  0030:  c2 a5 24 c0 11 d6 2e 28  83 40 bb 07 01 00 00 04   ..$....(.@......
  0040:  04 04 04                                           ...
ber_scanf fmt (}) ber:
ber_dump: buf=0x004cef38 ptr=0x004cef87 end=0x004cef87 len=0

ldap_msgfree
sasl_client_step: 0
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_send_server_request
ber_flush: 89 bytes to sd 16
  0000:  30 57 02 01 03 60 52 02  01 03 04 00 a3 4b 04 06   0W...`R......K..
  0010:  47 53 53 41 50 49 04 41  60 3f 06 09 2a 86 48 86   GSSAPI.A`?..*.H.
  0020:  f7 12 01 02 02 02 01 04  00 ff ff ff ff 90 85 5a   ...............Z
  0030:  59 2c 27 e1 5f 58 78 97  2b cb 9d b7 f1 d0 74 b0   Y,'._Xx.+.....t.
  0040:  de 80 79 48 c5 3a e7 cc  13 b6 66 4e fb 23 bf 90   ..yH.:....fN.#..
  0050:  16 04 01 00 00 04 04 04  04                        .........
ldap_write: want=89, written=89
  0000:  30 57 02 01 03 60 52 02  01 03 04 00 a3 4b 04 06   0W...`R......K..
  0010:  47 53 53 41 50 49 04 41  60 3f 06 09 2a 86 48 86   GSSAPI.A`?..*.H.
  0020:  f7 12 01 02 02 02 01 04  00 ff ff ff ff 90 85 5a   ...............Z
  0030:  59 2c 27 e1 5f 58 78 97  2b cb 9d b7 f1 d0 74 b0   Y,'._Xx.+.....t.
  0040:  de 80 79 48 c5 3a e7 cc  13 b6 66 4e fb 23 bf 90   ..yH.:....fN.#..
  0050:  16 04 01 00 00 04 04 04  04                        .........
ldap_result msgid 3
ldap_chkResponseList for msgid=3, all=1
ldap_chkResponseList returns NULL
wait4msg (infinite timeout), msgid 3
wait4msg continue, msgid 3, all 1
** Connections:
* host: puma.rentec.com  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Tue Aug  3 14:35:50 2004

** Outstanding Requests:
 * msgid 3,  origid 3, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
ldap_chkResponseList for msgid=3, all=1
ldap_chkResponseList returns NULL
ldap_int_select
read1msg: msgid 3, all 1
ber_get_next
ldap_read: want=8, got=8
  0000:  30 0c 02 01 03 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=0x004cd390 ptr=0x004cd390 end=0x004cd39c len=12
  0000:  02 01 03 61 07 0a 01 00  04 00 04 00               ...a........
ldap_read: message type bind msgid 3, original id 3
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x004cd390 ptr=0x004cd393 end=0x004cd39c len=9
  0000:  61 07 0a 01 00 04 00 04  00                        a........
ber_scanf fmt ({iaa}) ber:
ber_dump: buf=0x004cd390 ptr=0x004cd393 end=0x004cd39c len=9
  0000:  61 07 0a 01 00 04 00 04  00                        a........
new result:  res_errno: 0, res_error: <>, res_matched: <>
read1msg:  0 new referrals
read1msg:  mark request completed, id = 3
request 3 done
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 3, msgid 3)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_parse_sasl_bind_result
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x004cd390 ptr=0x004cd393 end=0x004cd39c len=9
  0000:  61 07 0a 01 00 04 00 04  00                        a........
ldap_parse_result
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x004cd390 ptr=0x004cd393 end=0x004cd39c len=9
  0000:  61 07 0a 01 00 04 00 04  00                        a........
ber_scanf fmt (}) ber:
ber_dump: buf=0x004cd390 ptr=0x004cd39c end=0x004cd39c len=0

ldap_msgfree
ldap_pvt_sasl_install
=> bdb_entry_get: ndn: "cn=syncrepl123,dc=rentec,dc=com"
=> bdb_entry_get: oc: "(null)", at: "syncreplCookie"
bdb_dn2entry("cn=syncrepl123,dc=rentec,dc=com")
=> bdb_dn2id( "dc=rentec,dc=com" )
<= bdb_dn2id: got id=0x00000001
=> bdb_dn2id( "cn=syncrepl123,dc=rentec,dc=com" )
<= bdb_dn2id: got id=0x00002286
entry_decode: "cn=syncrepl123,dc=rentec,dc=com"
<= entry_decode(cn=syncrepl123,dc=rentec,dc=com)
=> bdb_entry_get: found entry: "cn=syncrepl123,dc=rentec,dc=com"
bdb_entry_get: rc=0
=> access_allowed: auth access to "cn=syncrepl123,dc=rentec,dc=com" 
"syncreplCookie" requested
=> dn: [5] dc=rentec,dc=com
=> dn: [6] ou=people,dc=rentec,dc=com
=> dn: [7] ou=profile,dc=rentec,dc=com
=> dn: [8] ou=webaccess,dc=rentec,dc=com
=> dn: [9] ou=group,dc=rentec,dc=com
=> dn: [10] ou=services,dc=rentec,dc=com
=> dn: [11] ou=protocols,dc=rentec,dc=com
=> dn: [12] ou=rpc,dc=rentec,dc=com
=> dn: [13] ou=hosts,dc=rentec,dc=com
=> dn: [14] ou=netgroup,dc=rentec,dc=com
=> dn: [15] ou=aliases,dc=rentec,dc=com
=> dnpat: [16] nismapname=.*,dc=rentec,dc=com nsub: 0
=> dnpat: [17] [^,]+,nismapname=.*,dc=rentec,dc=com nsub: 0
=> dnpat: [18] automountmapname=.*,dc=rentec,dc=com nsub: 0
=> dnpat: [19] [^,]+,automountmapname=.*,dc=rentec,dc=com nsub: 0
=> dn: [20]
=> dn: [21] cn=subschema
=> acl_get: [22] attr syncreplCookie
access_allowed: no res from state (syncreplCookie)
=> acl_mask: access to entry "cn=syncrepl123,dc=rentec,dc=com", attr 
"syncreplCookie" requested
=> acl_mask: to all values by "cn=update,dc=rentec,dc=com", (=n)
<= check a_dn_pat: self
=> bdb_entry_get: ndn: "cn=administrators,dc=rentec,dc=com"
=> bdb_entry_get: oc: "groupOfNames", at: "member"
zsh: 7139 segmentation fault (core dumped)  /opt/ldap/libexec/slapd -d -1 
-f /opt/ldap/conf/slapd.conf -h

Could it be that something's wrong with my access rules? I don't know what but 
somehow it dies in there somewhere. The rules are exactly the same on 
provider and consumer.

Following is the stacktrace from the core:

(dbx) threads
      t@1  a  l@1   ?()   LWP suspended in  __lwp_wait()
      t@2  a  l@2   reg_thread()   sleep on 0x2740d8  in  __lwp_park()
      t@3  a  l@3   ipc_manage_thr()   sleep on 0xff392b20  in  __lwp_park()
      t@4  a  l@4   ?()   LWP suspended in  _libc_poll()
o>    t@5  a  l@5   ?()   signal SIGSEGV in  bdb_entry_get()
(dbx) where -v
current thread: t@5
=>[1] bdb_entry_get(0xf9bffb1c, 0xf9bfde10, 0x2b14f8, 0x207800, 0x2ae860, 
0xf9bfd504), at 0xc0a00
  [2] backend_group(0x0, 0x4cf3c0, 0xf9bfde10, 0xf9bffc1c, 0x2b14f8, 
0x2cd730),at 0x55460
  [3] 0x673bc(0x2c8af0, 0x28ab58, 0x2, 0x23a3f8, 0x0, 0x22), at 0x673bb
  [4] access_allowed(0xf9bffb1c, 0x16, 0x23a3fc, 0x23a3f8, 0x3, 0xf9bff6cc), 
at0x65158
  [5] backend_attribute(0xf9bffb1c, 0x0, 0x4cf440, 0x27ddc8, 0xf9bffa84, 0x0), 
at 0x559d8
  [6] 0x8e95c(0xf9bffb1c, 0x28c590, 0x7b, 0x23bc00, 0x0, 0x3cb25c), at 0x8e95b
  [7] do_syncrepl(0x1a, 0x2ebcd0, 0x0, 0x1d9800, 0x273b38, 0x0), at 0x8f958
  [8] 0xec3b0(0x26ebc0, 0xf9bffe20, 0x5, 0x283930, 0x28, 0x283938), at 0xec3af
(dbx) where -v t@2
current thread: t@2
=>[1] __lwp_park(0x4, 0xfedfbe60, 0x0, 0x1, 0x1, 0xfedfbdcc), at 0xfefc5f8c
  [2] cond_wait_queue(0x2740d8, 0xfefd8b88, 0x0, 0x0, 0xfef60200, 0xfefd8000), 
at 0xfefc3230
  [3] cond_wait_common(0x0, 0x275d68, 0xfedfbe60, 0x0, 0x0, 0x410fdb05), at 
0xfefc37a8
  [4] _ti_cond_timedwait(0x2740d8, 0x275d68, 0xfedfbf98, 0x0, 0x0, 0x0), at 
0xfefc3c38
  [5] _cond_timedwait_cancel(0x2740d8, 0x275d68, 0xfedfbf98, 0x0, 0x0, 0x0), 
at0xfefc3c6c
  [6] slp_dequeue_timed(0x275d88, 0xfedfbf98, 0xfedfbf94, 0x0, 0x0, 0x0), at 
0xff387ec8
  [7] reg_thread(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff3860b0
(dbx) where -v t@3
current thread: t@3
=>[1] __lwp_park(0x4, 0xfecfbf98, 0x0, 0x1, 0x1, 0xfecfbe94), at 0xfefc5f8c
  [2] cond_wait_queue(0xff392b20, 0xfefd8b88, 0x0, 0x0, 0xfef60400, 
0xfefd8000), at 0xfefc3230
  [3] cond_wait_common(0x0, 0xff392660, 0xfecfbf98, 0x0, 0x0, 0x0), at 
0xfefc37a8
  [4] cond_reltimedwait(0xff392b20, 0xff392660, 0xfecfbf98, 0x0, 0x0, 0x0), at 
0xfefc3e0c
  [5] ipc_manage_thr(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff38b9e4
(dbx) where -v t@4
current thread: t@4
=>[1] _libc_poll(0x4, 0x6, 0xea60, 0x0, 0xea60, 0x0), at 0xfef1ca20
  [2] _libc_select(0xea60, 0xfef3f2b0, 0x0, 0xfa3ffee0, 0xfa3ffe60, 0x0), at 
0xfeece980
  [3] select(0xc, 0xfa3ffe60, 0xfa3ffee0, 0x0, 0xfa3fff60, 0x273400), at 
0xfefbed74
  [4] 0x456a4(0x23a3fc, 0xfa3fff60, 0x1e73f8, 0x0, 0x8, 0xc), at 0x456a3
(dbx) where -v t@5
current thread: t@5
=>[1] bdb_entry_get(0xf9bffb1c, 0xf9bfde10, 0x2b14f8, 0x207800, 0x2ae860, 
0xf9bfd504), at 0xc0a00
  [2] backend_group(0x0, 0x4cf3c0, 0xf9bfde10, 0xf9bffc1c, 0x2b14f8, 
0x2cd730),at 0x55460
  [3] 0x673bc(0x2c8af0, 0x28ab58, 0x2, 0x23a3f8, 0x0, 0x22), at 0x673bb
  [4] access_allowed(0xf9bffb1c, 0x16, 0x23a3fc, 0x23a3f8, 0x3, 0xf9bff6cc), 
at0x65158
  [5] backend_attribute(0xf9bffb1c, 0x0, 0x4cf440, 0x27ddc8, 0xf9bffa84, 0x0), 
at 0x559d8
  [6] 0x8e95c(0xf9bffb1c, 0x28c590, 0x7b, 0x23bc00, 0x0, 0x3cb25c), at 0x8e95b
  [7] do_syncrepl(0x1a, 0x2ebcd0, 0x0, 0x1d9800, 0x273b38, 0x0), at 0x8f958
  [8] 0xec3b0(0x26ebc0, 0xf9bffe20, 0x5, 0x283930, 0x28, 0x283938), at 0xec3af


Karsten.
-- 
If you want your spouse to listen and pay strict attention to every
word you say, talk in your sleep.