[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [TESTDAY] xl cpupool-create segfaults if given invalid configuration
# xl cpupool-create 'name="pool2" sched="credit2"' command line:2: config parsing error near `sched': syntax error, unexpected IDENT, expecting NEWLINE or ';' Failed to parse config file: Invalid argument *** glibc detected *** xl: free(): invalid pointer: 0x0000000001a79a10 *** Segmentation fault (core dumped) Looking at the code in xl_cmdimpl.c:main_cpupoolcreate() it calls: * xlu_cfg_init() * xlu_cfg_readdata() if the readdata() fails, it calls xlu_cfg_destroy() before returning. Other callers to readdata() seem to call exit(1) if readdata() fails. So is readdata() leavnig the config in an inconsistent state? Or is config already cleaned up? -George _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |