Bug#837700: gnutls: GNUTLS segfaults on initialization

Andreas Metzler ametzler at bebt.de
Thu Sep 15 17:34:35 UTC 2016


Control: tags -1 unreproducible
Control: severity -1 important

On 2016-09-14 J Phelps <phelpsj at nuvox.net> wrote:
>>Can you provide a (simple) way to reproduce the issue?

> Reproduction was simple on my machine: Just try to run Chromium 53.0.2785.92,
> which depends on libgnutls30. It crashed immediately.

Works for me. :-(

> I had just upgraded from a much older version of Chromium (in the 30s IIRC)
> using Aptitude.

> Running it under GDB showed that the segfault happened in Nettle.

>> Your diagnosis cannot be completely correct. e.g. libgnutls30
>> 3.5.4-2 on i386 (which you reported the issue against) was built against
>> nettle-dev i386 3.2-1 which continues to be the latest version of nettle
>> available in Debian. So you cannot experience a breakage in Debian
>> caused by the Debian-installed nettle version being newer and having a
>> different ABI than the version GnuTLS was built against.

> I think that the binary in the .deb package was compiled from a different
> Nettle source than the one that you find in the corresponding .dsc package.

I am pretty sure that is not true. For that to happen some Debian
developer would have needed to make a manual build and upload.

> Otherwise, compiling the .dsc package should have given me a binary
> that was compatible with the one that was already installed on my
> system.

> Instead, I had unresolved symbols (I don't remember which ones),

Can you reproduce this and show the exact error message?

> and I had
> to go to Nettle's Git repository (https://git.lysator.liu.se/nettle/nettle)
> to find source code that could produce a linkable library. The symbols
> that were unresolved were only found in the "ecc-support" branch of that
> repo. Compiling from the trunk led to the same symbols being unresolved.
[...]

I strongly suspect a local issue, e.g. locally built old version of
gnutls or nettle in /usr/local. "ldd  /usr/lib/chromium/chromium" might
point in the right direction.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-gnutls-maint mailing list