Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on re-open VNC console #44

Open
schoberw opened this issue May 9, 2016 · 1 comment
Open

Crash on re-open VNC console #44

schoberw opened this issue May 9, 2016 · 1 comment

Comments

@schoberw
Copy link

schoberw commented May 9, 2016

virt-manager is crashing on accessing a VNC remote console a 2nd time.

Mac: El Capitan, 10.11.4, latest Xcode 7.3.1 (7D1014)
virt-manager 1.3.2, installed via homebrew
KVM Server: Debian Jessie, libvirt: 1.2.9-9+deb8u2

Steps to reproduce:

  1. connect to machine
  2. open first virtual machine, go to VNC display
  3. close this machine
  4. open 2nd virtual machine, go to VNC display (which is the default action anyway)

This leads to the crash. Reproducable both on my MacbookAir and Desktop (all running same versions).

[Mo, 09 Mai 2016 10:35:38 virt-manager 79598] DEBUG (details:609) Showing VM details: <domain.vmmDomain object at 0x1087b10a0 (virtManager+domain+vmmDomain at 0x7faff980d7a0)>
[Mo, 09 Mai 2016 10:35:38 virt-manager 79598] DEBUG (engine:401) window counter incremented to 2
[Mo, 09 Mai 2016 10:35:38 virt-manager 79598] DEBUG (console:663) Starting connect process for proto=vnc trans=ssh connhost=b5-2.mgmt connuser=root connport= gaddr=127.0.0.1 gport=5903 gtlsport=None gsocket=None
[Mo, 09 Mai 2016 10:35:38 virt-manager 79598] DEBUG (sshtunnels:253) Pre-generated ssh command for ginfo: ssh -l root b5-2.mgmt sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then   CMD="nc -q 0 127.0.0.1 5903";else   CMD="nc 127.0.0.1 5903";fi;eval "$CMD";'
[Mo, 09 Mai 2016 10:35:38 virt-manager 79598] DEBUG (sshtunnels:277) Generated tunnel fd=24 for viewer
[Mo, 09 Mai 2016 10:35:38 virt-manager 79598] DEBUG (sshtunnels:202) Opened tunnel PID=79603 ERRFD=22
Segmentation fault: 11

error_report.txt

@maximuller
Copy link

maximuller commented Jun 7, 2016

I have the same problem. Any fix?

[Sat, 18 Jun 2016 20:05:00 virt-manager 22864] DEBUG (connection:568) conn=qemu+ssh://root@kvm1/system?socket=/var/run/libvirt/libvirt-sock changed to state=Active
[Sat, 18 Jun 2016 20:05:08 virt-manager 22864] DEBUG (details:609) Showing VM details: <domain.vmmDomain object at 0x1158b0f00 (virtManager+domain+vmmDomain at 0x7fba42cdf780)>
[Sat, 18 Jun 2016 20:05:08 virt-manager 22864] DEBUG (engine:401) window counter incremented to 2
[Sat, 18 Jun 2016 20:05:08 virt-manager 22864] DEBUG (console:663) Starting connect process for proto=vnc trans=ssh connhost=kvm1 connuser=root connport= gaddr=127.0.0.1 gport=5901 gtlsport=None gsocket=None
[Sat, 18 Jun 2016 20:05:08 virt-manager 22864] DEBUG (sshtunnels:253) Pre-generated ssh command for ginfo: ssh -l root kvm1 sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then CMD="nc -q 0 127.0.0.1 5901";else CMD="nc 127.0.0.1 5901";fi;eval "$CMD";'
[Sat, 18 Jun 2016 20:05:08 virt-manager 22864] DEBUG (sshtunnels:277) Generated tunnel fd=24 for viewer
[Sat, 18 Jun 2016 20:05:08 virt-manager 22864] DEBUG (sshtunnels:202) Opened tunnel PID=22883 ERRFD=22
[Sat, 18 Jun 2016 20:05:11 virt-manager 22864] DEBUG (console:781) Viewer connected
[Sat, 18 Jun 2016 20:05:26 virt-manager 22864] DEBUG (details:645) Closing VM details: <domain.vmmDomain object at 0x1158b0f00 (virtManager+domain+vmmDomain at 0x7fba42cdf780)>
[Sat, 18 Jun 2016 20:05:26 virt-manager 22864] DEBUG (sshtunnels:155) Close tunnel PID=22883 ERRFD=22
[Sat, 18 Jun 2016 20:05:26 virt-manager 22864] DEBUG (engine:405) window counter decremented to 1
[Sat, 18 Jun 2016 20:05:29 virt-manager 22864] DEBUG (details:609) Showing VM details: <domain.vmmDomain object at 0x1158b0f50 (virtManager+domain+vmmDomain at 0x7fba42d882e0)>
[Sat, 18 Jun 2016 20:05:29 virt-manager 22864] DEBUG (engine:401) window counter incremented to 2
[Sat, 18 Jun 2016 20:05:29 virt-manager 22864] DEBUG (console:663) Starting connect process for proto=vnc trans=ssh connhost=kvm1 connuser=root connport= gaddr=127.0.0.1 gport=5902 gtlsport=None gsocket=None
[Sat, 18 Jun 2016 20:05:29 virt-manager 22864] DEBUG (sshtunnels:253) Pre-generated ssh command for ginfo: ssh -l root kvm1 sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then CMD="nc -q 0 127.0.0.1 5902";else CMD="nc 127.0.0.1 5902";fi;eval "$CMD";'
[Sat, 18 Jun 2016 20:05:29 virt-manager 22864] DEBUG (sshtunnels:277) Generated tunnel fd=24 for viewer
[Sat, 18 Jun 2016 20:05:29 virt-manager 22864] DEBUG (sshtunnels:202) Opened tunnel PID=22887 ERRFD=22
Segmentation fault: 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants