I've tested spice 0.6.3 and spice 0.8.0 for a long time . Some times client quit itself and I can not repeat it whaterver I try. Client terminal shows sth like : Warning: palette id 473323, not found Each time the id is different. It seems that the palette id send by spice server is not found in the spice client cach. the client has nothing to display ,so quit. I am earger to know what cause this problem and how to solve it . Does anyone else encounter this problem?
Hi Jack, Are you using spicec, or virt-manager (spice-gtk)? Can you provide us information about the host & guest configuration, the server and client log? thanks
(Jack, please use bugzilla for reply, I am pasting it here) I 'm using spicec . I've upload spicec.log as a attachment. Spice client crash when " palette id " occurs in the .log file every time . This occurs frequently when client screen is showing pictures. When comes to code,the exception occurs in the red_channel.cpp file RedChannel::run() function : catch (RedPeer::DisconnectedException&) { _error = SPICEC_ERROR_CODE_SUCCESS; } catch (Exception& e) { LOG_WARN("%s", e.what()); _error = e.get_error_code(); } catch (std::exception& e) { LOG_WARN("%s", e.what()); _error = SPICEC_ERROR_CODE_ERROR; } Configuration:server: qemu-0.13.0 + spice 0.6.3 client : spice 0.63 The crash thing also occurs in qemu 0.14.0 + spice 0.8.0. Here is the command to start the vm: qemu-system-x86_64 -enable-kvm -M pc -nodefconfig -nodefaults -rtc base=localtime,clock=host -chardev socket,id=monitor,path=/opt/keqi/monitors/30d7c9ca-2e25-49bf-b5a3-75b28470538115,server,nowait -mon chardev=monitor,mode=readline -smp 1 -m 256 -name xp -boot order=dcn -drive if=none,id=drive-fdc0-0-0,readonly=on,format=raw -global isa-fdc.driveA=drive-fdc0-0-0 -drive media=disk,file=/opt/datastore/default/xp/.VM-30d7c9ca-2e25-49bf-b5a3-75b28470538115/xp_1.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=writethrough -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive file=/opt/datastore/default/iso/.HOST-0d0abd9b-3ade-4f47-9558-6eca56121a171/Deepin-LiteXP-SP3.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -net nic,model=rtl8139,macaddr=00:e0:4c:20:83:8a,vlan=0 -net tap,script=/opt/keqi/.network/if-up,downscript=/opt/keqi/.network/if-down,ifname=tap-s0-1,vlan=0 -vga qxl -soundhw ac97 -cpu qemu64,+ssse3,+sse4.1,+sse4.2,+x2apic -spice addr=0.0.0.0,port=5901,password=11111111 -usb -usbdevice tablet I will email spice server log to you as soon as I get it ,what other information do you want , just let me know. Thanks again.
From Song Wen: I fixed that bug in a irregular way.But it works right now.I know that way is not correctly,but can make the client work without no palette id exception. Just in the client/cache.hpp: T* get(uint64_t id) { retry: Item* item = _hash[key(id)]; while (item && item->id != id) { item = item->next; } if (!item) { id = key(id) + rand(); goto retry; } return Treat::get(item->data); } It's just to avoid the exception.I really want know the right way to fix this bug.If you have any suggesstion,please tell me. Thanks.
spicec client is no longer maintainer for a long while, lowering priority
spicec is deprecated. If you hit this bug, we highly recommended virt-viewer http://virt-manager.org/download/ http://www.spice-space.org/download.html
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.