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.

Bug 237148 - Netbeans 7.4 or 7.3.1 with jdk 1.7 or 1.8 starts freezing randomly on Mac 10.8.5
Summary: Netbeans 7.4 or 7.3.1 with jdk 1.7 or 1.8 starts freezing randomly on Mac 10...
Status: RESOLVED DUPLICATE of bug 236101
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.4
Hardware: Macintosh Mac OS X
: P1 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-15 18:00 UTC by nicolas-wsk
Modified: 2013-11-21 16:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump NetBeans freezing (13.26 KB, text/plain)
2013-10-15 18:00 UTC, nicolas-wsk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nicolas-wsk 2013-10-15 18:00:16 UTC
Created attachment 141106 [details]
Thread dump NetBeans freezing

Hi,

Since I installed Netbeans, it's always freezing at some point after 2 or 3 minutes, often when I'm creating a new files or when I'm changing the focus again on NetBeans. I have to force quit NetBeans, and nothing happen if I'm waiting.

I started with NetBeans 7.3.1 and JDK 1.7u40, I try to upgrade to Netbeans 7.4, it's was a little bit better but still freezing. So, I upgrade the JDK to 1.8 and it's still freezingwithout any reason.

I did several thread dump with jstack, and it's always the same thread in_native and the others blocked.

I think the problem is : 

Thread 1799: (state = IN_NATIVE)
 - sun.lwawt.macosx.LWCToolkit.doAWTRunLoopImpl(long, boolean, boolean) @bci=0 (Compiled frame; information may be imprecise)
 - sun.lwawt.macosx.LWCToolkit.doAWTRunLoop(long, boolean) @bci=5, line=722 (Compiled frame)
 - sun.lwawt.macosx.LWCToolkit.invokeAndWait(java.lang.Runnable, java.awt.Component) @bci=67, line=567 (Compiled frame)
 - sun.lwawt.macosx.LWCToolkit.invokeAndWait(java.util.concurrent.Callable, java.awt.Component) @bci=11, line=507 (Compiled frame)
 - sun.lwawt.macosx.CAccessibility.invokeAndWait(java.util.concurrent.Callable, java.awt.Component) @bci=2, line=80 (Compiled frame)
 - sun.lwawt.macosx.CAccessibility.getAccessibleIndexInParent(javax.accessibility.Accessible, java.awt.Component) @bci=15, line=287 (Interpreted frame)

But I'm not sure.

Product Version: NetBeans IDE 7.4 (Build 201310111528)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b51
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b109
System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb)

Thanks for your response. (the full last thread dump when NetBeans was freezing is attached.)
Comment 1 Marian Mirilovic 2013-10-17 09:10:57 UTC
please try just recently released JDk7u45, it contains couple fixes solving freezes on mac ... if you are still able to reproduce it, would be nice to provide exact steps to reproduce ... thanks in advance.
Comment 2 nicolas-wsk 2013-10-17 09:14:47 UTC
I downgrade my jdk to 1.7u25 and now it's working ! But I'll try the new version jdk 1.7u45 to see if it's working. Thanks
Comment 3 Antonin Nebuzelsky 2013-10-18 13:36:44 UTC
This is the same problem as issue 236101. The problem was introduced in 7u40 and the fix did not get into 7u45. The JDK bug (#8025588) is fixed only in JDK 8 codebase so far and should appear in a 7uX release.

*** This bug has been marked as a duplicate of bug 236101 ***