[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] libvirtd crashing with network bridge configuration



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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]