I've highered log level and got that the dump occurs only when I try
to use pam authentication. Using wbinfo (-t/-u/-g) works.
[2009/07/29 15:04:57, 3] winbindd/winbindd_pam.c:winbindd_pam_auth(827)
[ 3010]: pam auth root
*** glibc detected *** /usr/sbin/winbindd: double free or corruption (!
prev): 0x00007f10f6f61960 ***
======= Backtrace: ========/lib/libc.so.6[0x7f10f2c88cb8]
/lib/libc.so.6(cfree+0x76)[0x7f10f2c8b276]
/usr/lib/libtalloc.so.1[0x7f10f3192888]
/usr/lib/libtalloc.so.1(talloc_free+0xd8)[0x7f10f3194b38]
/usr/sbin/winbindd[0x7f10f4ffdc57]
/usr/sbin/winbindd[0x7f10f4ffe443]
/usr/sbin/winbindd(main+0xd6a)[0x7f10f4fff299]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f10f2c2f5a6]
/usr/sbin/winbindd[0x7f10f4ffd249]
On 29/julho/2009, at 14:23, Herbert G. Fischer wrote:
> Hi,
>
> I've managed to configure winbind to use RPC instead of AD to
> authenticate users. I was able to do a few auths and from nothing
> winbind started to crash with the following error message:
>
> Any hint on what may be the error?
>
> I've already deleted all tdb files and restarted the services, and
> the server, and don't get it solved.
>
>
> [2009/07/29 14:19:01, 0] winbindd/
> winbindd_cache.c:initialize_winbindd_cache(2577)
> initialize_winbindd_cache: clearing cache and re-creating with
> version number 1
> *** glibc detected *** /usr/sbin/winbindd: double free or corruption
> (!prev): 0x00007fdcfcd71cb0 ***
> ======= Backtrace: ========> /lib/libc.so.6[0x7fdcfa0a3cb8]
> /lib/libc.so.6(cfree+0x76)[0x7fdcfa0a6276]
> /usr/lib/libtalloc.so.1[0x7fdcfa5ad888]
> /usr/lib/libtalloc.so.1(talloc_free+0xd8)[0x7fdcfa5afb38]
> /usr/sbin/winbindd[0x7fdcfc418cd7]
> /usr/sbin/winbindd[0x7fdcfc419443]
> /usr/sbin/winbindd(main+0xd6a)[0x7fdcfc41a299]
> /lib/libc.so.6(__libc_start_main+0xe6)[0x7fdcfa04a5a6]
> /usr/sbin/winbindd[0x7fdcfc418249]
> ======= Memory map: =======> 7fdcf4000000-7fdcf4021000 rw-p 7fdcf4000000
00:00 0
> 7fdcf4021000-7fdcf8000000 ---p 7fdcf4021000 00:00 0
> 7fdcf8487000-7fdcf849d000 r-xp 00000000 09:02
> 25166110 /lib/libgcc_s.so.1
> 7fdcf849d000-7fdcf869d000 ---p 00016000 09:02
> 25166110 /lib/libgcc_s.so.1
> 7fdcf869d000-7fdcf869e000 r--p 00016000 09:02
> 25166110 /lib/libgcc_s.so.1
> 7fdcf869e000-7fdcf869f000 rw-p 00017000 09:02
> 25166110 /lib/libgcc_s.so.1
> 7fdcf869f000-7fdcf86a1000 r-xp 00000000 09:02
> 25168786 /usr/lib/gconv/IBM850.so
> 7fdcf86a1000-7fdcf88a0000 ---p 00002000 09:02
> 25168786 /usr/lib/gconv/IBM850.so
> 7fdcf88a0000-7fdcf88a1000 r--p 00001000 09:02
> 25168786 /usr/lib/gconv/IBM850.so
> 7fdcf88a1000-7fdcf88a2000 rw-p 00002000 09:02
> 25168786 /usr/lib/gconv/IBM850.so
> 7fdcf88a2000-7fdcf88a5000 r-xp 00000000 09:02
> 25168896 /usr/lib/gconv/UTF-16.so
> 7fdcf88a5000-7fdcf8aa4000 ---p 00003000 09:02
> 25168896 /usr/lib/gconv/UTF-16.so
> 7fdcf8aa4000-7fdcf8aa5000 r--p 00002000 09:02
> 25168896 /usr/lib/gconv/UTF-16.so
> 7fdcf8aa5000-7fdcf8aa6000 rw-p 00003000 09:02
> 25168896 /usr/lib/gconv/UTF-16.so
> 7fdcf8aa6000-7fdcf8aa9000 r-xp 00000000 09:02
> 25167206 /lib/libgpg-error.so.0.3.0
> 7fdcf8aa9000-7fdcf8ca8000 ---p 00003000 09:02
> 25167206 /lib/libgpg-error.so.0.3.0
> 7fdcf8ca8000-7fdcf8ca9000 rw-p 00002000 09:02
> 25167206 /lib/libgpg-error.so.0.3.0
> 7fdcf8ca9000-7fdcf8d0e000 r-xp 00000000 09:02
> 25167204 /lib/libgcrypt.so.11.4.4
> 7fdcf8d0e000-7fdcf8f0d000 ---p 00065000 09:02
> 25167204 /lib/libgcrypt.so.11.4.4
> 7fdcf8f0d000-7fdcf8f0e000 r--p 00064000 09:02
> 25167204 /lib/libgcrypt.so.11.4.4
> 7fdcf8f0e000-7fdcf8f10000 rw-p 00065000 09:02
> 25167204 /lib/libgcrypt.so.11.4.4
> 7fdcf8f10000-7fdcf8f27000 r-xp 00000000 09:02
> 25167712 /lib/libz.so.1.2.3.3
> 7fdcf8f27000-7fdcf9126000 ---p 00017000 09:02
> 25167712 /lib/libz.so.1.2.3.3
> 7fdcf9126000-7fdcf9127000 r--p 00016000 09:02
> 25167712 /lib/libz.so.1.2.3.3
> 7fdcf9127000-7fdcf9128000 rw-p 00017000 09:02
> 25167712 /lib/libz.so.1.2.3.3
> 7fdcf9128000-7fdcf9138000 r-xp 00000000 09:02
> 25167237 /usr/lib/libtasn1.so.3.0.16
> 7fdcf9138000-7fdcf9337000 ---p 00010000 09:02
> 25167237 /usr/lib/libtasn1.so.3.0.16
> 7fdcf9337000-7fdcf9338000 r--p 0000f000 09:02
> 25167237 /usr/lib/libtasn1.so.3.0.16
> 7fdcf9338000-7fdcf9339000 rw-p 00010000 09:02
> 25167237 /usr/lib/libtasn1.so.3.0.16
> 7fdcf9339000-7fdcf93dc000 r-xp 00000000 09:02
> 25166586 /usr/lib/libgnutls.so.26.4.6
> 7fdcf93dc000-7fdcf95db000 ---p 000a3000 09:02
> 25166586 /usr/lib/libgnutls.so.26.4.6
> 7fdcf95db000-7fdcf95e5000 r--p 000a2000 09:02
> 25166586 /usr/lib/libgnutls.so.26.4.6
> 7fdcf95e5000-7fdcf95e6000 rw-p 000ac000 09:02
> 25166586 /usr/lib/libgnutls.so.26.4.6
> 7fdcf95e6000-7fdcf95ff000 r-xp 00000000 09:02
> 25166765 /usr/lib/libsasl2.so.2.0.22
> 7fdcf95ff000-7fdcf97fe000 ---p 00019000 09:02
> 25166765 /usr/lib/libsasl2.so.2.0.22
> 7fdcf97fe000-7fdcf97ff000 r--p 00018000 09:02
> 25166765 /usr/lib/libsasl2.so.2.0.22
> 7fdcf97ff000-7fdcf9800000 rw-p 00019000 09:02
> 25166765 /usr/lib/libsasl2.so.2.0.22
> 7fdcf9800000-7fdcf9817000 r-xp 00000000 09:02
> 25166130 /lib/libpthread-2.9.so
> 7fdcf9817000-7fdcf9a16000 ---p 00017000 09:02
> 25166130 /lib/libpthread-2.9.so
> 7fdcf9a16000-7fdcf9a17000 r--p 00016000 09:02
> 25166130 /lib/libpthread-2.9.so
> 7fdcf9a17000-7fdcf9a18000 rw-p 00017000 09:02
> 25166130 /lib/libpthread-2.9.so
> 7fdcf9a18000-7fdcf9a1c000 rw-p 7fdcf9a18000 00:00 0
> 7fdcf9a1c000-7fdcf9a1e000 r-xp 00000000 09:02
> 25166714 /lib/libkeyutils-1.2.so
> 7fdcf9a1e000-7fdcf9c1d000 ---p 00002000 09:02
> 25166714 /lib/libkeyutils-1.2.so
> 7fdcf9c1d000-7fdcf9c1e000 r--p 00001000 09:02
> 25166714 /lib/libkeyutils-1.2.so
> 7fdcf9c1e000-7fdcf9c1f000 rw-p 00002000 09:02
> 25166714 /lib/libkeyutils-1.2.so
> 7fdcf9c1f000-7fdcf9c26000 r-xp 00000000 09:02
> 25166726 /usr/lib/libkrb5support.so.0.1
> 7fdcf9c26000-7fdcf9e25000 ---p 00007000 09:02
> 25166726 /usr/lib/libkrb5support.so.0.1
> 7fdcf9e25000-7fdcf9e26000 r--p 00006000 09:02
> 25166726 /usr/lib/libkrb5support.so.0.1
> 7fdcf9e26000-7fdcf9e27000 rw-p 00007000 09:02
> 25166726 /usr/lib/libkrb5support.so.0.1
> 7fdcf9e27000-7fdcf9e2b000 r-xp 00000000 09:02
> 25165960 /lib/libattr.so.1.1.0
> 7fdcf9e2b000-7fdcfa02a000 ---p 00004000 09:02
> 25165960 /lib/libattr.so.1.1.0
> 7fdcfa02a000-7fdcfa02b000 r--p 00003000 09:02
> 25165960 /lib/libattr.so.1.1.0
> 7fdcfa02b000-7fdcfa02c000 rw-p 00004000 09:02
> 25165960 /lib/libattr.so.1.1.0
> 7fdcfa02c000-7fdcfa194000 r-xp 00000000 09:02
> 25166116 /lib/libc-2.9.so
> 7fdcfa194000-7fdcfa394000 ---p 00168000 09:02
> 25166116 /lib/libc-2.9.so
> 7fdcfa394000-7fdcfa398000 r--p 00168000 09:02
> 25166116 /lib/libc-2.9.so
> 7fdcfa398000-7fdcfa399000 rw-p 0016c000 09:02
> 25166116 /lib/libc-2.9.so
> 7fdcfa399000-7fdcfa39e000 rw-p 7fdcfa399000 00:00 0
> 7fdcfa39e000-7fdcfa3a8000 r-xp 00000000 09:02
> 25337109 /usr/lib/libwbclient.so.0
> 7fdcfa3a8000-7fdcfa5a7000 ---p 0000a000 09:02
> 25337109 /usr/lib/libwbclient.so.0
> 7fdcfa5a7000-7fdcfa5a8000 r--p 00009000 09:02
> 25337109 /usr/lib/libwbclient.so.0
> 7fdcfa5a8000-7fdcfa5a9000 rw-p 0000a000 09:02
> 25337109 /usr/lib/libwbclient.so.0
> 7fdcfa5a9000-7fdcfa5aa000 rw-p 7fdcfa5a9000 00:00 0
> 7fdcfa5aa000-7fdcfa5b2000 r-xp 00000000 09:02
> 25169285 /usr/lib/libtalloc.so.1.2.0
> 7fdcfa5b2000-7fdcfa7b1000 ---p 00008000 09:02
> 25169285 /usr/lib/libtalloc.so.1.2.0
> 7fdcfa7b1000-7fdcfa7b2000 r--p 00007000 09:02
> 25169285 /usr/lib/libtalloc.so.1.2.0
> 7fdcfa7b2000-7fdcfa7b3000 rw-p 00008000 09:02
> 25169285 /usr/lib/libtalloc.so.1.2.0
> 7fdcfa7b3000-7fdcfa7c1000 r-xp 00000000 09:02
> 25167254 /usr/lib/liblber-2.4.so.2.4.1
> 7fdcfa7c1000-7fdcfa9c0000 ---p 0000e000 09:02
> 25167254 /usr/lib/liblber-2.4.so.2.4.1
> 7fdcfa9c0000-7fdcfa9c1000 r--p 0000d000 09:02
> 25167254 /usr/lib/liblber-2.4.so.2.4.1
> 7fdcfa9c1000-7fdcfa9c2000 rw-p 0000e000 09:02
> 25167254 /usr/lib/liblber-2.4.so.2.4.1
> 7fdcfa9c2000-7fdcfaa06000 r-xp 00000000 09:02
> 25167255 /usr/lib/libldap_r-2.4.so.2.4.1
> 7fdcfaa06000-7fdcfac06000 ---p 00044000 09:02
> 25167255 /usr/lib/libldap_r-2.4.so.2.4.1
> 7fdcfac06000-7fdcfac07000 r--p 00044000 09:02
> 25167255 /usr/lib/libldap_r-2.4.so.2.4.1
> 7fdcfac07000-7fdcfac09000 rw-p 00045000 09:02
> 25167255 /usr/lib/libldap_r-2.4.so.2.4.1
> 7fdcfac09000-7fdcfac0b000 rw-p 7fdcfac09000 00:00 0
> 7fdcfac0b000-7fdcfac0e000 r-xp 00000000 09:02
> 25166102 /lib/libcom_err.so.2.1
> 7fdcfac0e000-7fdcfae0d000 ---p 00003000 09:02
> 25166102 /lib/libcom_err.so.2.1
> 7fdcfae0d000-7fdcfae0e000 r--p 00002000 09:02
> 25166102 /lib/libcom_err.so.2.1
> 7fdcfae0e000-7fdcfae0f000 rw-p 00003000 09:02
> 25166102 /lib/libcom_err.so.2.1
> 7fdcfae0f000-7fdcfae32000 r-xp 00000000 09:02
> 25166723 /usr/lib/libk5crypto.so.3.1
> 7fdcfae32000-7fdcfb031000 ---p 00023000 09:02
> 25166723 /usr/lib/libk5crypto.so.3.1
> 7fdcfb031000-7fdcfb033000 r--p 00022000 09:02
> 25166723 /usr/lib/libk5crypto.so.3.1
> 7fdcfb033000-7fdcfb034000 rw-p 00024000 09:02
> 25166723 /usr/lib/libk5crypto.so.3.1
> 7fdcfb034000-7fdcfb0cc000 r-xp 00000000 09:02
> 25166725 /usr/lib/libkrb5.so.3.3
> 7fdcfb0cc000-7fdcfb2cb000 ---p 00098000 09:02
> 25166725 /usr/lib/libkrb5.so.3.3
> 7fdcfb2cb000-7fdcfb2ce000 r--p 00097000 09:02
> 25166725 /usr/lib/libkrb5.so.3.3
> 7fdcfb2ce000-7fdcfb2cf000 rw-p 0009a000 09:02
> 25166725 /usr/lib/libkrb5.so.3.3
> 7fdcfb2cf000-7fdcfb2fb000 r-xp 00000000 09:02
> 25166722 /usr/lib/libgssapi_krb5.so.2.2
> 7fdcfb2fb000-7fdcfb4fa000 ---p 0002c000 09:02
> 25166722 /usr/lib/libgssapi_krb5.so.2.2
> 7fdcfb4fa000-7fdcfb4fb000 r--p 0002b000 09:02
> 25166722 /usr/lib/libgssapi_krb5.so.2.2
> 7fdcfb4fb000-7fdcfb4fc000 rw-p 0002c000 09:02
> 25166722 /usr/lib/libgssapi_krb5.so.2.2
> 7fdcfb4fc000-7fdcfb505000 r-xp 00000000 09:02
> 25167299 /lib/libpopt.so.0.0.0
> 7fdcfb505000-7fdcfb704000 ---p 00009000 09:02
> 25167299 /lib/libpopt.so.0.0.0
> 7fdcfb704000-7fdcfb705000 r--p 00008000 09:02
> 25167299 /lib/libpopt.so.0.0.0
> 7fdcfb705000-7fdcfb706000 rw-p 00009000 09:02
> 25167299 /lib/libpopt.so.0.0.0
> 7fdcfb706000-7fdcfb708000 r-xp 00000000 09:02
> 25166119 /lib/libdl-2.9.so
> 7fdcfb708000-7fdcfb908000 ---p 00002000 09:02
> 25166119 /lib/libdl-2.9.so
> 7fdcfb908000-7fdcfb909000 r--p 00002000 09:02
> 25166119 /lib/libdl-2.9.so
> 7fdcfb909000-7fdcfb90a000 rw-p 00003000 09:02
> 25166119 /lib/libdl-2.9.so
> 7fdcfb90a000-7fdcfb920000 r-xp 00000000 09:02
> 25166122 /lib/libnsl-2.9.so
> 7fdcfb920000-7fdcfbb20000 ---p 00016000 09:02
> 25166122 /lib/libnsl-2.9.so
> 7fdcfbb20000-7fdcfbb21000 r--p 00016000 09:02
> 25166122 /lib/libnsl-2.9.so
> 7fdcfbb21000-7fdcfbb22000 rw-p 00017000 09:02
> 25166122 /lib/libnsl-2.9.so
> 7fdcfbb22000-7fdcfbb24000 rw-p 7fdcfbb22000 00:00 0
> 7fdcfbb24000-7fdcfbb38000 r-xp 00000000 09:02
> 25166131 /lib/libresolv-2.9.so
> 7fdcfbb38000-7fdcfbd38000 ---p 00014000 09:02
> 25166131 /lib/libresolv-2.9.so
> 7fdcfbd38000-7fdcfbd39000 r--p 00014000 09:02
> 25166131 /lib/libresolv-2.9.so
> 7fdcfbd39000-7fdcfbd3a000 rw-p 00015000 09:02
> 25166131 /lib/libresolv-2.9.so
> 7fdcfbd3a000-7fdcfbd3c000 rw-p 7fdcfbd3a000 00:00 0
> 7fdcfbd3c000-7fdcfbd40000 r-xp 00000000 09:02
> 25166750 /lib/libcap.so.2.11
> 7fdcfbd40000-7fdcfbf3f000 ---p 00004000 09:02
> 25166750 /lib/libcap.so.2.11
> 7fdcfbf3f000-7fdcfbf40000 r--p 00003000 09:02
> 25166750 /lib/libcap.so.2.11
> 7fdcfbf40000-7fdcfbf41000 rw-p 00004000 09:02
> 25166750 /lib/libcap.so.2.11
> 7fdcfbf41000-7fdcfbf4a000 r-xp 00000000 09:02
> 25166118 /lib/libcrypt-2.9.so
> 7fdcfbf4a000-7fdcfc149000 ---p 00009000 09:02
> 25166118 /lib/libcrypt-2.9.so
> 7fdcfc149000-7fdcfc14a000 r--p 00008000 09:02
> 25166118 /lib/libcrypt-2.9.so
> 7fdcfc14a000-7fdcfc14b000 rw-p 00009000 09:02
> 25166118 /lib/libcrypt-2.9.so
> 7fdcfc14b000-7fdcfc179000 rw-p 7fdcfc14b000 00:00 0
> 7fdcfc179000-7fdcfc199000 r-xp 00000000 09:02
> 25166113 /lib/ld-2.9.so
> 7fdcfc1a4000-7fdcfc1c5000 rw-p 7fdcfc1a4000 00:00 0
> 7fdcfc1c6000-7fdcfc1ce000 rw-s 00000000 09:03
> 33608132 /var/cache/samba/winbindd_cache.tdb
> 7fdcfc1ce000-7fdcfc1da000 rw-s 00000000 09:03
> 33608187 /var/cache/samba/netsamlogon_cache.tdb
> 7fdcfc1da000-7fdcfc1f0000 rw-s 00000000 00:12
> 6521 /var/run/samba/connections.tdb
> 7fdcfc1f0000-7fdcfc1f3000 rw-s 00000000 00:12
> 6543 /var/run/samba/gencache.tdb
> 7fdcfc1f3000-7fdcfc1fe000 rw-s 00000000 09:03
> 240 /var/lib/samba/secrets.tdb
> 7fdcfc1fe000-7fdcfc1ff000 rw-s 00000000 00:12
> 6519 /var/run/samba/messages.tdb
> 7fdcfc1ff000-7fdcfc20f000 r--s 00000000 09:02
> 8799673 /usr/share/samba/valid.dat.samba3
> 7fdcfc20f000-7fdcfc24e000 r--p 00000000 09:02
> 66932 /usr/lib/locale/en_US.utf8/LC_CTYPE
> 7fdcfc24e000-7fdcfc24f000 r--p 00000000 09:02
> 66933 /usr/lib/locale/en_US.utf8/LC_NUMERIC
> 7fdcfc24f000-7fdcfc250000 r--p 00000000 09:02
> 66934 /usr/lib/locale/en_US.utf8/LC_TIME
> 7fdcfc250000-7fdcfc33b000 r--p 00000000 09:02
> 66935 /usr/lib/locale/en_US.utf8/LC_COLLATE
> 7fdcfc33b000-7fdcfc33c000 r--p 00000000 09:02
> 66936 /usr/lib/locale/en_US.utf8/LC_MONETARY
> 7fdcfc33c000-7fdcfc33d000 r--p 00000000 09:02
> 8458005 /usr/lib/locale/en_US.utf8/LC_MESSAGES/
> SYS_LC_MESSAGES
> 7fdcfc33d000-7fdcfc33e000 r--p 00000000 09:02
> 66937 /usr/lib/locale/en_US.utf8/LC_PAPER
> 7fdcfc33e000-7fdcfc33f000 r--p 00000000 09:02
> 66938 /usr/lib/locale/en_US.utf8/LC_NAME
> 7fdcfc33f000-7fdcfc346000 r--s 00000000 09:02
> 25166305 /usr/lib/gconv/gconv-modules.cache
> 7fdcfc346000-7fdcfc366000 r--s 00000000 09:02
> 8391161 /usr/share/samba/lowcase.dat.samba3
> 7fdcfc366000-7fdcfc386000 r--s 00000000 09:02
> 8799672 /usr/share/samba/upcase.dat.samba3
> 7fdcfc386000-7fdcfc391000 rw-p 7fdcfc386000 00:00 0
> 7fdcfc391000-7fdcfc392000 r--p 00000000 09:02
> 66939 /usr/lib/locale/en_US.utf8/LC_ADDRESS
> 7fdcfc392000-7fdcfc393000 r--p 00000000 09:02
> 66940 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
> 7fdcfc393000-7fdcfc394000 r--p 00000000 09:02
> 66941 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
> 7fdcfc394000-7fdcfc395000 r--p 00000000 09:02
> 66942 /usr/lib/locale/en_US.utf8/
> LC_IDENTIFICATION
> 7fdcfc395000-7fdcfc398000 rw-p 7fdcfc395000 00:00 0
> 7fdcfc398000-7fdcfc399000 r--p 0001f000 09:02
> 25166113 /lib/ld-2.9.so
> 7fdcfc399000-7fdcfc39a000 rw-p 00020000 09:02
> 25166113 /lib/ld-2.9.so
> 7fdcfc39a000-7fdcfc7f7000 r-xp 00000000 09:02
> 595147 /usr/sbin/winbindd
> 7fdcfc9f7000-7fdcfca05000 r--p 0045d000 09:02
> 595147 /usr/sbin/winbindd
> 7fdcfca05000-7fdcfca0f000 rw-p 0046b000 09:02
> 595147 /usr/sbin/winbindd
> 7fdcfca0f000-7fdcfca10000 rw-p 7fdcfca0f000 00:00 0
> 7fdcfcd0c000-7fdcfcdb5000 rw-p 7fdcfcd0c000 00:00
> 0 [heap]
> 7fff047e1000-7fff047f6000 rw-p 7ffffffea000 00:00
> 0 [stack]
> 7fff047fe000-7fff047ff000 r-xp 7fff047fe000 00:00
> 0 [vdso]
> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00
> 0 [vsyscall]
>
> thanks!
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
Herbert G. Fischer
Locaweb
Eleita pela INFO Exame 2008 o melhor Data Center do Brasil.
Geral: + 55 11 3544-0444 R568