From: Stefan Hajnoczi Subject: Re: qemu-kvm-1.2.0: double free or corruption in VNC code Date: Mon, 26 Nov 2012 11:56:25 +0100 Message-ID: <20121126105625.GB963@stefanha-thinkpad.redhat.com> References: <20121119075601.GB8634@pcnci.linuxbox.cz> <20121121064316.GE13162@pcnci.linuxbox.cz> <20121123072202.GF22787@stefanha-thinkpad.hitronhub.home> <20121123192432.GA4277@nik-comp.linuxbox.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm , nik@linuxbox.cz To: Nikola Ciprich Return-path: Received: from mail-ee0-f46.google.com ([74.125.83.46]:49075 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754614Ab2KZK43 (ORCPT ); Mon, 26 Nov 2012 05:56:29 -0500 Received: by mail-ee0-f46.google.com with SMTP id e53so4381502eek.19 for ; Mon, 26 Nov 2012 02:56:28 -0800 (PST) Content-Disposition: inline In-Reply-To: <20121123192432.GA4277@nik-comp.linuxbox.cz> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Nov 23, 2012 at 08:24:32PM +0100, Nikola Ciprich wrote: > > Please also post the exact package version you are using - the line > > numbers change between releases and depend on which patches have been > > applied to the source tree. The distro exact package version allows me > > to download the source tree that was used to build this binary and check > > the correct line numbers. > > Hello Stafan, > > it's based on fedora rawhide pkg 2:1.2.0-16 with few minor tweaks to compile > on centos6. > I've uploaded sources used for build here: > > http://nik.lbox.cz/download/qemu-kvm-1.2.0.tar.bz2 (after make clean) > > or > > http://nik.lbox.cz/download/qemu-1.2.0-lb6.01.src.rpm > > will this help? Thanks, I looked at the backtrace in the source tree. Unfortunately the root cause is not obvious to me. I was looking for a double-free of the zrle buffers. If this bug repeatedly bites you, try a different VNC encoding as a workaround (not ZRLE). Perhaps someone more familiar with the VNC code will be able to see it. All the information you have provided is helpful. Stefan