red_dispatcher: client disconnect hangs the server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

I often get stucked on client disconnect on blocking read (recent git checkout):

#0  0x00007fb6049bd3bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb604efb1c4 in read (__nbytes=4, __buf=0x7fff4cf978a4, __fd=10) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  read_safe (fd=fd@entry=10, buf=buf@entry=0x7fff4cf978a4 "", size=size@entry=4, block=block@entry=1) at dispatcher.c:76
#3  0x00007fb604efb697 in dispatcher_send_message (dispatcher=dispatcher@entry=0x87ae48, message_type=message_type@entry=6, 
    payload=payload@entry=0x7fff4cf978e0) at dispatcher.c:191
#4  0x00007fb604efc4c5 in red_dispatcher_disconnect_display_peer (rcc=0x7fb6053ba010) at red_dispatcher.c:131
#5  0x00007fb604ef9fa4 in red_client_destroy (client=client@entry=0x894c50) at red_channel.c:2157
#6  0x00007fb604f29cb3 in reds_client_disconnect (client=0x894c50) at reds.c:478
#7  0x00007fb604efeb49 in main_dispatcher_handle_client_disconnect (opaque=<optimized out>, payload=0x8722a0) at main_dispatcher.c:139
#8  0x00007fb604efb4a8 in dispatcher_handle_single_read (dispatcher=0x7fb60521c9c0 <main_dispatcher>) at dispatcher.c:142
#9  dispatcher_handle_recv_read (dispatcher=0x7fb60521c9c0 <main_dispatcher>) at dispatcher.c:165
#10 0x0000000000401e4a in watch_func (source=<optimized out>, condition=<optimized out>, data=0x870470) at basic_event_loop.c:128
#11 0x00007fb604c14ce5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fb604c15048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fb604c1530a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x0000000000401f95 in basic_event_loop_mainloop () at basic_event_loop.c:173
#15 0x0000000000401bfc in main () at test_display_no_ssl.c:86


-- 
Anton D. Kachalov
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]