In virDomainParseXMLOSDesc(), cur->children can be NULL if the txt node is empty [root@lak test3]# grep cmdline test3.xml <cmdline></cmdline> [root@lak test3]# gdb virsh (gdb) run create test3.xml Starting program: /usr/bin/virsh create test3.xml Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912500545936 (LWP 24715)] virDomainParseXMLDesc (xmldesc=Variable "xmldesc" is not available. ) at xml.c:614 614 if ((txt->type == XML_TEXT_NODE) && (txt->next == NULL))
Dohh !! I fixed the other similar bugs found in that module, oops ! Commited in CVS. thanks, Daniel