[Bug 1804673] Re: gnutls causes gnome-music segmentation fault

Julian Andres Klode 1804673 at bugs.launchpad.net
Wed Jan 30 15:36:32 UTC 2019


Verified from my side as well, with -ubuntu1 it was broken, with the
version in proposed it is fixed.


root at cc:~/libsoup2.4-2.64.2# ./obj-x86_64-linux-gnu/examples/get https://tracker.debian.org/pkg/acpi-support/rss                                                                                                                                                                 [2004/5679]
Segmentation fault (core dumped)                                                                                                                                                                                                                                                            
root at cc:~/libsoup2.4-2.64.2# apt policy libgnutls30                                                                                                                                                                                                                                         
libgnutls30:                                                                                                                                                                                                                                                                                
  Installed: 3.6.4-2ubuntu1                                                                                                                                                                                                                                                                 
  Candidate: 3.6.4-2ubuntu1.1                                                                                                                                                                                                                                                               
  Version table:                                                                                                                                                                                                                                                                            
     3.6.4-2ubuntu1.1 500                                                                                                                                                                                                                                                                   
        500 http://archive.ubuntu.com/ubuntu cosmic-proposed/main amd64 Packages                                                                                                                                                                                                            
 *** 3.6.4-2ubuntu1 500                                                                                                                                                                                                                                                                     
        500 http://archive.ubuntu.com/ubuntu cosmic/main amd64 Packages                                                                                                                                                                                                                     
        100 /var/lib/dpkg/status                                                                                                                                                                                                                                                            
root at cc:~/libsoup2.4-2.64.2# apt install libgnutls30                                                                                                                                                                                                                                        
Reading package lists... Done                                                                                                                                                                                                                                                               
Building dependency tree                                                                                                                                                                                                                                                                    
Reading state information... Done                                                                                                                                                                                                                                                           
Suggested packages:                                                                                                                                                                                                                                                                         
  gnutls-bin                                                                                                                                                                                                                                                                                
The following packages will be upgraded:                                                                                                                                                                                                                                                    
  libgnutls30                                                                                                                                                                                                                                                                               
1 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.                                                                                                                                                                                                                             
Need to get 746 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu cosmic-proposed/main amd64 libgnutls30 amd64 3.6.4-2ubuntu1.1 [746 kB]
Fetched 746 kB in 0s (3860 kB/s)   
(Reading database ... 47106 files and directories currently installed.)
Preparing to unpack .../libgnutls30_3.6.4-2ubuntu1.1_amd64.deb ...
Unpacking libgnutls30:amd64 (3.6.4-2ubuntu1.1) over (3.6.4-2ubuntu1) ...
Setting up libgnutls30:amd64 (3.6.4-2ubuntu1.1) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...
root at cc:~/libsoup2.4-2.64.2# ./obj-x86_64-linux-gnu/examples/get https://tracker.debian.org/pkg/acpi-support/rss
/pkg/acpi-support/rss: 200 OK
<?xml version="1.0" encoding="utf-8"?>


** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnutls28 in Ubuntu.
https://bugs.launchpad.net/bugs/1804673

Title:
  gnutls causes gnome-music segmentation fault

Status in gnome-music package in Ubuntu:
  Invalid
Status in gnutls28 package in Ubuntu:
  Fix Released
Status in gnome-music source package in Cosmic:
  Invalid
Status in gnutls28 source package in Cosmic:
  Fix Committed
Status in gnome-music source package in Disco:
  Invalid
Status in gnutls28 source package in Disco:
  Fix Released

Bug description:
  [Impact]
  Apps using libsoup crash in gnutls28 sometimes. gnome-music is useless if it needs to fetch cover art

  [Test case]

  $ pull-lp-source libsoup2.4
  $ cd libsoup2.4-*
  $ ./debian/rules/build
  $ ./obj-x86_64-linux-gnu/examples/get https://tracker.debian.org/pkg/acpi-support/rss

  Make sure it does not segfault

  [Regression potential]
  This changes the code to not reset priorities after or during initial negotiation, so if the user changed priorities, we do not override the chosen one from the initial handshake in a rehandshake.

  Therefore, the only problems could be thus related to rehandshakes
  that could now fail and succeeded before.

  [Original bug report]

  gnome-music gives segmentation fault on startup in Cosmic Cuttlefish
  release.

  gbd on core file gives:
  (gdb) bt
  #0  0x0000000000000000 in ?? ()
  #1  0x00007f6446dc74d0 in gnutls_aead_cipher_encryptv ()
     from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
  #2  0x00007f6446d94ed7 in ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
  #3  0x00007f6446d90f3c in ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
  #4  0x00007f6446d9acc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
  #5  0x00007f6446d9cc28 in ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
  #6  0x00007f6446ddd190 in ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
  #7  0x00007f6446ddd2be in gnutls_session_key_update ()
     from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
  #8  0x00007f644002e54f in ?? ()
     from /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so
  #9  0x00007f644002eb36 in ?? ()
     from /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so
  #10 0x00007f646645ac03 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
  #11 0x00007f64668ebad3 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
  #12 0x00007f64668eb135 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
  #13 0x00007f6467761164 in start_thread (arg=<optimized out>)
      at pthread_create.c:486
  #14 0x00007f6467894def in clone ()
      at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

  Looks like Fedora had same issue, tracked down to an issue in gnutls. See
  https://bugzilla.redhat.com/show_bug.cgi?id=1640062 and
  https://bugzilla.redhat.com/show_bug.cgi?id=1634736

  Description:	Ubuntu 18.10
  Release:	18.10

  gnome-music:
    Installed: 3.30.1-1
    Candidate: 3.30.1-1

  libgnutls30:
    Installed: 3.6.4-2ubuntu1
    Candidate: 3.6.4-2ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-music/+bug/1804673/+subscriptions



More information about the foundations-bugs mailing list