[libvirt-users] libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers

Michal Privoznik mprivozn at redhat.com
Mon Jul 15 13:35:46 UTC 2013


On 15.07.2013 14:37, Dennis Jenkins wrote:
> Ah ha!  I just learned about "gdb bt full".  The existing core dump
> might have what you need: Line #442.  However, the line numbers for the
> source code in the source tree that my Gentoo system is building from
> does not match exactly what you listed.
> 
> Line #442 for me is the one containing the "STREQ" macro:
> 
>     virObjectLock(mgr);
>     for (i = 0; i < vm->nseclabels; i++) {
>         for (j = 0; sec_managers[j]; j++)
>             if (STREQ(vm->seclabels[i]->model, sec_managers[j]->drv->name))
>                 break;
> 
> 
> I can rebuild with "-O0" and try again.  If I can still trigger the
> crash, the backtrace might have useful values for the optimized
> variables.  I'll post again in a few minutes.
> 
> 

So I've managed to reproduce this and found the root cause for this
problem. Will post patch shortly.

Michal




More information about the libvirt-users mailing list