From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DuDFl-00073y-8D for garchives@archives.gentoo.org; Sun, 17 Jul 2005 17:48:37 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6HHl8Zd020932; Sun, 17 Jul 2005 17:47:08 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6HHhZ0f005604 for ; Sun, 17 Jul 2005 17:43:36 GMT Received: by zproxy.gmail.com with SMTP id z6so703449nzd for ; Sun, 17 Jul 2005 10:44:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Y+FW6oS9s7VAkXcW+08uJPbI0EmJ4Znc/TFI0QMLErA7UZH8jTbFnRk15RR/D2WBkroaIuKHI5HR5iS0ytZKv8ZQqd/B07Iz/q5JAmFoTrczLrmokQfuPwPOopmyBfYtc+ZpOIuUl1eqz/eisN+2WG9gjQ0IXcKzNnaTei2T5o4= Received: by 10.36.34.12 with SMTP id h12mr806417nzh; Sun, 17 Jul 2005 10:44:15 -0700 (PDT) Received: from ?192.168.1.10? ([24.30.171.44]) by mx.gmail.com with ESMTP id 10sm5486967nzo.2005.07.17.10.44.14; Sun, 17 Jul 2005 10:44:15 -0700 (PDT) Message-ID: <42DA991C.8060604@gmail.com> Date: Sun, 17 Jul 2005 10:45:00 -0700 From: Zac Medico User-Agent: Mozilla Thunderbird 1.0.5 (X11/20050715) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Samba crashes after upgrading system References: <42D94BD6.3080403@gmail.com> <42D966E8.4000804@gmail.com> <42D97741.7080502@gmail.com> <42D97F2A.1080300@asmallpond.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: ba2af982-8931-42b6-8777-734678ab7405 X-Archives-Hash: ca0073a5edd5b9093022a8ca09db3275 Robert Cernansky wrote: > RF> > RF> For a complete list of packages that should be rebuilt, you can run: > RF> > RF> equery belongs `ldd /usr/sbin/smbd | grep ' /' | awk '{print $3}'` | > RF> sort | uniq > RF> > RF> This will print the name of every package that contains a library that > RF> smbd depends upon. > RF> > RF> I would not rebuild the entire system at this point, but if -ftracer > RF> does turn out to be the source of your problem, then a rebuild should > RF> scheduled soon! > > Well, ldd shows that smbtree depends on popt and glibc. According to gdb, > the problem seems to be in glibc (/usr/lib64/gconv/IBM852.so belongs to > glibc): > > $ gdb smbtree > [snip] > (gdb) r > Starting program: /usr/bin/smbtree > (no debugging symbols found) > (no debugging symbols found) > [snip] > Program received signal SIGSEGV, Segmentation fault. > 0x00002aaaab4459bc in gconv () from /usr/lib64/gconv/IBM852.so > (gdb) bt > #0 0x00002aaaab4459bc in gconv () from /usr/lib64/gconv/IBM852.so > #1 0x00002aaaab23efa2 in gconv () from /usr/lib64/gconv/UTF-16.so > #2 0x00002aaaab034f78 in iconv_close () from /lib/libc.so.6 > #3 0x00002aaaab03456b in iconv () from /lib/libc.so.6 > #4 0x00000000004416b0 in smb_register_charset () > #5 0x00000000004417db in smb_iconv () > #6 0x00000000004222fa in lazy_initialize_conv () > #7 0x000000000042283b in convert_string () > #8 0x0000000000432308 in init_doschar_table () > #9 0x00000000004221c4 in init_iconv () > #10 0x000000000041c9e4 in lp_file_list_changed () > #11 0x000000000041dfc5 in lp_do_parameter () > #12 0x000000000042085a in set_store_dos_attributes () > #13 0x0000000000420b98 in pm_process () > #14 0x000000000041f83b in lp_load () > #15 0x0000000000418c68 in main () > > So I decide to downgrade glibc first, but it did not help. Then I downgrade > linux-headers and re-emerge (downgraded) glibc and samba (for sure). Again > without success. :-( I removed -ftracer at first of course. > > I'm stuck now. I don't believe that rebuild of whole system (without > -ftracer) fixes the problem because /usr/lib64/gconv/IBM852.so depends only > on libraries from glibc. > > $ ldd /usr/lib64/gconv/IBM852.so > libc.so.6 => /lib/libc.so.6 (0x00002aaaaabce000) > /lib64/ld-linux-x86-64.so.2 (0x0000555555554000) > $ ldd /lib/libc.so.6 > /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000) > $ ldd /lib64/ld-linux-x86-64.so.2 > statically linked > > What do you think? > > Robert > > Maybe something in your toolchain is broken. If you don't have a trusted toolchain then you can borrow the toolchain from a livecd to rebuild gcc, binutils, and libtool. Zac -- gentoo-user@gentoo.org mailing list