software-center crashed with SIGSEGV in __cxa_allocate_exception()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Triaged
|
High
|
Gary Lasker | ||
update-manager-core (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: software-center
Attempted to run "software-center" from command line, ended up in a segfault.
WORKAROUND:
Launch Software Center from the command line as:
LD_PRELOAD=
---
Steps to reproduce (safely with a test xapian database):
1. In a terminal, make a test directory to work in, and cd into it.
2. Type the following to get the branch revision for version 3.1.23.1 of software-center (tho latest trunk is likely fine too):
bzr branch -r1564 lp:software-center
3. Run the branch in-place as shown:
cd software-center
PYTHONPATH=. python ./software-center
4. You should shortly see the segfault message and software-center will not be started.
5. You'll likely have a zombie software-center process at this point so you'll want to kill it:
ps aux | grep software-center
kill nnnn (where 'nnnn' is the PID for the 'python ./software-center' process in the output above)
6. To verify that downgrading the libgl1-mesa-glx package from 7.10.1-0ubuntu1 fixes the crash (refer to comment #6), NOTE these steps are for amd64:
wget http://
sudo dpkg -i libgl1-
7. And now try again:
PYTHONPATH=. python ./software-center
8. Software Center should now start with no crash.
9. Finally, you can verify that upgrading back to libgl1-mesa-glx 7.10.1-0ubuntu1 reintroduces the problem; first you will need to recreate the condition of a fresh install bu clearing the local xapian data as shown:
rm -fr data/xapian/*
10. Update libgl1-mesa-glx back to 7.10.1-0ubuntu1:
sudo apt-get install libgl1-mesa-glx
11. Run it again and voila, the crash has returned:
PYTHONPATH=. python ./software-center
12. Don't forget to kill the zombie process again, if you have it (see step 5).
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.23.1
ProcVersionSign
Uname: Linux 2.6.38-5-generic x86_64
Architecture: amd64
CrashCounter: 1
Date: Tue Mar 8 20:36:53 2011
ExecutablePath: /usr/share/
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110308)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
LANG=en_CA.UTF-8
LANGUAGE=en_CA:en
SegvAnalysis:
Segfault happened at: 0x7f99aabed244 <__cxa_
PC (0x7f99aabed244) ok
source "$0x1" ok
destination "0x8(%rax)" (0x00000018) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: software-center
StacktraceTop:
__cxa_
Xapian:
?? () from /usr/lib/
PyEval_EvalFrameEx ()
PyEval_EvalCodeEx ()
Title: software-center crashed with SIGSEGV in __cxa_allocate_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Changed in software-center (Ubuntu): | |
status: | New → Confirmed |
Changed in software-center (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
tags: | added: mago |
Changed in software-center (Ubuntu): | |
assignee: | Taylor Hawkings (astronomy-1989) → nobody |
Changed in software-center (Ubuntu): | |
assignee: | nobody → Canonical Desktop Team (canonical-desktop-team) |
Changed in update-manager-core (Ubuntu): | |
status: | New → Invalid |
Changed in software-center (Ubuntu): | |
assignee: | Canonical Desktop Team (canonical-desktop-team) → Gary Lasker (gary-lasker) |
description: | updated |
description: | updated |
description: | updated |
Got this bug after trying to install Skype for Ubuntu 64bit using skype-ubuntu- intrepid_ 2.1.0.81- 1_amd64. deb downloaded from official site.