*** This bug is a duplicate of bug 1690051 ***
    https://bugs.launchpad.net/bugs/1690051

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: pulseaudio (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1801532

Title:
  pulseaudio crashing when publishing sound devices to zeroconf

Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 18.04

  pulseaudio crashes after 5-10 if advertising sound devices is enabled:

  logs leading up to the crash:

  [New Thread 0x7fffe7fff700 (LWP 9068)]
  D: [pulseaudio] alsa-sink.c: Read hardware volume: front-left: 30419 /  46% / 
-20.00 dB,   front-right: 30419 /  46% / -20.00 dB
  D: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Thread starting up
  I: [alsa-sink-ALC887-VD Analog] core-util.c: Failed to acquire real-time 
scheduling: Permission denied
  I: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Starting playback.
  D: [alsa-sink-ALC887-VD Analog] ratelimit.c: 27 events suppressed
  D: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Cutting sleep time for the 
initial iterations by half.
  I: [pulseaudio] core.c: default_source: 
alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.monitor -> 
alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
  D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
  D: [pulseaudio] module-device-restore.c: Could not set format on sink 
alsa_output.pci-0000_00_1f.3.analog-stereo
  D: [pulseaudio] module-suspend-on-idle.c: Sink 
alsa_output.pci-0000_00_1f.3.analog-stereo becomes idle, timeout in 5 seconds.
  I: [pulseaudio] core.c: default_sink: 
alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1 -> 
alsa_output.pci-0000_00_1f.3.analog-stereo
  D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
  I: [pulseaudio] card.c: Changed profile of card 2 
"alsa_card.pci-0000_00_1f.3" to output:analog-stereo
  D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
  D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1f.3 profile 
output:analog-stereo to availability status unknown
  D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
  D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1f.3 profile 
output:analog-stereo+input:analog-stereo to availability status unknown
  D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
  D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now 
unplugged
  D: [pulseaudio] device-port.c: Setting port analog-output-headphones to 
status no
  I: [pulseaudio] core.c: default_sink: 
alsa_output.pci-0000_00_1f.3.analog-stereo -> 
alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1
  I: [pulseaudio] core.c: default_source: 
alsa_output.pci-0000_00_1f.3.analog-stereo.monitor -> 
alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.monitor
  D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
  D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
  D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
  D: [pulseaudio] module-switch-on-port-available.c: Trying to switch away from 
port analog-output-headphones, found iec958-stereo-output
  D: [pulseaudio] module-switch-on-port-available.c: Trying to switch to port 
iec958-stereo-output
  D: [pulseaudio] module-switch-on-port-available.c: Finding best profile for 
port iec958-stereo-output, preferred = iec958-stereo
  D: [pulseaudio] module-rescue-streams.c: No sink inputs to move away.
  D: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Cutting sleep time for the 
initial iterations by half.

  
  backtrace:
  #0  0x00007fffe67c135f in publish_service (api=0x555555816b48, 
service=0x5555558d00d0) at modules/module-zeroconf-publish.c:298
  #1  0x00007ffff73fd548 in once_callback (m=0x555555816b48, e=0x5555558a15b0, 
userdata=<optimized out>) at pulse/mainloop-api.c:45
  #2  0x00007ffff740027d in dispatch_defer (m=0x555555816af0) at 
pulse/mainloop.c:680
  #3  pa_mainloop_dispatch (m=m@entry=0x555555816af0) at pulse/mainloop.c:889
  #4  0x00007ffff74004ae in pa_mainloop_iterate (m=0x555555816af0, 
block=<optimized out>, retval=0x0) at pulse/mainloop.c:929
  #5  0x00007ffff7400530 in pa_mainloop_run (m=0x555555816af0, 
retval=retval@entry=0x0) at pulse/mainloop.c:944
  #6  0x00007ffff740e399 in thread (userdata=0x555555837a30) at 
pulse/thread-mainloop.c:100
  #7  0x00007ffff767e2a8 in internal_thread_func (userdata=0x555555874bf0) at 
pulsecore/thread-posix.c:81
  #8  0x00007ffff6b676db in start_thread (arg=0x7fffe619d700) at 
pthread_create.c:463
  #9  0x00007ffff60e688f in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

  
  In general the stream is pretty skippy, so I wonder if there's some sort of 
periodic restarting issue happening

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1801532/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to