Date: Tue, 6 Apr 2021 21:46:53 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: Jung-uk Kim <jkim@freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: d36d68161517 - main - rtld dl_iterate_phdr(): dlpi_tls_data is wrong Message-ID: <YGysnYc0qhYojZ4j@kib.kiev.ua> In-Reply-To: <a8d3236a-99cf-df0a-1c33-aa62709bf630@FreeBSD.org> References: <202104060037.1360bKwT029051@gitrepo.freebsd.org> <a8d3236a-99cf-df0a-1c33-aa62709bf630@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 06, 2021 at 02:35:59PM -0400, Jung-uk Kim wrote: > On 21. 4. 5., Konstantin Belousov wrote: > > The branch main has been updated by kib: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=d36d6816151705907393889d661cbfd25c630ca8 > > > > commit d36d6816151705907393889d661cbfd25c630ca8 > > Author: Konstantin Belousov <kib@FreeBSD.org> > > AuthorDate: 2021-04-05 03:05:44 +0000 > > Commit: Konstantin Belousov <kib@FreeBSD.org> > > CommitDate: 2021-04-06 00:23:08 +0000 > > > > rtld dl_iterate_phdr(): dlpi_tls_data is wrong > > > > dl_iterate_phdr() dlpi_tls_data should provide the TLS module segment > > address, and not the TLS init segment address as it does now. > > > > Reported by: emacsray@gmail.com > > PR: 254774 > > Sponsored by: The FreeBSD Foundation > > MFC after: 1 week > > I started having strange hangs in various applications from yesterday, > e.g., Xorg, Thunderbird, etc. Today, I updated ports tree from Git for > the first time and started updating packages. Then, I experienced > similar problems, e.g., building editors/kate, multimedia/vlc, etc., > were hanging. I noticed some tools were stuck in urwlck state and I > found reverting this commit fixed the problem for me. > > Please take a look. Can you get backtrace for all threads in hanging process? I do not need debugging symbols for the apps, libc/libthr/rtld with debug info, installed by default from the base, should be enough.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YGysnYc0qhYojZ4j>