compiz crashes in std::basic_string<>::basic_string() from CompPlugin::VTable::name() from DbusScreen::registerPluginsForScreen(DBusConnection*) from DbusScreen::DbusScreen(CompScreen*)

Bug #742884 reported by Rocko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Invalid
Medium
Unassigned
compiz (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: compiz

When I try to log into the Natty classic desktop (with effects turned on), it looks very much like compiz is repeatedly crashing. I see the desktop background for around a second, then some windows (without decorations) for a second, then the desktop, etc. The keyboard is unresponsive during this time except that I can get a tty console. This continues for 10-20 iterations and then X locks up completely (no mouse, and I can't get a tty console).

If I log in to 'classic desktop with no effects' mode and then run compiz as root (sudo compiz), it runs fine.

If I run compiz without root privileges, compiz crashes (see attached crash log).

I can run compiz in another user profile without issues - it only crashes in my normal user profile, which is shared with Maverick, ie compiz 0.8.

The problem is that if I enable KDE compatibility, compiz crashes at startup. This might be because I have dockbarx installed and it uses the KDE compatibility plugin - compiz doesn't crash in unity with the KDE compat plugin enabled.

There are two issues here: the KDE plugin shouldn't crash compiz; but if compiz does crash repeatedly during initialisation, it should stop trying to run and Ubuntu should fallback to some safe mode.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz 1:0.9.4git20110322-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.38-7.38-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 270.30 Fri Feb 25 14:34:55 PST 2011
 GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-6ubuntu4)
Architecture: amd64
CheckboxSubmission: 1bd8e90541d49b96c13cbfcc9baf103b
CheckboxSystem: d00f84de8a555815fa1c4660280da308
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,scale,session,unityshell]
CompositorRunning: None
Date: Sat Mar 26 09:31:30 2011
DistUpgraded: Log time: 2011-03-20 09:19:31.967259
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current, 270.30, 2.6.38-7-generic, x86_64: installed
 nvidia-current, 270.30, 2.6.38-generic, x86_64: installed
 vboxhost, 4.0.4, 2.6.38-7-generic, x86_64: installed
 vboxhost, 4.0.4, 2.6.38-generic, x86_64: installed
GraphicsCard:
 nVidia Corporation G84 [GeForce 8600M GT] [10de:0407] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:022e]
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
InstallationMedia_: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
JockeyStatus: xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Disabled, In use)
MachineType: Dell Inc. XPS M1530
ProcEnviron:
 LANGUAGE=en_AU:en
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-7-generic root=UUID=776cd2eb-157e-4c4b-b37f-9d074a6802e9 ro quiet splash vt.handoff=7
ProcVersionSignature_: Ubuntu 2.6.38-7.38-generic 2.6.38
Renderer: Unknown
SourcePackage: compiz
UpgradeStatus: Upgraded to natty on 2011-03-20 (5 days ago)
dmi.bios.date: 11/19/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A12
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA12:bd11/19/2008:svnDellInc.:pnXPSM1530:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: XPS M1530
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.4git20110322-0ubuntu5
version.libdrm2: libdrm2 2.4.23-1ubuntu5
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu11
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu6

Tags: natty quantal
Revision history for this message
Rocko (rockorequin) wrote :
Revision history for this message
Rocko (rockorequin) wrote :

It now runs correctly as non-root. I'm not sure whether an update fixed it or changing file permissions fixed it (I did a chown on files in my home folder).

Changed in compiz (Ubuntu):
status: New → Invalid
Revision history for this message
Rocko (rockorequin) wrote :

Re-opening because it is back. At login, compiz repeatedly crashes so you can't do anything except restart the gdm session from a tty console. Attached is an .xsession-errors log showing it crashing.

Compiz still works in unity mode, just not in classic.

Changed in compiz (Ubuntu):
status: Invalid → New
Revision history for this message
Rocko (rockorequin) wrote :

Any suggestions? Unity is too unstable to use full time at the moment but I'd be happy to test classic mode if only I could log in.

Revision history for this message
Rocko (rockorequin) wrote :

It's the KDE compatibility plugin that causes the crash (unless compiz is run as root).

summary: - compiz 0.9 crashes unless it runs as root
+ compiz 0.9 crashes when KDE compatibility plugin is enabled unless it
+ runs as root
description: updated
Changed in compiz (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote : Re: compiz 0.9 crashes when KDE compatibility plugin is enabled unless it runs as root

Hi! Is this reproducible on a current, supported version of Ubuntu?

Changed in compiz (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Rocko (rockorequin) wrote :

On my Quantal desktop, when I tick the KDE compatibility plugin box, the desktop freezes for about 30 seconds (tty consoles still work). Then compiz redraws everything. So it looks like compiz is crashing and restarting itself, which means that this bug is still present in Quantal with compiz 1:0.9.8.4+bzr3412-0ubuntu0.1.

Changed in compiz (Ubuntu):
status: Incomplete → New
tags: added: natty quantal
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Rocko,

The crash is in the dbus plugin. You will avoid it if you can live without loading the dbus plugin. Certainly the KDE plugins do not require it.

summary: - compiz 0.9 crashes when KDE compatibility plugin is enabled unless it
- runs as root
+ compiz crashes in std::basic_string<>::basic_string() from
+ CompPlugin::VTable::name() from
+ DbusScreen::registerPluginsForScreen(DBusConnection*) from
+ DbusScreen::DbusScreen(CompScreen*)
Changed in compiz:
importance: Undecided → Medium
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please don't load the crashhandler plugin either. That's the reason why you're not getting a good error report sent to Launchpad.

Revision history for this message
Rocko (rockorequin) wrote :

Ok, no worries. I don't normally load the crash handler or KDE, I just noted that the KDE plugin made compiz crash when I tried to load it many moons ago. I think I needed the KDE plugin for DockbarX or something.

Revision history for this message
dino99 (9d9) wrote :

That version has reached EOL since a while, so it will not receive update. If that issue still exist, report again using ubuntu-bug.

Changed in compiz (Ubuntu):
status: New → Invalid
Changed in compiz:
status: New → Invalid
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.