<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 25.03.2013 09:30, Tanu Kaskinen
      wrote:<br>
    </div>
    <blockquote cite="mid:1364200240.3717.43.camel@laptop" type="cite">
      <pre wrap="">On Thu, 2013-03-21 at 15:00 +0100, Helmar SchÃ&frac14;tz wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi,

my Pulseaudio randomly resets when I play music in wine emulated 
foobar2000 or in Linux VLC player. I see the icon disappear for a bit 
and audio completely stops until I restart said applications. I tried 
running pulseaudio verbosely from command line but other than a "kill" 
when it happened, there didn't seem to be anything out of the ordinary.
</pre>
      </blockquote>
      <pre wrap="">What do you mean by "a kill"? Is there a line saying "Killed"? If that's
the case, then the problem is probably that PulseAudio is consuming more
CPU time in its realtime threads than it's allowed to, hence it gets
killed.</pre>
    </blockquote>
    Yeah, that line appeared in the terminal.
    <blockquote cite="mid:1364200240.3717.43.camel@laptop" type="cite">
      <pre wrap="">Do you possibly use module-combine-sink? It had a bug that could cause
the CPU limit to be exceeded. It's fixed in 3.0, which is not available
in Wheezy.

</pre>
    </blockquote>
    I downloaded pulseaudio 3 from debian experimental. The problem
    still persists and it appears in every kind of audio application. It
    seems to me that OOM is wine-related, so I guess it is not related
    to my problem.<br>
    <br>
    I'm not sure how to figure out whether I'm using module-combine-sink<code><font
        face="sans-serif">. I can't find it in /etc/pulse/default.pa . I
        use a Lenovo T61 Thinkpad that only has an analogue </font></code>audio

    output so my guess is using module-combine-sink wouldn't even make
    much sense?<br>
    <br>
    This is what I got last time it crashed with pulseaudio 3 installed:<br>
    <br>
    I: [pulseaudio] sink-input.c: Freeing input 8 "ALSA Playback"<br>
    I: [pulseaudio] module-stream-restore.c: Restoring device for stream
    sink-input-by-application-name:ALSA plug-in [wine-preloader].<br>
    I: [pulseaudio] module-stream-restore.c: Restoring volume for sink
    input sink-input-by-application-name:ALSA plug-in [wine-preloader].<br>
    I: [pulseaudio] module-stream-restore.c: Restoring mute state for
    sink input sink-input-by-application-name:ALSA plug-in
    [wine-preloader].<br>
    I: [pulseaudio] sink-input.c: Created input 9 "ALSA Playback" on
    alsa_output.pci-0000_00_1b.0.analog-stereo with sample spec s16le
    2ch 44100Hz and channel map front-left,front-right<br>
    I: [pulseaudio] sink-input.c:     media.name = "ALSA Playback"<br>
    I: [pulseaudio] sink-input.c:     application.name = "ALSA plug-in
    [wine-preloader]"<br>
    I: [pulseaudio] sink-input.c:     native-protocol.peer = "UNIX
    socket client"<br>
    I: [pulseaudio] sink-input.c:     native-protocol.version = "27"<br>
    I: [pulseaudio] sink-input.c:     application.process.id = "8037"<br>
    I: [pulseaudio] sink-input.c:     application.process.user =
    "helmar"<br>
    I: [pulseaudio] sink-input.c:     application.process.host =
    "wheezynut"<br>
    I: [pulseaudio] sink-input.c:     application.process.binary =
    "wine-preloader"<br>
    I: [pulseaudio] sink-input.c:     application.language =
    "en_US.utf8"<br>
    I: [pulseaudio] sink-input.c:     window.x11.display = ":0.0"<br>
    I: [pulseaudio] sink-input.c:     application.process.machine_id =
    "3ea01861093a01db55367d2d50857e5c"<br>
    I: [pulseaudio] sink-input.c:     module-stream-restore.id =
    "sink-input-by-application-name:ALSA plug-in [wine-preloader]"<br>
    I: [pulseaudio] protocol-native.c: Requested tlength=40.00 ms,
    minreq=10.00 ms<br>
    I: [pulseaudio] protocol-native.c: Final latency 50.00 ms = 20.00 ms
    + 2*10.00 ms + 10.00 ms<br>
    <br>
    Followed by a bunch of these:<br>
    <br>
    I: [alsa-sink] alsa-sink.c: Scheduling delay of 1.09ms, you might
    want to investigate this to improve latency...<br>
    <br>
    And finally:<br>
    <br>
    Killed<br>
    <br>
    <br>
    It takes some time to actually crash which makes reproducing it
    time-consuming. Is there a way that I can instantly test whether
    it's the realtime thread problem you were talking about?<br>
  </body>
</html>