<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - pulseaudio core dumped when switch to profile output:iec958-ac3-surround-51 (alsa a52 plugin)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93637#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - pulseaudio core dumped when switch to profile output:iec958-ac3-surround-51 (alsa a52 plugin)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93637">bug 93637</a>
from <span class="vcard"><a class="email" href="mailto:tom.ty89@gmail.com" title="Tom Yan <tom.ty89@gmail.com>"> <span class="fn">Tom Yan</span></a>
</span></b>
<pre>(In reply to Raymond from <a href="show_bug.cgi?id=93637#c10">comment #10</a>)
<span class="quote">> I: [pulseaudio] alsa-sink.c: Using 3.0 fragments of size 18432 bytes
> (32.00ms), buffer size is 55296 bytes (96.00ms)
> I: [pulseaudio] alsa-sink.c: Disabling rewind for device plug:a52:0
> D: [pulseaudio] alsa-sink.c: hwbuf_unused=0
> D: [pulseaudio] alsa-sink.c: setting avail_min=1
> I: [pulseaudio] alsa-sink.c: Disabling rewind_within_thread for device
> plug:a52:0
> D: [pulseaudio] alsa-util.c: snd_pcm_dump():
> D: [pulseaudio] alsa-util.c: Plug PCM: Copy conversion PCM
> D: [pulseaudio] alsa-util.c: Its setup is:
> D: [pulseaudio] alsa-util.c: stream : PLAYBACK
> D: [pulseaudio] alsa-util.c: access : MMAP_INTERLEAVED
> D: [pulseaudio] alsa-util.c: format : S16_LE
> D: [pulseaudio] alsa-util.c: subformat : STD
> D: [pulseaudio] alsa-util.c: channels : 6
> D: [pulseaudio] alsa-util.c: rate : 48000
> D: [pulseaudio] alsa-util.c: exact rate : 48000 (48000/1)
> D: [pulseaudio] alsa-util.c: msbits : 16
> D: [pulseaudio] alsa-util.c: buffer_size : 4608
> D: [pulseaudio] alsa-util.c: period_size : 1536
> D: [pulseaudio] alsa-util.c: period_time : 32000
> D: [pulseaudio] alsa-util.c: tstamp_mode : ENABLE
> D: [pulseaudio] alsa-util.c: tstamp_type : GETTIMEOFDAY
> D: [pulseaudio] alsa-util.c: period_step : 1
> D: [pulseaudio] alsa-util.c: avail_min : 1536
> D: [pulseaudio] alsa-util.c: period_event : 1
> D: [pulseaudio] alsa-util.c: start_threshold : -1
> D: [pulseaudio] alsa-util.c: stop_threshold : 5188146770730811392
> D: [pulseaudio] alsa-util.c: silence_threshold: 0
> D: [pulseaudio] alsa-util.c: silence_size : 0
> D: [pulseaudio] alsa-util.c: boundary : 5188146770730811392
> D: [pulseaudio] alsa-util.c: Slave: A52 Output Plugin
> D: [pulseaudio] alsa-util.c: Its setup is:
> D: [pulseaudio] alsa-util.c: stream : PLAYBACK
> D: [pulseaudio] alsa-util.c: access : MMAP_NONINTERLEAVED
> D: [pulseaudio] alsa-util.c: format : S16_LE
> D: [pulseaudio] alsa-util.c: subformat : STD
> D: [pulseaudio] alsa-util.c: channels : 6
> D: [pulseaudio] alsa-util.c: rate : 48000
> D: [pulseaudio] alsa-util.c: exact rate : 48000 (48000/1)
> D: [pulseaudio] alsa-util.c: msbits : 16
> D: [pulseaudio] alsa-util.c: buffer_size : 4608
> D: [pulseaudio] alsa-util.c: period_size : 1536
> D: [pulseaudio] alsa-util.c: period_time : 32000
> D: [pulseaudio] alsa-util.c: tstamp_mode : ENABLE
> D: [pulseaudio] alsa-util.c: tstamp_type : GETTIMEOFDAY
> D: [pulseaudio] alsa-util.c: period_step : 1
> D: [pulseaudio] alsa-util.c: avail_min : 1536
> D: [pulseaudio] alsa-util.c: period_event : 1
> D: [pulseaudio] alsa-util.c: start_threshold : -1
> D: [pulseaudio] alsa-util.c: stop_threshold : 5188146770730811392
> D: [pulseaudio] alsa-util.c: silence_threshold: 0
> D: [pulseaudio] alsa-util.c: silence_size : 0
> D: [pulseaudio] alsa-util.c: boundary : 5188146770730811392
> D: [alsa-sink-a52:0] alsa-sink.c: Thread starting up
> D: [alsa-sink-a52:0] core-util.c: RealtimeKit worked.
> I: [alsa-sink-a52:0] core-util.c: Successfully enabled SCHED_RR scheduling
> for thread, with priority 5.
> I: [alsa-sink-a52:0] alsa-sink.c: Starting playback.
> D: [pulseaudio] module-device-restore.c: Database contains no (or invalid)
> data for key: sink:alsa_output.pci-0000_07_04.0.iec958-ac3-surround-51:null
> D: [pulseaudio] module-suspend-on-idle.c: Sink
> alsa_output.pci-0000_07_04.0.iec958-ac3-surround-51 becomes idle, timeout in
> 5 seconds.
> I: [pulseaudio] module-always-sink.c: A new sink has been discovered.
> Unloading null-sink.
> I: [pulseaudio] card.c: Changed profile of card 0
> "alsa_card.pci-0000_07_04.0" to
> output:iec958-ac3-surround-51+input:analog-stereo
> I: [pulseaudio] module-card-restore.c: Storing card profile for card
> alsa_card.pci-0000_07_04.0.
> I: [pulseaudio] module.c: Unloading "module-null-sink" (index: #21).
> D: [pulseaudio] module-rescue-streams.c: No sink inputs to move away.
> D: [pulseaudio] module-rescue-streams.c: No source outputs to move away.
> D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove
> event.
> D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove
> event.
> D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove
> event.
> D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove
> event.
> D: [null-sink] module-null-sink.c: Thread shutting down
> I: [pulseaudio] sink.c: Freeing sink 1 "auto_null"
> I: [pulseaudio] source.c: Freeing source 2 "auto_null.monitor"
> I: [pulseaudio] module.c: Unloaded "module-null-sink" (index: #21).
> D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove
> event.
> D: [pulseaudio] module-device-restore.c: Database contains no data for key:
> sink:alsa_output.pci-0000_07_04.0.iec958-ac3-surround-51
> D: [pulseaudio] module-device-restore.c: Database contains no (or invalid)
> data for key: sink:alsa_output.pci-0000_07_04.0.iec958-ac3-surround-51:null
> I: [pulseaudio] module-device-restore.c: Storing port for device
> sink:alsa_output.pci-0000_07_04.0.iec958-ac3-surround-51.
> I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port
> sink:alsa_output.pci-0000_07_04.0.iec958-ac3-surround-51:null.
> D: [pulseaudio] module-device-restore.c: Database contains no data for key:
> source:alsa_output.pci-0000_07_04.0.iec958-ac3-surround-51.monitor
> D: [pulseaudio] module-device-restore.c: Database contains no (or invalid)
> data for key:
> source:alsa_output.pci-0000_07_04.0.iec958-ac3-surround-51.monitor:null
> I: [pulseaudio] module-device-restore.c: Storing port for device
> source:alsa_output.pci-0000_07_04.0.iec958-ac3-surround-51.monitor.
> I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port
> source:alsa_output.pci-0000_07_04.0.iec958-ac3-surround-51.monitor:null.
> D: [pulseaudio] cli.c: CLI got EOF from user.
> I: [pulseaudio] client.c: Freed 2 "UNIX socket client"
> D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
> D: [pulseaudio] module-udev-detect.c: Resuming all sinks and sources of card
> alsa_card.pci-0000_07_04.0.
> I: [alsa-sink-a52:0] ratelimit.c: 205 events suppressed
> I: [alsa-sink-a52:0] alsa-sink.c: Underrun!
> I: [alsa-sink-a52:0] alsa-sink.c: Underrun!
> E: [alsa-sink-a52:0] alsa-sink.c: Assertion 'frames > 0' failed at
> modules/alsa/alsa-sink.c:627, function mmap_write(). Aborting.
>
>
> do your pulseaudio client send any audio as the sink report underrun ?</span >
I don't having anything playing when I do these tests. I even avoided
pavucontrol and use pacmd to switch profile instead.</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>