From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 79891C001DF for ; Tue, 25 Jul 2023 08:36:33 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qODWV-0007Os-Jv; Tue, 25 Jul 2023 04:36:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qODWR-0007Nm-Pf for qemu-devel@nongnu.org; Tue, 25 Jul 2023 04:36:01 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qODWO-0003Lk-Ee for qemu-devel@nongnu.org; Tue, 25 Jul 2023 04:35:59 -0400 Received: from dggpemm500021.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4R99Ls1VtSz1GDXK; Tue, 25 Jul 2023 16:34:45 +0800 (CST) Received: from dggpemm500018.china.huawei.com (7.185.36.111) by dggpemm500021.china.huawei.com (7.185.36.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 25 Jul 2023 16:35:36 +0800 Received: from dggpemm500018.china.huawei.com ([7.185.36.111]) by dggpemm500018.china.huawei.com ([7.185.36.111]) with mapi id 15.01.2507.027; Tue, 25 Jul 2023 16:35:36 +0800 To: "qemu-devel@nongnu.org" , "kraxel@redhat.com" CC: Liheng , "huhao (N)" , caiqingmu , "Pengyi (pengyi)" , "wangyanan (Y)" , fengzhuoran Subject: [Bug 1787] Qemu asan test make vm crash when using qxl and spice Thread-Topic: [Bug 1787] Qemu asan test make vm crash when using qxl and spice Thread-Index: Adm+0Js8vNVUXVnITguicBCwhUJPHAAASUZw Date: Tue, 25 Jul 2023 08:35:36 +0000 Message-ID: References: In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.174.184.217] Content-Type: multipart/alternative; boundary="_000_bde753390bd241c39de9a0a1b8248d12huaweicom_" MIME-Version: 1.0 X-CFilter-Loop: Reflected Received-SPF: pass client-ip=45.249.212.255; envelope-from=zhangjianguo18@huawei.com; helo=szxga08-in.huawei.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: "zhangjianguo (A)" From: "zhangjianguo (A)" via Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org --_000_bde753390bd241c39de9a0a1b8248d12huaweicom_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 QnVnIGxpbmtzOiBodHRwczovL2dpdGxhYi5jb20vcWVtdS1wcm9qZWN0L3FlbXUvLS9pc3N1ZXMv MTc4Nw0KDQpXaGVuIHdlIHRlc3RlZCBRRU1VIHdpdGggYXNhbiwgdGhlIHZtIGNyYXNoLg0KSG93 IHRvIHJlcHJvZHVjZSB0aGUgYnVno7oNCg0KMaGiIFN0YXJ0IHRoZSB2bSB3aXRoIHF4bCBhbmQg c3BpY2UuDQoNCjKhoiBBdHRhY2ggdGhlIHZtIHdpdGggdm5jIGFuZCBzcGljZS4NCg0KM6GiIFBs YWNlZCBmb3IgbW9yZSB0aGFuIHRocmVlIGRheXMuDQoNCjShoiBPcGVyYXRpb24gb24gc3BpY2Ug Y2xpZW50IGFuZCBwb3NzaWJsZSByZXByb2R1Y2UgdGhpcyBidWcuDQoNCkkgdGhpbmsgdGhlIHJl YXNvbiBmb3IgdGhlIHByb2JsZW0gaXMgdGhhdCB0aGUgY3Vyc29yIHBvaW50ZXIgd2FzIG5vdCBz ZXQgdG8gTlVMTCB3aGVuIHFlbXUgY2FsbCBjdXJzb3JfcHV0Lg0KQnV0IEkgZG9uJ3Qga25vdyB3 aGF0IHNpdHVhdGlvbiB3aWxsIHRyaWdnZXIgdGhpcyBlcnJvci4gVGhpcyBlcnJvciBpcyBkaWZm aWN1bHQgdG8gcmVwcm9kdWNlIGJ5IG5hdHVyYWwuDQo= --_000_bde753390bd241c39de9a0a1b8248d12huaweicom_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

Bug links: https://gitlab.com/qemu-project/qemu/-/issues/1787

 

When we tested QEMU with asan, = the vm crash.

How to reproduce the bug= =A3=BA

1= =A1=A2 Start the vm with qxl a= nd spice.

2= =A1=A2 Attach the vm with vnc = and spice.

3= =A1=A2 Placed for more than th= ree days.

4= =A1=A2 Operation on spice clie= nt and possible reproduce this bug.

 

I think the reason for the prob= lem is that the cursor pointer was not set to NULL when qemu call cursor_pu= t.

But I don't know what situation= will trigger this error. This error is difficult to reproduce by natural.<= o:p>

--_000_bde753390bd241c39de9a0a1b8248d12huaweicom_--