virt-aa-helper crashes when domain XML does not contain <uuid>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Undecided
|
Jamie Strandboge | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned | ||
Maverick |
Won't Fix
|
Undecided
|
Unassigned | ||
Natty |
Fix Released
|
Undecided
|
Jamie Strandboge |
Bug Description
libvirt-bin 0.7.5-5ubuntu27.7
Linux 2.6.32-25-server #45-Ubuntu SMP Sat Oct 16 20:06:58 UTC 2010 x86_64 GNU/Linux
/usr/lib/
Program received signal SIGSEGV, Segmentation fault.
0x00007fb8d4c64cd8 in random_r () from /lib/libc.so.6
(gdb) bt
#0 0x00007fb8d4c64cd8 in random_r () from /lib/libc.so.6
#1 0x000000000041ca24 in ?? ()
#2 0x000000000041c1aa in ?? ()
#3 0x0000000000411371 in ?? ()
#4 0x0000000000413439 in ?? ()
#5 0x0000000000413c62 in ?? ()
#6 0x0000000000404be9 in ?? ()
#7 0x00007fb8d4c49c4d in __libc_start_main () from /lib/libc.so.6
#8 0x00000000004034a9 in ?? ()
#9 0x00007fffad4beef8 in ?? ()
#10 0x000000000000001c in ?? ()
#11 0x0000000000000004 in ?? ()
#12 0x00007fffad4c0944 in ?? ()
#13 0x00007fffad4c0964 in ?? ()
#14 0x00007fffad4c0967 in ?? ()
#15 0x00007fffad4c0994 in ?? ()
#16 0x0000000000000000 in ?? ()
Seems to crash on every use of random_r() - for example if UUID or MAC is not present in the config file and must be randomly generated.
Related branches
tags: | added: patch |
This is not a problem on Maverick and later: libvirt/ virt-aa- helper -u libvirt- 14412844- e1d1-4dfc- ad03-6adf185fa2 43 -c --dryrun
$ cat /tmp/xml | /usr/lib/
virt-aa-helper: error: could not parse XML
virt-aa-helper: error: could not get VM definition