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 236361 - NetBeans Freezes on JDKu40 and Java 8
Summary: NetBeans Freezes on JDKu40 and Java 8
Status: RESOLVED DUPLICATE of bug 236101
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: Macintosh Mac OS X
: P1 normal with 1 vote (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-25 11:22 UTC by abien
Modified: 2014-01-13 00:57 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (48.83 KB, text/plain)
2013-09-25 11:22 UTC, abien
Details
NetBeans freezes on u40 (85.11 KB, application/zip)
2013-09-29 01:09 UTC, abien
Details
nb74rc1 freezes on java 8 (239.04 KB, application/zip)
2013-09-29 01:09 UTC, abien
Details
Thread dumps and sample for NB 7.4rc1 and Daily Build on JDK7u40 (41.76 KB, application/zip)
2013-10-01 05:58 UTC, abien
Details

Note You need to log in before you can comment on or make changes to this bug.
Description abien 2013-09-25 11:22:50 UTC
Product Version = NetBeans IDE 7.4 RC1 (Build 201309162201)
Operating System = Mac OS X version 10.8.5 running on x86_64
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b106)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b48, mixed mode)  (and all other JDK 8 builds)

NetBeans on JDKu40 (not u25 -> then we get a different bug: https://netbeans.org/bugzilla/show_bug.cgi?id=236360) and Java 8 freezes after a while (beach ball). It happens more frequently, then the u25 bug and makes NetBeans effectively unusable. 

JDKu40 and Java 8 come with Retina support. It seems like the problem is related to retina support.

However: NetBeans looks un JDKu40 and Java 8 really nice :-)
Comment 1 abien 2013-09-25 11:22:52 UTC
Created attachment 140450 [details]
IDE log
Comment 2 Marian Mirilovic 2013-09-25 12:49:16 UTC
Could you please generate thread-dump at time of freeze, attach it here and reopen ? Thanks in advance. Or even better use Profile Me feature and attach the snapshot ... 

http://wiki.netbeans.org/GenerateThreadDump#Profile_Me_Now
Comment 3 abien 2013-09-29 01:09:14 UTC
Created attachment 140611 [details]
NetBeans freezes on u40
Comment 4 abien 2013-09-29 01:09:53 UTC
Created attachment 140612 [details]
nb74rc1 freezes on java 8
Comment 5 abien 2013-09-29 01:10:38 UTC
Attached thread dumps and traces
Comment 6 Antonin Nebuzelsky 2013-09-30 11:06:05 UTC
Same symptoms as issue 236101. Please, comment in that issue. See the question from Pchelko who is working on the JDK bug.

*** This bug has been marked as a duplicate of bug 236101 ***
Comment 7 abien 2013-09-30 13:31:39 UTC
I attached a zip with thread dumps and OS Sample Process results. Is it sufficient?
Comment 8 Antonin Nebuzelsky 2013-09-30 13:44:05 UTC
(In reply to abien from comment #7)
> I attached a zip with thread dumps and OS Sample Process results. Is it
> sufficient?

The one from 7u40 includes the same problem as in the issue 236101, the AppKit thread is blocked. See the issue 236101 for more information about the JDK bug which has been filed against 7u40 and is now being investigated.

I also see about ten crash dumps in the other attachement but they are from 7u25 and should not occur on 7u40. If you will encounter also a crash on 7u40 (not a freeze like this bug), please file a new bug under platform/jdk problems and attach a new crash dump.

*** This bug has been marked as a duplicate of bug 236101 ***
Comment 9 Antonin Nebuzelsky 2013-09-30 13:47:17 UTC
I added your 7u40 zip as another attachment to the JDK bug #8025588.
Comment 10 abien 2013-10-01 05:58:07 UTC
Created attachment 140676 [details]
Thread dumps and sample for NB 7.4rc1 and Daily Build on JDK7u40
Comment 11 guenti 2013-10-17 11:12:06 UTC
Same symptoms with fresh installed JDK7u45, especially if I change settings in the Fonts & Colors references.

Product Version: NetBeans IDE 7.4 (Build 201310111528)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Mac OS X version 10.8.5 running on x86_64; UTF-8; de_DE (nb)
Comment 12 _gza 2014-01-13 00:57:34 UTC
I receive errors when I debug a C++ application. When I restored the profile to Netbeans (the default profile), my problem went away.