From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Habkost Subject: Re: kvm-autotest: weird memory error during stepmaker test Date: Fri, 03 Apr 2009 17:37:56 -0300 Message-ID: <1238790500-sup-8351@blackpad> References: <20090401155558.GK19400@us.ibm.com> Content-Type: text/plain; charset=UTF-8 Cc: "kvm@vger.kernel.org" To: Ryan Harper Return-path: Received: from mx2.redhat.com ([66.187.237.31]:54161 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751385AbZDCUiL (ORCPT ); Fri, 3 Apr 2009 16:38:11 -0400 In-Reply-To: <20090401155558.GK19400@us.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Excerpts from Ryan Harper's message of Qua Abr 01 12:55:58 -0300 2009: > Wondering if anyone else using kvm-autotest stepmaker has ever seen this > error: > > Traceback (most recent call last): > File > "/home/rharper/work/git/build/kvm-autotest/client/tests/kvm_runtest_2/stepmaker. > py", line 146, in update > self.set_image_from_file(self.screendump_filename) > File > "/home/rharper/work/git/build/kvm-autotest/client/tests/kvm_runtest_2/stepeditor > .py", line 499, in set_image_from_file > self.set_image(w, h, data) > File > "/home/rharper/work/git/build/kvm-autotest/client/tests/kvm_runtest_2/stepeditor > .py", line 485, in set_image > w, h, w*3)) > MemoryError I've seen this error twice today, while trying to create a step file to install a Windows 2008 R2 64-bit guest (the Win2008-64 step file available on the git repository doesn't work for me). This happened when the guest was being rebooted by the windows installer. The contents of the screen dump file are this: $ cat /home/ehabkost/autotest/kvm-autotest/client/results/default/kvm_runtest_2.Win2008.64.install/debug/scrdump.ppm P6 0 0 255 $ And the 0x0 pixmap really makes gdk panic: >>> (w, h, data) = ppm_utils.image_read_from_ppm_file('/home/ehabkost/autotest/kvm-autotest/client/results/default/kvm_runtest_2.Win2008.64.install/debug/scrdump.ppm') >>> w,h,data (0, 0, '') >>> gtk.gdk.pixbuf_new_from_data(data, gtk.gdk.COLORSPACE_RGB, False, 8, w, h, w*3) Traceback (most recent call last): File "", line 1, in ? MemoryError >>> > > The guest is still running, but stepmaker isn't recording any more so it's > boned at that point. And of course, it's near the end of a guest install so > one has lost a decent amount of time... > -- Eduardo