From: Casey M. <ca...@tu...> - 2005-02-27 22:22:15
|
I'm seeing a memory fault error when using the SAMBA client library inside of my application. Can anyone confirm whether this is an error in my application or SAMBA? Here is the Valgrind output. ==15399== TRANSLATE: 0x1BD2BD80 redirected to 0x1B903720 ==15399== Thread 4: ==15399== Invalid read of size 4 ==15399== at 0x1BD7ABCA: maybe_split_for_insert (in /lib/tls/libc-2.3.3.so) ==15399== by 0x1BD7AD62: tsearch (in /lib/tls/libc-2.3.3.so) ==15399== by 0x1BCDB76E: add_alias (in /lib/tls/libc-2.3.3.so) ==15399== by 0x1BCDBD75: read_conf_file (in /lib/tls/libc-2.3.3.so) ==15399== by 0x1BCDC25B: __gconv_read_conf (in /lib/tls/libc-2.3.3.so) ==15399== by 0x1BCDB34A: __gconv_find_transform (in /lib/tls/libc-2.3.3.so) ==15399== by 0x1BCD9D98: __gconv_open (in /lib/tls/libc-2.3.3.so) ==15399== by 0x1BCD9A54: iconv_open (in /lib/tls/libc-2.3.3.so) ==15399== by 0x1BAD8820: smb_iconv_open (in /usr/lib/samba/libsmbclient.so) ==15399== by 0x1BAB2506: init_iconv (in /usr/lib/samba/libsmbclient.so) ==15399== by 0x1BAB0AC4: lp_load (in /usr/lib/samba/libsmbclient.so) ==15399== by 0x1BAA726E: smbc_init_context (in /usr/lib/samba/libsmbclient.so) ==15399== by 0x1BAA76FF: smbc_init (in /usr/lib/samba/libsmbclient.so) ==15399== by 0x8054EE4: thread_scan_shared_drive(void*) (samba_util.c:582) ==15399== by 0x1BA4BE8A: thread_wrapper (in /usr/lib/valgrind/libpthread.so) ==15399== by 0xB000F712: do__quit (in /usr/lib/valgrind/stage2) ==15399== Address 0x8 is not stack'd, malloc'd or (recently) free'd ==15399== |