software-center crashed with SIGSEGV in PyGILState_Ensure()

Bug #907568 reported by Jorge Castro
608
This bug affects 168 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
High
Michael Vogt
Precise
Fix Released
High
Michael Vogt

Bug Description

Crashed while trying to close the window

TEST CASE:
1. Launch S-C
2. Close it (File->Close)

EXPECTED RESULT:
S-C closes without crashing.

ACTUAL RESULT:
S-C crashes after a while ... and closes.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: software-center 5.1.4
ProcVersionSignature: Ubuntu 3.2.0-4.10-generic 3.2.0-rc5
Uname: Linux 3.2.0-4-generic x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
CrashCounter: 1
Date: Wed Dec 21 18:31:11 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x4dbe38: mov 0x8(%rbp),%rax
 PC (0x004dbe38) ok
 source "0x8(%rbp)" (0x00000008) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: software-center
StacktraceTop:
 ?? ()
 PyGILState_Ensure ()
 ?? () from /usr/lib/python2.7/dist-packages/gi/_gobject/_gobject.so
 g_datalist_clear () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Title: software-center crashed with SIGSEGV in PyGILState_Ensure()
UpgradeStatus: Upgraded to precise on 2011-12-02 (19 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

Related branches

Revision history for this message
Jorge Castro (jorge) wrote :
visibility: private → public
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Carla Sella (carla-sella) wrote :

I opened software center and then closed it and it crashed.
I've got Precise Pangolin Alpha 1 with all updates installed.

Revision history for this message
Carla Sella (carla-sella) wrote :

If it can help I'm attaching the /var/crash/ _usr_share_software-center_software-center.1000.crash file.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

confirmed on precise.

Changed in software-center (Ubuntu):
importance: Undecided → High
tags: added: rls-mgr-p-tracking
Changed in software-center (Ubuntu Precise):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
description: updated
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

bug 904385 contains a very similar StackTrace and has been retraced.

Martin Pitt (pitti)
Changed in software-center (Ubuntu Precise):
assignee: Canonical Desktop Team (canonical-desktop-team) → Gary Lasker (gary-lasker)
tags: removed: need-amd64-retrace
Revision history for this message
Michael Vogt (mvo) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

The test program will crash on close.

It works when GObject.threads_init() is removed.

affects: software-center (Ubuntu Precise) → pygobject (Ubuntu Precise)
Changed in pygobject (Ubuntu Precise):
assignee: Gary Lasker (gary-lasker) → nobody
Changed in software-center (Ubuntu Precise):
status: New → In Progress
Changed in software-center (Ubuntu Precise):
importance: Undecided → High
assignee: nobody → Michael Vogt (mvo)
status: In Progress → Fix Committed
Revision history for this message
Benjamin Kerensa (bkerensa) wrote :

:) Software-Center is borked in precise doesn't do anything except crash upon launch.

Martin Pitt (pitti)
no longer affects: pygobject (Ubuntu Precise)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 5.1.5

---------------
software-center (5.1.5) precise; urgency=low

  [ Kiwinote ]
  * softwarecenter/ui/gtk3/models/appstore2.py:
    - fix TypeError in load_range (LP: #911886)
  * softwarecenter/ui/gtk3/panes/historypane.py:
    - change COL_PKG to an object rather than a str (LP: #905762)
  * softwarecenter/ui/gtk3/panes/installedpane.py:
    - fix utf8 oddness to make remote installed panes work
  * softwarecenter/ui/gtk3/widgets/oneconfviews.py:
    - ensure that hostid is always a string (as we declared) (LP: #905605)
  * softwarecenter/ui/gtk3/widgets/thumbnail.py:
    - fix IndexError in set_thumbnails_from_data (LP: #888669)
  * grab exhibits for the current series only (LP: #899257)

  [ Michael Vogt ]
  * Remove explicit GObject.threads_init as initializing the threads
    explicitely causes a segfault on close but nothing more
    (LP: #907568)
  * lp:~mvo/software-center/startup-speed2:
    - improve the startup speed by moving out the (expensive) channel
      change test out of the main app into a spawned helper, also
      delays some computations and adds a cheaper way for getting the
      appcount
  * lp:~mvo/software-center/icon-data:
    - remove the need for inline icon data from the agent, instead
      download icons directly using the provided URL
  * softwarecenter/db/debfile.py:
    - fix encoding error for some debs (based on
      lp:~roignac/software-center/bug-738771-summary-unicode), thanks
      to Vadim Rutkovsky, LP: #738771
  * softwarecenter/ui/gtk3/views/appdetailsview.py:
    - fix crash in test/gtk3/test_views.py
  * lp:~mvo/software-center/replace-restfulclient-with-piston:
    - replace lazr.restfulclient with piston-mini-client for ubuntu-sso
      and cleanup the piston-mini-client helper code

  [ Gary Lasker ]
  * softwarecenter/backend/channel_impl/aptchannels.py:
    - display the correct label text for the For Purchase menu item
      in the toolbar (LP: #911964)
  * lp:~gary-lasker/software-center/date-published-cleanup:
    - remove no longer needed code
  * lp:~gary-lasker/software-center/replace-restfulclient-with-piston-tweaks:
    - tweaks and fixes the branch

  [ Vadim Rutkovsky ]
  * lp:~roignac/software-center/bug-632773-selectable-title:
    - make the app title selectable (LP: #632773)
 -- Michael Vogt <email address hidden> Fri, 06 Jan 2012 10:56:48 +0100

Changed in software-center (Ubuntu Precise):
status: Fix Committed → Fix Released
Martin Pitt (pitti)
tags: removed: rls-mgr-p-tracking
Martin Pitt (pitti)
no longer affects: pygobject (Ubuntu)
To post a comment you must log in.