unity-window-decorator crashes with SIGSEGV when closing Java windows

Bug #727143 reported by Kevin Jadin
730
This bug affects 163 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Sam Spilsbury
compiz (Ubuntu)
Fix Released
High
Sam Spilsbury
Natty
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Sam Spilsbury
unity (Ubuntu)
Fix Released
Undecided
Unassigned
Natty
Won't Fix
Undecided
Unassigned
Oneiric
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: compiz

Hi,
I am using up-to-date natty and when I start and close a .jnlp file (eg: http://download.oracle.com/javase/tutorialJWS/uiswing/components/ex6/TabbedPaneDemo.jnlp) with sun-java6, my window borders just disappear and I have to reload compiz with compiz --replace in order to get my borders back.

Compiz is still working background, because I still get window moving and Compiz plugins are still working. It's just borders that disappear.

In order to reproduce (it does it each time):
1) download http://download.oracle.com/javase/tutorialJWS/uiswing/components/ex6/TabbedPaneDemo.jnlp
2) double click TabbedPaneDemo.jnlp or launch with javaws TabbedPaneDemo.jnlp
3) close the app, window borders should disappear from ALL of your windows.

If this bug is confirmed, I think it is quite important to fix it for natty stable.

Kevin Jadin (marcspitz)
summary: - Windows border disappear when closing Java .jnlp files
+ Windows border disappears when closing Java windows
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: Windows border disappears when closing Java windows

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in compiz (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

it's likely bug #724874 or similar

Revision history for this message
jf pambrun (jf-pambrun) wrote :

I have the same issue with Matlab R2010b, the window border disappear as soon as the main window opens. I can still move windows around and change workspace.

Matlab's front end is in JAVA and it uses a bundled JRE (build 1.6.0_17-b04).
When configured to use OpenJDK 6b22-1.10-3ubuntu1 it runs flawlessly.

Revision history for this message
dsn0wman (josgray) wrote :

I get the same behavior while running Oracle SQL Developer. It's also a JAVA based program. It causes the window borders and controls to disappear when it pops up a notification window.

Revision history for this message
dsn0wman (josgray) wrote :

I can easily reproduce this behavior. Closing modal Java windows causes window border and controls to disappear. Pleas let me know if there is anything I can do to for a work around. Re-staring unity 20 times a day is getting old.

Revision history for this message
dsn0wman (josgray) wrote :

Doing a backtrace on compiz doesn't give me anything... Not sure how to get debugging symbols for compiz

GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/compiz...(no debugging symbols found)...done.
(gdb) backtrace full
No stack.
(gdb) info registers
The program has no registers now.
(gdb) x/16i $pc
No registers.
(gdb) thread apply all backtrace
(gdb) quit

Revision history for this message
dsn0wman (josgray) wrote :

Finally was able to get a backtrace or unity-window-decorator which appears to be the culprit.

Revision history for this message
Konstantin Ivanov (liner.mgn) wrote :

I constantly get this bug while running Oracle SQL Developer.

Revision history for this message
Claudiu Bulcu (cbulcu) wrote :

I did encounter this too, with Squirrel SQL, and other Java applications. I want to use Natty with Unity for Java development, but tends to become more unlikely :-(

Revision history for this message
Nerdknight (nerdknight) wrote :

It happens to me too sometimes when I close modal dialogs, this is the output of compiz :

(unity-window-decorator:3820): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed
Segmentation fault

Revision history for this message
Nerdknight (nerdknight) wrote :

I attach a simple java program to reproduce the bug, Is a JFrame that opens a JDialog that opens a new instance of this JDialog modal to the JFrame, open 3 or more JDialog an then close them until the window border disappear.

Revision history for this message
Alessio Caiazza (nolith) wrote :

I cannot reproduce this bug with OpenJDK-jre but only with sun-jre.

Revision history for this message
Nerdknight (nerdknight) wrote :

I confirm this, I've tested it with the current OpenJDK-jre, sun-jre-6u24 and sun-jre-6u25, the problems appears only with sun-jre

Revision history for this message
dsn0wman (josgray) wrote :

I configured Oracle Sqldeveloper to use OpenJDK instead of the Sun JDK, and this solves the problems with the window borders disappearing.

Hopefully Oracle/Sun will patch their JDK, since other features of sqldeveloper seem to work better with the Sun JDK.

Revision history for this message
Jabal 33 (jantekb) wrote :

I confirm this bug, very annoying.

Revision history for this message
Nerdknight (nerdknight) wrote :

I don't remember having this bug in Ubuntu 10.10 with compiz effects (can someone confirm this?), so I think the bug is unity-compiz - sun-jre related, if that's the case, I think is much more feasible fix this in unity-compiz, than waiting a fix from Oracle.

Revision history for this message
dsn0wman (josgray) wrote :

I take back my previous statement. I still have disappearing window border, but they are not as frequent. So far it only happened once upon closing sqldeveloper. I think the modal windows no longer trigger the bug though.

Revision history for this message
Nerdknight (nerdknight) wrote :

I can generate the bug closing several JDialogs modal to a same JFrame. Try the app I made to generate this bug (post n°11), with this app I can always reproduce the bug.
Link:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/727143/+attachment/2109053/+files/CompizWindowsBorderDisapperTest.tar.gz
The jar executable is inside the dist directory

Revision history for this message
Sezai Yilmaz (sezai-yilmaz) wrote :

I also confirm this bug. It hapens very often.

Revision history for this message
Lucas Madar (lucas-madar) wrote :

This bug is making natty nearly unusable.

I've put a backtrace (with debug info) and an ltrace in bug #727143, which I've marked as a duplicate of this bug.

Nerdknight (nerdknight)
Changed in compiz (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
John Dunlap (john-dunlap) wrote :

I just built a new development machine and I am having the same problem as everyone else when I attempt to run Jetbrains IntelliJ IDEA 10.x Ultimate on a fully updated Ubuntu 11.x(Natty) x86_64. It is *extremely* annoying because it makes it difficult to run the debugging console on my other screen. I'm rebuilding the system in Ubuntu 10.x and if I still have this problem after that then I'm going back to Fedora.....

Revision history for this message
Nerdknight (nerdknight) wrote :

John: to avoid this problem just install Unity 2D, the classic desktop with no effects.

Revision history for this message
Claudiu Bulcu (cbulcu) wrote :

I'm running Gnome Classic (no effects), but I think we all want the full experience. :)

Revision history for this message
John Dunlap (john-dunlap) wrote :

I actually prefer Gnome Classic. How do I switch from unity?

Revision history for this message
Nerdknight (nerdknight) wrote :

Claudiu: I want desktop effects too!!, but until this problem is solved I think is a good option using Unity-2d with no effects (in my case is better than downgrading to 10.10)

To enable Ubuntu classic install Unity 2d and then choose Ubuntu Classic in the login screen.

Revision history for this message
Claudiu Bulcu (cbulcu) wrote :

John: Either way, Unity or Gnome Classic (I assume you meant the effects enabled Gnome Classic), you'll end up to the no effects desktop. Just logout, select your account, select the new desktop at the bottom, and log in.

Nerdknight: There is more to Unity than just the launcher/search paradigm, since it uses easier window management, thanks to Compiz. Am I wrong?

I hope this issue will be fixed soon.

Revision history for this message
ppareit (ppareit) wrote :

(Classic Gnome with desktop effects enabled)
If I have this problem and do ALT+F2 'compiz --replace' it solves itself and does not happen again.

Revision history for this message
Claudiu Bulcu (cbulcu) wrote :

ppareit: I tested it on my system. And it did replace, but I was able to reproduce the bug, right after that, with Squirrel SQL, which I chose to test with.

Revision history for this message
John Dunlap (john-dunlap) wrote :

I'm using Unity 2D and it seems to fix the problem except that there is no longer a maximize button on my debugging console window... :(

Revision history for this message
Ruth Alkema (ruth) wrote :

I typed:
gtk-window-decorator --replace
and that solved it for me.

This way I use another window-decorator, no longer the unity-window-decorator.

Revision history for this message
John Dunlap (john-dunlap) wrote :

How do I switch back to unity 3D so I can try replacing the window decorator?

Revision history for this message
Lucas Madar (lucas-madar) wrote :

Sorry, I misspoke in my previous comment. I posted an ltrace and a backtrace in bug #776312.

Is there any way we can get the priority increased on this bug?

Revision history for this message
Rocrail (r.j.versluis) wrote :

The "gtk-window-decorator --replace" works for me too.
How can it be saved for follow-up logins?

summary: - Windows border disappears when closing Java windows
+ unity-window-decorator crashes with SIGSEGV when closing Java windows
Revision history for this message
Ken Southerland (crowmagnumb) wrote :

This is super annoying and actually debilitating as I am a java developer and it makes it so that I can't even use the mouse or keyboard correctly in all of my windows when it occurs. Super frustrating. I just tried the "compbiz --replace" command and it has worked for me. I hope, like @ppareit it does not return until a reboot. We shall see.

Revision history for this message
Ken Southerland (crowmagnumb) wrote :

UPDATE: Alas the "compbiz --replace" fix is only temporary. I am forced to run it many times an hour! Please fix this bug. Please?

Revision history for this message
dsn0wman (josgray) wrote :

@Ken Southerland - Is using openJDK an option? That is the current work-around which is working for me.

Revision history for this message
Nerdknight (nerdknight) wrote :

Use the workaround proposed by Ruth Alkema, using gtk-window-decorator instead compiz:

gtk-window-decorator --replace

It worked for me

Revision history for this message
Lucas Madar (lucas-madar) wrote :

Unfortunately, OpenJDK contains bugs in the 2D renderer that render it unusable.

Revision history for this message
Babaei (babaei) wrote :

I'm seeing the same problem with Java-based software (MATLAB and COMSOL). I'm going to try replacing the unity-window-decorator with gtk-window-decorator and see if it fixes the problem (until unity-window-decorator can get fixed).

Revision history for this message
Babaei (babaei) wrote :

As an update, I was working with COMSOL 4.0a (a Java-based application) using Ubuntu 11.04 64-bit. I was closing the program (about the 4th time today) and gtk-window-decorator gave me a segmentation fault. Knowing this bug, I was able to relaunch unity-window-decorator and recover my session.

Revision history for this message
Mario Emmenlauer (emmenlau) wrote :

I can reproduce this problem on Ubuntu Classic and Unity sessions. It affects Matlab 2009b, 2010b and Fiji (an ImageJ clone). I can temporarily fix the problem using "compiz --replace" or "gtk-window-decorator --replace", but it will eventually come again, rendering Natty almost unusable for me. Please fix! :-(

Revision history for this message
Ian Will (icwill) wrote :

I also have this problem, compiz --replace is a temporary workaround, but I'd love to see this addressed. I'm using the sun JDK.

Revision history for this message
Christoph Buchner (bilderbuchi) wrote :

Shouldn't this also "affect unity"?

Revision history for this message
Bjarni Thorbjornsson (bjarnit) wrote :

This bug made me switch to Classic :(

Revision history for this message
Michael Papile (x-p) wrote :

This is occurring with Jetbrains Rubymine for me all the time as well. happens when closing a window or modal alert on occasion. Any fix coming?

Revision history for this message
frank rothmann (rothmann) wrote :

I have the same problem with rubymine, intellij idea, dbviz and a couple of other java apps. I can't see that this is an "importance low" problem. After the compiz --replace comand I had two times a complete system crash. The LTS-version was absolutely stable with the same apps.

Please, fix the problem!

Revision history for this message
dsn0wman (josgray) wrote : Re: [Bug 727143] Re: unity-window-decorator crashes with SIGSEGV when closing Java windows

I bet this process would go faster if everyone could get a stack trace form
unity-window-decorator when it crashes, and upload it.

On Fri, May 27, 2011 at 5:27 AM, frank rothmann <email address hidden>wrote:

> I have the same problem with rubymine, intellij idea, dbviz and a couple
> of other java apps. I can't see that this is an "importance low"
> problem. After the compiz --replace comand I had two times a complete
> system crash. The LTS-version was absolutely stable with the same apps.
>
> Please, fix the problem!
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/727143
>
> Title:
> unity-window-decorator crashes with SIGSEGV when closing Java windows
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/727143/+subscribe
>

Revision history for this message
Lucas Madar (lucas-madar) wrote :

I have posted a stack trace, but it's in one of the bugs marked as a duplicate of this bug. I can get a new stack trace about every 30 minutes.

Is there any way to escalate this bug or have someone re-review it? It happens with gtk-window-decorator, too.

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Compiz] [Bug 727143] Re: unity-window-decorator crashes with SIGSEGV when closing Java windows

On Fri, May 27, 2011 at 8:27 PM, frank rothmann <email address hidden> wrote:
> I have the same problem with rubymine, intellij idea, dbviz and a couple
> of other java apps. I can't see that this is an "importance low"
> problem. After the compiz --replace comand I had two times a complete
> system crash. The LTS-version was absolutely stable with the same apps.

Hm, can you give me any examples from the software center of
applications which cause this crash? I've seen it a few times myself,
but i can't reproduce it reliably

>
> Please, fix the problem!
>
> --
> You received this bug notification because you are a member of compiz
> packagers, which is subscribed to compiz in Ubuntu.
> https://bugs.launchpad.net/bugs/727143
>
> Title:
>  unity-window-decorator crashes with SIGSEGV when closing Java windows
>
> _______________________________________________
> Mailing list: https://launchpad.net/~compiz
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~compiz
> More help   : https://help.launchpad.net/ListHelp
>

--
Sam Spilsbury

Revision history for this message
JD Rogers (rogersjd) wrote :

Possible temporary workaround:

I've had this problem quite a lot since upgrading while running matlab as others have commented. Once the error message pops up, answering yes/no/cancel all results in losing all window decorations.

However, if instead of answering the error message, if you merely minimize the error dialog, the window decorations continue functioning apparently indefinitely. I only have an N of one here, so YMMV, but until the patches come, it appears to work for me.

Revision history for this message
mauros (g-angeletos) wrote :

It happens for me as well with soapui 3.6.1 - when an popup dialog opens.

Revision history for this message
Nerdknight (nerdknight) wrote :

Sam:
I've made a java program to reproduce this bug. It's attached to the bug thread:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/727143/+attachment/2109053/+files/CompizWindowsBorderDisapperTest.tar.gz
The jar executable is inside the dist folder. To reproduce the bug, open several windows with it and then close them.

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

You're awesome. thanks.

On Wed, Jun 1, 2011 at 4:51 AM, Nerdknight <email address hidden> wrote:
> Sam:
> I've made a java program to reproduce this bug. It's attached to the bug thread:
> https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/727143/+attachment/2109053/+files/CompizWindowsBorderDisapperTest.tar.gz
> The jar executable is inside the dist folder. To reproduce the bug, open several windows with it and then close them.
>
> --
> You received this bug notification because you are a member of compiz
> packagers, which is subscribed to compiz in Ubuntu.
> https://bugs.launchpad.net/bugs/727143
>
> Title:
>  unity-window-decorator crashes with SIGSEGV when closing Java windows
>
> _______________________________________________
> Mailing list: https://launchpad.net/~compiz
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~compiz
> More help   : https://help.launchpad.net/ListHelp
>

--
Sam Spilsbury

Changed in compiz (Ubuntu):
assignee: nobody → Sam "SmSpillaz" Spilsbury (smspillaz)
milestone: none → natty-updates
importance: Low → Medium
Changed in unity:
milestone: none → 3.8.16
assignee: nobody → Sam "SmSpillaz" Spilsbury (smspillaz)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Hmm, does this only happen with Oracle's JDK? I can't reproduce it with the default ubuntu one.

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

Hmm, that testcase doesn't do it for me, even with Sun's JDK.

Are you able to get a backtrace? Follow the instructions in https://wiki.ubuntu.com/DebuggingProgramCrash and then run gdb unity-window-decorator
run --replace

and then reproduce the crash. and then in the gdb console type "bt" and paste the output.

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

Yeah, I can't reproduce this on my netbook either. Anyone else got some applications which are likely to tickle this bug?

Revision history for this message
Achim (ach1m) wrote :

Hi Sam,
this are my steps to reproduce the problem from duplicate Bug #741508

Steps to reproduce the problem:

1. start Scilab (in my case 5.3 from the official website)
2. launch Xcos [Menu](Applications→Xcos)
3. use Xcos (drag an item from the palette browser to the Xcos window right click on the item and open "Block parameters…"
close the dialog again. The window decorator should have been crashed now)

Revision history for this message
Nerdknight (nerdknight) wrote :

I can reproduce the bug with the program I made (https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/727143/+attachment/2109053/+files/CompizWindowsBorderDisapperTest.tar.gz) , sometimes the bug doesn't appears with the first attempt.
Here are the steps I made:
1. Execute the program (right click on the CompizWindowsBorderDisapperTest.jar file and open with Sun Java 6 Runtime.
2. Click on the Open button 6 or more time.
3. Close the opened windows.
If the windows borders don't disappear with the first try, close the program and follow the above steps again until it crash.

When it crashes compiz throws the following output:
(unity-window-decorator:3673): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed

Revision history for this message
Colin Smiley (developer-b) wrote :

I regularly see this using Jet Brains IntelliJ IDEA 10.5. Every time I commit code to SVN I get the compiz SIGSEGV.
To Reproduce:
1) Have a large java project managed by SVN in IDEA.
2) Make a change.
3) Commit (Ctrl-K)
4) Click Commit
5) Click Commit on Dialog that pops up.

At this point, Compiz crashes. As you might imagine, I have to execute compiz --replace quite a bit...

Revision history for this message
mtoader (mtoader) wrote :

I have the same failing workflow. The only difference is the SCM sistem (git instead of svn).

Revision history for this message
Juanjo Vázquez (juanjo-vazquez) wrote :

I always run into this problem using Oracle IDEs such as JDeveloper or SQL Developer. It´s really annoying...

Revision history for this message
safetytrick (safetytrick) wrote :

I have similar problems with intellij, instead of using compiz --replace. I'm using gtk-window-decorator --replace. Using this command is much faster.

Revision history for this message
mauros (g-angeletos) wrote :

This is the error thrown when title bars disappear:

(unity-window-decorator:2956): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GObject'

(unity-window-decorator:2956): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed

It happens consistently with soapui (a java application) when opening and closing dialog windows.

Revision history for this message
Olli Nevalainen (olli-nevalainen) wrote :

Hope this helps:

(unity-window-decorator:6151): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed

(unity-window-decorator:6151): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed

(unity-window-decorator:6151): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed

(unity-window-decorator:6151): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GObject'

(unity-window-decorator:6151): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed

Program received signal SIGSEGV, Segmentation fault.
window_closed (screen=<value optimised out>, win=0x7b40d0) at /build/buildd/compiz-0.9.4+bzr20110415/unity/unity_window_decorator/src/wnck.c:723
723 /build/buildd/compiz-0.9.4+bzr20110415/unity/unity_window_decorator/src/wnck.c: No such file or directory.
        in /build/buildd/compiz-0.9.4+bzr20110415/unity/unity_window_decorator/src/wnck.c
(gdb) bt
#0 window_closed (screen=<value optimised out>, win=0x7b40d0) at /build/buildd/compiz-0.9.4+bzr20110415/unity/unity_window_decorator/src/wnck.c:723
#1 0x00007ffff4ed581c in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2 0x00007ffff4ee7019 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3 0x00007ffff4ef0258 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4 0x00007ffff4ef041f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5 0x00007ffff7228d44 in ?? () from /usr/lib/libwnck-1.so.22
#6 0x00007ffff72293d4 in ?? () from /usr/lib/libwnck-1.so.22
#7 0x00007ffff4609bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8 0x00007ffff460a3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9 0x00007ffff460a9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff6d04af7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x0000000000409864 in main (argc=2, argv=0x7fffffffe278)
    at /build/buildd/compiz-0.9.4+bzr20110415/unity/unity_window_decorator/src/gtk-window-decorator.c:440

Revision history for this message
mtoader (mtoader) wrote :

Added one more bug report

Revision history for this message
mtoader (mtoader) wrote :

Another crash report generated by bugbuddy.

Revision history for this message
mtoader (mtoader) wrote :

And another one ;)

Revision history for this message
Alfe (alfeberlin) wrote :

I'm using 11.04 with classic gnome sessions, some features (wobbly windows, shadows, a chosen style etc.) on a Dell E6510 with intel full-HD graphic and experience the decorator crashes extremely often (typically, I just need some seconds to reproduce). Opening the "System" drop-down menu is usually enough to start the flickering.

Since several weeks I have now switched off the decorator plugin; my windows have neither borders nor shadows, thus. The optics are rather dull this way.

I am wondering: This cannot be what everybody else is experiencing; it would never have been released this way. But what can be the special aspect in my case? Any ideas for another workaround (instead of switching off the decorator) are welcome.

Revision history for this message
Christoph Buchner (bilderbuchi) wrote :

This sounds like another bug - look for existing bugs or report a new one, please.

Revision history for this message
Alfe (alfeberlin) wrote :

I don't think I've got another bug; I think I just found some other triggers for the current bug. Why? Because if I create a new user with a default configuration of compiz, I've got no immediate trouble using the decorator (everything seems to work fine in the beginning). So far I haven't been able to figure out what part of my configuration causes the high probability of the decorator crashes. Hence my question here. Maybe somebody knows or has at least an idea what can be the trigger.

Revision history for this message
Tamale (uictamale) wrote :

Just posting to say that I am also getting this bug with unity-window-decorator, with the exact same output as pasted several times already.. 'assertion failed'. It happens with both the sunJDK and the openJDK, but for whatever reason gtk-window-decorator works.

Revision history for this message
mauros (g-angeletos) wrote :

Please change the priority to urgent / high. This makes unity unusable for Java developers.

Revision history for this message
Ryan (bovorasr) wrote :

I agree, this is one notch below "blocker," since it segfaults unity and renders the system unusable for practical purposes. The only reason it's not a complete "blocker" is that you can potentially 'compiz --replace' every time a message box pops up and crashes the window decorator. Which, for people who use Java, is every couple of minutes, randomly, depending on the application.

The issue affects users of commercial Java software, which is fairly common for production Desktop Linux environments in business (i.e. Java programs are cross-platform and used often in industry).

It's not just Java developers who will run into this: it's anyone using commercial, cross-platform Java applications.

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

Thanks for the comments. I have a rough idea of what's going on. I'll look into this when I get back.

Revision history for this message
David Barth (dbarth) wrote :

Raising the importance, since there are reproducible test cases and crash logs.

Changed in unity:
milestone: 3.8.16 → 3.8.18
importance: Medium → High
Changed in compiz (Ubuntu):
importance: Medium → High
Revision history for this message
mazurkin (mazurkin) wrote :

Hi. I have some ideas to check today.

1. Did anyone ever tried to disable all compiz effects except "Window Decoration" in CompizConfig ?

2. There is gtk-window-manager which could be started with "gtk-window-manager --replace" - is there any difference from unity-window-manager?

Revision history for this message
safetytrick (safetytrick) wrote : Re: [Bug 727143] Re: unity-window-decorator crashes with SIGSEGV when closing Java windows

I still get see this bug with gtk-window-manager --replace

The only difference I've noticed is that the decorators reappear very quickly.

On Jun 15, 2011, at 10:21 PM, mazurkin <email address hidden> wrote:

> Hi. I have some ideas to check today.
>
> 1. Did anyone ever tried to disable all compiz effects except "Window
> Decoration" in CompizConfig ?
>
> 2. There is gtk-window-manager which could be started with "gtk-window-
> manager --replace" - is there any difference from unity-window-manager?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/727143
>
> Title:
> unity-window-decorator crashes with SIGSEGV when closing Java windows
>
> Status in Unity:
> Confirmed
> Status in “compiz” package in Ubuntu:
> Confirmed
>
> Bug description:
> Binary package hint: compiz
>
> Hi,
> I am using up-to-date natty and when I start and close a .jnlp file (eg: http://download.oracle.com/javase/tutorialJWS/uiswing/components/ex6/TabbedPaneDemo.jnlp) with sun-java6, my window borders just disappear and I have to reload compiz with compiz --replace in order to get my borders back.
>
> Compiz is still working background, because I still get window moving
> and Compiz plugins are still working. It's just borders that
> disappear.
>
> In order to reproduce (it does it each time):
> 1) download http://download.oracle.com/javase/tutorialJWS/uiswing/components/ex6/TabbedPaneDemo.jnlp
> 2) double click TabbedPaneDemo.jnlp or launch with javaws TabbedPaneDemo.jnlp
> 3) close the app, window borders should disappear from ALL of your windows.
>
> If this bug is confirmed, I think it is quite important to fix it for
> natty stable.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity/+bug/727143/+subscriptions

Revision history for this message
Alexander Daniel (alexander-daniel) wrote :

I am also still seeing this issue with gtk-window-manager --replace. But it happens less frequently than with unity-window-decorator.

Revision history for this message
mazurkin (mazurkin) wrote :

I cleared up all options in "Effects" section of CompizConfig Setting Manager - except "Windows Decoration" options. Then I entered "/usr/bin/gtk-window-decorator" in the "Command" field of the "Windows Decoration" option. When rebooted my computer.

I haven't noticed this bug for two last days

Revision history for this message
lrkwz (luca-orlandi) wrote :

Seems to be fixed by

java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)

installed today

Start-Date: 2011-06-19 17:20:12
Upgrade: icedtea6-plugin:i386 (6b21.1~20110420-0ubuntu1, 6b21.1~20110420-0ubuntu1.1), python-libxml2:i386 (2.7.8.dfsg-2, 2.7.8.dfsg-2ubuntu0.1), icedtea-plugin:i386 (1.1~20110420-0ubuntu1, 1.1~20110420-0ubuntu1.1), icedtea-6-jre-cacao:i386 (6b22-1.10.1-0ubuntu1, 6b22-1.10.2-0ubuntu1~11.04.1), openjdk-6-jre-headless:i386 (6b22-1.10.1-0ubuntu1, 6b22-1.10.2-0ubuntu1~11.04.1), openjdk-6-jdk:i386 (6b22-1.10.1-0ubuntu1, 6b22-1.10.2-0ubuntu1~11.04.1), openjdk-6-jre:i386 (6b22-1.10.1-0ubuntu1, 6b22-1.10.2-0ubuntu1~11.04.1), icedtea-netx:i386 (1.1~20110420-0ubuntu1, 1.1~20110420-0ubuntu1.1), icedtea-6-jre-jamvm:i386 (6b22-1.10.1-0ubuntu1, 6b22-1.10.2-0ubuntu1~11.04.1), flashplugin-installer:i386 (10.3.181.22ubuntu0.11.04.1, 10.3.181.26ubuntu0.11.04.1), openjdk-6-jre-lib:i386 (6b22-1.10.1-0ubuntu1, 6b22-1.10.2-0ubuntu1~11.04.1), libxml2:i386 (2.7.8.dfsg-2, 2.7.8.dfsg-2ubuntu0.1), foo2zjs:i386 (20110210dfsg-1ubuntu2, 20110210dfsg-1ubuntu2.1), libxml2-utils:i386 (2.7.8.dfsg-2, 2.7.8.dfsg-2ubuntu0.1), xserver-xorg-input-synaptics:i386 (1.3.99+git20110116.0e27ce3a-0ubuntu12, 1.3.99+git20110116.0e27ce3a-0ubuntu12.1)
End-Date: 2011-06-19 17:21:15

Revision history for this message
Claudiu Bulcu (cbulcu) wrote :

@lrkwz: I reported the issue against sun java version 24, so I would not be so sure about what you reported here.

Revision history for this message
Georgios Larkou (ntenisot-3) wrote :

Really big problem. Please Fix it.

Changed in unity:
status: Confirmed → In Progress
status: In Progress → Confirmed
Revision history for this message
alfabravoteam (alfabravoteam) wrote :

Also have 1.6 update 24 and used it when repoted the bug (as a duplicate). I think that's not the path to follow

Revision history for this message
oded bahar (oded86) wrote :

Also have the same bug using SOAP-UI - huge problem for my development work, please fix.

Revision history for this message
david wood (david-wood) wrote :

I would never tell anyone they "must" fix a bug - but I would strongly suggest that Ubuntu prominently indicate on the Natty download pages that it currently doesn't work very well with Java. Then I'd take the notice down if/when the bug is ever fixed.

That's just helping to save people time by letting them know when to avoid Natty. I think being a good neighbor in this way could be done in minutes, and I'm sure it would be much appreciated.

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Compiz] [Bug 727143] Re: unity-window-decorator crashes with SIGSEGV when closing Java windows

It will be fixed as soon as I get back from my exam leave :) I've
finally found a way to reliably reproduce this, so I can start working
on it accurately now.

On Tue, Jun 21, 2011 at 8:50 PM, oded bahar <email address hidden> wrote:
> Also have the same bug using SOAP-UI - huge problem for my development
> work, please fix.
>
> --
> You received this bug notification because you are a member of compiz
> packagers, which is subscribed to compiz in Ubuntu.
> https://bugs.launchpad.net/bugs/727143
>
> Title:
>  unity-window-decorator crashes with SIGSEGV when closing Java windows
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity/+bug/727143/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~compiz
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~compiz
> More help   : https://help.launchpad.net/ListHelp
>

--
Sam Spilsbury

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

This bug is a race condition. It affects different applications on
different systems. It's not a blanket thing that we can say "it
doesn't work with all java applications" because that's not true.

On Tue, Jun 21, 2011 at 8:53 PM, david wood <email address hidden> wrote:
> I would never tell anyone they "must" fix a bug - but I would strongly
> suggest that Ubuntu prominently indicate on the Natty download pages
> that it currently doesn't work very well with Java. Then I'd take the
> notice down if/when the bug is ever fixed.
>
> That's just helping to save people time by letting them know when to
> avoid Natty. I think being a good neighbor in this way could be done in
> minutes, and I'm sure it would be much appreciated.
>
> --
> You received this bug notification because you are a member of compiz
> packagers, which is subscribed to compiz in Ubuntu.
> https://bugs.launchpad.net/bugs/727143
>
> Title:
>  unity-window-decorator crashes with SIGSEGV when closing Java windows
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity/+bug/727143/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~compiz
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~compiz
> More help   : https://help.launchpad.net/ListHelp
>

--
Sam Spilsbury

Revision history for this message
Alexander Daniel (alexander-daniel) wrote :

I tried the advice of mazurkin: I cleared up all options in "Effects" section of CompizConfig Setting Manager - except "Windows Decoration" options. Then I entered "/usr/bin/gtk-window-decorator" in the "Command" field of the "Windows Decoration" option. When rebooted my computer. I haven't noticed this bug for two last days.

Unfortunately I am still seeing the issue when following the advice with the Java applications Freeplane and IntelliJ IDEA.

Revision history for this message
david wood (david-wood) wrote :

Sam, thank you for the updates. If there's any way we can help - further diagnostics, troubleshooting, testing, etc. - please let us know.

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

I've got a fix for one case of this happening, where the client sets the WM_TRANSIENT_FOR hint before compiz has a chance to set an input frame. I know there are other cases too, so if you keep getting this crash after the next SRU, please let me know.

I will attach a testcase which shows this happening later. For now, one can use DeskZilla, opening it should reproduce the crash and this branch will fix that case

Changed in compiz (Ubuntu Natty):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Sam Spilsbury (smspillaz) wrote :
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

running the testcase will reproduce the bug on the old version.

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

This bug was fixed in the package compiz - 1:0.9.4+bzr20110606-0ubuntu4

---------------
compiz (1:0.9.4+bzr20110606-0ubuntu4) oneiric; urgency=low

  * debian/patches/00_bzr_fix_727143.patch:
    - Fix unity-window-decorator crashes with SIGSEGV when closing Java
      windows (LP: #727143)
 -- Didier Roche <email address hidden> Fri, 24 Jun 2011 10:46:01 +0200

Changed in compiz (Ubuntu Oneiric):
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

So once the fix is confirmed to work on oneiric it will be backport for a natty stable update

Revision history for this message
Sebastien Bacher (seb128) wrote :

the testcase doesn't trigger the bug for me but running deskzilla does and I can confirm that the oneiric update fixes the issue

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted compiz into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in compiz (Ubuntu Natty):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
Nerdknight (nerdknight) wrote :

I've tested the fix and it seems that it works, I couldn't reproduce the bug so far.

Revision history for this message
david wood (david-wood) wrote :

Same here - fix appears successful.

Martin Pitt (pitti)
tags: added: verification-donee
removed: verification-needed
tags: added: verification-done
removed: verification-donee
Revision history for this message
Jan Lolling (jan-lolling-gmail) wrote :

I can reproduce this bug with every Java version (build in release 1.6.0_22 and my own installation 1.6.0_26.
I use the 64bit-versions.

Revision history for this message
reliable-robin-22 (nicolasdiogo) wrote :

Hi

just to add my name to the list of people suffering this Bug.
it happens when running Unity (Ubuntu Default 11.04) or the 'Gnome Classic'

it happen when using JAVA applications (netbeans, eclipse,... )

[code]
11436.227652] unity-window-de[3913]: segfault at 318 ip 0000000000415d6f sp 00007fffcf076660 error 6 in unity-window-decorator[400000+1b000]
[/code]

thanks

Revision history for this message
frank rothmann (rothmann) wrote :

Hi,

I've installed the compiz fix 4 days ago. Since then I have no problems. I use ubuntu11.04, unity, sun-java, inelliJ idea, rubymine, dbviz and personalbrain. I had heavy problems with all instaled java apps before, now everything is all right.

Regards

Frank

Revision history for this message
david wood (david-wood) wrote :

After 4 days of heavy use w/ the new compiz build in -proposed, I can report this problem still appears completely cured, with no negative side effects.

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

This bug was fixed in the package compiz - 1:0.9.4+bzr20110606-0ubuntu1~natty2

---------------
compiz (1:0.9.4+bzr20110606-0ubuntu1~natty2) natty-proposed; urgency=low

  * debian/patches/00_bzr_fix_727143.patch:
    - Fix unity-window-decorator crashes with SIGSEGV when closing Java
      windows (LP: #727143)
 -- Didier Roche <email address hidden> Fri, 24 Jun 2011 10:52:47 +0200

Changed in compiz (Ubuntu Natty):
status: Fix Committed → Fix Released
Revision history for this message
blurry (brendan-robert) wrote :

Sweet!!! Thanks for fixing this one -- it was a downer to my Unity experience.

Revision history for this message
Ken Southerland (crowmagnumb) wrote :

Yes!! Thank you, thank you, thank you! This was driving me batty and almost had me longing for Windoze. Yes it was that bad. I was running "compiz --replace" every 10 minutes basically and it would quickly lead to having to reboot the machine as it would hang and I was having to do this a few times a day. I'm not kidding.

Revision history for this message
dsn0wman (josgray) wrote : Re: [Bug 727143] Re: unity-window-decorator crashes with SIGSEGV when closing Java windows

Thanks for the fix, any word on when it will hit the natty repositories?

On Wed, Jul 6, 2011 at 9:36 AM, Ken Southerland
<email address hidden>wrote:

> Yes!! Thank you, thank you, thank you! This was driving me batty and
> almost had me longing for Windoze. Yes it was that bad. I was running
> "compiz --replace" every 10 minutes basically and it would quickly lead
> to having to reboot the machine as it would hang and I was having to do
> this a few times a day. I'm not kidding.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/727143
>
> Title:
> unity-window-decorator crashes with SIGSEGV when closing Java windows
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity/+bug/727143/+subscriptions
>

Revision history for this message
Claudiu Bulcu (cbulcu) wrote :

@dsn0wman If you haven't already updated your Natty system, just do it.

Revision history for this message
dsn0wman (josgray) wrote :

@Claudiu - This is my every day work machine so I don't think I'll be
putting any alpha releases on it. I am just wondering if the fix has moved
from proposed to the stable natty packages.

On Thu, Jul 7, 2011 at 6:12 AM, Claudiu Bulcu <email address hidden>wrote:

> @dsn0wman If you haven't already updated your Natty system, just do it.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/727143
>
> Title:
> unity-window-decorator crashes with SIGSEGV when closing Java windows
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity/+bug/727143/+subscriptions
>

Revision history for this message
Claudiu Bulcu (cbulcu) wrote :

@dsn0wman I only have stable updates checked (proposed not checked), so it was the stable package.

Revision history for this message
Pablo Saavedra (pablo-a-saavedra) wrote :

I just hit this bug with the latest compiz update on Natty. It happened while closing the audio conference window in a webex application. I will see if I can reliably reproduce it and post the results here.

Revision history for this message
Franco (francogpellegrini) wrote :

i have the same problem right now (ubuntu 11.04 updated up to 16 september)

Revision history for this message
Bryce Nesbitt (bryce2) wrote :

I can trigger this like the OP with Java.

After the most recent patch (a few days ago) it happens always and the old fix won't work:

hardhat:~> gtk-window-decorator
Xlib: extension "RANDR" missing on display ":0.0".
gtk-window-decorator: Screen 0 on display ":0.0" already has a decoration manager; try using the --replace option to replace the current decoration manager.
hardhat:~> gtk-window-decorator --replace
Xlib: extension "RANDR" missing on display ":0.0".
(hang)

Changed in unity:
status: Confirmed → Fix Released
Revision history for this message
Jean Pierre van den Bossche Lucas (jpvdbl-bcn) wrote :

I still get the same problem, with JAVA i particular, but also without, sometimes (although less)
Ubuntu 11.10

Revision history for this message
Paco Avila (monkiki) wrote :

Have the same problem in Ubuntu 12.04 + Sun (Oracle) JDK 1.6.0_32

Revision history for this message
david wood (david-wood) wrote :

Yup. Something similar is back. Confirmed with Canonical packaged IcedTea 7
as well. Several crash reports sent back.

It doesn't express quite the same way. For instance, a modal dialog used to
reliably trigger it. Now, window creation in general just seems risky.
On May 14, 2012 6:31 AM, "Paco Avila" <email address hidden> wrote:

> Have the same problem in Ubuntu 12.04 + Sun (Oracle) JDK 1.6.0_32
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (775430).
> https://bugs.launchpad.net/bugs/727143
>
> Title:
> unity-window-decorator crashes with SIGSEGV when closing Java windows
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity/+bug/727143/+subscriptions
>

Revision history for this message
dsn0wman (josgray) wrote :

I have been using the open JDK, and it works well if thats an option for
you.

On Mon, May 14, 2012 at 3:22 AM, Paco Avila <email address hidden> wrote:

> Have the same problem in Ubuntu 12.04 + Sun (Oracle) JDK 1.6.0_32
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/727143
>
> Title:
> unity-window-decorator crashes with SIGSEGV when closing Java windows
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity/+bug/727143/+subscriptions
>

Revision history for this message
david wood (david-wood) wrote :

Just to be clear, all the crash reports I have originated occurred while using the OpenJDK (IcedTea).

Changed in unity (Ubuntu):
status: New → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

natty has seen the end of its life and is no longer receiving any updates. Marking the natty task for this ticket as "Won't Fix".

Changed in unity (Ubuntu Natty):
status: New → Won't Fix
Revision history for this message
Rolf Leggewie (r0lf) wrote :

oneiric has seen the end of its life and is no longer receiving any updates. Marking the oneiric task for this ticket as "Won't Fix".

Changed in unity (Ubuntu Oneiric):
status: New → Won't Fix
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.