Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2008 17:58:44 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        ticso@cicely.de
Cc:        Bernd Walter <ticso@cicely7.cicely.de>, freebsd-current@freebsd.org
Subject:   Re: __tls_get_addr problem with recent current
Message-ID:  <20080821145844.GL1803@deviant.kiev.zoral.com.ua>
In-Reply-To: <20080821142812.GG17607@cicely7.cicely.de>
References:  <20080814202949.GA34094@cicely7.cicely.de> <20080821134126.GI1803@deviant.kiev.zoral.com.ua> <20080821142812.GG17607@cicely7.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--oIPRF+aTX2m15D8D
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 21, 2008 at 04:28:13PM +0200, Bernd Walter wrote:
> On Thu, Aug 21, 2008 at 04:41:26PM +0300, Kostik Belousov wrote:
> > On Thu, Aug 14, 2008 at 10:29:49PM +0200, Bernd Walter wrote:
> > > After updating the kernel and before installworld processes randomly
> > > crash on startup.
> > > Userland is ~2 months old amd64 current.
> > > I wonder if this is because of the OS mix or a general problem right
> > > now.
> > > It seems that process only crash if I'm logged in via ssh/telnet but
> > > not on console, so I might be able to installworld from console.
> > >=20
> > > One example:
> > > [59]cicely14# gdb /bin/cat cat.core=20
> > > GNU gdb 6.1.1 [FreeBSD]
> > > Copyright 2004 Free Software Foundation, Inc.
> > > GDB is free software, covered by the GNU General Public License, and =
you are
> > > welcome to change it and/or distribute copies of it under certain con=
ditions.
> > > Type "show copying" to see the conditions.
> > > There is absolutely no warranty for GDB.  Type "show warranty" for de=
tails.
> > > This GDB was configured as "amd64-marcel-freebsd"...(no debugging sym=
bols found)...
> > > Core was generated by `cat'.
> > > Program terminated with signal 11, Segmentation fault.
> > > Reading symbols from /lib/libc.so.7...(no debugging symbols found)...=
done.
> > > Loaded symbols for /lib/libc.so.7
> > > Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols fou=
nd)...done.
> > > Loaded symbols for /libexec/ld-elf.so.1
> > > #0  0x0000000800505523 in __tls_get_addr () from /libexec/ld-elf.so.1
> > > (gdb) bt
> > > #0  0x0000000800505523 in __tls_get_addr () from /libexec/ld-elf.so.1
> > > #1  0x00000008006b34c1 in free () from /lib/libc.so.7
> > > #2  0x00000008006b4a8e in malloc () from /lib/libc.so.7
> > > #3  0x00000008006a9600 in regfree () from /lib/libc.so.7
> > > #4  0x00000008006a918e in regfree () from /lib/libc.so.7
> > > #5  0x00000008006a6500 in __detect_path_locale () from /lib/libc.so.7
> > > #6  0x0000000000401b6a in ?? ()
> > > #7  0x0000000000401035 in ?? ()
> > > #8  0x000000080052f000 in ?? ()
> >=20
> > I do not see a problem with today kernel and world (on amd64).
> > Does the problem persist even with both new kernel and world ?
>=20
> Yes.
> What puzzles me is that it only exists if initially log in as a normal
> user, but not if I directly log in as root.
>=20
> > If yes, you probably would need to rebuild rtld and libc with debug
> > symbols and get the backtrace with full debug information.
>=20
> Ok - I will retry with recent code.
> If it still exists I'll send you the informations you asked for.

Does this user have anything `interesting' in profile ? Does the effect
perstist if you log in as newly created user with clean environment and
startup scripts ?

--oIPRF+aTX2m15D8D
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkitgqMACgkQC3+MBN1Mb4gccwCgjM/5aLA2+jUe4Mav7j5gadFB
OIAAoLEzYJMFuUobBLKdHSnFaKzA8u6D
=wfbe
-----END PGP SIGNATURE-----

--oIPRF+aTX2m15D8D--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080821145844.GL1803>