==18555== Memcheck, a memory error detector ==18555== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==18555== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info ==18555== Command: /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp ==18555== Parent PID: 18484 ==18555== ==18555== Invalid read of size 8 ==18555== at 0xA81F9B0: security_token_is_sid (in /usr/lib/x86_64-linux-gnu/samba/libsamba-security.so.0) ==18555== by 0xA821908: security_session_user_level (in /usr/lib/x86_64-linux-gnu/samba/libsamba-security.so.0) ==18555== by 0x54936BA: gensec_ntlmssp_server_auth (in /usr/lib/x86_64-linux-gnu/libgensec.so.0.0.1) ==18555== by 0x548EE92: gensec_ntlmssp_update (in /usr/lib/x86_64-linux-gnu/libgensec.so.0.0.1) ==18555== by 0x5499A99: gensec_update_ev (in /usr/lib/x86_64-linux-gnu/libgensec.so.0.0.1) ==18555== by 0x5499AD6: gensec_update (in /usr/lib/x86_64-linux-gnu/libgensec.so.0.0.1) ==18555== by 0x10FBBD: manage_gensec_request.isra.5 (in /usr/bin/ntlm_auth) ==18555== by 0x10D3CE: manage_squid_request (in /usr/bin/ntlm_auth) ==18555== by 0x10CDAA: main (in /usr/bin/ntlm_auth) ==18555== Address 0x8 is not stack'd, malloc'd or (recently) free'd ==18555== ==18555== ==18555== Process terminating with default action of signal 11 (SIGSEGV) ==18555== Access not within mapped region at address 0x8 ==18555== at 0xA81F9B0: security_token_is_sid (in /usr/lib/x86_64-linux-gnu/samba/libsamba-security.so.0) ==18555== by 0xA821908: security_session_user_level (in /usr/lib/x86_64-linux-gnu/samba/libsamba-security.so.0) ==18555== by 0x54936BA: gensec_ntlmssp_server_auth (in /usr/lib/x86_64-linux-gnu/libgensec.so.0.0.1) ==18555== by 0x548EE92: gensec_ntlmssp_update (in /usr/lib/x86_64-linux-gnu/libgensec.so.0.0.1) ==18555== by 0x5499A99: gensec_update_ev (in /usr/lib/x86_64-linux-gnu/libgensec.so.0.0.1) ==18555== by 0x5499AD6: gensec_update (in /usr/lib/x86_64-linux-gnu/libgensec.so.0.0.1) ==18555== by 0x10FBBD: manage_gensec_request.isra.5 (in /usr/bin/ntlm_auth) ==18555== by 0x10D3CE: manage_squid_request (in /usr/bin/ntlm_auth) ==18555== by 0x10CDAA: main (in /usr/bin/ntlm_auth) ==18555== If you believe this happened as a result of a stack ==18555== overflow in your program's main thread (unlikely but ==18555== possible), you can try to increase the size of the ==18555== main thread stack using the --main-stacksize= flag. ==18555== The main thread stack size used in this run was 8388608. ==18555== Invalid free() / delete / delete[] / realloc() ==18555== at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18555== by 0x7B075AB: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.19.so) ==18555== by 0x4A256BC: _vgnU_freeres (in /usr/lib/valgrind/vgpreload_core-amd64-linux.so) ==18555== by 0xA821908: security_session_user_level (in /usr/lib/x86_64-linux-gnu/samba/libsamba-security.so.0) ==18555== by 0x54936BA: gensec_ntlmssp_server_auth (in /usr/lib/x86_64-linux-gnu/libgensec.so.0.0.1) ==18555== by 0x548EE92: gensec_ntlmssp_update (in /usr/lib/x86_64-linux-gnu/libgensec.so.0.0.1) ==18555== by 0x5499A99: gensec_update_ev (in /usr/lib/x86_64-linux-gnu/libgensec.so.0.0.1) ==18555== by 0x5499AD6: gensec_update (in /usr/lib/x86_64-linux-gnu/libgensec.so.0.0.1) ==18555== by 0x10FBBD: manage_gensec_request.isra.5 (in /usr/bin/ntlm_auth) ==18555== by 0x10D3CE: manage_squid_request (in /usr/bin/ntlm_auth) ==18555== by 0x10CDAA: main (in /usr/bin/ntlm_auth) ==18555== Address 0x7d603c0 is 0 bytes inside data symbol "noai6ai_cached" ==18555== ==18555== ==18555== HEAP SUMMARY: ==18555== in use at exit: 70,308 bytes in 187 blocks ==18555== total heap usage: 531 allocs, 345 frees, 183,129 bytes allocated ==18555== ==18555== LEAK SUMMARY: ==18555== definitely lost: 1,101 bytes in 5 blocks ==18555== indirectly lost: 264 bytes in 7 blocks ==18555== possibly lost: 67,232 bytes in 168 blocks ==18555== still reachable: 1,711 bytes in 7 blocks ==18555== suppressed: 0 bytes in 0 blocks ==18555== Rerun with --leak-check=full to see details of leaked memory ==18555== ==18555== For counts of detected and suppressed errors, rerun with: -v ==18555== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)