compizconfig causes python to segfault in quantal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Confirmed
|
Medium
|
Unassigned | ||
compiz (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Trying to use compizconfig to set or get a compiz option in quantal causes the python interpreter to segfault. Here's a sample run using the python interactive shell:
In [1]: import compizconfig
In [2]: ctx = compizconfig.
In [3]: plugin = compizconfig.
In [4]: setting = compizconfig.
Segmentation fault (core dumped)
The stack trace looks like this:
#0 0x00007ffff6035018 in ?? () from /usr/lib/
#1 0x0000000000478cd8 in type_call.25443 ()
#2 0x0000000000493b06 in PyEval_EvalFrameEx ()
#3 0x000000000049aa68 in PyEval_EvalCodeEx ()
#4 0x000000000053ead3 in run_mod.42330 ()
#5 0x00000000004339ac in PyRun_FileExFlags ()
#6 0x000000000045ab7c in PyRun_SimpleFil
#7 0x000000000044dacc in Py_Main ()
#8 0x00007ffff68e676d in __libc_start_main (main=0x44db88 <main>, argc=2, ubp_av=
#9 0x00000000004c9429 in _start ()
without debugging symbols it's pretty useless, but there's no python-
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python-compizconfig 1:0.9.8+
ProcVersionSign
Uname: Linux 3.5.0-7-generic x86_64
NonfreeKernelMo
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
Date: Tue Aug 7 09:07:30 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: compiz
UpgradeStatus: Upgraded to quantal on 2012-07-19 (18 days ago)
tags: | added: compiz-0.9 |
affects: | compiz-core → compiz |
Changed in compiz: | |
milestone: | 0.9.8.0 → 0.9.8.1 |
Changed in compiz: | |
milestone: | 0.9.8.2 → 0.9.8.4 |
Changed in compiz: | |
milestone: | 0.9.8.4 → 0.9.9.0 |
Changed in compiz: | |
milestone: | 0.9.9.0 → 0.9.9.2 |
Changed in compiz: | |
milestone: | 0.9.9.2 → 0.9.10.0 |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.11.0 |
It's crashing because the setting 'disable_ show_desktop' does not exist in quantal yet (/usr/share/ compiz/ unityshell. xml). I can see it in the upstream code, but not yet released in quantal.
Still, crashing on an unknown setting is bad.