Skip to contentSkip to conversation

cosmetic bug in qemu "monitor", broken help description of "info capture" ?

Qemu-devel [email protected] 1 participant 1 message Nov 27, 2006 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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