pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/59662: Emacs hangs with high CPU usage when clicking on GUI menu bar



The following reply was made to PR pkg/59662; it has been noted by GNATS.

From: =?UTF-8?Q?Roberto_Rodr=C3=ADguez?= <robertorodriguez%wp.pl@localhost>
To: gnats-bugs%netbsd.org@localhost, pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
 pkgsrc-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/59662: Emacs hangs with high CPU usage when clicking on GUI
 menu bar
Date: Tue, 30 Sep 2025 17:39:05 -0300

 Yes, there are a lot of repeated calls like this
 
    2505   2505 emacs    CALL timerfd_settime(5,1,0x7f7fff7b11a0,0)
    2505   2505 emacs    RET   timerfd_settime 0
    2505   2505 emacs    CALL  __sigprocmask14(3,0x7f7fff7b11f0,0)
    2505   2505 emacs    RET   __sigprocmask14 0
    2505   2505 emacs    CALL 
 __sigprocmask14(1,0x7f7fff7b1200,0x7f7fff7b11f0)
    2505   2505 emacs    RET   __sigprocmask14 0
    2505   2505 emacs    CALL  __clock_gettime50(0,0x7f7fff7b11b0)
    2505   2505 emacs    RET   __clock_gettime50 0
    2505   2505 emacs    CALL __timer_settime50(4,1,0x7f7fff7b11a0,0)
    2505   2505 emacs    RET   __timer_settime50 0
 
 
 sigprocmask is called when not reproducing the bug too. The others, the 
 timer and clock functions are called only when clicking on the menu bar.
 
 On 9/30/25 17:25, David H. Gutteridge via gnats wrote:
 > The following reply was made to PR pkg/59662; it has been noted by GNATS.
 >
 > From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc:
 > Subject: Re: pkg/59662: Emacs hangs with high CPU usage when clicking on GUI
 >   menu bar
 > Date: Tue, 30 Sep 2025 16:22:30 -0400
 >
 >   Are you able to ktrace what's happening and see if it's stuck in
 >   repeated system calls or something?
 >   
 >   E.g.,=20
 >   
 >   ktrace -f emacs.out emacs &
 >   
 >   Then
 >   
 >   kdump emacs.out
 >   
 >   Regards,
 >   
 >   Dave
 >   
 


Home | Main Index | Thread Index | Old Index