[libvirt] libvirtd crashing with network bridge configuration

Emre Erenoglu erenoglu at gmail.com
Sun Dec 21 04:11:55 UTC 2008


Hi Again,

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;
}

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081221/d3b54ff1/attachment-0001.htm>


More information about the libvir-list mailing list