|
Bugzilla – Full Text Bug Listing |
| Summary: | luit sometimes hangs | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Mike Fabian <mfabian> |
| Component: | X11 Applications | Assignee: | Stefan Dirsch <sndirsch> |
| Status: | RESOLVED FIXED | QA Contact: | Stefan Dirsch <sndirsch> |
| Severity: | Normal | ||
| Priority: | P2 - High | CC: | jch, ma, mined, sndirsch, towo, werner |
| Version: | RC 4 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
strace of hanging 'luit -x mutt'
p_bugzilla-117193-luit-sometimes-hangs.diff |
||
|
Description
Mike Fabian
2005-09-15 10:42:03 UTC
Created attachment 50010 [details]
strace of hanging 'luit -x mutt'
Created attachment 51058 [details]
p_bugzilla-117193-luit-sometimes-hangs.diff
Patch which seems to solve the problem for me.
If I understand it right, pty setup stuff like
copyTermios(0, pty);
should be called *before* forking, otherwise the program
started in the child part with "execvp()" may already
try to write on the pty before the setup is finished.
I'm not sure about the signal-handlers. But probably
it cannot hurt to do this before the for as well.
Looks fine to me. fixed for 10.1 Alpha2. |