jeffreywildman / homebrew-virt-manager

A set of homebrew formulae to install virt-manager and virt-viewer on MAC OSX
1k stars 266 forks source link

virt-manager crashed when opening a VM on remote host #180

Open kraynovm opened 2 years ago

kraynovm commented 2 years ago

I've successfully installed virt-manger by the following fix https://github.com/jeffreywildman/homebrew-virt-manager/issues/170#issuecomment-878824365 on BigSur. But when I'm trying to open console or properties window to a VM virt-manager just crashed.


[ср, 21 июл 2021 21:06:32 virt-manager 12983] DEBUG (serialcon:17) Using VTE API 2.91
[ср, 21 июл 2021 21:06:32 virt-manager 12983] DEBUG (xmleditor:12) Using GtkSource 4
[ср, 21 июл 2021 21:06:33 virt-manager 12983] DEBUG (guest:320) Setting Guest osinfo name <_OsVariant name=generic>
[ср, 21 июл 2021 21:06:33 virt-manager 12983] DEBUG (vmwindow:184) Showing VM details: <vmmDomain name=contrail-upgrade-m1 id=0x10ef3ab00>
[ср, 21 июл 2021 21:06:33 virt-manager 12983] DEBUG (engine:316) window counter incremented to 2
[ср, 21 июл 2021 21:06:33 virt-manager 12983] DEBUG (console:721) Starting connect process for proto=vnc trans=ssh connhost=<hostname> connuser=<user_acc> connport= gaddr=0.0.0.0 gport=5902 gtlsport=None gsocket=None
[ср, 21 июл 2021 21:06:33 virt-manager 12983] DEBUG (viewers:433) VNC connecting to host=<hostname> port=5902
/usr/local/opt/pygobject3/lib/python3.9/site-packages/gi/overrides/Gio.py:42: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
  return Gio.Application.run(self, *args, **kwargs)
Python(12983,0x104861e00) malloc: *** error for object 0x111d24740: pointer being freed was not allocated
Python(12983,0x104861e00) malloc: *** set a breakpoint in malloc_error_break to debug
[1]    12983 abort      virt-manager --debug -c  --no-fork```
dmasiero commented 2 years ago

Same scenario for me except I'm on Catalina 10.15.7. Any update on resolution?

louisza commented 2 years ago

Same scenario for me. On Big Sur.

irtec commented 2 years ago

same case in Catalina, is there any solution

obazda20 commented 2 years ago

same on macOS Big Sur Version 11.4

tinsjourney commented 2 years ago

did anyone find a solution for this ? still having the issue even if I'm using repo from @Krish-sysadmin, as mentioned https://github.com/jeffreywildman/homebrew-virt-manager/issues/184#issuecomment-922546389

xcenai commented 2 years ago

Issue still persists. Mojave 12.0.1

DirkDuesentrieb commented 1 year ago

In my case virt-manager crashed only if a VM with SPICE and VNC graphics was running. If this is the same for you, please test, if this workaround helps:

The different order of adaptors fixed it for me.

Gelob commented 11 months ago

In my case virt-manager crashed only if a VM with SPICE and VNC graphics was running. If this is the same for you, please test, if this workaround helps:

  • stop the VM
  • edit the VM settings with virt-manager
  • remove the VNC display
  • add it again (Listen type: address, only localhost)
  • start the VM

The different order of adaptors fixed it for me.

This worked for me also

nicolasjulian commented 4 months ago

In my case virt-manager crashed only if a VM with SPICE and VNC graphics was running. If this is the same for you, please test, if this workaround helps:

  • stop the VM
  • edit the VM settings with virt-manager
  • remove the VNC display
  • add it again (Listen type: address, only localhost)
  • start the VM

The different order of adaptors fixed it for me.

This has worked very well for me. Thank you!