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: | Can't start NetBeans on Solaris x64|Sparc with JDK 1.6.0_01 | ||
---|---|---|---|
Product: | platform | Reporter: | Alexander Kouznetsov <mrkam> |
Component: | -- Other -- | Assignee: | issues@platform <issues> |
Status: | VERIFIED WONTFIX | ||
Severity: | blocker | CC: | anebuzelsky, mmirilovic, pchytil, rkubacki, ttran |
Priority: | P1 | Keywords: | GTK |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Solaris | ||
URL: | http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6550660 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Dump
Messages.log Dump |
Description
Alexander Kouznetsov
2007-03-14 18:05:30 UTC
Created attachment 39483 [details]
Dump
Created attachment 39484 [details]
Messages.log
Have you tried to run another Java application ? BTW: I don't think we could do anything here ;( Yes, I've successfully run a simple J2SE java application (Anagram Game). reported to JDK team : (Review ID: 930088) - Can't start NetBeans on Solaris x64 with JDK 1.6.0_01 The crash is result of calls to initialize GTK libs. Want to close as WONTFIX with a link to JDK bug? Petr, please look at this. We need to be sure whether IDE runs on Sol10/x86 with JDK 6.0_01. Thanks in advance. I was unable to reproduce it on this configuration: NetBeans IDE Dev (Build 200704241800) 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 SunOS version 5.10 running on x86 en (nb); ISO646-US Please, can you close a bug or mark as WONTFIX? Thanks mrkam, you were using AMD Athlon(tm) 64 X2 Dual Core Processor, weren't you ? We don't have such HW, could you please try the FCS build of jdk & if there is still the problem, please report it directly to JDK team. I am closing this issue as WOTNFIX, but if this is really problem, we could turn off GTK on such OS/platform. So please let us know (at least JDK bug number). Thanks in advance. The issue is still reproducible with the following config: Product Version = NetBeans IDE Dev (Build 070425) Operating System = SunOS version 5.10 running on x86 Java; VM; Vendor; Home = 1.6.0_01; Java HotSpot(TM) Server VM 1.6.0_01-b06; Sun Microsystems Inc.; /opt/jdk1.6.0_01/jre System Locale; Encoding = en (nb); ISO646-US The result is still the same: Fontconfig error: Cannot load default config file # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xe626f5ab, pid=22155, tid=18 # # Java VM: Java HotSpot(TM) Server VM (1.6.0_01-b06 mixed mode) # Problematic frame: # C [libfontconfig.so.1+0x1f5ab] FcFontRenderPrepare+0x73 # # An error report file with more information is saved as hs_err_pid22155.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # 22155 Abort - core dumped Looking for a way to report about this issue directly to JDK team. Created attachment 41659 [details]
Dump
Mrkam, what HW exactly do you have? Mmirilovic suspects it is AMD Athlon(tm) 64 X2 Dual Core. Can you try starting with the following option? -laf javax.swing.plaf.metal.MetalLookAndFeel Dual Core AMD Opteron(tm) 2412 MHz, Ultra 20 Workstation Netbeans has been successfully started using the option you specified. CR 6550660 filed mrkam, thank you very much. We managed to reproduce it on NB dev, JDK 1.6.0_01 running on Sun Blade 1000 (Sparc): ... System Info: Product Version = NetBeans IDE Dev (Build 200705081800) Operating System = SunOS version 5.10 running on sparc Java; VM; Vendor; Home = 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06; Sun Microsystems Inc.; /space/jdks/jdk1.6.0_01/jre System Locale; Encoding = en_GB (nb); UTF-8 ... [ideTestRunner] # An unexpected error has been detected by Java Runtime Environment: [ideTestRunner] # [ideTestRunner] # SIGSEGV (0xb) at pc=0xf9841b7c, pid=20218, tid=14 [ideTestRunner] # [ideTestRunner] # Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing) [ideTestRunner] # Problematic frame: [ideTestRunner] # C [libfontconfig.so.1+0x21b7c] FcFontSetMatch+0xc4c [ideTestRunner] # [ideTestRunner] # An error report file with more information is saved as hs_err_pid20218.log [ideTestRunner] # [ideTestRunner] # If you would like to submit a bug report, please visit: [ideTestRunner] # http://java.sun.com/webapps/bugreport/crash.jsp [ideTestRunner] # [ideTestRunner] my pid = 20218 [ideTestRunner] 20218 Abort - core dumped [ideTestRunner] Result: 134 And we've found solution for this situation in nbusers mailing list. Two patches for Solaris 10 on Sparc led to the solution: 120473 and 125100-04 (or greater) There are also comparable patches for x86 machines running Solaris 10. Applying this one should be sufficient: 120037 IDE runs normally after applying these patches. I have 120037-09 and 120037-13 patches installed on my Solaris 10 (from the original description), but the bug is still reproducible. Moreover, there are no more patches or updates available according to Solaris Update Manager. What else needs to be done to deal with this issue? 120037-15 patch solves the problem. However it is not released yet. *** Issue 106950 has been marked as a duplicate of this issue. *** Metal L&F forced on Solaris 10 as workaround: Checking in Startup.java; /cvs/core/swing/plaf/src/org/netbeans/swing/plaf/Startup.java,v <-- Startup.java new revision: 1.30; previous revision: 1.29 done rkubacki please test on Solaris 11 that it still loads GTK, just to be sure. I tested on Solaris 10 to verify Metal is loaded instead of GTK. 120037-15 patch has been released. I've tester that latest bits of netbeans sucessfully start on following config: Product Version: NetBeans IDE Dev (Build 200706211800, C/C++ Pack 20070621) Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: SunOS version 5.10 running on x86; UTF-8; cs_CZ (nb) Userdir: /tmp/ud I've updated my Solaris 10 x64 installation with latest updates and now everything seems to be working. I've tested it on two different build with following results: 1) NetBeans IDE Dev (Build 200703280911) 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 SunOS version 5.10 running on x86 cs_CZ (nb); UTF-8 OK, IDE uses GTK 2) Product Version: NetBeans IDE Dev (Build 200707020000) Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: SunOS version 5.10 running on x86; UTF-8; cs_CZ (nb) Userdir: /home/tester/.netbeans/dev OK, IDE uses Metal |