pulseaudio crashed during playback with SIGABRT in set_nonblock() from pa_make_fd_nonblock() from setup_stream() [bluez] from setup_transport_and_stream() [bluez]

Bug #1760729 reported by removed
32
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Invalid
Undecided
Unassigned
pulseaudio (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

https://errors.ubuntu.com/problem/7c4e21254b37e5f76989d357fb6cea8b0784b14c
https://errors.ubuntu.com/problem/36464ddf744c449f1480d3ec1746fa2ac4473f8d
https://errors.ubuntu.com/problem/0c7f70ee57533aee145dad48aa05487de7da808d

---

Pulseaudio crashed randomly while watching a YouTube video in fullscreen. When crashing the last 1 second or so of audio looped for a few seconds, then cut out. I am using PulseEffects as well, which crashed around the same time. Whether that was the cause or a result of the PulseAudio crash is unclear.

I am using Bionic because the video drivers for my AMD Raven Ridge iGPU are not supported by earlier versions.

~ $ lsb_release -rd
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04

~ $ apt-cache policy pulseaudio
pulseaudio:
  Installed: 1:11.1-1ubuntu7
  Candidate: 1:11.1-1ubuntu7
  Version table:
 *** 1:11.1-1ubuntu7 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: pulseaudio 1:11.1-1ubuntu7
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
Uname: Linux 4.15.0-13-generic x86_64
ApportVersion: 2.20.9-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ben 3375 F.... pulseaudio
 /dev/snd/controlC0: ben 3375 F.... pulseaudio
CurrentDesktop: KDE
Date: Mon Apr 2 19:23:48 2018
ExecutablePath: /usr/bin/pulseaudio
InstallationDate: Installed on 2018-03-25 (8 days ago)
InstallationMedia: Kubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180306.1)
ProcCmdline: /usr/bin/pulseaudio --start --log-target=syslog
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 6
SourcePackage: pulseaudio
StacktraceTop:
 ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
 ?? () from /usr/lib/pulse-11.1/modules/module-bluez5-device.so
 ?? () from /usr/lib/pulse-11.1/modules/module-bluez5-device.so
 ?? () from /usr/lib/pulse-11.1/modules/module-bluez5-device.so
 ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-11.1.so
Title: pulseaudio crashed with SIGABRT
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirt lpadmin plugdev sambashare sudo
dmi.bios.date: 12/01/2017
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F10
dmi.board.asset.tag: Default string
dmi.board.name: AB350N-Gaming WIFI-CF
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF10:bd12/01/2017:svnGigabyteTechnologyCo.,Ltd.:pnAB350N-GamingWIFI:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnAB350N-GamingWIFI-CF:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
dmi.product.family: Default string
dmi.product.name: AB350N-Gaming WIFI
dmi.product.version: Default string
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
removed (3yppo85ezb14clb5) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 set_nonblock (fd=<optimized out>, nonblock=nonblock@entry=true) at pulsecore/core-util.c:194
 pa_make_fd_nonblock (fd=<optimized out>) at pulsecore/core-util.c:231
 setup_stream (u=u@entry=0x555a4b3b80d0) at modules/bluetooth/module-bluez5-device.c:838
 setup_stream (u=0x555a4b3b80d0) at modules/bluetooth/module-bluez5-device.c:875
 setup_transport_and_stream (u=0x555a4b3b80d0) at modules/bluetooth/module-bluez5-device.c:873

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in pulseaudio (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
summary: - pulseaudio crashed during playback with SIGABRT
+ pulseaudio crashed during playback with SIGABRT in set_nonblock() from
+ pa_make_fd_nonblock() from setup_stream()
summary: pulseaudio crashed during playback with SIGABRT in set_nonblock() from
- pa_make_fd_nonblock() from setup_stream()
+ pa_make_fd_nonblock() from setup_stream() [bluez] from
+ setup_transport_and_stream() [bluez]
tags: added: a2dp
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in bluez (Ubuntu):
status: New → Confirmed
Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It looks like commit 4762aa45d9ea2f5146a135eda6b840bf3964b317 is the fix here. Not sure. It's not in any official PulseAudio release yet.

description: updated
tags: added: disco
Changed in bluez (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

@Daniel, unsure that commit fixes it?
(https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/4762aa45 for reference/easier browsing)

The commit message states
'The bug had no impact because there is only one caller of pa_make_fd_block() in poll-win32.c'

Also the code bt here indicagtes it assert on
  194: pa_assert_se((v = fcntl(fd, F_GETFL)) >= 0);

where the code change from that commit is a few lines further in the function

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yeah it doesn't matter it comment #8 is wrong here. I was going to wait till the commit is released and then confirm the crash has stopped happening.

tags: removed: disco
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.