Compiz crashes when a plugin fails to load
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
Sam Spilsbury | ||
compiz (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When a plugin fails to load from the normal plugin directories, like so:
/home/smspillaz
/home/smspillaz
/home/smspillaz
/home/smspillaz
We end up with a crash like this:
Program received signal SIGSEGV, Segmentation fault.
#0 0x0000000000009b86 in ?? ()
#1 0x00007ffff0503e9a in getCompPluginVT
at /home/smspillaz
#2 0x00007ffff787d6e0 in dlloaderLoadPlugin (p=0x6a8910,
path=<optimised out>, name=0x60ff08 "move")
at /home/smspillaz
#3 0x00007ffff787cd2c in CompPlugin::load (name=0x60ff08 "move")
at /home/smspillaz
#4 0x00007ffff784e638 in compiz:
(this=
at /home/smspillaz
#5 0x00007ffff784e853 in PrivateScreen:
at /home/smspillaz
#6 0x00007ffff784f17b in CompScreenImpl:
name=<optimised out>)
at /home/smspillaz
---Type <return> to continue, or q <return> to quit---
The reason appears to be that we're loading from the system library paths, but that doesn't make any sense.
Related branches
- MC Return: Abstain
- PS Jenkins bot (community): Approve (continuous-integration)
- Compiz Maintainers: Pending requested
-
Diff: 1488 lines (+893/-155)14 files modifiedinclude/core/abiversion.h (+1/-1)
include/core/plugin.h (+184/-52)
plugins/animation/src/animation.cpp (+1/-1)
plugins/composite/src/composite.cpp (+1/-1)
plugins/cube/src/cube.cpp (+1/-1)
plugins/opengl/src/opengl.cpp (+1/-1)
plugins/scale/src/scale.cpp (+1/-1)
src/plugin.cpp (+16/-0)
src/plugin/tests/test-plugin.cpp (+486/-71)
src/pluginclasshandler/include/core/pluginclasshandler.h (+97/-1)
src/pluginclasshandler/tests/construct/src/test-pch-construct.cpp (+40/-17)
src/pluginclasshandler/tests/get/src/test-pch-get.cpp (+38/-1)
src/pluginclasshandler/tests/test-pluginclasshandler.h (+18/-0)
src/privatescreen/tests/test-privatescreen.cpp (+8/-7)
- PS Jenkins bot (community): Approve (continuous-integration)
- Brandon Schaefer (community): Approve
- MC Return: Pending requested
-
Diff: 1492 lines (+892/-155)15 files modified.bzrignore (+1/-0)
include/core/abiversion.h (+1/-1)
include/core/plugin.h (+184/-52)
plugins/animation/src/animation.cpp (+1/-1)
plugins/composite/src/composite.cpp (+1/-1)
plugins/cube/src/cube.cpp (+1/-1)
plugins/opengl/src/opengl.cpp (+1/-1)
plugins/scale/src/scale.cpp (+1/-1)
src/plugin.cpp (+16/-0)
src/plugin/tests/test-plugin.cpp (+484/-71)
src/pluginclasshandler/include/core/pluginclasshandler.h (+97/-1)
src/pluginclasshandler/tests/construct/src/test-pch-construct.cpp (+40/-17)
src/pluginclasshandler/tests/get/src/test-pch-get.cpp (+38/-1)
src/pluginclasshandler/tests/test-pluginclasshandler.h (+18/-0)
src/privatescreen/tests/test-privatescreen.cpp (+8/-7)
Changed in compiz: | |
status: | Fix Committed → Fix Released |
Fix committed into lp:compiz at revision 3729, scheduled for release in compiz, milestone 0.9.10.0