From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GoTw5-0006AY-OD for qemu-devel@nongnu.org; Sun, 26 Nov 2006 19:01:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GoTw1-00068Q-LA for qemu-devel@nongnu.org; Sun, 26 Nov 2006 19:01:25 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GoTw1-00068J-Im for qemu-devel@nongnu.org; Sun, 26 Nov 2006 19:01:21 -0500 Received: from [213.29.7.173] (helo=mail1001.centrum.cz) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GoTw0-0007Wn-VF for qemu-devel@nongnu.org; Sun, 26 Nov 2006 19:01:21 -0500 Received: by mail1001.centrum.cz id S25264359AbWK0ABQ (ORCPT ); Mon, 27 Nov 2006 01:01:16 +0100 From: MIME-Version: 1.0 Message-ID: <200611270101.31451@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:01:25 -0000 To: qemu-devel@nongnu.org Hi, I'm not sure if this is known or not, I was too lazy to check the alias (sory for 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