On Mon, Jul 15, 2013 at 7:53 AM, Dennis Jenkins <dennis.jenkins.75@gmail.com> wrote:



TL;DR: "vm->seclabels[i]->model" is NULL.



It probably would have been helpful had I posted everything in the struct:

(gdb) print vm->seclabels[i]
$6 = (virSecurityLabelDefPtr) 0x7fffd0009dc0

(gdb) print *(vm->seclabels[i])
$7 = {model = 0x0, label = 0x0, imagelabel = 0x0, baselabel = 0x0, type = 1, norelabel = true,
  implicit = false}