Bug 208167
Summary: | cannot close window when tcsh is running a command | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | jas | ||||||
Component: | tcsh | Assignee: | Vitezslav Crhonek <vcrhonek> | ||||||
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Bill Huang <bhuang> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4.4 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-03-23 11:11:27 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
jas
2006-09-26 18:23:02 UTC
Can you create a temporary directory, run (strace -ff -o log xterm) in it, reproduce the behavior, and attach an archive containing the contents of the directory, please? E.g.: $ mkdir t $ cd t $ strace -ff -o log xterm [now reproduce the behavior in the newly opened xterm] $ cd .. $ tar cjf xterm-strace.tar.bz2 t $ rm -r t ... and attach the created xterm-strace.tar.bz2. Created attachment 137931 [details]
running xterm with tcsh, ssh to the same host, start up xterm, and try to close the original xterm - fails
Thanks. Is that the trace of the "inner" or the "original" xterm? The trace doesn't contain any indication of running ssh. A trace of the xterm you attempt to close is necessary to find out whether the bug is in tcsh or xterm. Created attachment 137937 [details]
second try
Can you precisely, one step at a time, describe the way to reproduce the problem, please? The second trace shows running tcsh[1] in xterm[1], with unsuccessful attempts to log in via ssh - but a trace of xterm[1] is missing. It also shows running tcsh[2] in xterm[2], running "sleep 1000". xterm[2] is terminated using Ctrl+C. What is the relation of the two xterms? Which one have you tried to close? If both, in what order? Simple. I run xdm. When I login through xdm, an xterm window pops up, and then the window manager begins. I run tcsh for my login so tcsh is running in the xterm. If I try to close the original xterm window, it will close. If instead, I type "sleep 1000" in the xterm window, and then try to close the window by clicking on the "X" in the top right hand corner, the window will not close. The window will only close when the sleep is complete. That's it. Does it not work like that for you? No, the window closes immediately (using xdm, twm and xterm). I'm afraid your new problem description doesn't clarify the questions in comment #6. A trace of _the specific_ xterm you attempt to close and _the specific_ tcsh running in the xterm is necessary to find out whether the bug is in tcsh or xterm. If you can't remember the sequence of events from comment #5, please attach a new strace that contains a strace of the specific xterm that you tried to close and the specifix tcsh running in that xterm, along with any necessary description of the steps to reproduce or any necessary relations between different xterm or tcsh processes. If you cannot reproduce the problem in a new xterm running within strace, you can use the -p argument of strace to attach to a running xterm and a running tcsh, although starting the xterm process by strace is preferable. |