[Pkg-openldap-devel] Bug#860947: Bug#860947: slapd: Slapd fails to stop sometimes

GALAMBOS Daniel dancsa at dancsa.hu
Sun Apr 23 07:34:00 UTC 2017


Hi,

Which I forgot to mention is that the slapd process uses one CPU core to
100 percent when this happens.

We use Heimdal, so I installed cyrus-sasl2-dbg,cyrus-sasl2-heimdal-dbg
(i didn't notice the missing symbols from the first stacktrace)

Syncrepl happens with GSSAPI authentication.


I had a little time yesterday, so i started to play with GDB:
Frame #1  (counting from zero):
(gdb) info locals
plugcount = 1
pluglist = 0x7f326c4ca040 <plain_client_plugins>
mech = 0x7f312413b950
mp = 0x7f312412e090
result = <optimized out>
version = 4
lupe = 0

Which seems weird as we use GSSAPI. But I'm not familiar with the sasl
and slapd source, so it may be okay.

Attached backtrace with the missing symbols and bt full with some
strings censored.


Dancsa




On 2017-04-22 19:58, Ryan Tandy wrote:
> Control: tag -1 moreinfo
> 
> Hi,
> 
> On Sat, Apr 22, 2017 at 12:47:19PM +0200, GALAMBOS Daniel wrote:
>> I created a core file from the stuck process.
>> GDB backtrace attached as separate files.
> 
> Thanks for including the backtrace, that makes our job a lot easier. :)
> 
>> Thread 2 (Thread 0x7f312f7fe700 (LWP 18913)):
>> #0  0x00007f3271b28e46 in ?? () from
>> /usr/lib/x86_64-linux-gnu/libsasl2.so.2
>> #1  0x00007f3271b29006 in sasl_client_add_plugin () from
>> /usr/lib/x86_64-linux-gnu/libsasl2.so.2
>> #2  0x00007f3271b34e00 in ?? () from
>> /usr/lib/x86_64-linux-gnu/libsasl2.so.2
>> #3  0x00007f3271b297b1 in sasl_client_init () from
>> /usr/lib/x86_64-linux-gnu/libsasl2.so.2
>> #4  0x00007f327279fb3c in ldap_int_sasl_init () from
>> /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
>> #5  0x00007f327279fbfc in ldap_int_sasl_open () from
>> /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
>> #6  0x00007f32727a0384 in ldap_int_sasl_bind () from
>> /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
>> #7  0x00007f32727a37f6 in ldap_sasl_interactive_bind () from
>> /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
>> #8  0x00007f32727a39fd in ldap_sasl_interactive_bind_s () from
>> /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
>> #9  0x00007f3272c2ec64 in slap_client_connect (ldp=0x7f32740b03f8,
>> sb=0x7f32740b01d0) at ../../../../servers/slapd/config.c:2064
>> #10 0x00007f3272c9f5ec in do_syncrep1 (si=0x7f32740b01a0,
>> op=0x7f312f7fd7f0) at ../../../../servers/slapd/syncrepl.c:613
>> #11 do_syncrepl (ctx=<optimized out>, arg=0x7f32740b0810) at
>> ../../../../servers/slapd/syncrepl.c:1527
>> #12 0x00007f3272798c62 in ?? () from
>> /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
>> #13 0x00007f3270b6b064 in start_thread (arg=0x7f312f7fe700) at
>> pthread_create.c:309
>> #14 0x00007f32708a062d in clone () at
>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
> 
> This is a syncrepl client. I guess it's trying to connect to the other
> master. Any idea why it would be hanging?
> 
> If you install libldap-2.4-2-dbg and cyrus-sasl2-dbg, we should be able
> to get a better idea of what operation is stuck there.
> 
-------------- next part --------------
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/slapd...Reading symbols from /usr/lib/debug/.build-id/fd/742a65238b6728bf6fc730573ef5ed321930d0.debug...done.
done.
[New LWP 18910]
[New LWP 18913]
[New LWP 18909]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/slapd'.
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185

Thread 3 (Thread 0x7f3272f13700 (LWP 18909)):
#0  0x00007f3270b6c49b in pthread_join (threadid=139849321264896, thread_return=thread_return at entry=0x0) at pthread_join.c:92
#1  0x00007f3272799385 in ldap_pvt_thread_join (thread=<optimized out>, thread_return=thread_return at entry=0x0) at ../../../../libraries/libldap_r/thr_posix.c:197
#2  0x00007f3272c34cf9 in slapd_daemon () at ../../../../servers/slapd/daemon.c:2929
#3  0x00007f3272c1b866 in main (argc=<optimized out>, argv=<optimized out>) at ../../../../servers/slapd/main.c:1012

Thread 2 (Thread 0x7f312f7fe700 (LWP 18913)):
#0  0x00007f3271b28e46 in mech_compare (b=<optimized out>, b=<optimized out>, b=<optimized out>, a=0x7f326c4ca040 <plain_client_plugins>, a=0x7f326c4ca040 <plain_client_plugins>, 
    a=0x7f326c4ca040 <plain_client_plugins>) at ../../lib/client.c:167
#1  0x00007f3271b29006 in sasl_client_add_plugin (plugname=plugname at entry=0x7f312f7f90d0 "plain", entry_point=<optimized out>) at ../../lib/client.c:231
#2  0x00007f3271b34e00 in _sasl_plugin_load (add_plugin=0x7f3271b28e80 <sasl_client_add_plugin>, entryname=0x7f3271b36bbd "sasl_client_plug_init", library=<optimized out>, 
    plugin=0x7f312f7f90d0 "plain") at ../../lib/dlopen.c:240
#3  _sasl_load_plugins (entrypoints=entrypoints at entry=0x7f312f7fd130, getpath_cb=<optimized out>, verifyfile_cb=verifyfile_cb at entry=0x7f3271d3c970 <default_verifyfile_cb>)
    at ../../lib/dlopen.c:427
#4  0x00007f3271b297b1 in sasl_client_init (callbacks=callbacks at entry=0x0) at ../../lib/client.c:311
#5  0x00007f327279fb3c in ldap_int_sasl_init () at cyrus.c:98
#6  0x00007f327279fbfc in ldap_int_sasl_open (ld=0x7f3124100910, lc=0x7f312412f440, host=0x7f3124136090 "ldap2.elte.hu") at cyrus.c:310
#7  0x00007f32727a0384 in ldap_int_sasl_bind (ld=0x7f3124100910, dn=0x10 <error: Cannot access memory at address 0x10>, dn at entry=0x7f32740b0520 "cn=ldap-master,dc=caesar,dc=elte,dc=hu", 
    mechs=0x7f3274086a70 "GSSAPI", sctrls=sctrls at entry=0x0, cctrls=0x22, cctrls at entry=0x0, flags=1819078736, flags at entry=2, interact=0x7f3272cbfd40 <lutil_sasl_interact>, 
    defaults=0x7f312410d9f0, result=0x0, rmech=0x7f312f7fd438, msgid=0x7f312f7fd434) at cyrus.c:441
#8  0x00007f32727a37f6 in ldap_sasl_interactive_bind (ld=ld at entry=0x7f3124100910, dn=dn at entry=0x7f32740b0520 "cn=ldap-master,dc=caesar,dc=elte,dc=hu", 
    mechs=mechs at entry=0x7f3274086a70 "GSSAPI", serverControls=serverControls at entry=0x0, clientControls=clientControls at entry=0x0, flags=flags at entry=2, 
    interact=0x7f3272cbfd40 <lutil_sasl_interact>, defaults=0x7f312410d9f0, result=0x0, rmech=0x7f312f7fd438, msgid=0x7f312f7fd434) at sasl.c:471
#9  0x00007f32727a39fd in ldap_sasl_interactive_bind_s (ld=0x7f3124100910, dn=0x7f32740b0520 "cn=ldap-master,dc=caesar,dc=elte,dc=hu", mechs=0x7f3274086a70 "GSSAPI", serverControls=0x0, 
    clientControls=0x0, flags=2, interact=0x7f3272cbfd40 <lutil_sasl_interact>, defaults=0x7f312410d9f0) at sasl.c:505
#10 0x00007f3272c2ec64 in slap_client_connect (ldp=0x7f32740b03f8, sb=0x7f32740b01d0) at ../../../../servers/slapd/config.c:2064
#11 0x00007f3272c9f5ec in do_syncrep1 (si=0x7f32740b01a0, op=0x7f312f7fd7f0) at ../../../../servers/slapd/syncrepl.c:613
#12 do_syncrepl (ctx=<optimized out>, arg=0x7f32740b0810) at ../../../../servers/slapd/syncrepl.c:1527
#13 0x00007f3272798c62 in ldap_int_thread_pool_wrapper (xpool=0x7f3273f75f30) at ../../../../libraries/libldap_r/tpool.c:688
#14 0x00007f3270b6b064 in start_thread (arg=0x7f312f7fe700) at pthread_create.c:309
#15 0x00007f32708a062d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f31351db700 (LWP 18910)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f32727993f5 in ldap_pvt_thread_cond_wait (cond=<optimized out>, mutex=<optimized out>) at ../../../../libraries/libldap_r/thr_posix.c:277
#2  0x00007f327279843b in ldap_pvt_thread_pool_destroy (tpool=tpool at entry=0x7f3272f35d40 <connection_pool>, run_pending=run_pending at entry=1) at ../../../../libraries/libldap_r/tpool.c:585
#3  0x00007f3272c33069 in slapd_daemon_task (ptr=<optimized out>) at ../../../../servers/slapd/daemon.c:2848
#4  0x00007f3270b6b064 in start_thread (arg=0x7f31351db700) at pthread_create.c:309
#5  0x00007f32708a062d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) 
(gdb) quit
-------------- next part --------------
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/slapd...Reading symbols from /usr/lib/debug/.build-id/fd/742a65238b6728bf6fc730573ef5ed321930d0.debug...done.
done.
[New LWP 18910]
[New LWP 18913]
[New LWP 18909]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/slapd'.
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185

Thread 2 (Thread 0x7f312f7fe700 (LWP 18913)):
#0  0x00007f3271b28e46 in mech_compare (b=<optimized out>, b=<optimized out>, b=<optimized out>, a=0x7f326c4ca040 <plain_client_plugins>, a=0x7f326c4ca040 <plain_client_plugins>, 
    a=0x7f326c4ca040 <plain_client_plugins>) at ../../lib/client.c:167
        sec_diff = 0
        features_diff = <optimized out>
#1  0x00007f3271b29006 in sasl_client_add_plugin (plugname=plugname at entry=0x7f312f7f90d0 "plain", entry_point=<optimized out>) at ../../lib/client.c:231
        plugcount = 1
        pluglist = 0x7f326c4ca040 <plain_client_plugins>
        mech = 0x7f312413b950
        mp = 0x7f312412e090
        result = <optimized out>
        version = 4
        lupe = 0
#2  0x00007f3271b34e00 in _sasl_plugin_load (add_plugin=0x7f3271b28e80 <sasl_client_add_plugin>, entryname=0x7f3271b36bbd "sasl_client_plug_init", library=<optimized out>, 
    plugin=0x7f312f7f90d0 "plain") at ../../lib/dlopen.c:240
        entry_point = 0x7f326c2c7c50 <sasl_client_plug_init>
        result = <optimized out>
#3  _sasl_load_plugins (entrypoints=entrypoints at entry=0x7f312f7fd130, getpath_cb=<optimized out>, verifyfile_cb=verifyfile_cb at entry=0x7f3271d3c970 <default_verifyfile_cb>)
    at ../../lib/dlopen.c:427
        length = <optimized out>
        library = 0x7f3273f879c0
        c = <optimized out>
        plugname = "plain\000so\000so", '\000' <repeats 3613 times>...
        name = "libplain.so\000so", '\000' <repeats 170 times>, "`\256\177/1\177\000\000\340\256\177/1\177\000\000"...
        result = <optimized out>
        cur_ep = 0x7f312f7fd130
        str = "/usr/lib/x86_64-linux-gnu/sasl2", '\000' <repeats 4064 times>
        tmp = "/usr/lib/x86_64-linux-gnu/sasl2/libplain.so", '\000' <repeats 4053 times>...
        prefix = "/usr/lib/x86_64-linux-gnu/sasl2/\000\307\177/1\177\000\000\000\307\177/\000\000\000\000\000\000\000\000\062\177\000\000\377\377\377\377\377\377\377\377\003\000\000\000\000\000\000\000\n\000\000\000\000\000\000\000 \000\000\000\000\000\000\000I+\236r2\177\000\000\000\000\000\000\061\177\000\000\316o\226X", '\000' <repeats 12 times>, "\003\000\000\000\000\000\000\000\300\204\364s2\177\000\000\216\065\236r2\177\000\000\000\000\000\000\000\000\000\000\260\301\177/1\177\000\000\220\365\"o2\177\000\000H\376\"o2\177\000\000\300\302\177/1\177\000\000\277Yb\001\000\000\000\000\260\302\177/1\177\000\000"...
        c = <optimized out>
        pos = <optimized out>
        path = 0x7f3273f77410 "/usr/lib/x86_64-linux-gnu/sasl2:/usr/lib/sasl2"
        position = <optimized out>
        dp = 0x7f3124146de0
        dir = <optimized out>
#4  0x00007f3271b297b1 in sasl_client_init (callbacks=callbacks at entry=0x0) at ../../lib/client.c:311
        ret = <optimized out>
        ep_list = {{entryname = 0x7f3271b36bbd "sasl_client_plug_init", add_plugin = 0x7f3271b28e80 <sasl_client_add_plugin>}, {entryname = 0x7f3271b36bd3 "sasl_canonuser_init", 
            add_plugin = 0x7f3271b27590 <sasl_canonuser_add_plugin>}, {entryname = 0x0, add_plugin = 0x0}}
#5  0x00007f327279fb3c in ldap_int_sasl_init () at cyrus.c:98
        sasl_initialized = 1
        sasl_initialized = 1
#6  0x00007f327279fbfc in ldap_int_sasl_open (ld=0x7f3124100910, lc=0x7f312412f440, host=0x7f3124136090 "ldap2.REDACTED.hu") at cyrus.c:310
        rc = 1
        ctx = 0x0
        __PRETTY_FUNCTION__ = "ldap_int_sasl_open"
#7  0x00007f32727a0384 in ldap_int_sasl_bind (ld=0x7f3124100910, dn=0x10 <error: Cannot access memory at address 0x10>, dn at entry=0x7f32740b0520 "cn=REDACTED...,dc=hu", 
    mechs=0x7f3274086a70 "GSSAPI", sctrls=sctrls at entry=0x0, cctrls=0x22, cctrls at entry=0x0, flags=1819078736, flags at entry=2, interact=0x7f3272cbfd40 <lutil_sasl_interact>, 
    defaults=0x7f312410d9f0, result=0x0, rmech=0x7f312f7fd438, msgid=0x7f312f7fd434) at cyrus.c:441
        pmech = 0x7f3124136090 "ldap2.REDACTED.hu"
        oldctx = 0x0
        sd = 15
        ssl = 0x0
        mech = 0x4 <error: Cannot access memory at address 0x4>
        ssf = 0x0
        ctx = 0x7f3272cbfd40 <lutil_sasl_interact>
        prompts = 0x0
        ccred = {bv_len = 0, bv_val = 0x0}
        credlen = 605064752
#8  0x00007f32727a37f6 in ldap_sasl_interactive_bind (ld=ld at entry=0x7f3124100910, dn=dn at entry=0x7f32740b0520 "cn=REDACTED...,dc=hu", 
    mechs=mechs at entry=0x7f3274086a70 "GSSAPI", serverControls=serverControls at entry=0x0, clientControls=clientControls at entry=0x0, flags=flags at entry=2, 
    interact=0x7f3272cbfd40 <lutil_sasl_interact>, defaults=0x7f312410d9f0, result=0x0, rmech=0x7f312f7fd438, msgid=0x7f312f7fd434) at sasl.c:471
        smechs = 0x0
        rc = <optimized out>
#9  0x00007f32727a39fd in ldap_sasl_interactive_bind_s (ld=0x7f3124100910, dn=0x7f32740b0520 "cn=REDACTED...,dc=hu", mechs=0x7f3274086a70 "GSSAPI", serverControls=0x0, 
    clientControls=0x0, flags=2, interact=0x7f3272cbfd40 <lutil_sasl_interact>, defaults=0x7f312410d9f0) at sasl.c:505
        rmech = 0x0
        result = 0x0
        rc = <optimized out>
        msgid = 32562
#10 0x00007f3272c2ec64 in slap_client_connect (ldp=0x7f32740b03f8, sb=0x7f32740b01d0) at ../../../../servers/slapd/config.c:2064
        defaults = 0x7f312410d9f0
        ld = 0x7f3124100910
        tv = {tv_sec = 139849227031856, tv_usec = 139854650513172}
#11 0x00007f3272c9f5ec in do_syncrep1 (si=0x7f32740b01a0, op=0x7f312f7fd7f0) at ../../../../servers/slapd/syncrepl.c:613
        cmdline_cookie_found = 0
        sc = 0x0
        rc = 0
        ssl = 0x0
#12 do_syncrepl (ctx=<optimized out>, arg=0x7f32740b0810) at ../../../../servers/slapd/syncrepl.c:1527
        rtask = 0x7f32740b0810
        si = 0x7f32740b01a0
        conn = {c_struct_state = SLAP_C_UNINITIALIZED, c_conn_state = SLAP_C_INVALID, c_conn_idx = -1, c_sd = 0, c_close_reason = 0x0, c_mutex = {__data = {__lock = 0, __count = 0, 
              __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}, c_sb = 0x0, 
          c_starttime = 0, c_activitytime = 0, c_connid = 18446744073709551615, c_peer_domain = {bv_len = 0, bv_val = 0x7f3272cccbb8 ""}, c_peer_name = {bv_len = 0, 
            bv_val = 0x7f3272cccbb8 ""}, c_listener = 0x7f3272f29780 <dummy_list>, c_sasl_bind_mech = {bv_len = 0, bv_val = 0x0}, c_sasl_dn = {bv_len = 0, bv_val = 0x0}, c_sasl_authz_dn = {
            bv_len = 0, bv_val = 0x0}, c_authz_backend = 0x0, c_authz_cookie = 0x0, c_authz = {sai_method = 0, sai_mech = {bv_len = 0, bv_val = 0x0}, sai_dn = {bv_len = 0, bv_val = 0x0}, 
            sai_ndn = {bv_len = 0, bv_val = 0x0}, sai_ssf = 0, sai_transport_ssf = 0, sai_tls_ssf = 0, sai_sasl_ssf = 0}, c_protocol = 0, c_ops = {stqh_first = 0x0, stqh_last = 0x0}, 
          c_pending_ops = {stqh_first = 0x0, stqh_last = 0x0}, c_write1_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, 
              __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}, c_write1_cv = {__data = {__lock = 0, __futex = 0, __total_seq = 0, __wakeup_seq = 0, 
              __woken_seq = 0, __mutex = 0x0, __nwaiters = 0, __broadcast_seq = 0}, __size = '\000' <repeats 47 times>, __align = 0}, c_write2_mutex = {__data = {__lock = 0, __count = 0, 
              __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}, c_write2_cv = {
            __data = {__lock = 0, __futex = 0, __total_seq = 0, __wakeup_seq = 0, __woken_seq = 0, __mutex = 0x0, __nwaiters = 0, __broadcast_seq = 0}, __size = '\000' <repeats 47 times>, 
            __align = 0}, c_currentber = 0x0, c_writers = 0, c_writing = 0 '\000', c_sasl_bind_in_progress = 0 '\000', c_writewaiter = 0 '\000', c_is_tls = 0 '\000', 
          c_needs_tls_accept = 0 '\000', c_sasl_layers = 0 '\000', c_sasl_done = 0 '\000', c_sasl_authctx = 0x0, c_sasl_sockctx = 0x0, c_sasl_extra = 0x0, c_sasl_bindop = 0x0, 
          c_pagedresults_state = {ps_be = 0x0, ps_size = 0, ps_count = 0, ps_cookie = 0, ps_cookieval = {bv_len = 0, bv_val = 0x0}}, c_n_ops_received = 0, c_n_ops_executing = 0, 
          c_n_ops_pending = 0, c_n_ops_completed = 0, c_n_get = 0, c_n_read = 0, c_n_write = 0, c_extensions = 0x0, c_clientfunc = 0x0, c_clientarg = 0x0, 
          c_send_ldap_result = 0x7f3272c48c20 <slap_send_ldap_result>, c_send_search_entry = 0x7f3272c49740 <slap_send_search_entry>, 
          c_send_search_reference = 0x7f3272c4ad60 <slap_send_search_reference>, c_send_ldap_extended = 0x7f3272c493c0 <slap_send_ldap_extended>, 
          c_send_ldap_intermediate = 0x7f3272c49590 <slap_send_ldap_intermediate>}
        opbuf = {ob_op = {o_hdr = 0x7f312f7fd960, o_tag = 0, o_time = 1492428260, o_tincr = 9, o_bd = 0x7f3274086ce0, o_req_dn = {bv_len = 0, bv_val = 0x0}, o_req_ndn = {bv_len = 0, 
              bv_val = 0x0}, o_request = {oq_add = {rs_modlist = 0x0, rs_e = 0x0}, oq_bind = {rb_method = 0, rb_cred = {bv_len = 0, bv_val = 0x0}, rb_edn = {bv_len = 0, bv_val = 0x0}, 
                rb_ssf = 0, rb_mech = {bv_len = 0, bv_val = 0x0}}, oq_compare = {rs_ava = 0x0}, oq_modify = {rs_mods = {rs_modlist = 0x0, rs_no_opattrs = 0 '\000'}, rs_increment = 0}, 
              oq_modrdn = {rs_mods = {rs_modlist = 0x0, rs_no_opattrs = 0 '\000'}, rs_deleteoldrdn = 0, rs_newrdn = {bv_len = 0, bv_val = 0x0}, rs_nnewrdn = {bv_len = 0, bv_val = 0x0}, 
                rs_newSup = 0x0, rs_nnewSup = 0x0}, oq_search = {rs_scope = 0, rs_deref = 0, rs_slimit = 0, rs_tlimit = 0, rs_limit = 0x0, rs_attrsonly = 0, rs_attrs = 0x0, rs_filter = 0x0, 
                rs_filterstr = {bv_len = 0, bv_val = 0x0}}, oq_abandon = {rs_msgid = 0}, oq_cancel = {rs_msgid = 0}, oq_extended = {rs_reqoid = {bv_len = 0, bv_val = 0x0}, rs_flags = 0, 
                rs_reqdata = 0x0}, oq_pwdexop = {rs_extended = {rs_reqoid = {bv_len = 0, bv_val = 0x0}, rs_flags = 0, rs_reqdata = 0x0}, rs_old = {bv_len = 0, bv_val = 0x0}, rs_new = {
                  bv_len = 0, bv_val = 0x0}, rs_mods = 0x0, rs_modtail = 0x0}}, o_abandon = 0, o_cancel = 0, o_groups = 0x0, o_do_not_cache = 0 '\000', o_is_auth_check = 0 '\000', 
            o_dont_replicate = 0 '\000', o_acl_priv = ACL_NONE, o_nocaching = 0 '\000', o_delete_glue_parent = 0 '\000', o_no_schema_check = 1 '\001', o_no_subordinate_glue = 0 '\000', 
            o_ctrlflag = '\000' <repeats 14 times>, "\002", '\000' <repeats 16 times>, o_controls = 0x7f312f7fdab0, o_authz = {sai_method = 0, sai_mech = {bv_len = 0, bv_val = 0x0}, 
              sai_dn = {bv_len = 32, bv_val = 0x7f32740afb60 "cn=REDATCET...,dc=hu"}, sai_ndn = {bv_len = 32, bv_val = 0x7f32740aff60 "cn=REDACTED...,dc=hu"}, 
              sai_ssf = 0, sai_transport_ssf = 0, sai_tls_ssf = 0, sai_sasl_ssf = 0}, o_ber = 0x0, o_res_ber = 0x0, o_callback = 0x0, o_ctrls = 0x0, o_csn = {bv_len = 0, bv_val = 0x0}, 
            o_private = 0x0, o_extra = {slh_first = 0x0}, o_next = {stqe_next = 0x0}}, ob_hdr = {oh_opid = 0, oh_connid = 212, oh_conn = 0x7f312f7fd530, oh_msgid = 0, oh_protocol = 0, 
            oh_tid = 139849227036416, oh_threadctx = 0x7f312f7fdc10, oh_tmpmemctx = 0x7f31240008c0, oh_tmpmfuncs = 0x7f3272f32ce0 <slap_sl_mfuncs>, 
            oh_counters = 0x7f3272f35d80 <slap_counters>, oh_log_prefix = "conn=-1 op=0", '\000' <repeats 243 times>, oh_extensions = 0x0}, ob_controls = {0x0 <repeats 32 times>}}
        op = 0x7f312f7fd7f0
        rc = 0
        dostop = 0
        s = 0
        i = <optimized out>
        defer = 1
        fail = 0
        freeinfo = 0
        be = 0x7f3274086ce0
#13 0x00007f3272798c62 in ldap_int_thread_pool_wrapper (xpool=0x7f3273f75f30) at ../../../../libraries/libldap_r/tpool.c:688
        pool = 0x7f3273f75f30
        task = 0x7f3130000cb0
        work_list = <optimized out>
        ctx = {ltu_id = 139849227036416, ltu_key = {{ltk_key = 0x7f3272c8fa80 <slap_sl_mem_init>, ltk_data = 0x7f31240008c0, ltk_free = 0x7f3272c8f950 <slap_sl_mem_destroy>}, {ltk_key = 0x0, 
              ltk_data = 0x0, ltk_free = 0x0} <repeats 31 times>}}
        kctx = <optimized out>
        keyslot = <optimized out>
        hash = <optimized out>
        __PRETTY_FUNCTION__ = "ldap_int_thread_pool_wrapper"
#14 0x00007f3270b6b064 in start_thread (arg=0x7f312f7fe700) at pthread_create.c:309
        __res = <optimized out>
        pd = 0x7f312f7fe700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139849227036416, -6131647262706793241, 0, 139854650257504, 1, 139849227036416, 6091784467550930151, 6092493024234276071}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#15 0x00007f32708a062d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
(gdb) 
(gdb) QUIT


More information about the Pkg-openldap-devel mailing list