** Description changed:

  Thanks for any help. Ubuntu 12.10. After login Compiz crashes, and when
  I try to lunch it in terminal it doesn't work and the output is:
  
  per-olav@asus12:~$ compiz
  compiz (core) - Info: Loading plugin: core
  compiz (core) - Info: Starting plugin: core
- compiz (core) - Info: Loading plugin: ccp
- compiz (core) - Info: Starting plugin: ccp
- compizconfig - Info: Backend     : gsettings
- compizconfig - Info: Integration : true
- compizconfig - Info: Profile     : unity
- compiz (core) - Info: Loading plugin: composite
- compiz (core) - Info: Starting plugin: composite
- compiz (core) - Info: Loading plugin: opengl
- compiz (core) - Info: Unity is fully supported by your hardware.
- compiz (core) - Info: Unity is fully supported by your hardware.
- compiz (core) - Info: Starting plugin: opengl
- compiz (core) - Info: Loading plugin: compiztoolbox
- compiz (core) - Info: Starting plugin: compiztoolbox
- compiz (core) - Info: Loading plugin: decor
- compiz (core) - Info: Starting plugin: decor
- compiz (core) - Info: Loading plugin: vpswitch
- compiz (core) - Info: Starting plugin: vpswitch
- compiz (core) - Info: Loading plugin: snap
- compiz (core) - Info: Starting plugin: snap
- compiz (core) - Info: Loading plugin: mousepoll
- compiz (core) - Info: Starting plugin: mousepoll
- compiz (core) - Info: Loading plugin: resize
- compiz (core) - Info: Starting plugin: resize
- compiz (core) - Info: Loading plugin: place
- compiz (core) - Info: Starting plugin: place
- compiz (core) - Info: Loading plugin: move
- compiz (core) - Info: Starting plugin: move
- compiz (core) - Info: Loading plugin: wall
- compiz (core) - Info: Starting plugin: wall
- compiz (core) - Info: Loading plugin: grid
- compiz (core) - Info: Starting plugin: grid
- compiz (core) - Info: Loading plugin: regex
- compiz (core) - Info: Starting plugin: regex
- compiz (core) - Info: Loading plugin: imgpng
- compiz (core) - Info: Starting plugin: imgpng
- compiz (core) - Info: Loading plugin: session
- compiz (core) - Info: Starting plugin: session
- I/O warning : failed to load external entity 
"/home/per-olav/.compiz/session/10aed9b43888bf08c0135325514081204400000017640001"
- compiz (core) - Info: Loading plugin: gnomecompat
- compiz (core) - Info: Starting plugin: gnomecompat
- compiz (core) - Info: Loading plugin: animation
- compiz (core) - Info: Starting plugin: animation
- compiz (core) - Info: Loading plugin: fade
- compiz (core) - Info: Starting plugin: fade
- compiz (core) - Info: Loading plugin: unitymtgrabhandles
- compiz (core) - Info: Starting plugin: unitymtgrabhandles
- compiz (core) - Info: Loading plugin: workarounds
- compiz (core) - Info: Starting plugin: workarounds
- compiz (core) - Info: Loading plugin: scale
- compiz (core) - Info: Starting plugin: scale
- compiz (core) - Info: Loading plugin: expo
- compiz (core) - Info: Starting plugin: expo
- compiz (expo) - Warn: failed to bind image to texture
- compiz (core) - Info: Loading plugin: ezoom
- compiz (core) - Info: Starting plugin: ezoom
- compiz (core) - Info: Loading plugin: unityshell
- compiz (core) - Info: Starting plugin: unityshell
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Desktop file 
'/usr/share/applications/libreoffice-writer.desktop' is using a deprecated 
format for its actions that will be dropped soon.
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Desktop file 
'/usr/share/applications/libreoffice-calc.desktop' is using a deprecated format 
for its actions that will be dropped soon.
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Desktop file 
'/usr/share/applications/libreoffice-impress.desktop' is using a deprecated 
format for its actions that will be dropped soon.
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Unable to find group 
'Desktop Action S0'
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Unable to find group 
'Desktop Action S1'
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Unable to find group 
'Desktop Action S2'
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Unable to find group 
'Desktop Action S3'
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Unable to find group 
'Desktop Action S4'
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Unable to find group 
'Desktop Action S5'
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Unable to find group 
'Desktop Action S6'
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Unable to find group 
'Desktop Action S7'
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Unable to find group 
'Desktop Action S8'
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Unable to find group 
'Desktop Action S9'
- WARN  2012-11-18 17:24:14 unity.libindicator <unknown>:0 Unable to find group 
'Desktop Action S10'
+ [...]
  ERROR 2012-11-18 17:24:14 nux.gestures_subscription 
GesturesSubscription.cpp:299 Failed to activate Geis subscription.
  Minnesegmentsfeil (core dumped)
+ 
+ [Impact]
+ 
+ In some computers, users are unable to get past the login screen. Compiz
+ crashes right after it's started.
+ 
+ The fix should be backported as it's a simple null pointer check (i.e.,
+ low regression risk) and solves the serious problem described above. The
+ crash happened because, in nux, when geis fails to activate a gestures
+ subscription (which is an uncommon case, thus the low number of
+ computers affected), nux destroys the related objects, which includes a
+ pointer to a geis filter. In this situation that geis filter pointer is
+ null and therefore geis_filter_delete() receives a null pointer and
+ tries to access it, which causes a segmentation fault. The fix changes
+ geis_filter_delete() so that it checks if the received pointer is null
+ before trying to use it.
+ 
+ [Test Case]
+ 
+ A unit test has been included along with the fix.
+ 
+ For users with computers affected by this bug, testing the fix is really
+ simple: after installing the package with the proposed fix, just try to
+ log in and check if you get to the ubuntu desktop successfully.
+ 
+ [Regression Potential]
+ 
+ Only computers affected by this bug will get a different code path
+ executed due to this fix, as they are the only ones that pass null
+ pointers to geis_filter_delete() and, therefore, will now get a
+ different behaviour out of this funticion (a no-op success instead of a
+ segmentation fault).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1080386

Title:
  Compiz crash on startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/geis/+bug/1080386/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to