Re: [PATCH] qio: fix qemu crash when live migration

2024-08-09 Thread Zhenguo Yao
Hi Daniel. Sorry, I don't notice that this is a fixed issue by b8a7f51f59e28d5a8e0c07ed3919cc9695560ed2(chardev/char-socket: set s->listener = NULL in char_socket_finalize). the following process can lead this issue: char_socket_finalize->object_unref(OBJECT(s->listener)); // free io_source, free

Re: [PATCH] qio: fix qemu crash when live migration

2024-08-08 Thread Daniel P . Berrangé
On Thu, Aug 08, 2024 at 11:04:11AM +0800, yaozhenguo wrote: > qemu will crash in live migration cleanup process at source host. > BT is as below: > > 0 0x7f740fc9e165 in g_source_destroy () at /usr/lib64/libglib-2.0.so.0 > 1 0x55a2982a0f6e in qio_net_listener_set_client_func_full > 2 0x

[PATCH] qio: fix qemu crash when live migration

2024-08-07 Thread yaozhenguo
qemu will crash in live migration cleanup process at source host. BT is as below: 0 0x7f740fc9e165 in g_source_destroy () at /usr/lib64/libglib-2.0.so.0 1 0x55a2982a0f6e in qio_net_listener_set_client_func_full 2 0x55a298345130 in tcp_chr_update_read_handler 3 0x55a298341598 in