GNOME Tweak Tool crashes when enabling 'Activities configurator' extension [gnome-tweak-tool crashed with SIGSEGV in sem_post()]

Bug #1247279 reported by Elias Psallidas
64
This bug affects 46 people
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
Fix Released
Low
obarisk
gnome-tweak-tool (Ubuntu)
Fix Released
High
Unassigned

Bug Description

GNOME Tweak Tool crashes when enabling the 'Activities configurator' extension in Ubuntu GNOME 13.10, using GNOME 3.10.1, installed from the following PPAs:
   - https://launchpad.net/~gnome3-team/+archive/gnome3-staging
   - https://launchpad.net/~gnome3-team/+archive/gnome3-next

This problem is probably caused as a result of the bug #1236749 . After every reboot all pre-enabled GNOME Shell extensions are disabled, so one must enable them manually at every startup (if not using the workarounds).

Having installed a number of extensions including the 'Activities Configurator', every time I try to enable the installed extensions after a reboot using gnome-tweak-tool, it crashes when I turn the 'Activities Configurator' ON. This doesn't happen with any other extention, but the Activities Configurator. The 'Activities Configurator' turns ON normally as it should, but gnome-tweak-tool crashes instantly afterwards.

The strange thing is that the crash occurs only the first time I try to enable this extension. After gnome-tweak-tool crashes I launch it again and turn the 'Activities Configurator' ON & OFF (enabling/disabling multiple times) and gnome-tweak-tool doesn't crash, but works as it supposed to.

How to reproduce:
   1) In Ubuntu GNOME add the above PPAs to the Software Sources.
   2) Update and upgrade using: sudo apt-get update && sudo apt-get dist-upgrade
   3) After rebooting install the Activities Configurator extension from https://extensions.gnome.org/
   4) Reboot - The extension(s) now should be disabled because of bug #1236749.
   5) Launch gnome-tweak-tool and turn on the 'Activities Configurator' extension.

What happens:
   1) The extension turns ON, as it should.
   2) gnome-tweak-tool crashes (that's the problem)

What should happen:
   1) gnome-tweak-tool should stay open and functional after enabling the extension.

I repeat that this happens only the first time that I enable the extension after a reboot. If I disable it and re-enable it during the same session, gnome-tweak-tool won't crash.

The information collected by apport are attached to the report.

Thanks.

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: gnome-tweak-tool 3.10.0-0ubuntu1~saucy1 [origin: LP-PPA-gnome3-team-gnome3-staging]
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
CrashCounter: 1
Date: Fri Nov 1 22:49:34 2013
ExecutablePath: /usr/bin/gnome-tweak-tool
InstallationDate: Installed on 2013-10-17 (15 days ago)
InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Release amd64 (20131017)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gnome-tweak-tool
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7f3c108341c0 <sem_post>: mov (%rdi),%eax
 PC (0x7f3c108341c0) ok
 source "(%rdi)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
 Stack memory exhausted (SP below stack segment)
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gnome-tweak-tool
StacktraceTop:
 sem_post () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S:33
 PyThread_release_lock ()
 g_object_ref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
 g_settings_backend_changed () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
Title: gnome-tweak-tool crashed with SIGSEGV in sem_post()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo

Revision history for this message
Elias Psallidas (eliasps) wrote :
affects: ubuntu-gnome → gnome-tweak-tool (Ubuntu)
information type: Private → Public
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-tweak-tool (Ubuntu):
status: New → Confirmed
Barneedhar (barneedhar)
Changed in ubuntu-gnome:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Elias Psallidas (eliasps) wrote :

This didn't happen on the last two reboots.
Tweak Tool worked properly.
I update my system regularly.
Did something change?

Revision history for this message
obarisk (royobarisk) wrote :

ubuntu gnome 13.10
3.10.1-0ubuntu1~saucy1 0 gnome3-staging without bug

Changed in ubuntu-gnome:
assignee: nobody → obarisk (royobarisk)
status: Confirmed → Fix Committed
Changed in gnome-tweak-tool (Ubuntu):
importance: Undecided → High
Revision history for this message
Bruce Pieterse (octoquad) wrote :

This doesn't seem to be a problem any more in Vivid. Bug #1236749 (parent bug #1385572) was fixed which fixes extensions from being disabled every time after rebooting.

Activities configuration is now enabled and working after a reboot.

Saucy is also now EOL.

Changed in ubuntu-gnome:
status: Fix Committed → Fix Released
Changed in gnome-tweak-tool (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.