pulseaudio crashed with SIGABRT in FDWrite()

Bug #1745075 reported by Daniel van Vugt
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
google-perftools (Ubuntu)
Expired
Low
Unassigned

Bug Description

...

ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: pulseaudio 1:11.1-1ubuntu2
ProcVersionSignature: Ubuntu 4.13.0-25.29-generic 4.13.13
Uname: Linux 4.13.0-25-generic x86_64
ApportVersion: 2.20.8-0ubuntu6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: dan 1274 F.... pulseaudio
 /dev/snd/controlC1: dan 1274 F.... pulseaudio
Date: Thu Jan 18 10:58:26 2018
ExecutablePath: /usr/bin/pulseaudio
InstallationDate: Installed on 2017-12-12 (42 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20171211)
ProcCmdline: /usr/bin/pulseaudio --start --log-target=syslog
Signal: 6
SourcePackage: pulseaudio
StacktraceTop:
 ?? () from /usr/lib/x86_64-linux-gnu/libprofiler.so.0
 ProfileData::FlushEvicted() () from /usr/lib/x86_64-linux-gnu/libprofiler.so.0
 ProfileData::Stop() () from /usr/lib/x86_64-linux-gnu/libprofiler.so.0
 CpuProfiler::Stop() () from /usr/lib/x86_64-linux-gnu/libprofiler.so.0
 CpuProfiler::~CpuProfiler() () from /usr/lib/x86_64-linux-gnu/libprofiler.so.0
Title: pulseaudio crashed with SIGABRT in ProfileData::FlushEvicted()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 08/02/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: FBKTB6AUS
dmi.board.name: SHARKBAY
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50519 PRO
dmi.chassis.type: 7
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnLENOVO:bvrFBKTB6AUS:bd08/02/2015:svnLENOVO:pn30AJS05700:pvrThinkStationP300:rvnLENOVO:rnSHARKBAY:rvrSDK0E50519PRO:cvnToBeFilledByO.E.M.:ct7:cvrToBeFilledByO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: 30AJS05700
dmi.product.version: ThinkStation P300
dmi.sys.vendor: LENOVO

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
affects: pulseaudio (Ubuntu) → google-perftools (Ubuntu)
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 FDWrite (fd=4, buf=0x7f853d018010 "", len=64) at src/profiledata.cc:143
 ProfileData::FlushEvicted (this=this@entry=0x7f85431e1388 <CpuProfiler::instance_+8>) at src/profiledata.cc:329
 ProfileData::Stop (this=this@entry=0x7f85431e1388 <CpuProfiler::instance_+8>) at src/profiledata.cc:189
 CpuProfiler::Stop (this=0x7f85431e1380 <CpuProfiler::instance_>) at src/profiler.cc:280
 CpuProfiler::~CpuProfiler (this=0x7f85431e1380 <CpuProfiler::instance_>, __in_chrg=<optimized out>) at src/profiler.cc:263

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 google-perftools (Ubuntu):
importance: Undecided → Medium
summary: - pulseaudio crashed with SIGABRT in ProfileData::FlushEvicted()
+ pulseaudio crashed with SIGABRT in FDWrite()
tags: removed: need-amd64-retrace
Revision history for this message
James Page (james-page) wrote :

static void FDWrite(int fd, const char* buf, size_t len) {
  while (len > 0) {
    ssize_t r;
    NO_INTR(r = write(fd, buf, len));
    RAW_CHECK(r >= 0, "write failed");
    buf += r;
    len -= r;
  }
}

RAW_CHECK failed.

Revision history for this message
James Page (james-page) wrote :

However:

        buf = 0x7f853d018010 ""
        len = 64

looks suspicious to me.

Revision history for this message
James Page (james-page) wrote :

Hmm no errno to inspect which makes things awkward.

Revision history for this message
James Page (james-page) wrote :

On the assumption you where profiling pulseaudio do you have a test case I can use to reproduce this?

Changed in google-perftools (Ubuntu):
status: New → Incomplete
importance: Medium → Low
information type: Private → Public
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It was an accident :)

I guess pulseaudio was spawned from gnome-shell, which is what I was profiling. I don't have any interest in pursuing this bug.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for google-perftools (Ubuntu) because there has been no activity for 60 days.]

Changed in google-perftools (Ubuntu):
status: Incomplete → Expired
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.