From owner-dev-commits-src-all@freebsd.org Tue Apr 6 18:36:00 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 24B3E5B3E2E; Tue, 6 Apr 2021 18:36:00 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFGSJ0KF5z4XxV; Tue, 6 Apr 2021 18:36:00 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from freefall.freebsd.org (pool-100-8-53-238.nwrknj.fios.verizon.net [100.8.53.238]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jkim/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id E3B97F53F; Tue, 6 Apr 2021 18:35:59 +0000 (UTC) (envelope-from jkim@FreeBSD.org) To: Konstantin Belousov , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202104060037.1360bKwT029051@gitrepo.freebsd.org> From: Jung-uk Kim Organization: FreeBSD.org Subject: Re: git: d36d68161517 - main - rtld dl_iterate_phdr(): dlpi_tls_data is wrong Message-ID: Date: Tue, 6 Apr 2021 14:35:59 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <202104060037.1360bKwT029051@gitrepo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 18:36:00 -0000 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 > AuthorDate: 2021-04-05 03:05:44 +0000 > Commit: Konstantin Belousov > 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. Jung-uk Kim