<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd-bootchart occasionally produces a blank svg when run under QEMU"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82639">82639</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>systemd-bootchart occasionally produces a blank svg when run under QEMU
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>other
</td>
</tr>
<tr>
<th>Reporter</th>
<td>max.eliaser@intel.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>This has been reproduced with both systemd 213 and systemd 215.
Steps to reproduce: boot with /usr/lib/systemd-bootchart as PID 1 under QEMU.
Wait an extra 20 seconds after the boot completes.
Expected result: a .svg file with the boot chart will appear in /run/log, and a
notice will appear on stderr indicating that the boot chart has been written.
Actual result: the notice appears on stderr, and the .svg file is created, but
the svg file is blank (0 bytes.) This is not guaranteed to happen all the time,
sometimes it works correctly.
The operating system is Poky, as generated by the Yocto Project. (Yocto is
something similar to buildroot, Poky is the name we use for the OS Yocto
generates.) In this case, Yocto is generating Linux images for a 32-bit x86
target and then running them under QEMU. I believe KVM acceleration is not
enabled. I mention this because it's not your typical Linux distro. I believe
there are a few systemd developers within Intel's OTC who would be familiar
with Yocto and Poky though.
Auke Kok (the original author of systemd-bootchart) was kind enough to spend
about an hour squinting at this bug today, and neither of us could figure it
out. (BTW Auke, commenting out do_journal_append from bootchart.c did *not* fix
it.)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>