From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Gleixner Newsgroups: gmane.emacs.bugs Subject: bug#34235: 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 (posix-timers: Fix division by zero bug). Problems with glibc. Date: Mon, 4 Feb 2019 17:25:11 +0000 (GMT) Message-ID: References: <20190201214700.GA4950@ACM> <20190202104404.GA1067@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="155314"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Alpine 2.21 (DEB 202 2017-01-01) Cc: Alex Branham , Paul Eggert , Greg KH , LKML , 34235@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 04 18:26:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gqi0Y-000eIp-IS for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Feb 2019 18:26:10 +0100 Original-Received: from localhost ([127.0.0.1]:46448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqi0X-0007mi-HS for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Feb 2019 12:26:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqi0Q-0007m0-N3 for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2019 12:26:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqi0Q-0004OI-0B for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2019 12:26:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60407) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqi0P-0004OC-Ss for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2019 12:26:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gqi0P-0000xy-ND for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2019 12:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Gleixner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Feb 2019 17:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34235 X-GNU-PR-Package: emacs Original-Received: via spool by 34235-submit@debbugs.gnu.org id=B34235.15493011203665 (code B ref 34235); Mon, 04 Feb 2019 17:26:01 +0000 Original-Received: (at 34235) by debbugs.gnu.org; 4 Feb 2019 17:25:20 +0000 Original-Received: from localhost ([127.0.0.1]:59688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqhzj-0000x1-L5 for submit@debbugs.gnu.org; Mon, 04 Feb 2019 12:25:19 -0500 Original-Received: from galois.linutronix.de ([146.0.238.70]:43406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqhzi-0000wt-94 for 34235@debbugs.gnu.org; Mon, 04 Feb 2019 12:25:19 -0500 Original-Received: from [176.12.107.132] (helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gqhzc-0002fs-O3; Mon, 04 Feb 2019 18:25:12 +0100 In-Reply-To: <20190202104404.GA1067@ACM> X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155084 Archived-At: On Sat, 2 Feb 2019, Alan Mackenzie wrote: > Hello, Thomas. > > Thanks for such a rapid reply! > > On Fri, Feb 01, 2019 at 23:04:48 +0100, Thomas Gleixner wrote: > > Hello Alan, > > > On Fri, 1 Feb 2019, Alan Mackenzie wrote: > > > 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 > > > posix-timers: Fix division by zero bug > > > Committed: 2018-12-17 17:35:45 +0100 > > > > With this patch in place I am seeing problems with glibc's function > > > timer_create. I am an Emacs maintainer, and saw these problems whilst > > > investigating Emacs bug #34235 "27.0.50; lisp profiler does not work". > > > > Emacs's profiler fails in kernel 4.19.13, but works in a version of > > > 4.19.13 with the patch reversed, otherwise unchanged. My current version > > > of glibc is 2.27-r6 (I think the "-r6" comes from Gentoo, my distro). > > > Please upgrade to 4.19.19. The issue should be fixed there with the > > backported variant of > > > 93ad0fc088c5 ("posix-cpu-timers: Unbreak timer rearming") > > > Commit 21c0d1621b8d4b in 4.19.19 > > I've just built and installed Linux 4.19.19, and it does indeed solve > the Emacs profiler bug, #34235. :-) > > I see that the patch has been installed in 4.20.6, 4.19.19, and 4.14.97. > Are there any plans to install it into 4.9.x, the other live long term > support branch? The reason I ask is to make an entry into Emacs's > PROBLEMS file, telling users and distributions which kernel versions to > upgrade to. 4.9 doesn't have the offending commit AFAICT. Thanks, tglx