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.
Netbeans shows the splash screen centered between the 2 monitors, and then dissapears: the main GUI is never shown. A second call brings the splash screen centered in the main screen and (rarely) shows the GUI. java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode) Linux 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Executing Netbeans from command line rises exeption: ~ $ /bin/sh "/home/marcelo/netbeans-8.0/bin/netbeans" Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=32m; support was removed in 8.0 /home/marcelo/netbeans-8.0/platform/lib/nbexec: line 462: 7176 Segmentation fault "/usr/lib/jvm/java-8-oracle/bin/java" -Djdk.home="/usr/lib/jvm/java-8-oracle" -classpath "/home/marcelo/netbeans-8.0/platform/lib/boot.jar:/home/marcelo/netbeans-8.0/platform/lib/org-openide-modules.jar:/home/marcelo/netbeans-8.0/platform/lib/org-openide-util.jar:/home/marcelo/netbeans-8.0/platform/lib/org-openide-util-lookup.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/boot_ja.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/boot_pt_BR.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/boot_ru.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/boot_zh_CN.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/org-openide-modules_ja.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/org-openide-modules_pt_BR.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/org-openide-modules_ru.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/org-openide-modules_zh_CN.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/org-openide-util_ja.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/org-openide-util-lookup_ja.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/org-openide-util-lookup_ru.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/org-openide-util_pt_BR.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/org-openide-util_ru.jar:/home/marcelo/netbeans-8.0/platform/lib/locale/org-openide-util_zh_CN.jar:/usr/lib/jvm/java-8-oracle/lib/dt.jar:/usr/lib/jvm/java-8-oracle/lib/tools.jar" -Dnetbeans.default_userdir_root="/home/marcelo/.netbeans" -Dnetbeans.running.environment=gnome -Dnetbeans.dirs="/home/marcelo/netbeans-8.0/nb:/home/marcelo/netbeans-8.0/ergonomics:/home/marcelo/netbeans-8.0/ide:/home/marcelo/netbeans-8.0/extide:/home/marcelo/netbeans-8.0/java:/home/marcelo/netbeans-8.0/apisupport:/home/marcelo/netbeans-8.0/webcommon:/home/marcelo/netbeans-8.0/websvccommon:/home/marcelo/netbeans-8.0/enterprise:/home/marcelo/netbeans-8.0/mobility:/home/marcelo/netbeans-8.0/profiler:/home/marcelo/netbeans-8.0/python:/home/marcelo/netbeans-8.0/php:/home/marcelo/netbeans-8.0/identity:/home/marcelo/netbeans-8.0/harness:/home/marcelo/netbeans-8.0/cnd:/home/marcelo/netbeans-8.0/dlight:/home/marcelo/netbeans-8.0/groovy:/home/marcelo/netbeans-8.0/extra:/home/marcelo/netbeans-8.0/javacard:/home/marcelo/netbeans-8.0/javafx:" -Dnetbeans.home="/home/marcelo/netbeans-8.0/platform" '-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade' '-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense' '-XX:MaxPermSize=384m' '-Xmx1024m' '-client' '-Xss2m' '-Xms32m' '-XX:PermSize=32m' '-Dapple.laf.useScreenMenuBar=true' '-Dapple.awt.graphics.UseQuartz=true' '-Dsun.java2d.noddraw=true' '-Dsun.java2d.dpiaware=true' '-Dsun.zip.disableMemoryMapping=true' -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/home/marcelo/.netbeans/8.0/var/log/heapdump.hprof" -splash:"/home/marcelo/.cache/netbeans/8.0/splash.png" org.netbeans.Main --cachedir "/home/marcelo/.cache/netbeans/8.0" --userdir "/home/marcelo/.netbeans/8.0" "--branding" "nb" 0<&0
Ok, additional info about this bug: I did a completely new install of linux, installed both java oracle 8 and 7 and now the first time I start Netbeans it crashes and the second time (so far) starts...
Can you find JVM crash log file (hs_err_pid*.log) and attach here?
Still need the JVM crash log requested above. Closing incomplete. If you find the crash log, attach here and reopen. Thanks. Given the mention of a first start crashing and the second start successful, this could as well be a duplicate of issue 243735. Though the JVM crash log is needed to investigate.
Created attachment 148846 [details] error log
I'm experiencing the same issue. Netbeans will run as expected maybe 1/20 times I start it. The rest of the time it crashes either while the splash screen shows the loading bar or when it's scanning projects. In top, it consistently takes over 150% cpu just before crashing. I've also had the same problem with Netbeans 7.3 and the oracle-java7-installer and with Netbeans 8 and oracle-java8-installer. Let me know if there's any other information I can provide or if I'm commenting in the wrong bug report.
(In reply to bhopps_2 from comment #5) > I'm experiencing the same issue. Your problem is different and as mentioned in your log file it is a memory problem in your system: # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 19922944 bytes for committing reserved memory. # Possible reasons: # The system is out of physical RAM or swap space # In 32 bit mode, the process size limit was hit # Possible solutions: # Reduce memory load on the system # Increase physical memory or swap space # Check if swap backing store is full # Use 64 bit Java on a 64 bit OS # Decrease Java heap size (-Xmx/-Xms) # Decrease number of Java threads # Decrease Java thread stack sizes (-Xss) # Set larger code cache with -XX:ReservedCodeCacheSize=
Created attachment 148906 [details] Log file
*** This bug has been marked as a duplicate of bug 243735 ***