Bug 1086971
Summary: | x11 channels keeping ssh connections open when running Qt programs | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Dave Johansen <davejohansen> | ||||
Component: | qt | Assignee: | Jan Grulich <jgrulich> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Desktop QE <desktop-qa-list> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.5 | CC: | rvokal, tpelka | ||||
Target Milestone: | rc | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-12-06 12:09:43 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
(In reply to Dave Johansen from comment #0) > Created attachment 885648 [details] > Hello World Qt application > > Description of problem: > When running a Qt program over an ssh connection, not all of the x11 > channels that are being created are closing. These remaining channels keep > the ssh connection from closing when typing exit to end the session. > > Version-Release number of selected component (if applicable): > 4.6.2 > > How reproducible: > Always > > Steps to Reproduce: > 1. Copy the attached Hello World Qt application to a remote host > 2. Build application on remote host (qmake-qt4 -project; qmake-qt4; make) > 3. ssh to remote host with -v > 4. Run qt_test and observe the number of x11 channels opened > 5. Close qt_test and note that not all of the x11 channels were closed > > Actual results: > x11 channels remain open after closing Qt application. > > Expected results: > All x11 channels closed when application is closed. > > Additional info: > I tried reproducing this with "ssh -X localhost" but it appeared to close > all of the channels as expected. i have tried your steps, ./qt_test debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384 debug1: client_request_x11: request from ::1 42952 debug1: channel 1: new [x11] debug1: confirm x11 debug1: client_input_channel_open: ctype x11 rchan 6 win 65536 max 16384 debug1: client_request_x11: request from ::1 42953 debug1: channel 4: new [x11] debug1: confirm x11 debug1: channel 4: FORCE input drain debug1: channel 4: free: x11, nchannels 5 debug1: channel 1: FORCE input drain debug1: channel 1: free: x11, nchannels 4 It just looks fine for me. Just info for you, it's expected that the it does not immediately close the channel, but instead sends a close request to the server and returns. I can still reproduce this bug with RHEL 6.6 and other users on the CentOS mailing list have been able to as well ( http://lists.centos.org/pipermail/centos/2014-December/148286.html ), so can this issue be further investigated? Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available. The official life cycle policy can be reviewed here: http://redhat.com/rhel/lifecycle This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: https://access.redhat.com/ |
Created attachment 885648 [details] Hello World Qt application Description of problem: When running a Qt program over an ssh connection, not all of the x11 channels that are being created are closing. These remaining channels keep the ssh connection from closing when typing exit to end the session. Version-Release number of selected component (if applicable): 4.6.2 How reproducible: Always Steps to Reproduce: 1. Copy the attached Hello World Qt application to a remote host 2. Build application on remote host (qmake-qt4 -project; qmake-qt4; make) 3. ssh to remote host with -v 4. Run qt_test and observe the number of x11 channels opened 5. Close qt_test and note that not all of the x11 channels were closed Actual results: x11 channels remain open after closing Qt application. Expected results: All x11 channels closed when application is closed. Additional info: I tried reproducing this with "ssh -X localhost" but it appeared to close all of the channels as expected.