[Bug 1393105] [NEW] GNUbg crashes shortly after starting game

Launchpad Bug Tracker 1393105 at bugs.launchpad.net
Mon Oct 26 15:54:02 UTC 2015


You have been subscribed to a public bug by Mathew Hodson (mathew-hodson):

[Preamble]
I am one of the primary upstream maintainers of the GNUbg project.

[Impact]
When a user starts a new match GNUbg will crash with this error (on the console):

    Attempt to unlock mutex that was not locked
    Aborted (core dumped)

This issue is a regression that appeared in Ubuntu 14.10 . It wasn't an
issue in Ubuntu 14.04. This bug should be a high priority for this
application because this bug renders the software completely unusable.

[Test Case]
To reproduce launch GNUbg and click the "New" icon to start a new match. Click "Ok" on the match parameters screen (no need to modify the settings). The match should start. You may need to hit Control-R to roll the dice (alternatively click the middle of the board on the right side). Shortly after doing so the application will close down.

[Regression Potential]
The patch/bug fix attached to this report should be reasonably low risk and should not impact other software on the users system. Most regressions that may result from any new problems that could be introduced are that the analysis output may be slightly different.

Upstream official software releases (1.03.000 and 1.04.000) have been
using the fixes in this patch for a few months without any reported
issues and as a result are considered well tested by the upstream
maintainers.

[Bug cause]
New versions of Glib (>= 2.41.2) have extra assertions that may reveal hidden bugs. The Glib changes highlighted problems in how we were using mutexes (creations/usage/cleanup). Older versions of Glib didn't have these newer assertions so the problem had gone undetected in previous releases although the bug is present but may invoke undefined behaviour.

[Bug history]
The set of changes in this patch were applied to the upstream version of GNUbg in July 2014 based upon a bug report of a user that was using a PPA version of Glib in Ubuntu 14.04. That bug and further information about the nature of this issue can be found here: https://bugs.launchpad.net/ubuntu/+source/gnubg/+bug/1346567 . Russ Allbery the Debian maintainer closed that bug off as fixed by landing it in
Vivid Vervet (15.04) by releasing version 1.03.001-1 .

There was a user report of this bug shortly after 14.10 was release but
for some inexplicable reason it was deleted from launchpad.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: gnubg 1.02.000-2
ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
Uname: Linux 3.16.0-24-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Nov 15 17:08:35 2014
InstallationDate: Installed on 2014-10-24 (22 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: gnubg
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnubg (Ubuntu)
     Importance: High
         Status: Fix Released

** Affects: gnubg (Ubuntu Trusty)
     Importance: High
         Status: Triaged

** Affects: gnubg (Ubuntu Utopic)
     Importance: High
         Status: Won't Fix


** Tags: amd64 apport-bug patch utopic verification-failed
-- 
GNUbg crashes shortly after starting game
https://bugs.launchpad.net/bugs/1393105
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list