Bug#735898: pavucontrol segmentation fault

John M. jwmwalrus at gmail.com
Sun Feb 23 04:32:50 UTC 2014


The patch works!

I can finally use pavucontrol (1.0-1) for more than one second.

Thanks a lot for the help provided.

--
John.

On Sun, 2014-02-23 at 05:01 +0100, Vincent Lefevre wrote:

> Control: tags -1 patch
> 
> On 2014-02-23 04:52:46 +0100, Vincent Lefevre wrote:
> > data can be NULL and the code is obviously buggy.
> 
> gnome-control-center seemed to have similar code, thus was also buggy:
> 
>   https://bugzilla.gnome.org/show_bug.cgi?id=689079
> 
> which has a patch:
> 
>   https://bug689079.bugzilla-attachments.gnome.org/attachment.cgi?id=229897
> 
> This would give here:
> 
> --- src/mainwindow.cc~  2012-05-19 23:17:28.000000000 +0200
> +++ src/mainwindow.cc   2014-02-23 04:58:35.142596137 +0100
> @@ -379,6 +379,11 @@
>          return;
>      }
>  
> +    if (!data) {
> +        pa_stream_drop(s);
> +        return;
> +    }
> +
>      assert(length > 0);
>      assert(length % sizeof(float) == 0);
>  
> 
> Could you try this patch?
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-pulseaudio-devel/attachments/20140222/133289f3/attachment.html>


More information about the pkg-pulseaudio-devel mailing list