[Spice-devel] vm down for client reset

bigclouds bigclouds at 163.com
Fri May 10 03:08:35 PDT 2013


 
hi,all
1.it seems that there are many racing condition  between channels.
for example  all channels of a vm connect to just only one client, if the client down, a variable shared between channels should be set.
let see my problem.
 
1.server is aware of client is down (reset),
2.snd_receive still compare the numbers of data , why?  why assert?
each thread  do not communicate with each other.
 
 
---log-------------
handle_dev_display_connect: connect
handle_new_display_channel: add display channel client
handle_new_display_channel: add display channel client
handle_new_display_channel: New display (client 0x7fe2408720f0) dcc 0x7fe1d899bc20 stream 0x7fe240cebbe0
handle_new_display_channel: jpeg disabled
handle_new_display_channel: zlib-over-glz disabled
listen_to_new_client_channel: NEW ID = 0
handle_new_display_channel: zlib-over-glz disabled
listen_to_new_client_channel: NEW ID = 0
reds_show_new_channel: channel 9:2, connected successfully, over Secure link
reds_handle_auth_mechanism: Auth method: 1
reds_show_new_channel: channel 9:3, connected successfully, over Secure link
reds_handle_auth_mechanism: Auth method: 1
reds_show_new_channel: channel 9:1, connected successfully, over Secure link
display_channel_client_wait_for_init: creating encoder with id == 0
red_channel_client_disconnect: 0x7fe240e09030 (channel 0x7fe2407cd2f0 type 3 id 0)
red_peer_receive: Connection reset by peer
red_channel_client_disconnect: 0x7fe1d899bc20 (channel 0x7fe1d80458d0 type 2 id 0)
display_channel_client_on_disconnect:
red_channel_client_disconnect: 0x7fe1d80c8890 (channel 0x7fe1d8045e90 type 4 id 0)
snd_channel_put: sound channel freed
snd_receive: ASSERT n fa iled
/usr/lib64/libspice-server.so.1(+0xbf465)[0x7fe23d176465]
/usr/lib64/libspice-server.so.1(+0x45d2a)[0x7fe23d0fcd2a]
/usr/lib64/libspice-server.so.1(+0x45d80)[0x7fe23d0fcd80]
/usr/libexec/qemu-kvm(+0x625df)[0x7fe23ef315df]
/usr/libexec/qemu-kvm(+0x8428a)[0x7fe23ef5328a]
/usr/libexec/qemu-kvm(main+0x154c)[0x7fe23ef3412c]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7fe23c8a8cdd]
/usr/libexec/qemu-kvm(+0x5f149)[0x7fe23ef2e149]
2013-05-10 05:55:38.945+0000: shutting down


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130510/4200f6fa/attachment.html>


More information about the Spice-devel mailing list