[pulseaudio-tickets] [Bug 81116] pavucontrol crash at MainWindow::updateCard (this=0x8264400, info=...) at mainwindow.cc:319

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 9 11:48:52 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=81116

--- Comment #4 from Rex Dieter <rdieter at math.unl.edu> ---
For posterity, adding comment from Tanu about how best to debug this further
from onlist:

The comment in the Gnome bug is correct: PulseAudio should be fixed to
never set card profile names to NULL.

How to debug: first see the code in src/pulse/introspect.c and figure
out how it could pass NULL names to applications. Even if the server
sends NULL names, libpulse should handle that by closing the connection
due to protocol error, and not pass the NULL names to applications. I
see that both fill_card_port_info() fill_card_profile_info() have
insufficient input validation regarding profile names. If you fix that,
and the result is that now clients get disconnected due to bad data from
the server, the next step is to add assertions about NULL names to the
server code (src/pulsecore/protocol-native.c) to the places where
profile names are sent to clients. The assertions should cause the
server to crash, and hopefully the backtraces from those crashes can
point to the root cause of the problem.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140709/28cf1615/attachment.html>


More information about the pulseaudio-bugs mailing list