Bug 74239 - pulseaudio -k leads to systemd-journald crashes
Summary: pulseaudio -k leads to systemd-journald crashes
Status: RESOLVED NOTOURBUG
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: ARM Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-30 17:53 UTC by hp4everything
Modified: 2014-01-30 18:42 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description hp4everything 2014-01-30 17:53:54 UTC
I'm trying to run pulseaudio on a headless Raspberry Pi platform with most recent packages:

ArchLinuxArm OS : Linux 3.10.28-1-ARCH 
pulseaudio 4.0-6

Starting and stopping pulseaudio via systemd this regularly leads to system-freezes during shutdown caused by systemd-journald crashes.

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.

I think this is also an issue for systemd-developers because it should be able to handle any misbehaviour when shutting down daemons.

But pulseaudio should also provide a shutdown without causing any troubles.

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.
Comment 1 Tanu Kaskinen 2014-01-30 18:42:10 UTC
There's no evidence of PulseAudio doing anything wrong. This is a systemd bug, please report this to them. Resolving as NOTOURBUG.

You can try if "pactl exit" works better.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.