<div dir="ltr">Hi,<br>After investigating several gate failures and thanks to logstash, I<br>found out that Libvirtd often crashes badly on Ubuntu Xenial. I know<br>of 3 distinct crashes, with the following fingerprints in syslog.txt<br><br>* libvirtd: malloc.c:3720: _int_malloc: Assertion `(unsigned long)<br>(size) >= (unsigned long) (nb)' failed.<br>13 hits in the last 7 days. Somewhat reported in<br><a href="https://bugs.launchpad.net/tempest/+bug/1646779">https://bugs.launchpad.net/tempest/+bug/1646779</a><br><br>* traps: libvirtd[14731] general protection ip:7f2249691c4e<br>sp:7ffd2c223d70 error:0 in <a href="http://libc-2.23.so">libc-2.23.so</a>[7f2249610000+1bf000]<br>92 hits in the last 7 days. Somewhat reported in<br><a href="https://bugs.launchpad.net/tempest/+bug/1646779">https://bugs.launchpad.net/tempest/+bug/1646779</a><br><br>* *** Error in `/usr/sbin/libvirtd': malloc(): memory corruption:<br>0x000055d6a8375ca0 ***<br>100 hits in the last 7 days. Somewhat reported in<br><a href="https://bugs.launchpad.net/nova/+bug/1643911">https://bugs.launchpad.net/nova/+bug/1643911</a><br><br>Now, depending on how quick systemd detects these crashes and restart<br>libvirtd, not all of these hits lead to a job failure.<br><br>My C language skill is very low, and this is too low level for me to<br>track. But there's definitively something wrong that should be looked<br>after here. If anyone has some free cycles, that would be interesting<br>to track.<br><br>Cheers,<br>Jordan<br></div>