From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbzEF-0003MP-1V for qemu-devel@nongnu.org; Mon, 01 Feb 2010 11:34:23 -0500 Received: from [199.232.76.173] (port=49575 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbzEE-0003MH-Np for qemu-devel@nongnu.org; Mon, 01 Feb 2010 11:34:22 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NbzEE-0008UZ-1P for qemu-devel@nongnu.org; Mon, 01 Feb 2010 11:34:22 -0500 Received: from mail-px0-f189.google.com ([209.85.216.189]:63782) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NbzED-0008UP-Ni for qemu-devel@nongnu.org; Mon, 01 Feb 2010 11:34:21 -0500 Received: by pxi27 with SMTP id 27so4073027pxi.4 for ; Mon, 01 Feb 2010 08:34:20 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20100201140206.1f414f3f@doriath> References: <473191351001310028q75bff0fah52f7a1f3ce5fdbee@mail.gmail.com> <20100201101733.46459bde@doriath> <473191351002010436w65fe6357h8fbf1f2ef787df4d@mail.gmail.com> <20100201112208.04e70689@doriath> <473191351002010542h5b0c268ehbbc411be59150260@mail.gmail.com> <20100201140206.1f414f3f@doriath> From: Roy Tam Date: Tue, 2 Feb 2010 00:33:59 +0800 Message-ID: <473191351002010833q5ab0275bs5a66fa524348d84e@mail.gmail.com> Subject: Re: [Qemu-devel] system_reset command cause assert failed Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: qemu-devel 2010/2/2 Luiz Capitulino : > > Hm, I'm puzzled. Is this failing on malloc()? At least qemu_malloc() > is the last qemu's function I see in the logs. > > From now on I only see msvcrt functions... > > Maybe, you can type run on gdb, run system_reset on the > Monitor and then switch back to gdb and type bt? > for backtrace, I got Backtrace stopped. (gdb) bt #0 monitor_protocol_event (event=QEVENT_RESET, data=0x0) at /home/roy/qemu/monitor.c:349 #1 0x0040f6f9 in monitor_protocol_event (event=4199152, data=0xff0a0000) at /home/roy/qemu/monitor.c:349 Backtrace stopped: frame did not save the PC and there's a double free at the end.