| Summary: | sshd hangs for command-only invocations due to fork/child signals | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Martijn Koster <mak-openssh-bugs> | ||||||||
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> | ||||||||
| Status: | CLOSED FIXED | ||||||||||
| Severity: | normal | ||||||||||
| Priority: | P2 | ||||||||||
| Version: | 4.2p1 | ||||||||||
| Hardware: | ix86 | ||||||||||
| OS: | Linux | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 1155 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Martijn Koster
2005-12-02 16:33:53 AEDT
Created attachment 1034 [details]
stack trace of hanging sshd
just to be clear, this happens at DEBUG logging level. Also, some of the messages in the output are produced by temporary debug statements I inserted. I'll attach the diff that produces them Created attachment 1035 [details]
extra debugging
Created attachment 1065 [details]
Move debug from signal handler
I think we should just remove the debug from it signal handler. It is not safe on platforms that don't implement syslog_r properly.
Does this patch solve the problem for you?
I repeated problem on my current OpenSSH_4.3p1, DEBUG3, on gcc-3.4.5, glibc-2.3.6-r2. I then applied the patch, and couldn't repro enymore. Thanks! With the release of 4.4, we believe that this bug is now closed. For information about the release please see http://www.openssh.com/txt/release-4.4 . |