unity-window-decorator crashes when running a Java app

Bug #776312 reported by Óscar Frías
88
This bug affects 18 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: compiz

When running a Java application (IntelliJ IDEA 9.0.4) under Ubuntu 11.04 I get an error when the application tries to open a popup. After the error all the windows lose their top bar.
This application was running smoothly under Ubuntu 10.10.

System: Linux 2.6.38-8-generic-pae #42-Ubuntu SMP Mon Apr 11 05:17:09 UTC 2011 i686
X Vendor: The X.Org Foundation
X Vendor Release: 11001000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Ambiance
Icon Theme: ubuntu-mono-dark
GTK+ Modules: gnomesegvhandler, canberra-gtk-module

Memory status: size: 108654592 vsize: 108654592 resident: 11558912 share: 8998912 rss: 11558912 rss_rlim: 18446744073709551615
CPU usage: start_time: 1304420198 rtime: 66 utime: 50 stime: 16 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

---- Critical and fatal warnings logged during execution ----

** GLib-GObject **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed
** GLib-GObject **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed
** GLib-GObject **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed

----------- .xsession-errors ---------------------
** (gnome-session:1616): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
** (gnome-session:1616): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
** (gnome-session:1616): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
** (gnome-session:1616): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
** (gnome-session:1616): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
** (gnome-session:1616): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
** (gnome-session:1616): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
** (gnome-session:1616): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
** (gnome-session:1616): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
/home/ofrias/1967: No such file or directory.
No stack.
--------------------------------------------------

Revision history for this message
Óscar Frías (ofrias) wrote :

Same application running under unity-2d works without any problem.

Revision history for this message
Lucas Madar (lucas-madar) wrote :
Download full text (5.2 KiB)

I am having this same problem with another Java application. This makes natty unusable. Two of my other coworkers are having a similar problem.

----- from xsession-errors -----
(unity-window-decorator:9754): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed
(unity-window-decorator:9754): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GObject'
(unity-window-decorator:9754): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed
Segmentation fault

---- the last 20 or so system calls from ltrace (all on the same level) ----

        XRenderFreePicture(0x655ef0, 0x4400c4b, 0x7e27f0, 938432, 0x7ee430) = 0
        g_free(0x7d4fe0, 0x4400c4b, 153, 938432, 0x7ee430) = 0x7d0240
        g_type_check_instance_cast(0x7be8b0, 80, 0, 0, 0x7d4fd0) = 0x7be8b0
        g_object_unref(0x7be8b0, 0x697030, 1, 0x692eb0, 0x7d4fd0) = 1
        cairo_pattern_destroy(0x7d3880, 16, 15, 10, 176) = 0
        g_type_check_instance_cast(0x7dd6d0, 80, 1, 0x7fa22f5236a0, 56) = 0x7dd6d0
        g_object_unref(0x7dd6d0, 0x6e5860, 2, 0x6ddf20, 56) = 1
        g_type_check_instance_cast(0x7d9590, 80, 43, 2, 48) = 0x7d9590
        g_object_unref(0x7d9590, 0x794a50, 1, 0x690f40, 48) = 1
        g_slist_remove(0, 0x7dd100, 2, 1, 48) = 0
        g_type_check_instance_cast(0x7d5070, 80, 2, 1, 48) = 0x7d5070
        g_object_set_data(0x7d5070, 0x418304, 0, 0x6af8e0, 48) = 0
        gdk_error_trap_push(0x7fa22ea009e8, 0, 0x7fa22ea009e8, 1, 32) = 0x7fa230d1a310
        wnck_window_get_xid(0x7d5070, 0, 0x7fa230d1a5e4, 1, 32) = 0x5600101
        XDeleteProperty(0x655ef0, 0x5600101, 445, 1, 32) = 1
        gdk_display_get_default(0x655ef0, 0x5600101, 0x65cc4c, 1, 32) = 0x663000
        gdk_display_sync(0x663000, 0x5600101, 0x65cc4c, 1, 32) = 1
        gdk_error_trap_pop(0x7fa22e4e51c0, 0, 1, 1, 0x7e63a0) = 3
        g_free(0x7dd100, 0, 0x7fa230d1a310, 1, 0x7e63a0) = 833
        gdk_display_get_default(0x6b1020, 0x7d5180, 0, 0x7dd950, 0x7ffffd487580) = 0x663000
        gdk_x11_display_get_xdisplay(0x663000, 0x7d5180, 0, 0x7dd950, 0x7ffffd487580) = 0x655ef0
        g_type_check_instance_cast(0x7d5180, 80, 0x63d650, 1, 0x7ffffd487580) = 0x7d5180
        g_object_get_data(0x7d5180, 0x418304, 1, 0x6af8e0, 0x7ffffd487580) = 0x7e6010
        g_type_check_instance_cast(0x7d5290, 80, 0x7fa22ea009e8, 0, 0x7fa22ea009e8
(unit...

Read more...

Revision history for this message
Gerrit Bösebeck (gerrit-boesebeck) wrote :

Hi, same here. Several Java Dialogs Crash the unity-windows-decoration process.

Revision history for this message
Leonardo Montecchi (lmontecchi) wrote :

I'm affected by the same problem too, two java applications that I used in 10.10 without problems now crash when desktop effects are active. I have tried both with java-6-sun and with java-6-openjdk, with the same results.
Both the applications work correctly when using a "safe-mode" session

Revision history for this message
Markus Pallo (pallo) wrote :

same problem ubuntu 11.04 java app crash decorator

Revision history for this message
Artem Medeu (artem-medeu) wrote :

Same with Oracle Sql Developer and Netbeans. Window decorator crashes when program tries to open message popup window.
Eclipse runs without any troubles.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

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