Mailing List Archive

[Bug 3670] [ssh-agent] 100% CPU spin in cleanup_handler signal handler
https://bugzilla.mindrot.org/show_bug.cgi?id=3670

Ben Hamilton <benhamilton@google.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #1 from Ben Hamilton <benhamilton@google.com> ---
Sent PR to fix: https://github.com/openssh/openssh-portable/pull/468

--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3670] [ssh-agent] 100% CPU spin in cleanup_handler signal handler [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3670

Damien Miller <djm@mindrot.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |djm@mindrot.org,
| |dtucker@dtucker.net
Assignee|unassigned-bugs@mindrot.org |djm@mindrot.org
Attachment #3793| |ok?(dtucker@dtucker.net)
Flags| |

--- Comment #2 from Damien Miller <djm@mindrot.org> ---
Created attachment 3793
--> https://bugzilla.mindrot.org/attachment.cgi?id=3793&action=edit
use ppoll and flag in signal handler

alternately, we could just use a flag in a signal handler and check it
via ppoll. We use this approach for most other mainloops that can be
interrupted

--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3670] [ssh-agent] 100% CPU spin in cleanup_handler signal handler [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3670

--- Comment #3 from Ben Hamilton <benhamilton@google.com> ---
Yep, that works fine too!

--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3670] [ssh-agent] 100% CPU spin in cleanup_handler signal handler [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3670

Darren Tucker <dtucker@dtucker.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #3793|ok?(dtucker@dtucker.net) |ok+
Flags| |

--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3670] [ssh-agent] 100% CPU spin in cleanup_handler signal handler [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3670

Damien Miller <djm@mindrot.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Blocks| |3651
Resolution|--- |FIXED

--- Comment #4 from Damien Miller <djm@mindrot.org> ---
Committed as a6a740a4948d and will be in the OpenSSH 9.7 release, due
next week


Referenced Bugs:

https://bugzilla.mindrot.org/show_bug.cgi?id=3651
[Bug 3651] tracking bug for openssh-9.7
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs