Skip to content

Fix crash caused by small buffer

Mouse Zhang requested to merge mousezhang/kpipewire:master into master

Plasmashell will crash on wayland, when change vlc media by mpris.

ref: libplasma!1068

backtrace:

image

crash code:

image

params is created in PipeWireSourceStream::onRenegotiate

image

add some logs to prove this:

logs.drawio.svg

But I don't think changing 4096 to 8192 is a good way to solve the problem,

Maybe 8192 will be not large enough in someday.

Merge request reports