Segmentation fault on version 15.0 with assertions disabled
Warning
Missing data may cause bugs to languish.
Summary
On Void Linux upon update of pavucontrol to version 5 some users experienced a repeated segfault of the pa daemon. The daemon was spawned by the client just to segfault moments later, in a loop.
Upon investigation the culprit was not pavucontrol but pulseaudio itself, the issue could be triggered by issuing a
pactl send-message /core list-handlers
Upon further investigation the issue arise when assertions are disabled at compile time, as it was the default for the Void package. The chosen solution was to set -Dn_debug=false
as discussed on the github issue.
This behavior suggests an issue with the assertions that should be investigated.
environment
Rather than pa-info output I am attaching:
- backtrace with debugging symbols loaded backtrace-with-symbols.txt
- a disassemble of the function at segfault disassemble.txt
Steps to reproduce
Build using -Dn_debug=true
, start the daemon then run pactl send-message /core list-handlers
.
What is the current bug behavior?
Upon sending pactl send-message /core list-handlers
message the daemon dies with segmentation fault.
What is the expected correct behavior?
Upon sending pactl send-message /core list-handlers
message the daemon should list handlers and not die.