[Pkg-bluetooth-maintainers] Bug#856487: pulseaudio: SIGSEGV upon streaming to bluetooth headset

Linus Lüssing linus.luessing at c0d3.blue
Fri Mar 3 18:24:56 UTC 2017


On Fri, Mar 03, 2017 at 01:14:56PM -0300, Felipe Sateler wrote:
> It has been pointed out to me that this may be unrelated to PIE, but
> just caused by a newer GCC version. Could you check if disabling PIE
> makes the binary work again? To do so:
> 
> apt-get source sbc
> sudo apt-get build-dep sbc
> cd sbc-1.3
> DEB_BUILD_OPTIONS=hardening=-pie dpkg-buildpackage -us -uc
> sudo dpkg -i ../libsbc1_*.deb

Tried it, but still crashes. I also tried:

0) dpkg-buildpackage -us -uc
1) DEB_BUILD_OPTIONS=hardening=-stackprotectorstrong,-stackprotector,-pie,-fortify dpkg-buildpackage -us -uc
2) DEB_BUILD_OPTIONS=hardening=-all dpkg-buildpackage -us -uc
3) CC=gcc-5 dpkg-buildpackage -us -uc

But the resulting packages/libraries crash, too.

~~~
$ gcc --version
gcc (Debian 6.3.0-8) 6.3.0 20170221
$ gcc-5 --version
gcc-5 (Debian 5.4.1-5) 5.4.1 20170205
~~~

What seems to work though:
~~~
$ CC=clang dpkg-buildpackage -us -uc
[...]
$ sudo dpkg -i ../libsbc1_*.deb
~~~

Regards, Linus



More information about the Pkg-bluetooth-maintainers mailing list