Public bug reported:

On Cosmic Cuttlefish, gnome-music crashes on startup. This issue has
been reported on Fedora already:
https://bugzilla.redhat.com/show_bug.cgi?id=1635152

Additionally, the root cause appears to be an issue in GnuTLS:
https://bugzilla.redhat.com/show_bug.cgi?id=1634736

Applying the patch listed there and rebuilding GnuTLS fixes the crash.

It is likely that this issue will affect any package using libsoup
and/or libgnutls30.

The patch, for future reference:

```
diff --git a/lib/priority.c b/lib/priority.c
index 53c0d55..e727fcf 100644
--- a/lib/priority.c
+++ b/lib/priority.c
@@ -592,7 +592,9 @@ gnutls_priority_set(gnutls_session_t session, 
gnutls_priority_t priority)
        /* set the current version to the first in the chain.
         * This will be overridden later.
         */
-       if (session->internals.priorities->protocol.algorithms > 0) {
+       if (session->internals.priorities->protocol.algorithms > 0 &&
+           !session->internals.handshake_in_progress &&
+           !session->internals.initial_negotiation_completed) {
                if (_gnutls_set_current_version(session,
                                            session->internals.priorities->
                                            protocol.priority[0]) < 0) {
```

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: gnome-music 3.30.1-1
ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
Uname: Linux 4.18.0-10-generic x86_64
ApportVersion: 2.20.10-0ubuntu13
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 23 11:21:16 2018
InstallationDate: Installed on 2018-10-14 (8 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Beta amd64 (20180927)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-music
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnome-music (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: gnutls28 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libsoup (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cosmic third-party-packages

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

Title:
  gnome-music crashes on startup

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to