Matlab causes compiz/X11 to freeze

Bug #814239 reported by Carlos Moffat
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hello,

I use Matlab regularly, which uses its own JVM to provide a lot of functionality. For a while now, if I run compiz (using gnome classic), and I use a particular program in matlab which makes use of Java, all the windows on the desktop would lose its borders (suggesting a compiz crash), and sometimes I wouldn't be able to interact with the windows at all (the only solution is to reboot).

I'm afraid that because matlab is propietary, I can't provide you with a reliable way to reproduce this, but I can confirm that is not related to it shipping its own JVM: if I make matlab use the Sun JRE, the freeze occurs anyway. I've also noticed random freezes when leaving my computer unattended.

All the freezes go away if I run metacity instead.

All the best.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz 1:0.9.4+bzr20110606-0ubuntu1~natty2
Uname: Linux 2.6.39-02063903-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 275.19 Tue Jul 12 18:13:58 PDT 2011
 GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
Architecture: amd64
CompizPlugins: [core,bailer,crashhandler,detection,composite,opengl,decor,mousepoll,place,snap,gnomecompat,workarounds,compiztoolbox,wall,session,regex,move,scale,imgpng,resize,grid,staticswitcher]
CompositorRunning: compiz
Date: Thu Jul 21 14:50:31 2011
DistUpgraded: Fresh install
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current, 275.19, 2.6.39-02063901-generic, x86_64: installed
 nvidia-current, 275.19, 2.6.39-02063903-generic, x86_64: installed
EcryptfsInUse: Yes
GraphicsCard:
 nVidia Corporation G94 [Quadro FX 1800] [10de:0638] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: nVidia Corporation Device [10de:062c]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
InstallationMedia_: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
JockeyStatus:
 xorg:nvidia_173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)
 xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Enabled, Not in use)
MachineType: Dell Inc. Precision WorkStation T7500
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.39-02063903-generic root=UUID=45548f26-671e-413a-911d-2955aeb89863 ro quiet splash vt.handoff=7
Renderer: Unknown
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/27/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A02
dmi.board.name: 0D881F
dmi.board.vendor: Dell Inc.
dmi.board.version: A05
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA02:bd05/27/2009:svnDellInc.:pnPrecisionWorkStationT7500:pvr:rvnDellInc.:rn0D881F:rvrA05:cvnDellInc.:ct7:cvr:
dmi.product.name: Precision WorkStation T7500
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.4+bzr20110606-0ubuntu1~natty2
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
Carlos Moffat (carlos-eldiabloenlosdetalles) wrote :
Revision history for this message
Carlos Moffat (carlos-eldiabloenlosdetalles) wrote :

This appears in dmesg after the crash:

[347262.281940] unity-window-de[27571]: segfault at ffffffff ip 00007f02c37522b6 sp 00007fff64252f50 error 4 in libglib-2.0.so.0.2800.6[7f02c36f2000+ed000]

Revision history for this message
Carlos Moffat (carlos-eldiabloenlosdetalles) wrote :

And this also shows up in the terminal:

compiz (opengl) - Info: Couldn't bind redirected window 0x4400030 to texture

Sometimes this results in a freeze of X, sometimes only the loss of window borders.

Revision history for this message
Carlos Moffat (carlos-eldiabloenlosdetalles) wrote :

A more complete log, if I restart with compiz --replace ccp

 compiz (opengl) - Info: Couldn't bind redirected window 0x440022b to texture

compiz (opengl) - Info: Couldn't bind redirected window 0x440022b to texture

compiz (opengl) - Info: Couldn't bind redirected window 0x440022b to texture

compiz (opengl) - Info: Couldn't bind redirected window 0x440022b to texture

compiz (opengl) - Info: Couldn't bind redirected window 0x440022b to texture

compiz (opengl) - Info: Couldn't bind redirected window 0x440022b to texture

compiz (opengl) - Info: Couldn't bind redirected window 0x440022b to texture

compiz (opengl) - Info: Couldn't bind redirected window 0x440022b to texture

compiz (opengl) - Info: Couldn't bind redirected window 0x440022b to texture

(unity-window-decorator:27963): Gtk-CRITICAL **: IA__gtk_widget_get_realized: assertion `GTK_IS_WIDGET (widget)' failed

(unity-window-decorator:27963): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `<invalid>'

(unity-window-decorator:27963): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(unity-window-decorator:27963): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `<invalid>'

(unity-window-decorator:27963): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(unity-window-decorator:27963): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `<invalid>'

(unity-window-decorator:27963): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(unity-window-decorator:27963): Gtk-CRITICAL **: IA__gtk_widget_get_realized: assertion `GTK_IS_WIDGET (widget)' failed

(unity-window-decorator:27963): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer

(unity-window-decorator:27963): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(unity-window-decorator:27963): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer

(unity-window-decorator:27963): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(unity-window-decorator:27963): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer

(unity-window-decorator:27963): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(unity-window-decorator:27963): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer

(unity-window-decorator:27963): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(unity-window-decorator:27963): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer

(unity-window-decorator:27963): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
Segmentation fault
compiz (opengl) - Info: Couldn't bind redirected window 0x440022b to texture

compiz (opengl) - Info: Couldn't bind redirected window 0x440022b to texture

summary: - Java causes compiz/X11 to freeze
+ Matlab causes compiz/X11 to freeze
Revision history for this message
Carlos Moffat (carlos-eldiabloenlosdetalles) wrote :
Revision history for this message
Carlos Moffat (carlos-eldiabloenlosdetalles) wrote :

Although I guess this shouldn't happen, I discovered it was caused by Matlab running out of memory (or the java VM that Matlab uses, anyways), so I "solved" this on my own. This can be closed now.

Carlos

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