This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | NetBeans freezes while opening a menu on Mac OS X | ||
---|---|---|---|
Product: | platform | Reporter: | fabriziogiudici <fabriziogiudici> |
Component: | Window System | Assignee: | issues@platform <issues> |
Status: | CLOSED WONTFIX | ||
Severity: | blocker | CC: | anebuzelsky, jbranam, mkubec, mmirilovic, saubrecht, tboudreau |
Priority: | P1 | Keywords: | JDK_SPECIFIC, RELNOTE |
Version: | 6.x | ||
Hardware: | Macintosh (x86) | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Thread Dump
Screen shot simple swing application to reproduce the jdk bug |
Description
fabriziogiudici
2009-06-20 08:10:04 UTC
Created attachment 83838 [details]
Thread Dump
Created attachment 83839 [details]
Screen shot
BTW, I suspect it could be related to the latest update from Apple, as in the Apple mailing list people are describing issues related to menus. Since it's an intermittent deadlock, not happening all the times, I'm decreasing the priority to P2. We need to know the reason before FCS goes out. Please Platform guys look at this issue ... thanks in advance. I'm in holidays for a few days, but I could have the connection. If there any specific thing that I can do, please let me know. Stando, Milane, try reproducing that on your Macs today. i have reproduced the deadlock with steps provided by the reporter my guess is that we're showing (or trying to) a global wait cursor for the whole main window and apple's jdk trips over when it updates the cursor while browsing in the main menu the workaround might -Dapple.laf.useScreenMenuBar=false I managed to reproduce the problem once so far (out of 7 invocations of IDE). i can reproduce this bug with a simple swing application which repeatedly opens and closes modal dialog from a frame window with apple menu. the same swing application runs fine when using jdk 1.5 or when apple screen menu is turned off i reported it as apple bug 6993269 My understanding is that this bug cannot be workarounded in NetBeans code, other than specifying "-Dapple.laf.useScreenMenuBar=false". The Mac users will complain if we move the main menu bar from the top of the screen to the main window frame, but this is currently the only quick fix for the problem. So, I suggest we do it, and also include this problem description in the release notes. Adding RELNOTE keyword. I will see if I can escalate this issue to be fixed ASAP on the Apple JDK side. I bet that if you manage to run under Mac OS X, 1.6.0_07 it runs fine. It must definitely be a gift by Apple JDK 1.6.0_13. So, let's cross fingers :-( But it should impact a good number of Java applications, so we might hope for a quick patch. Created attachment 83947 [details]
simple swing application to reproduce the jdk bug
after offline discussion with QE we decided not to workaround this bug on our side and wait for proper fix from apple. to be added to release notes for 6.7: # Random freezes on Mac OS X JDK 1.6.0 update 13 Description: There's a known Apple JDK bug (6993269) which may randomly freeze IDE when browsing through the main menu bar of the IDE. Workaround: Either switch to a different JDK version or modify default startup options in <netbeans dir>/etc/netbeans.conf to -J-Dapple.laf.useScreenMenuBar=false *** Issue 170196 has been marked as a duplicate of this issue. *** Fixed in Java for Mac OS X 10.5 Update 5. It is available via Software Update, and via manual download at <http://support.apple.com/downloads/DL924/en_US/JavaForMacOSX10.5Update5.dmg> Thanks for the confirmation. *** Issue 175894 has been marked as a duplicate of this issue. *** *** Bug 182695 has been marked as a duplicate of this bug. *** Reproducible in JDK 1.6.0_15, Mac OS 10.6.2 v/c |