<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 --- - shutdown freezes due to systemd-journald crash"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74280">74280</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>shutdown freezes due to systemd-journald crash
          </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>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hp4everything@googlemail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>ARM
          </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>I'm trying to run pulseaudio as service on a headless Raspberry Pi platform
with most recent packages:

ArchLinuxArm OS : Linux 3.10.28-1-ARCH
systemd 208-10 
pulseaudio 4.0-6

Starting and stopping pulseaudio via systemd regularly leads to system-freezes
during shutdown caused by systemd-journald crashes ("out of memory" is the last
console message).

I was able to simply reproduce this by issuing the simple command sequence:

pulseaudio --daemon
pulseaudio -k

In about every second case this leads to crash of the systemd-journald process
with a subsequent restart. Probably because the restart isn't possible during
shutdown the system freezes.

Systemd-developers should be able to handle any misbehaviour of daemons when
shutting down daemons.


Console-listing:

~ >ps -aux | grep systemd-journald
root      1835  0.0  1.4  50616  6752 ?        Ss   18:05   0:00
/usr/lib/systemd/systemd-journald
hape      1986  0.0  0.2   4212   988 pts/0    S+   18:49   0:00 grep
systemd-journald
~ >pulseaudio --start
~ >pulseaudio -k
~ >ps -aux | grep systemd-journald
root      1835  0.0 14.9 214152 70768 ?        Rs   18:05   0:02
/usr/lib/systemd/systemd-journald
hape      2008  0.0  0.2   4212   988 pts/0    S+   18:50   0:00 grep
systemd-journald
~ >pulseaudio --start
~ >pulseaudio -k
~ >ps -aux | grep systemd-journald
root      2037 16.0  0.7  13852  3780 ?        Ds   18:50   0:00
/usr/lib/systemd/systemd-journald
hape      2041  0.0  0.2   4212   988 pts/0    S+   18:50   0:00 grep
systemd-journald
~ >

As can be seen the systemd-journald has been restarted after the second
sequence.</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>