Subject: Re: bug#48401: 25.3; emacs27 crashes

From: Aloe <[email-masked]>
Date: Wed, 19 May 2021 15:07:19 +0200

Robert Pluim writes:

>>>>>> On Tue, 18 May 2021 18:02:35 +0300, Eli Zaretskii <[email-masked]> said:
>
>     >> From: Aloe <[email-masked]>
>     >> Cc: [email-masked]
>     >> Date: Tue, 18 May 2021 16:50:21 +0200
>     >> 
>     >> Eli Zaretskii writes:
>     >> 
>     >> >> From: Aloe <[email-masked]>
>     >> >> Cc: [email-masked]
>     >> >> Date: Mon, 17 May 2021 21:05:53 +0200
>     >> >> 
>     >> >> Thread 1 (Thread 0x7ffff7fb3a00 (LWP 24611)):
>     >> >> #0  __GI___pthread_mutex_lock (mutex=0x20) at ../nptl/pthread_mutex_lock.c:66
>     >> >> #1  0x00007ffff3d663ec in ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.28
>     >> >> #2  0x00007ffff3df6c67 in ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.28
>     >> >> #3  0x000000000056c795 in extract_data_from_object (spec=<optimized out>, 
>     >> >>     spec@entry=0x280ac63, start_byte=start_byte@entry=0x7fffffffa598, 
>     >> >>     end_byte=end_byte@entry=0x7fffffffa5a0) at fns.c:5290
>     >> >> #4  0x00000000005a06d1 in gnutls_symmetric (encrypting=<optimized out>, 
>     >> >> ---Type <return> to continue, or q <return> to quit---
>     >> >>     cipher=<optimized out>, key=0x280ac13, iv=0x280ac63, input=0x280ac03, 
>     >> >>     aead_auth=<optimized out>) at gnutls.c:2380
>     >> >> #5  0x000000000055e71b in Ffuncall (nargs=5, args=args@entry=0x7fffffffa698)
>     >> >>     at eval.c:2795
>     >> >
>     >> > Looks like a problem in GnuTLS.  Which version of GnuTLS do you have
>     >> > installed?  Can you upgrade to a newer version?
>     >> 
>     >> The output of gnutls-cli -v is:
>     >> 
>     >> gnutls-cli (GnuTLS) 2.12.23
>     >> Packaged by Debian (2.12.23-12ubuntu2.8)
>
>     Eli> That's very strange, because line 5290 of fns.c should not have been
>     Eli> compiled unless you have GnuTLS 3.x.
>
>     Eli> In any case, 2.12.23 is very old.
>
> Thatʼs gnutls-cli, not the gnutls development headers. I guess itʼs
> possible to have new headers and an old gnutls-cli in
> parallel. Something like
>
> apt info libgnutls28-dev
>
> would tell us which headers are installed. On my Debian system that
> gives me:
>
>     Package: libgnutls28-dev
>     Version: 3.7.1-3
>
> Robert

Hi,
This is my output:

$> apt show -a libgnutls28-dev
Package: libgnutls28-dev
Version: 3.2.11-2ubuntu1.2
Priority: optional
Section: universe/libdevel
Source: gnutls28
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email-masked]>
Original-Maintainer: Debian GnuTLS Maintainers <[email-masked]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2783 kB
Provides: gnutls-dev
Depends: libgnutls28 (= 3.2.11-2ubuntu1.2), libgnutlsxx28 (= 3.2.11-2ubuntu1.2), libgnutls-xssl0 (= 3.2.11-2ubuntu1.2), nettle-dev (>= 2.5), libc6-dev | libc-dev, zlib1g-dev, libtasn1-6-dev (>= 3.1), libp11-kit-dev (>= 0.11)
Suggests: gnutls-doc, gnutls-bin, guile-gnutls
Conflicts: gnutls-dev
Replaces: gnutls-dev
Download-Size: 489 kB
Homepage: http://www.gnutls.org/
Supported: 3y
APT-Manual-Installed: yes
APT-Sources: http://es.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
Description: GNU TLS library - development files
 GnuTLS is a portable library which implements the Transport Layer
 Security (TLS 1.0, 1.1, 1.2) and Secure Sockets Layer (SSL) 3.0 and Datagram
 Transport Layer Security (DTLS 1.0, 1.2) protocols.
 .
 GnuTLS features support for:
  - TLS extensions: server name indication, max record size, opaque PRF
    input, etc.
  - authentication using the SRP protocol.
  - authentication using both X.509 certificates and OpenPGP keys.
  - TLS Pre-Shared-Keys (PSK) extension.
  - Inner Application (TLS/IA) extension.
  - X.509 and OpenPGP certificate handling.
  - X.509 Proxy Certificates (RFC 3820).
  - all the strong encryption algorithms (including SHA-256/384/512 and
    Camellia (RFC 4132)).
 .
 This package contains the GnuTLS development files.

Package: libgnutls28-dev
Version: 3.2.11-2ubuntu1.1
Priority: optional
Section: universe/libdevel
Source: gnutls28
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email-masked]>
Original-Maintainer: Debian GnuTLS Maintainers <[email-masked]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2781 kB
Provides: gnutls-dev
Depends: libgnutls28 (= 3.2.11-2ubuntu1.1), libgnutlsxx28 (= 3.2.11-2ubuntu1.1), libgnutls-xssl0 (= 3.2.11-2ubuntu1.1), nettle-dev (>= 2.5), libc6-dev | libc-dev, zlib1g-dev, libtasn1-6-dev (>= 3.1), libp11-kit-dev (>= 0.11)
Suggests: gnutls-doc, gnutls-bin, guile-gnutls
Conflicts: gnutls-dev
Replaces: gnutls-dev
Download-Size: 488 kB
Homepage: http://www.gnutls.org/
Supported: 3y
APT-Sources: http://security.ubuntu.com/ubuntu/ trusty-security/universe amd64 Packages
Description: GNU TLS library - development files
 GnuTLS is a portable library which implements the Transport Layer
 Security (TLS 1.0, 1.1, 1.2) and Secure Sockets Layer (SSL) 3.0 and Datagram
 Transport Layer Security (DTLS 1.0, 1.2) protocols.
 .
 GnuTLS features support for:
  - TLS extensions: server name indication, max record size, opaque PRF
    input, etc.
  - authentication using the SRP protocol.
  - authentication using both X.509 certificates and OpenPGP keys.
  - TLS Pre-Shared-Keys (PSK) extension.
  - Inner Application (TLS/IA) extension.
  - X.509 and OpenPGP certificate handling.
  - X.509 Proxy Certificates (RFC 3820).
  - all the strong encryption algorithms (including SHA-256/384/512 and
    Camellia (RFC 4132)).
 .
 This package contains the GnuTLS development files.

Package: libgnutls28-dev
Priority: optional
Section: universe/libdevel
Installed-Size: 2781 kB
Maintainer: Ubuntu Developers <[email-masked]>
Original-Maintainer: Debian GnuTLS Maintainers <[email-masked]>
Source: gnutls28
Version: 3.2.11-2ubuntu1
Replaces: gnutls-dev
Provides: gnutls-dev
Depends: libgnutls28 (= 3.2.11-2ubuntu1), libgnutlsxx28 (= 3.2.11-2ubuntu1), libgnutls-xssl0 (= 3.2.11-2ubuntu1), nettle-dev (>= 2.5), libc6-dev | libc-dev, zlib1g-dev, libtasn1-6-dev (>= 3.1), libp11-kit-dev (>= 0.11)
Suggests: gnutls-doc, gnutls-bin, guile-gnutls
Conflicts: gnutls-dev
Download-Size: 489 kB
Homepage: http://www.gnutls.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m
APT-Sources: http://es.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
Description: GNU TLS library - development files
 GnuTLS is a portable library which implements the Transport Layer
 Security (TLS 1.0, 1.1, 1.2) and Secure Sockets Layer (SSL) 3.0 and Datagram
 Transport Layer Security (DTLS 1.0, 1.2) protocols.
 .
 GnuTLS features support for:
  - TLS extensions: server name indication, max record size, opaque PRF
    input, etc.
  - authentication using the SRP protocol.
  - authentication using both X.509 certificates and OpenPGP keys.
  - TLS Pre-Shared-Keys (PSK) extension.
  - Inner Application (TLS/IA) extension.
  - X.509 and OpenPGP certificate handling.
  - X.509 Proxy Certificates (RFC 3820).
  - all the strong encryption algorithms (including SHA-256/384/512 and
    Camellia (RFC 4132)).
 .
 This package contains the GnuTLS development files.

-- 
Associació Lliure d'Orientació Educativa (A.L.O.E.)
c/ Miquel Romeu, 93. 1r. 
08907- L'Hospitalet de Ll.
93.261.13.58 - 674.831.973
http://www.aloe-associacio.org