Wizard: Changing default emitters makes Compiz crash

Bug #1195996 reported by MC Return
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
High
Michail Bitzes
compiz (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[How to reproduce]

1. Open CCSM->Wizard->Emitters tab and manipulate the default settings there

The next time you start Compiz it will completely crash.

Related branches

MC Return (mc-return)
Changed in compiz:
milestone: none → 0.9.10.0
importance: Undecided → Medium
Changed in compiz:
assignee: nobody → Michail Bitzes (bitzesmichail)
Revision history for this message
MC Return (mc-return) wrote :

Hi Michail :)
+1 for taking care of that...

Revision history for this message
MC Return (mc-return) wrote :

Coverity bug #1101488 could be related...

Revision history for this message
Michail Bitzes (bitzesmichail) wrote :

It was segfaulting in loadGPoints/loadEmitters when 1) called before ps was calloc'd in preparePaint() and 2) the updating of the options was not complete, i.e. GPosx was updated but GPosy was not.

It still crashes the moment you add a new emitter in CCSM.

Something weird happens in CCSM too, every emitter appears enabled, regardless of the settings.

Revision history for this message
MC Return (mc-return) wrote :

Michail, thanks a lot 4 investigating. Hope you can fix all the problems, but feel free to propose your branch for merging, even if it just makes things better and does not fix all of the issues...
+1 for helping here.

Revision history for this message
Michail Bitzes (bitzesmichail) wrote :

I think I have now fixed all the segfaults in wizard, the remaining issue is in CCSM(all emitters appear selected).

I will do some cleanup/testing and propose it.

Revision history for this message
MC Return (mc-return) wrote :

Awesome. Sounds great.

MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.0 → 0.9.11.0
MC Return (mc-return)
Changed in compiz:
status: New → In Progress
MC Return (mc-return)
Changed in compiz:
importance: Medium → High
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:compiz at revision None, scheduled for release in compiz, milestone 0.9.11.0

Changed in compiz:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (44.6 KiB)

This bug was fixed in the package compiz - 1:0.9.11+14.04.20140214-0ubuntu1

---------------
compiz (1:0.9.11+14.04.20140214-0ubuntu1) trusty; urgency=low

  [ Timo Jyrinki ]
  * Bump version to 0.9.11

  [ Marco Trevisan (Treviño) ]
  * debian/00_remove_decor_in_unity_session.py: add migration script
    to avoid to load the decor plugin on compiz startup when using unity.
  * debian/compiz-gnome.gconf-defaults: disable decor plugin on unity session

  [ Sebastien Bacher ]
  * debian/compiz-gnome.links: lists keybinding in unity-control-center
  * typo fix in the previous commit. (LP: #1271710)

  [ Iven Hsu ]
  * Opacify: Only dim the windows above the active window.(LP:
    #1189374). (LP: #1189374)
  * KWD: Fix compile errors with KDE 4.11. The KWin developers made
    kdecorationbridge.h private. See:
    http://lists.freedesktop.org/archives/compiz/2013-March/003479.html
    (LP: #1193792). (LP: #1193792)

  [ Nikolay Martynov ]
  * When static switcher is enabled and has an option to show
    application icon turned on the icons are expected to be ~1/3 of a
    thumbnail (48px). Instead they are displayed in 512px size and
    completely cover everything. This change addresses this issue. See
    LP #1173914. (LP: #1173914, #1186426)

  [ BryanFRitt ]
  * Fixed the non-working Annotate 'Clear' Button. Moved this option's
    CCSM position upwards to keep the button shortcuts together. (LP:
    #1202907). (LP: #1202907)

  [ CI bot ]
  * Flush trunk to Ubuntu

  [ William Hua ]
  * Replace <Primary> with <Control> in CCSM. Fixes
    https://bugs.launchpad.net/compiz/+bug/1069121. (LP: #1069121)
  * Tweak support of key bindings of the form
    '<Modifier>Modifier_KeySym'. We tweak a bit the behaviour of key
    bindings such as '<Control>Shift_L' and '<Alt>Alt_R'. 1. We ignore
    the order of key pressing and releasing, so tapping
    '<Shift>Control_L' is the same as '<Control>Shift_L'. 2. We properly
    handle the double modifiers case, for example '<Control>Control_R'.
    3. We also parse key bindings with '<Primary>' being equivalent to
    '<Control>'.
  * Fix GSettings tests with extra slash.
  * Add an interface for plugins to provide non-option key actions that
    can be triggered.

  [ Eleni Maria Stea ]
  * It fixes the bug #1245886. In DecorScreen::handleEvent compiz
    shouldn't try to handle any events if there's no active window yet.
    (LP: #1245886)
  * Compiz static analysis shows that some compiz classes have virtual
    methods but not virtual destructors. Added the virtual destructors
    to get rid of warnings and potential memory leaks.
  * fixed cmake syntax errors.
  * CMake considered compiz a C++ project and couldn't find some
    dependencies like pthreads. Defined compiz as a C, CXX project to
    fix the issue.

  [ Povilas Kanapickas ]
  * Opacify: Properly initialize window drawing for new windows in
    Opacify plugin. (LP: #787814, part 2). (LP: #787814)
  * Opacify: Fix damage generation in the Opacify plugin. When setting
    opacity to some value, non-opacified windows need to be damaged
    regardless of opacity, whereas opacified windows need to be damaged
    only if opacity changes. Remove u...

Changed in compiz (Ubuntu):
status: New → Fix Released
Stephen M. Webb (bregma)
Changed in compiz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.