[Bug 1799509] Re: gnome-music crashes on startup
Rob King
1799509 at bugs.launchpad.net
Tue Oct 23 16:29:46 UTC 2018
** Patch added: "gnutls-3.6.4-fix-rehandshake.patch"
https://bugs.launchpad.net/ubuntu/+source/gnome-music/+bug/1799509/+attachment/5204582/+files/gnutls-3.6.4-fix-rehandshake.patch
** Also affects: gnome-music
Importance: Undecided
Status: New
** No longer affects: gnome-music
** Also affects: gnutls28 (Ubuntu)
Importance: Undecided
Status: New
** Also affects: libsoup (Ubuntu)
Importance: Undecided
Status: New
--
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/1799509
Title:
gnome-music crashes on startup
Status in gnome-music package in Ubuntu:
New
Status in gnutls28 package in Ubuntu:
New
Status in libsoup package in Ubuntu:
New
Bug description:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-music/+bug/1799509/+subscriptions
More information about the foundations-bugs
mailing list