LDAP performance checker
Brendan Kearney
bpk678 at gmail.com
Tue Sep 23 13:20:01 CEST 2014
On Mon, 2014-09-22 at 21:40 -0400, Arran Cudbard-Bell wrote:
> Here's a new version with the fixes from today:
>
> https://github.com/arr2036/ldapperf/archive/v0.2.tar.gz
>
> Arran Cudbard-Bell <a.cudbardb at freeradius.org>
> FreeRADIUS development team
>
> FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
it fall down, go boom...
[brendan at desktop ldapperf-0.2]$ ./ldapperf -H ldap1.bpk2.com -D
"uid=brendan,dc=bpk2,dc=com" -w "SuperSecretPhrase" -b "dc=bpk2,dc=com"
-s sub
Performing 50 search(es) total, with 5 threads, with persistent
connections
*** Error in `./ldapperf': double free or corruption (fasttop):
0x00007f8460000900 ***
======= Backtrace: =========
/lib64/libc.so.6[0x33ee275acf]
/lib64/libc.so.6[0x33ee27cdf8]
/lib64/libldap-2.4.so.2(ldap_pvt_tls_set_option+0x2c3)[0x3414a36563]
/lib64/libldap-2.4.so.2(ldap_int_tls_config+0x165)[0x3414a367d5]
/lib64/libldap-2.4.so.2[0x3414a2a737]
/lib64/libldap-2.4.so.2(ldap_int_initialize+0xd4)[0x3414a2abf4]
/lib64/libldap-2.4.so.2(ldap_create+0x30)[0x3414a0fd30]
/lib64/libldap-2.4.so.2(ldap_init+0x23)[0x3414a100d3]
/lib64/libldap-2.4.so.2(ldap_open+0x22)[0x3414a10172]
./ldapperf[0x401ae0]
./ldapperf[0x40215d]
/lib64/libpthread.so.0[0x33eee07f35]
/lib64/libc.so.6(clone+0x6d)[0x33ee2f4c3d]
======= Memory map: ========
00400000-00404000 r-xp 00000000 fd:02
18355705 /home/brendan/Downloads/ldapperf-0.2/ldapperf
00604000-00605000 r--p 00004000 fd:02
18355705 /home/brendan/Downloads/ldapperf-0.2/ldapperf
00605000-00606000 rw-p 00005000 fd:02
18355705 /home/brendan/Downloads/ldapperf-0.2/ldapperf
006b4000-006d5000 rw-p 00000000 00:00 0
[heap]
33ede00000-33ede20000 r-xp 00000000 fd:01
549176 /usr/lib64/ld-2.18.so
33ee01f000-33ee020000 r--p 0001f000 fd:01
549176 /usr/lib64/ld-2.18.so
33ee020000-33ee021000 rw-p 00020000 fd:01
549176 /usr/lib64/ld-2.18.so
33ee021000-33ee022000 rw-p 00000000 00:00 0
33ee200000-33ee3b4000 r-xp 00000000 fd:01
549177 /usr/lib64/libc-2.18.so
33ee3b4000-33ee5b3000 ---p 001b4000 fd:01
549177 /usr/lib64/libc-2.18.so
33ee5b3000-33ee5b7000 r--p 001b3000 fd:01
549177 /usr/lib64/libc-2.18.so
33ee5b7000-33ee5b9000 rw-p 001b7000 fd:01
549177 /usr/lib64/libc-2.18.so
33ee5b9000-33ee5be000 rw-p 00000000 00:00 0
33eea00000-33eea03000 r-xp 00000000 fd:01
534966 /usr/lib64/libdl-2.18.so
33eea03000-33eec02000 ---p 00003000 fd:01
534966 /usr/lib64/libdl-2.18.so
33eec02000-33eec03000 r--p 00002000 fd:01
534966 /usr/lib64/libdl-2.18.so
33eec03000-33eec04000 rw-p 00003000 fd:01
534966 /usr/lib64/libdl-2.18.so
33eee00000-33eee18000 r-xp 00000000 fd:01
549181 /usr/lib64/libpthread-2.18.so
33eee18000-33ef017000 ---p 00018000 fd:01
549181 /usr/lib64/libpthread-2.18.so
33ef017000-33ef018000 r--p 00017000 fd:01
549181 /usr/lib64/libpthread-2.18.so
33ef018000-33ef019000 rw-p 00018000 fd:01
549181 /usr/lib64/libpthread-2.18.so
33ef019000-33ef01d000 rw-p 00000000 00:00 0
33ef200000-33ef215000 r-xp 00000000 fd:01
549189 /usr/lib64/libz.so.1.2.8
33ef215000-33ef414000 ---p 00015000 fd:01
549189 /usr/lib64/libz.so.1.2.8
33ef414000-33ef415000 r--p 00014000 fd:01
549189 /usr/lib64/libz.so.1.2.8
33ef415000-33ef416000 rw-p 00015000 fd:01
549189 /usr/lib64/libz.so.1.2.8
33f0200000-33f0207000 r-xp 00000000 fd:01
549198 /usr/lib64/librt-2.18.so
33f0207000-33f0406000 ---p 00007000 fd:01
549198 /usr/lib64/librt-2.18.so
33f0406000-33f0407000 r--p 00006000 fd:01
549198 /usr/lib64/librt-2.18.so
33f0407000-33f0408000 rw-p 00007000 fd:01
549198 /usr/lib64/librt-2.18.so
33f0600000-33f0616000 r-xp 00000000 fd:01
549193 /usr/lib64/libresolv-2.18.so
33f0616000-33f0816000 ---p 00016000 fd:01
549193 /usr/lib64/libresolv-2.18.so
33f0816000-33f0817000 r--p 00016000 fd:01
549193 /usr/lib64/libresolv-2.18.so
33f0817000-33f0818000 rw-p 00017000 fd:01
549193 /usr/lib64/libresolv-2.18.so
33f0818000-33f081a000 rw-p 00000000 00:00 0
3402e00000-3402e03000 r-xp 00000000 fd:01
551479 /usr/lib64/libplds4.so
3402e03000-3403002000 ---p 00003000 fd:01
551479 /usr/lib64/libplds4.so
3403002000-3403003000 r--p 00002000 fd:01
551479 /usr/lib64/libplds4.so
3403003000-3403004000 rw-p 00003000 fd:01
551479 /usr/lib64/libplds4.so
3403200000-3403204000 r-xp 00000000 fd:01
551465 /usr/lib64/libplc4.so
3403204000-3403403000 ---p 00004000 fd:01
551465 /usr/lib64/libplc4.so
3403403000-3403404000 r--p 00003000 fd:01
551465 /usr/lib64/libplc4.so
3403404000-3403405000 rw-p 00004000 fd:01
551465 /usr/lib64/libplc4.so
3403600000-340363a000 r-xp 00000000 fd:01
551449 /usr/lib64/libnspr4.so
340363a000-3403839000 ---p 0003a000 fd:01
551449 /usr/lib64/libnspr4.so
3403839000-340383a000 r--p 00039000 fd:01
551449 /usr/lib64/libnspr4.so
340383a000-340383c000 rw-p 0003a000 fd:01
551449 /usr/lib64/libnspr4.so
340383c000-340383e000 rw-p 00000000 00:00 0
3404200000-340431e000 r-xp 00000000 fd:01
551487 /usr/lib64/libnss3.so
340431e000-340451e000 ---p 0011e000 fd:01
551487 /usr/lib64/libnss3.so
340451e000-3404523000 r--p 0011e000 fd:01
551487 /usr/lib64/libnss3.so
3404523000-3404525000 rw-p 00123000 fd:01
551487 /usr/lib64/libnss3.so
3404525000-3404527000 rw-p 00000000 00:00 0
3404600000-3404625000 r-xp 00000000 fd:01
551483 /usr/lib64/libnssutil3.so
3404625000-3404825000 ---p 00025000 fd:01
551483 /usr/lib64/libnssutil3.so
3404825000-340482b000 r--p 00025000 fd:01
551483 /usr/lib64/libnssutil3.so
340482b000-340482c000 rw-p 0002b000 fd:01
551483 /usr/lib64/libnssutil3.so
3404a00000-3404a77000 r-xp 00000000 fd:01
549785 /usr/lib64/libfreebl3.so
3404a77000-3404c76000 ---p 00077000 fd:01
549785 /usr/lib64/libfreebl3.so
3404c76000-3404c78000 r--p 00076000 fd:01
549785 /usr/lib64/libfreebl3.so
3404c78000-3404c79000 rw-p 00078000 fd:01
549785 /usr/lib64/libfreebl3.so
3404c79000-3404c7d000 rw-p 00000000 00:00 0
3405600000-3405624000 r-xp 00000000 fd:01
551494 /usr/lib64/libsmime3.so
3405624000-3405823000 ---p 00024000 fd:01
551494 /usr/lib64/libsmime3.so
3405823000-3405826000 r--p 00023000 fd:01
551494 /usr/lib64/libsmime3.so
3405826000-3405827000 rw-p 00026000 fd:01
551494 /usr/lib64/libsmime3.so
3405a00000-3405a08000 r-xp 00000000 fd:01
549827 /usr/lib64/libcrypt-2.18.so
3405a08000-3405c07000 ---p 00008000 fd:01
549827 /usr/lib64/libcrypt-2.18.so
3405c07000-3405c08000 r--p 00007000 fd:01
549827 /usr/lib64/libcrypt-2.18.so
3405c08000-3405c09000 rw-p 00008000 fd:01
549827 /usr/lib64/libcrypt-2.18.so
3405c09000-3405c37000 rw-p 00000000 00:00 0
3405e00000-3405e3a000 r-xp 00000000 fd:01
551489 /usr/lib64/libssl3.so
3405e3a000-340603a000 ---p 0003a000 fd:01
551489 /usr/lib64/libssl3.so
340603a000-340603d000 r--p 0003a000 fd:01
551489 /usr/lib64/libssl3.so
340603d000-340603e000 rw-p 0003d000 fd:01
551489 /usr/lib64/libssl3.so
340603e000-340603f000 rw-p 00000000 00:00 0
3413000000-341301c000 r-xp 00000000 fd:01
550940 /usr/lib64/libsasl2.so.3.0.0
341301c000-341321b000 ---p 0001c000 fd:01
550940 /usr/lib64/libsasl2.so.3.0.0
341321b000-341321c000 r--p 0001b000 fd:01
550940 /usr/lib64/libsasl2.so.3.0.0
341321c000-341321d000 rw-p 0001c000 fd:01
550940 /usr/lib64/libsasl2.so.3.0.0
3414000000-341400e000 r-xp 00000000 fd:01
549732 /usr/lib64/liblber-2.4.so.2.10.2
341400e000-341420d000 ---p 0000e000 fd:01
549732 /usr/lib64/liblber-2.4.so.2.10.2
341420d000-341420e000 r--p 0000d000 fd:01
549732 /usr/lib64/liblber-2.4.so.2.10.2
341420e000-341420f000 rw-p 0000e000 fd:01
549732 /usr/lib64/liblber-2.4.so.2.10.2
3414a00000-3414a4f000 r-xp 00000000 fd:01
551496 /usr/lib64/libldap-2.4.so.2.10.2
3414a4f000-3414c4e000 ---p 0004f000 fd:01
551496 /usr/lib64/libldap-2.4.so.2.10.2
3414c4e000-3414c50000 r--p 0004e000 fd:01
551496 /usr/lib64/libldap-2.4.so.2.10.2
3414c50000-3414c52000 rw-p 00050000 fd:01
551496 /usr/lib64/libldap-2.4.so.2.10.2
3675600000-3675615000 r-xp 00000000 fd:01
529014 /usr/lib64/libgcc_s-4.8.3-20140911.so.1
3675615000-3675814000 ---p 00015000 fd:01
529014 /usr/lib64/libgcc_s-4.8.3-20140911.so.1
3675814000-3675815000 r--p 00014000 fd:01
529014 /usr/lib64/libgcc_s-4.8.3-20140911.so.1
3675815000-3675816000 rw-p 00015000 fd:01
529014 /usr/lib64/libgcc_s-4.8.3-20140911.so.1
7f8460000000-7f8460021000 rw-p 00000000 00:00 0
7f8460021000-7f8464000000 ---p 00000000 00:00 0
7f8464000000-7f8464021000 rw-p 00000000 00:00 0
7f8464021000-7f8468000000 ---p 00000000 00:00 0
7f8468000000-7f8468021000 rw-p 00000000 00:00 0
7f8468021000-7f846c000000 ---p 00000000 00:00 0
7f8470000000-7f8470021000 rw-p 00000000 00:00 0
7f8470021000-7f8474000000 ---p 00000000 00:00 0
7f84777ff000-7f8477800000 ---p 00000000 00:00 0
7f8477800000-7f8478000000 rw-p 00000000 00:00 0
[stack:27026]
7f8478000000-7f8478021000 rw-p 00000000 00:00 0
7f8478021000-7f847c000000 ---p 00000000 00:00 0
7f847d6f0000-7f847d6f5000 r-xp 00000000 fd:01
525207 /usr/lib64/libnss_dns-2.18.so
7f847d6f5000-7f847d8f4000 ---p 00005000 fd:01
525207 /usr/lib64/libnss_dns-2.18.so
7f847d8f4000-7f847d8f5000 r--p 00004000 fd:01
525207 /usr/lib64/libnss_dns-2.18.so
7f847d8f5000-7f847d8f6000 rw-p 00005000 fd:01
525207 /usr/lib64/libnss_dns-2.18.so
7f847d8f8000-7f847d8fa000 r-xp 00000000 fd:01
540468 /usr/lib64/libnss_mdns4_minimal.so.2
7f847d8fa000-7f847daf9000 ---p 00002000 fd:01
540468 /usr/lib64/libnss_mdns4_minimal.so.2
7f847daf9000-7f847dafa000 r--p 00001000 fd:01
540468 /usr/lib64/libnss_mdns4_minimal.so.2
7f847dafa000-7f847dafb000 rw-p 00002000 fd:01
540468 /usr/lib64/libnss_mdns4_minimal.so.2
7f847db00000-7f847db0b000 r-xp 00000000 fd:01
540503 /usr/lib64/libnss_files-2.18.so
7f847db0b000-7f847dd0a000 ---p 0000b000 fd:01
540503 /usr/lib64/libnss_files-2.18.so
7f847dd0a000-7f847dd0b000 r--p 0000a000 fd:01
540503 /usr/lib64/libnss_files-2.18.so
7f847dd0b000-7f847dd0c000 rw-p 0000b000 fd:01
540503 /usr/lib64/libnss_files-2.18.so
7f847dd35000-7f847dd36000 ---p 00000000 00:00 0
7f847dd36000-7f847e536000 rw-p 00000000 00:00 0
[stack:27027]
7f847e536000-7f847e537000 ---p 00000000 00:00 0
7f847e537000-7f847ed37000 rw-p 00000000 00:00 0
[stack:27025]
7f847ed37000-7f847ed38000 ---p 00000000 00:00 0
7f847ed38000-7f847f538000 rw-p 00000000 00:00 0
[stack:27024]
7f847f538000-7f847f539000 ---p 00000000 00:00 0
7f847f539000-7f847fd40000 rw-p 00000000 00:00 0
[stack:27023]
7f847fd5b000-7f847fd5c000 rw-p 00000000 00:00 0
7f847fd5d000-7f847fd64000 rw-p 00000000 00:00 0
7ffff0499000-7ffff04ba000 rw-p 00000000 00:00 0
[stack]
7ffff0570000-7ffff0572000 r-xp 00000000 00:00 0
[vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
Aborted (core dumped)
More information about the Freeradius-Users
mailing list