id = 1787 title = "Qemu asan test make vm crash when using qxl and spice" state = "opened" created_at = "2023-07-25T08:09:12.608Z" closed_at = "n/a" labels = [] url = "https://gitlab.com/qemu-project/qemu/-/issues/1787" host-os = "linux-5.10" host-arch = "x86" qemu-version = "qemu-6.2.0" guest-os = "kylinOS desktop(or other guestos with desktop)" guest-arch = "x86" description = """When I tested QEMU with asan, the vm crash. The error message is as follows: ![1](/uploads/a44f3790fe6c375aa8eac3a178da963d/1.jpg)""" reproduce = """1.Start the vm with qxl and spice. 2.Attach the vm with vnc and spice. 3.Placed for more than three days. 4.Operation on spice client and possible reproduce this bug.""" additional = """https://github.com/qemu/qemu/blob/44f28df24767cf9dca1ddc9b23157737c4cbb645/ui/cursor.c#L112 I think the reason for the problem is that the cursor pointer was not set to NULL when qemu call cursor_put. But I don't know what situation will trigger this error. This error is difficult to reproduce by natural."""