pulseaudio crashed with SIGSEGV in XFreeGC() from XCloseDisplay() from pa_x11_wrapper_unref()

Bug #1941962 reported by Anas
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
X.Org X server
Fix Released
Unknown
libx11 (Ubuntu)
Fix Released
Medium
Unassigned
pulseaudio (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

https://errors.ubuntu.com/problem/52094416ad4b4132ebf639ec8530fed1fdbac584

crash

ProblemType: Crash
DistroRelease: Ubuntu 21.10
Package: pulseaudio 1:15.0+dfsg1-1ubuntu2
Uname: Linux 5.13.13-xanmod1-cacule x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu68
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: anasc 1719 F.... pulseaudio
 /dev/snd/pcmC0D0p: anasc 1719 F...m pulseaudio
CasperMD5CheckResult: pass
Date: Sat Aug 28 21:00:59 2021
ExecutablePath: /usr/bin/pulseaudio
InstallationDate: Installed on 2021-08-26 (2 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210824)
ProcCmdline: /usr/bin/pulseaudio --daemonize=no --log-target=journal
SegvAnalysis:
 Segfault happened at: 0x7fbcc9d6a8a4 <XFreeGC+100>: mov %edx,0x4(%rax)
 PC (0x7fbcc9d6a8a4) ok
 source "%edx" ok
 destination "0x4(%rax)" (0x00000004) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: pulseaudio
StacktraceTop:
 XFreeGC () from /lib/x86_64-linux-gnu/libX11.so.6
 XCloseDisplay () from /lib/x86_64-linux-gnu/libX11.so.6
 pa_x11_wrapper_unref () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-15.0.so
 module_x11_publish_LTX_pa__done () from /usr/lib/pulse-15.0+dfsg1/modules/module-x11-publish.so
 ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-15.0.so
Title: pulseaudio crashed with SIGSEGV in XFreeGC()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
dmi.bios.date: 02/05/2021
dmi.bios.release: 15.14
dmi.bios.vendor: Insyde
dmi.bios.version: F.14
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 86E2
dmi.board.vendor: HP
dmi.board.version: 95.36
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 95.36
dmi.modalias: dmi:bvnInsyde:bvrF.14:bd02/05/2021:br15.14:efr95.36:svnHP:pnHPPavilionLaptop15-cs3xxx:pvrType1ProductConfigId:sku5SU52EA#BH4:rvnHP:rn86E2:rvr95.36:cvnHP:ct10:cvrChassisVersion:
dmi.product.family: 103C_5335KV HP Pavilion
dmi.product.name: HP Pavilion Laptop 15-cs3xxx
dmi.product.sku: 5SU52EA#BH4
dmi.product.version: Type1ProductConfigId
dmi.sys.vendor: HP
separator:

Revision history for this message
Anas (anas-blinux) wrote :
information type: Private → Public
tags: removed: need-amd64-retrace
summary: - pulseaudio crashed with SIGSEGV in XFreeGC()
+ pulseaudio crashed with SIGSEGV in XFreeGC() from XCloseDisplay() from
+ pa_x11_wrapper_unref()
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
description: updated
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 XFreeGC (dpy=dpy@entry=0x55eb54e02470, gc=0x55eb54c41400) at ../../src/FreeGC.c:43
 XCloseDisplay (dpy=0x55eb54e02470) at ../../src/ClDisplay.c:56
 x11_wrapper_free (w=0x55eb54dfdaf0) at ../src/pulsecore/x11wrap.c:254
 pa_x11_wrapper_unref (w=0x55eb54dfdaf0) at ../src/pulsecore/x11wrap.c:296
 module_x11_publish_LTX_pa__done (m=<optimized out>) at ../src/modules/x11/module-x11-publish.c:238

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
Revision history for this message
Igor V. Kovalenko (i-garrison) wrote :

I believe this crash is caused by this libx11 issue https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/139

Revision history for this message
Igor V. Kovalenko (i-garrison) wrote :

Just a heads-up, fix for libx11 issue 139 is now merged upstream https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/84

Changed in libx11 (Ubuntu):
status: New → Fix Committed
importance: Undecided → Medium
Changed in pulseaudio (Ubuntu):
status: Confirmed → Invalid
tags: added: fixed-in-1.7.3 fixed-upstream
tags: added: desktop-lts-wishlist
Changed in xorg-server:
status: Unknown → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fixed in Ubuntu 22.04 and later.

Changed in libx11 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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