Bug 864345
Summary: | 'Spice-Warning **: reds.c:2830:reds_handle_read_link_done' occur as long as connect guest with client | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Sibiao Luo <sluo> |
Component: | spice-server | Assignee: | Uri Lublin <uril> |
Status: | CLOSED NOTABUG | QA Contact: | Desktop QE <desktop-qa-list> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.4 | CC: | acathrow, areis, bsarathy, cfergeau, chayang, dblechte, dyasny, flang, hdegoede, juzhang, michen, mkenneth, qzhang, virt-maint, xfu |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-11-21 13:29:47 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: |
Description
Sibiao Luo
2012-10-09 08:18:29 UTC
Hello, spice guys Could you help look into this problem? It may impact qemu-kvm function test. Thanks a lot. Please try using remote-viewer (virt-viewer package) instead of spicec (spice-client). Usage is remote-viewer spice://host:port (replacing spicec -h host -p port) Seems like not-a-bug to me. This message informs the user that the client does not support a relatively new feature of "AUTH selection". (In reply to comment #3) > Please try using remote-viewer (virt-viewer package) instead of spicec > (spice-client). > Usage is remote-viewer spice://host:port (replacing spicec -h host -p port) > > > Seems like not-a-bug to me. This message informs the user that the client > does not support a relatively new feature of "AUTH selection". if i use '-spice port=5931,disable-ticketing,seamless-migration=on -vga qxl -global qxl-vga.vram_size=67108864' in qemu-kvm command line, and use 'remote-viewer spice://host:port (replacing spicec -h host -p port)' , this issue has disappear. (In reply to comment #0) > > Additional info: > I tried windows7-64bit guest with spice-server-0.12.0-1.el6.x86_64, it will > Aborted (core dumped), but just occur once. > # /usr/libexec/qemu-kvm -m 2G -smp 2,sockets=2,cores=1,threads=1 -usb > -device usb-tablet -drive > file=/home/win7-64-virtio.qcow2,format=qcow2,index=0,if=none,id=drive-virtio- > disk1,media=disk,cache=none,werror=stop,aio=native -device > virtio-scsi-pci,id=bus0 -device > scsi-hd,bus=bus0.0,drive=drive-virtio-disk1,id=virtio-disk1 -netdev > tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device > e1000,netdev=hostnet0,mac=00:10:16:23:25:12,bus=pci.0,addr=0x4 -uuid > 175b476d-ac95-48aa-8c9c-a914171290c5 -rtc base=localtime > -no-kvm-pit-reinjection -monitor stdio -name win7-64-scsi -spice > disable-ticketing,port=5931 -vga qxl -qmp tcp:0:4444,server,nowait -bios > /usr/share/seabios/bios-pm.bin -device virtio-scsi-pci,bus=pci.0,id=scsi0 > -drive > file=/home/my-data-disk.qcow2,format=qcow2,if=none,media=disk,cache=none, > werror=stop,aio=native,id=scsi0,readonly=on -device > scsi-hd,bus=scsi0.0,drive=scsi0,id=scsi1 > QEMU 0.12.1 monitor - type 'help' for more information > (qemu) (/usr/libexec/qemu-kvm:13386): Spice-Warning **: > reds.c:2830:reds_handle_read_link_done: Peer doesn't support AUTH selection > main_channel_link: add main channel client > main_channel_handle_parsed: net test: latency 0.343000 ms, bitrate 307923620 > bps (293.658848 Mbps) > (/usr/libexec/qemu-kvm:13386): Spice-Warning **: > reds.c:2830:reds_handle_read_link_done: Peer doesn't support AUTH selection > (/usr/libexec/qemu-kvm:13386): Spice-Warning **: > reds.c:2830:reds_handle_read_link_done: Peer doesn't support AUTH selection > inputs_connect: inputs channel client create > red_channel_client_disconnect: 0x7fbc69569c40 (channel 0x7fbc68ac2300 type 3 > id 0) > red_channel_client_disconnect: 0x7fbc69563800 (channel 0x7fbc68ab7d40 type 1 > id 0) > main_channel_client_on_disconnect: rcc=0x7fbc69563800 > red_client_destroy: destroy client with #channels 3 > red_channel_client_disconnect: 0x7fbc69569c40 (channel 0x7fbc68ac2300 type 3 > id 0) > red_channel_client_disconnect: 0x7fbc69569c40 (channel 0x7fbc68ac2300 type 3 > id 0) > red_dispatcher_disconnect_display_peer: > red_peer_handle_outgoing: Connection reset by peer > red_channel_client_disconnect: 0x7fbbbc242560 (channel 0x7fbbbc21d0b0 type 2 > id 0) > (/usr/libexec/qemu-kvm:13386): SpiceWorker-ERROR **: > ../spice-common/common/ring.h:121:ring_next: assertion `pos->next != NULL && > pos->prev != NULL' failed > Thread 5 (Thread 0x7fbc5f2e6700 (LWP 13399)): > #0 0x00007fbc669677bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from > /lib64/libpthread.so.0 > #1 0x00007fbc67043d67 in cond_timedwait (unused=<value optimized out>) at > posix-aio-compat.c:102 > #2 aio_thread (unused=<value optimized out>) at posix-aio-compat.c:329 > #3 0x00007fbc66963851 in start_thread () from /lib64/libpthread.so.0 > #4 0x00007fbc64a2467d in clone () from /lib64/libc.so.6 > Thread 4 (Thread 0x7fbc5d33f700 (LWP 13400)): > #0 0x00007fbc64a1c7b7 in ioctl () from /lib64/libc.so.6 > #1 0x00007fbc6702a57a in kvm_run (env=0x7fbc68ac8c70) at > /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:1015 > #2 0x00007fbc6702aa29 in kvm_cpu_exec (env=<value optimized out>) at > /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:1743 > #3 0x00007fbc6702b90d in kvm_main_loop_cpu (_env=0x7fbc68ac8c70) at > /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:2004 > #4 ap_main_loop (_env=0x7fbc68ac8c70) at > /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:2060 > #5 0x00007fbc66963851 in start_thread () from /lib64/libpthread.so.0 > #6 0x00007fbc64a2467d in clone () from /lib64/libc.so.6 > Thread 3 (Thread 0x7fbc57fff700 (LWP 13401)): > #0 0x00007fbc64a1c7b7 in ioctl () from /lib64/libc.so.6 > #1 0x00007fbc6702a57a in kvm_run (env=0x7fbc68ae2010) at > /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:1015 > #2 0x00007fbc6702aa29 in kvm_cpu_exec (env=<value optimized out>) at > /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:1743 > #3 0x00007fbc6702b90d in kvm_main_loop_cpu (_env=0x7fbc68ae2010) at > /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:2004 > #4 ap_main_loop (_env=0x7fbc68ae2010) at > /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:2060 > #5 0x00007fbc66963851 in start_thread () from /lib64/libpthread.so.0 > #6 0x00007fbc64a2467d in clone () from /lib64/libc.so.6 > Thread 2 (Thread 0x7fbc565fd700 (LWP 13402)): > #0 0x00007fbc6696a54d in read () from /lib64/libpthread.so.0 > #1 0x00007fbc651c0b00 in read () at /usr/include/bits/unistd.h:45 > #2 spice_backtrace_gstack () at backtrace.c:100 > #3 0x00007fbc651c8c30 in spice_logv (log_domain=0x7fbc65244d9c > "SpiceWorker", log_level=SPICE_LOG_LEVEL_ERROR, strloc=0x7fbc6523f7a0 > "../spice-common/common/ring.h:121", function=0x7fbc65246da9 "ring_next", > format=0x7fbc6523fc38 "assertion `%s' failed", args=0x7fbc565fc630) at > log.c:108 > #4 0x00007fbc651c8d6a in spice_log (log_domain=<value optimized out>, > log_level=<value optimized out>, strloc=<value optimized out>, > function=<value optimized out>, format=<value optimized out>) at log.c:123 > #5 0x00007fbc6518c57c in ring_next (ring=0x7fbbbc21d0e0, > pos=0x7fbbbc242560) at ../spice-common/common/ring.h:121 > #6 0x00007fbc6519d85b in red_pipes_add_drawable (worker=0x7fbbbc0008c0, > drawable=0x7fbbbc1d3438) at red_worker.c:1455 > #7 0x00007fbc651a3819 in red_current_add_equal (worker=0x7fbbbc0008c0, > ring=0x7fbbbc2417b8, drawable=0x7fbbbc1d3438) at red_worker.c:3229 > #8 red_current_add (worker=0x7fbbbc0008c0, ring=0x7fbbbc2417b8, > drawable=0x7fbbbc1d3438) at red_worker.c:3403 > #9 0x00007fbc651a4ad0 in red_current_add_qxl (worker=0x7fbbbc0008c0, > ring_is_empty=0x7fbc565fcaac, max_pipe_size=50) at red_worker.c:3612 > #10 red_process_drawable (worker=0x7fbbbc0008c0, > ring_is_empty=0x7fbc565fcaac, max_pipe_size=50) at red_worker.c:3953 > #11 red_process_commands (worker=0x7fbbbc0008c0, > ring_is_empty=0x7fbc565fcaac, max_pipe_size=50) at red_worker.c:4902 > #12 0x00007fbc651a68bb in on_new_display_channel_client (opaque=<value > optimized out>, payload=0x7fbbbc1d80a0) at red_worker.c:9483 > #13 handle_new_display_channel (opaque=<value optimized out>, > payload=0x7fbbbc1d80a0) at red_worker.c:10376 > #14 handle_dev_display_connect (opaque=<value optimized out>, > payload=0x7fbbbc1d80a0) at red_worker.c:11216 > #15 0x00007fbc65186cc7 in dispatcher_handle_single_read > (dispatcher=0x7fbc68b03a48) at dispatcher.c:139 > #16 dispatcher_handle_recv_read (dispatcher=0x7fbc68b03a48) at > dispatcher.c:162 > #17 0x00007fbc651a788e in red_worker_main (arg=<value optimized out>) at > red_worker.c:11782 > #18 0x00007fbc66963851 in start_thread () from /lib64/libpthread.so.0 > #19 0x00007fbc64a2467d in clone () from /lib64/libc.so.6 > Thread 1 (Thread 0x7fbc66f79940 (LWP 13386)): > #0 0x00007fbc6696a54d in read () from /lib64/libpthread.so.0 > #1 0x00007fbc65186953 in read (fd=22, buf=0x7fff33c2330c "", size=4, > block=<value optimized out>) at /usr/include/bits/unistd.h:45 > #2 read_safe (fd=22, buf=0x7fff33c2330c "", size=4, block=<value optimized > out>) at dispatcher.c:76 > #3 0x00007fbc65186b86 in dispatcher_send_message > (dispatcher=0x7fbc68b03a48, message_type=6, payload=0x7fff33c23340) at > dispatcher.c:188 > #4 0x00007fbc651876cd in red_dispatcher_disconnect_display_peer > (rcc=0x7fbbbc242560) at red_dispatcher.c:144 > #5 0x00007fbc651862c5 in red_client_destroy (client=0x7fbc68b3a9d0) at > red_channel.c:1722 > #6 0x00007fbc651b09b4 in reds_client_disconnect (client=0x7fbc68b3a9d0) at > reds.c:727 > #7 0x00007fbc65182311 in red_peer_handle_incoming (rcc=0x7fbc69563800) at > red_channel.c:285 > #8 red_channel_client_receive (rcc=0x7fbc69563800) at red_channel.c:294 > #9 0x00007fbc65182a9c in red_channel_client_event (fd=<value optimized > out>, event=<value optimized out>, data=0x7fbc69563800) at red_channel.c:1204 > #10 0x00007fbc6700704f in main_loop_wait (timeout=1000) at > /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:3994 > #11 0x00007fbc67028aca in kvm_main_loop () at > /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:2244 > #12 0x00007fbc67009ba5 in main_loop (argc=20, argv=<value optimized out>, > envp=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4206 > #13 main (argc=20, argv=<value optimized out>, envp=<value optimized out>) > at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:6443 > Aborted (core dumped) > Could you help see this Aborted (core dumped) log & thx. Since this is a regression bug, from qe pov, move flag to rhel‑6.4.0?. Please free to modify if any mistake. As explained in comment #3 the "Peer doesn't support AUTH selection" warning is not a bug since this is just a new feature spicec does not support -> Closing this as not a bug. As explained in bug 877927 comment #11 spicec and spicy are no longer support. All future testing should be done with remote-viewer exclusively! p.s. The non reproducable crash reported in the description should really have been reported in a separate bug report, please never bundle different issues in 1 bug report. Always file 1 bug report per issue! When in doubt if some issue(s) you're seeing may or may not be the same issue, please file 2 different bugs, we can always mark the extra bugs as duplicate later. Note please do not file a new separate bug for the crash in this case, since the issue is not reproducable . |