From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GoU40-0003EP-W2 for qemu-devel@nongnu.org; Sun, 26 Nov 2006 19:09:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GoU3z-0003E1-E5 for qemu-devel@nongnu.org; Sun, 26 Nov 2006 19:09:36 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GoU3z-0003Dy-AU for qemu-devel@nongnu.org; Sun, 26 Nov 2006 19:09:35 -0500 Received: from [213.29.7.173] (helo=mail1001.centrum.cz) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GoU3y-0001A8-Pa for qemu-devel@nongnu.org; Sun, 26 Nov 2006 19:09:35 -0500 Received: by mail1001.centrum.cz id S25264490AbWK0AJY (ORCPT ); Mon, 27 Nov 2006 01:09:24 +0100 From: MIME-Version: 1.0 Message-ID: <200611270109.32638@centrum.cz> References: <200611270106.32371@centrum.cz> In-Reply-To: <200611270106.32371@centrum.cz> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Subject: [Qemu-devel] cosmetic bug in qemu "monitor", broken help description of "info capture" ? Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Mon, 27 Nov 2006 00:09:37 -0000 To: qemu-devel@nongnu.org Hi, I'm not sure if this is known or not, being too lazy to check the alias (sorry about that). I've just installed qemu 0.8.2 and kqemu on opensolaris and played a little bit with "monitor" ctrl-alt-2. I've tried to display all "info" commands available, so I entered "info" command without arguments and qemu listed almost all of possible info commands, however then it crashed. I investigated the core file and suspect there is a typo in monitor.c. When monitor tries to print info about the "info capture" command, it segfaults, since "info capture" description is incomplete (only 4 from 5 fields are defined, leaving last one NULL) : ---- monitor.c.orig Mon Nov 27 00:31:38 2006 +++ monitor.c Mon Nov 27 00:32:29 2006 @@ -1237,7 +1237,7 @@ { "profile", "", do_info_profile, "", "show profiling information", }, { "capture", "", do_info_capture, - "show capture information" }, + "", "show capture information" }, { NULL, NULL, }, }; Regards, Vita