Error message + valgrind Invalid free ... output:
[..] chaining database - Unable to do start_tls on connection to <HOST>:<PORT> LDAP error -11:Connect error NSS error -12190:Peer reports incompatible or unsupported protocol version. ns-slapd: sasl.c:74: ldap_sasl_bind: Assertion `ld != ((void *)0)' failed. ==7910== Thread 40: ==7910== Invalid free() / delete / delete[] / realloc() ==7910== at 0x4C2ACD7: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==7910== by 0x749794B: __libc_freeres (in /usr/lib64/libc-2.17.so) ==7910== by 0x4A246B4: _vgnU_freeres (in /usr/lib64/valgrind/vgpreload_core-amd64-linux.so) ==7910== Address 0x76ee3d0 is 0 bytes inside data symbol "noai6ai_cached"
Stacktrace:
core_backtrace: :{ "signal": 6 :, "executable": "/usr/sbin/ns-slapd" :, "stacktrace": : [ { "crash_thread": true : , "frames": : [ { "address": 140590392776169 : , "build_id": "9e1943ecc0c856ab436ef66e0dda21fc25764532" : , "build_id_offset": 218601 : , "function_name": "raise" : , "file_name": "/usr/lib64/libc.so.6" : } : , { "address": 140590392782072 : , "build_id": "9e1943ecc0c856ab436ef66e0dda21fc25764532" : , "build_id_offset": 224504 : , "function_name": "abort" : , "file_name": "/usr/lib64/libc.so.6" : } : , { "address": 140590392747350 : , "build_id": "9e1943ecc0c856ab436ef66e0dda21fc25764532" : , "build_id_offset": 189782 : , "function_name": "__assert_fail_base" : , "file_name": "/usr/lib64/libc.so.6" : } : , { "address": 140590392747522 : , "build_id": "9e1943ecc0c856ab436ef66e0dda21fc25764532" : , "build_id_offset": 189954 : , "file_name": "/usr/lib64/libc.so.6" : } : , { "address": 140590419666675 : , "build_id": "639f135d75ce40df28b879bbad96ec40b399bde1" : , "build_id_offset": 124659 : , "function_name": "ldap_sasl_bind" : , "file_name": "/usr/lib64/libldap_r-2.4.so.2" : } : , { "address": 140590272930457 : , "build_id": "4c8dfd92354c70dbc2c2aa665e120c31b4dcff22" : , "build_id_offset": 29337 : , "function_name": "chainingdb_bind" : , "file_name": "/usr/lib64/dirsrv/plugins/libchainingdb-plugin.so" : } : , { "address": 140590437613545 : , "build_id": "3c9ee00a73d247c5eeaa0eff985bce7363cf2918" : , "build_id_offset": 81897 : , "function_name": "do_bind" : , "file_name": "/usr/sbin/ns-slapd" : } : , { "address": 140590437639103 : , "build_id": "3c9ee00a73d247c5eeaa0eff985bce7363cf2918" : , "build_id_offset": 107455 : , "function_name": "connection_threadmain" : , "file_name": "/usr/sbin/ns-slapd" : } : , { "address": 140590403205611 : , "build_id": "41cdc2fb822c7d192d61a42a58bcb4b9b3161765" : , "build_id_offset": 166379 : , "function_name": "_pt_root" : , "file_name": "/usr/lib64/libnspr4.so" : } : , { "address": 140590396526067 : , "build_id": "bc1478d8305388195df28d55d02515b3668d1ada" : , "build_id_offset": 32243 : , "function_name": "start_thread" : , "file_name": "/usr/lib64/libpthread.so.0" : } : , { "address": 140590393565277 : , "build_id": "9e1943ecc0c856ab436ef66e0dda21fc25764532" : , "build_id_offset": 1007709 : , "function_name": "__clone" : , "file_name": "/usr/lib64/libc.so.6" : } ]
git patch file (master) 0001-Ticket-47948-ldap_sasl_bind-fails-assertion-ld-NULL-.patch
Reviewed by Rich (Thank you!!)
Pushed to master: 8f540a6..47868d3 master -> master commit 47868d3
Pushed to 389-ds-base-1.3.3: d87202a..cb4f0cb 389-ds-base-1.3.3 -> 389-ds-base-1.3.3 commit cb4f0cb
Pushed to 389-ds-base-1.3.2: 896424f..9678956 389-ds-base-1.3.2 -> 389-ds-base-1.3.2 commit 9678956
Pushed to 389-ds-base-1.2.11: db60b27..75a6c74 389-ds-base-1.2.11 -> 389-ds-base-1.2.11 commit 75a6c74
Metadata Update from @nhosoi: - Issue set to the milestone: 1.2.11.33
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/1279
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: Fixed)
Login to comment on this ticket.