From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#34235: 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 (posix-timers: Fix division by zero bug). Problems with glibc. Date: Sat, 2 Feb 2019 10:44:04 +0000 Message-ID: <20190202104404.GA1067__197.709554207393$1549104381$gmane$org@ACM> References: <20190201214700.GA4950@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="136167"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Alex Branham , Paul Eggert , 34235@debbugs.gnu.org, linux-kernel@vger.kernel.org To: Thomas Gleixner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 02 11:46:17 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 1gpsoP-000ZFl-Vd for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Feb 2019 11:46:14 +0100 Original-Received: from localhost ([127.0.0.1]:40599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpsoO-0006pJ-Ea for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Feb 2019 05:46:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpsoF-0006pE-DX for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2019 05:46:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpsoE-0000mK-KR for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2019 05:46:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56236) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gpsoE-0000ln-Gb for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2019 05:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gpsoE-0002Yb-2V for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2019 05:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Feb 2019 10:46:02 +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.15491043399795 (code B ref 34235); Sat, 02 Feb 2019 10:46:02 +0000 Original-Received: (at 34235) by debbugs.gnu.org; 2 Feb 2019 10:45:39 +0000 Original-Received: from localhost ([127.0.0.1]:55517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpsnq-0002Xv-Lr for submit@debbugs.gnu.org; Sat, 02 Feb 2019 05:45:38 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:41131 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1gpsno-0002Xl-BB for 34235@debbugs.gnu.org; Sat, 02 Feb 2019 05:45:37 -0500 Original-Received: (qmail 85477 invoked by uid 3782); 2 Feb 2019 10:45:35 -0000 Original-Received: from acm.muc.de (p4FE15063.dip0.t-ipconnect.de [79.225.80.99]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 02 Feb 2019 11:45:33 +0100 Original-Received: (qmail 1124 invoked by uid 1000); 2 Feb 2019 10:44:04 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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:155009 Archived-At: 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. > Thanks, > tglx -- Alan Mackenzie (Nuremberg, Germany).