Re: 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 (posix-timers: Fix division by zero bug). Problems with glibc.

2019-02-05 Thread Alan Mackenzie
Hello, Thomas. On Mon, Feb 04, 2019 at 17:25:11 +, Thomas Gleixner wrote: > On Sat, 2 Feb 2019, Alan Mackenzie wrote: [ ] > > 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

Re: 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 (posix-timers: Fix division by zero bug). Problems with glibc.

2019-02-04 Thread Thomas Gleixner
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

Re: 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 (posix-timers: Fix, division by zero bug). Problems with glibc.

2019-02-02 Thread Paul Eggert
Thomas Gleixner wrote: Can you please verify whether the issue is fixed with 4.19.19? It depends on what you mean by "verify". I looked at the Linux kernel source code and checked that the "posix-cpu-timers: Unbreak timer rearming" patch is in 4.19.19 (but not 4.19.18) and in 4.20.6 (but not

Re: 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 (posix-timers: Fix division by zero bug). Problems with glibc.

2019-02-02 Thread Alan Mackenzie
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

Re: 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 (posix-timers: Fix, division by zero bug). Problems with glibc.

2019-02-02 Thread Thomas Gleixner
On Fri, 1 Feb 2019, Paul Eggert wrote: > Thanks for helping to track down this bug. Since the problem occurs only with > a few Linux kernel versions and affects Emacs only when doing CPU profiling, > it doesn't seem worth spending time to try to patch Emacs to work around the > bug. So I

Re: 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 (posix-timers: Fix, division by zero bug). Problems with glibc.

2019-02-01 Thread Paul Eggert
Thanks for helping to track down this bug. Since the problem occurs only with a few Linux kernel versions and affects Emacs only when doing CPU profiling, it doesn't seem worth spending time to try to patch Emacs to work around the bug. So I installed the attached patch into emacs-26's

Re: 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 (posix-timers: Fix division by zero bug). Problems with glibc.

2019-02-01 Thread Thomas Gleixner
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

0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 (posix-timers: Fix division by zero bug). Problems with glibc.

2019-02-01 Thread Alan Mackenzie
Hello, Thomas, Hello Linux. 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