[Bug 432677] Re: Java JComboBox callback freezes Xorg
IntelliJ IDEA *always* runs on Jetbrains JDK. It's made to run it's own bundled JDK. The JDK can be overridden but it screws with font rendering (purple edges) and possibly other things. The application under debug, however, should *not* run on de Jetbrains JDK. While possible, the Jetbrains themselves discourages it. In project settings you look at the list of installed SDKs and see if the project uses OpenJDK or not. This is the case in my case. It seems indeed that OpenJDK-11.0.4 which I run is affected buy this "fixed in JDK 7" bug 6714678 you linked. They talk about adding a VM argument `-Dsun.awt.disablegrab=true` and this indeeds prevents Xorg from freezing. Simple steps to reproduce (I hope): - sudo apt install openjdk-11-jdk - Download IntelliJ IDEA Community edition, Extract somewhere, run - Create new project (all settings default) - File > Project Structure... > SDKs > Check for or add OpenJDK - Put XLock.java in the src directory - Remove the line `package xlock;` which is now an error - Click next to line number 24 to toggle a breakpoint there - Debug (green cocroach button) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/432677 Title: Java JComboBox callback freezes Xorg To manage notifications about this bug go to: https://bugs.launchpad.net/sun-java/+bug/432677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
Karl-Philipp, Thank you for taking the time to report this bug and helping to make Ubuntu better. However, according to this report, you do not seem to be using Ubuntu's OpenJDK and neither it is the latest version. While it was stated that OpenJDK 11 was used the actual version in the report indicates that JetBrains's VM version 1.8.0_152 was in use. Please try to reproduce it with the most recent version in Ubuntu and let us know if you are still having this issue. Also, please explicitly state the steps that you used to reproduce it and attach - or provide a URL link to - files required for the reproduction (as in XLock.java). Additionally it would be nice to know if you can reproduce it as described in the original bug report in Sun (https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6714678) to be sure we are still dealing with the exact same bug. For now I'm setting its status to Incomplete until that information is provided. You can learn more about bug statuses at http://wiki.ubuntu.com/Bugs/Status. Thanks in advance. ** Changed in: openjdk-6 (Ubuntu) Status: Triaged => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/432677 Title: Java JComboBox callback freezes Xorg To manage notifications about this bug go to: https://bugs.launchpad.net/sun-java/+bug/432677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
I could reproduce the issue with IntelliJ IDEA 2018.3.3 (Community Edition) Build #IC-183.5153.38, built on January 9, 2019 JRE: 1.8.0_152-release-1343-b26 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.18.0-13-generic when running a minimal Maven project around XLock.java with OpenJDK 11 on Ubuntu 18.10(!). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/432677 Title: Java JComboBox callback freezes Xorg To manage notifications about this bug go to: https://bugs.launchpad.net/sun-java/+bug/432677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
Solution by @Dave Brosius works on Java 8u60 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/432677 Title: Java JComboBox callback freezes Xorg To manage notifications about this bug go to: https://bugs.launchpad.net/sun-java/+bug/432677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
@Daniel Herrmann, changing look and feel did not help me. The problem exists even in Mars 4.5.0, build 20150621-1200 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/432677 Title: Java JComboBox callback freezes Xorg To manage notifications about this bug go to: https://bugs.launchpad.net/sun-java/+bug/432677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
I know this is quite old, but I still can confirm this bug at Ubuntu 14.04 with current packets installed. Further I can confirm it is not related to any IDE, it also happens (100% success rate) with JetBrains IntelliJ. However it also happens in normal "running" mode, it is not dependent on whether I am debugging or not. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/432677 Title: Java JComboBox callback freezes Xorg To manage notifications about this bug go to: https://bugs.launchpad.net/sun-java/+bug/432677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
Additional Information: Interestingly, it only happens when using System LookAndFeel. Using standard Java Look and Feel, nothing crashes, everything works as expected. Both in normal runtime mode as well as during debugging. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/432677 Title: Java JComboBox callback freezes Xorg To manage notifications about this bug go to: https://bugs.launchpad.net/sun-java/+bug/432677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
still seen in 6b18 and 7b89 ** Changed in: openjdk-6 (Ubuntu) Status: Confirmed => Triaged -- Java JComboBox callback freezes Xorg https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
I tried linking the upstream bug report, but Launchpad doesn't recognize Sun's bug tracker. ** Also affects: sun-java Importance: Undecided Status: New -- Java JComboBox callback freezes Xorg https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
** Package changed: xorg-server (Ubuntu) => openjdk-6 (Ubuntu) -- Java JComboBox callback freezes Xorg https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
I've just tested the code attached here with this option Dave told us. It works. Nothing freezes but the application itself. Thus, it's definitely not a bug in Xorg or any driver. The problem is in Java implementation for Linux. http://bugs.sun.com/view_bug.do?bug_id=6714678 I don't agree with their solution though. It's ugly but acceptable to ask a developer to use this option when debugging an application. The problem is that when a buggy application freezes in a combobox callback, it freezes the whole system to the normal user. What is the downside of making this option true by default? -- Java JComboBox callback freezes Xorg https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
@Dave the bug referenced in that thread is similar to this one, but that one was fixed in 6u10. It also only occurred when debugging the GUI callback, whereas comment #17 points out that this bug occurs if I/O or a CPU intensive computation occurs in the callback. -- Java JComboBox callback freezes Xorg https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
It's not just eclipse http://forums.netbeans.org/topic3831.html try: -Dsun.awt.disablegrab=true -- Java JComboBox callback freezes Xorg https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
[xorg is not the right package for this bug] ** Package changed: xorg (Ubuntu) => xorg-server (Ubuntu) -- Java JComboBox callback freezes Xorg https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg on Intel and ATI boards
Scratch that, I went back to see if I still didn't experience this, and for some reason, now I experience this bug 100% of the time. I'm not really sure why I didn't get this bug before though. ** Summary changed: - Java JComboBox callback freezes Xorg on Intel and ATI boards + Java JComboBox callback freezes Xorg -- Java JComboBox callback freezes Xorg https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg
Changed the title since this bug doesn't seem to be hardware-specific. Also changed the package, since it is most definitely not intel-related. ** Package changed: xserver-xorg-video-intel (Ubuntu) => xorg (Ubuntu) -- Java JComboBox callback freezes Xorg https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg on Intel and ATI boards
Really? Gabe reported that he could not reproduce this bug in his machine. I thought the difference was his nvidia board. Maybe we should change the title again. -- Java JComboBox callback freezes Xorg on Intel and ATI boards https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg on Intel and ATI boards
I can confirm this bug on Ubuntu 9,04, 32-Bit. The desktop totally freezes when debugging inside the Java JComboBox-callback in Eclipse. It only affects the ComboBox, debugging a JSlider callback works fine. This happens with Eclipse 3.5 and Eclipse 3.2 (from the Ubuntu repositories). Most important: This does not only happen with an ATI/AMD HD48x0 (fglrx driver, desktop effects disabled) it also occurs with a Nvidia Geforce8400 (nvidia driver, desktop effects enabled). So I think this bug is not restricted to ATI/AMD and Intel boards. java version "1.6.0_16" -- Java JComboBox callback freezes Xorg on Intel and ATI boards https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg on Intel and ATI boards
** Changed in: xserver-xorg-video-intel (Ubuntu) Status: Incomplete => Confirmed ** Tags added: karmic -- Java JComboBox callback freezes Xorg on Intel and ATI boards https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg on Intel and ATI boards
I've tested it with Karmic beta in a MacBook 4,1. Exactly the same behaviour. -- Java JComboBox callback freezes Xorg on Intel and ATI boards https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg on Intel and ATI boards
** Tags added: jaunty -- Java JComboBox callback freezes Xorg on Intel and ATI boards https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg on Intel and ATI boards
** Package changed: xorg (Ubuntu) => xserver-xorg-video-intel (Ubuntu) -- Java JComboBox callback freezes Xorg on Intel and ATI boards https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg on Intel and ATI boards
Also, can you test this on the latest Karmic release? ** Changed in: xorg (Ubuntu) Status: New => Incomplete -- Java JComboBox callback freezes Xorg on Intel and ATI boards https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 432677] Re: Java JComboBox callback freezes Xorg on Intel and ATI boards
Thanks for the clarification. So whatever action that you perform in the callback (Thread.sleep, big computation, etc.), should be run on the event-dispatching thread. This should freeze the GUI of your application, but definitely not Xorg as a whole. I'm going to mark this as a Xorg bug for now, but it may turn out this is a bug in Java, or maybe even in multiple graphics driver. ** Package changed: ubuntu => xorg (Ubuntu) -- Java JComboBox callback freezes Xorg on Intel and ATI boards https://bugs.launchpad.net/bugs/432677 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs