[0.9.x] Command plugin actions launched through viewportswitch crashes Compiz

Bug #772151 reported by Sapphira Armageddos
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz Viewport Switcher Plugin
Fix Committed
Medium
Sam Spilsbury
compiz-plugins-main (Ubuntu)
Fix Committed
Medium
Sam Spilsbury

Bug Description

Binary package hint: compiz

Lines of interest:
http://cgit.compiz.org/compiz/plugins/vpswitch/tree/src/vpswitch.cpp : 55-56
http://cgit.compiz.org/~smspillaz/desktopclick/tree/src/dclick.cpp : 121-123, 136-138 (I know this isn't a main plugin, but it calls the other plugins in a similar manner)
http://cgit.compiz.org/compiz/core/tree/plugins/commands/src/commands.cpp : 30-48

Compiz debug log from soreau:
http://sprunge.us/VXcd

"unhandled exception (type std::exception) in signal handler:
what: call to empty boost::function" is the notable tidbit in the attached backtrace. I think that it's trying to call up the commands plugin with only three parameters for calling up the commands stored in the commands plugin when there's supposed to be four parameters. Not sure if that's what's causing it to crash, though.

Related branches

Revision history for this message
Sapphira Armageddos (shadowkyogre) wrote :
Changed in compiz (Ubuntu):
importance: Undecided → Medium
Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
Paul Donohue (s-launchpad-paulsd-com) wrote :

This bug affects compiz in both Natty and Oneiric

Revision history for this message
Paul Donohue (s-launchpad-paulsd-com) wrote :

I've found the bug and submitted a patch upstream:
http://bugs.compiz.org/show_bug.cgi?id=47

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Thanks paul, I've merged the patch (sorry it took so long!)

Changed in unity:
status: New → In Progress
Changed in compiz-vpswitch-plugin:
status: New → In Progress
assignee: nobody → Sam Spilsbury (smspillaz)
Changed in unity:
assignee: nobody → Sam Spilsbury (smspillaz)
Changed in compiz (Ubuntu):
assignee: nobody → Sam Spilsbury (smspillaz)
Changed in unity:
importance: Undecided → Medium
milestone: none → 4.26.0
Changed in compiz-vpswitch-plugin:
importance: Undecided → Medium
milestone: none → 0.9.6
Changed in compiz-vpswitch-plugin:
status: In Progress → Fix Committed
Changed in unity:
status: In Progress → Fix Committed
Changed in compiz-plugins-main (Ubuntu):
status: New → Fix Committed
assignee: nobody → Sam Spilsbury (smspillaz)
Changed in compiz (Ubuntu):
status: Confirmed → Invalid
Changed in unity (Ubuntu):
status: New → Fix Committed
Omer Akram (om26er)
Changed in compiz-plugins-main (Ubuntu):
importance: Undecided → Medium
Changed in unity (Ubuntu):
importance: Undecided → Medium
Omer Akram (om26er)
Changed in compiz-plugins-main (Ubuntu):
status: Fix Committed → Fix Released
Changed in compiz-vpswitch-plugin:
status: Fix Committed → Fix Released
Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Paul Donohue (s-launchpad-paulsd-com) wrote :

This fix *HAS NOT* been released. The latest compiz-plugins-main package (1:0.9.6-0ubuntu4.2) does not contain this fix. It seems to have gotten lost in the shuffle somewhere along the line.

Revision history for this message
Omer Akram (om26er) wrote :

the bug will be fixed in precise as the new version of compiz-plugins land. I have reverted the status. thanks

Changed in compiz-vpswitch-plugin:
status: Fix Released → Fix Committed
Changed in compiz-plugins-main (Ubuntu):
status: Fix Released → Fix Committed
no longer affects: compiz (Ubuntu)
no longer affects: unity
no longer affects: unity (Ubuntu)
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.