<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unloading module-stream-restore and immediately loading it again fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102205">102205</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unloading module-stream-restore and immediately loading it again fails
</td>
</tr>
<tr>
<th>Product</th>
<td>PulseAudio
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>tools
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kalgynirae@lumeh.org
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>lennart@poettering.net
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=133481" name="attach_133481" title="Sample commands and corresponding logs from pulseaudio -vvvvv">attachment 133481</a> <a href="attachment.cgi?id=133481&action=edit" title="Sample commands and corresponding logs from pulseaudio -vvvvv">[details]</a></span>
Sample commands and corresponding logs from pulseaudio -vvvvv
This command succeeds (no output, module is unloaded and loaded again):
$ pacmd unload-module module-stream-restore; pacmd load-module
module-stream-restore
This command fails (error message and module is only unloaded):
$ pacmd <<EOF
> unload-module module-stream-restore
> load-module module-stream-restore
> EOF
Module load failed.
>From the `pulseaudio -vvvvv` logs, it looks like the load-module tries to occur
*before* the unload happens; I see the message “Module "module-stream-restore"
should be loaded once at most. Refusing to load.”
I have attached the full logs from running both of these examples. The reason I
am trying to do this is that I want to reload the module with different options
in my default.pa (the module is already loaded because I .include the
system-wide default.pa).
This is pulseaudio 10.0 on Arch Linux.</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>