I've started to learn how to use gdb and came accross these lines which are causing the crash:
/**
* virStateInitialize:
*
* Initialize all virtualization drivers.
*
* Return 0 if all succeed, -1 upon any failure.
*/
int virStateInitialize(void) {
int i, ret = 0;
if (virInitialize() < 0)
return -1;
for (i = 0 ; i < virStateDriverTabCount ; i++) {
if (virStateDriverTab[i]->initialize &&
virStateDriverTab[i]->initialize() < 0)
ret = -1;
}
return ret;
}
* virStateInitialize:
*
* Initialize all virtualization drivers.
*
* Return 0 if all succeed, -1 upon any failure.
*/
int virStateInitialize(void) {
int i, ret = 0;
if (virInitialize() < 0)
return -1;
for (i = 0 ; i < virStateDriverTabCount ; i++) {
if (virStateDriverTab[i]->initialize &&
virStateDriverTab[i]->initialize() < 0)
ret = -1;
}
return ret;
}
Somehow after the 5th or 6th run of the "for" _expression_, guessing that virStateDriverTab[i]->initialize && virStateDriverTab[i]->initialize() is somehow crashing.
Any clue is appreciated.
Emre
-- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list