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 214652 - Netbeans freezes Ubuntu 12.04
Summary: Netbeans freezes Ubuntu 12.04
Status: RESOLVED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Linux
: P1 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-23 07:28 UTC by everflux
Modified: 2013-07-31 00:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
apport report (3.23 MB, text/x-apport)
2012-06-23 07:29 UTC, everflux
Details
Hotspot error log (32.07 KB, text/x-log)
2012-06-23 07:46 UTC, everflux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description everflux 2012-06-23 07:28:02 UTC
[ BUILD # : 201206220002 ]
[ JDK VERSION : 1.7.4 ]

I have absolutely no clue what is happening here, but I will try to
summarize:
- Update to Netbeans nightly today (201206220002)
- Installed Netbeans dev
- Imported settings from 7.1.2
- system froze, I considered it a coincidence and unrelated to netbeans
- system reboot/reset -> black screen
- power cycle to get an image again
- new session, started netbeans
- Ubuntu message appears "Sorry, Ubuntu 12.04 has experienced an
internal error"
- I clicked details, system response was getting slower
- "Executable Path: /usr/lib/jvm/jdk1.7.0_05/bin/java" (this is where I
installed the Oracle JDK)
- Alert box "Could not determine the package or source package name"
- I can log in with SSH, but neither mouse nor keyboard input is
recognized (f.e. numlock key does not respond, mouse does not move)

Here is what I gathered from SSH:
-------------------------------------------------------------------------------
> Log Session: Saturday, June 23, 2012 8:41:51 AM CEST
> System Info:
  Product Version         = NetBeans IDE Dev (Build 201206220002)
(#1698363949d1)
  Operating System        = Linux version 3.2.0-25-generic running on amd64
  Java; VM; Vendor        = 1.7.0_05; Java HotSpot(TM) 64-Bit Server VM
23.1-b03; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_05-b05
  Java Home               = /usr/lib/jvm/jdk1.7.0_05/jre
  System Locale; Encoding = en_US (nb); UTF-8
  Home Directory          = /home/tkruse
  Current Directory       = /home/tkruse
  User Directory          = /home/tkruse/.netbeans/dev
  Cache Directory         = /home/tkruse/.cache/netbeans/dev
  Installation            = /home/tkruse/java/netbeans-dev/nb
                            /home/tkruse/java/netbeans-dev/ergonomics
                            /home/tkruse/java/netbeans-dev/ide
                            /home/tkruse/java/netbeans-dev/java
                            /home/tkruse/java/netbeans-dev/apisupport
                            /home/tkruse/java/netbeans-dev/webcommon
                            /home/tkruse/java/netbeans-dev/websvccommon
                            /home/tkruse/java/netbeans-dev/enterprise
                            /home/tkruse/java/netbeans-dev/mobility
                            /home/tkruse/java/netbeans-dev/profiler
                            /home/tkruse/java/netbeans-dev/php
                            /home/tkruse/java/netbeans-dev/harness
                            /home/tkruse/java/netbeans-dev/cnd
                            /home/tkruse/java/netbeans-dev/dlight
                            /home/tkruse/java/netbeans-dev/groovy
                            /home/tkruse/java/netbeans-dev/javafx
                            /home/tkruse/java/netbeans-dev/platform

This is what is recorded by apport (the ubuntu bug report tool I guess):

ERROR: apport (pid 3477) Sat Jun 23 08:58:49 2012: called for pid 3461, signal
6
ERROR: apport (pid 3477) Sat Jun 23 08:58:49 2012: executable:
/usr/lib/jvm/jdk1.7.0_05/bin/java (command line "/usr/lib/jvm/jdk1.7.0/bin/java
-Djdk.home=/usr/lib/jvm/jdk1.7.0 -classpath
/home/tkruse/java/netbeans-dev/platform/lib/boot.jar:/home/tkruse/java/netbeans-
dev/platform/lib/org-openide-modules.jar:/home/tkruse/java/netbeans-dev/platform
/lib/org-openide-util.jar:/home/tkruse/java/netbeans-dev/platform/lib/org-openid
e-util-lookup.jar:/home/tkruse/java/netbeans-dev/platform/lib/locale/boot_ja.jar
:/home/tkruse/java/netbeans-dev/platform/lib/locale/boot_pt_BR.jar:/home/tkruse/
java/netbeans-dev/platform/lib/locale/boot_ru.jar:/home/tkruse/java/netbeans-dev
/platform/lib/locale/boot_zh_CN.jar:/home/tkruse/java/netbeans-dev/platform/lib/
locale/org-openide-modules_ja.jar:/home/tkruse/java/netbeans-dev/platform/lib/lo
cale/org-openide-modules_pt_BR.jar:/home/tkruse/java/netbeans-dev/platform/lib/l
ocale/org-openide-modules_ru.jar:/home/tkruse/java/netbeans-dev/platform/lib/loc
ale/org-openide-modules_zh_CN.jar:/home/tkruse/java/netbeans-dev/platform/lib/lo
cale/org-openide-util_ja.jar:/home/tkruse/java/netbeans-dev/platform/lib/locale/
org-openide-util-lookup_ja.jar:/home/tkruse/java/netbeans-dev/platform/lib/local
e/org-openide-util-lookup_pt_BR.jar:/home/tkruse/java/netbeans-dev/platform/lib/
locale/org-openide-util-lookup_ru.jar:/home/tkruse/java/netbeans-dev/platform/li
b/locale/org-openide-util-lookup_zh_CN.jar:/home/tkruse/java/netbeans-dev/platfo
rm/lib/locale/org-openide-util_pt_BR.jar:/home/tkruse/java/netbeans-dev/platform
/lib/locale/org-openide-util_ru.jar:/home/tkruse/java/netbeans-dev/platform/lib/
locale/org-openide-util_zh_CN.jar:/usr/lib/jvm/jdk1.7.0/lib/dt.jar:/usr/lib/jvm/
jdk1.7.0/lib/tools.jar -Dnetbeans.default_userdir_root=/home/tkruse/.netbeans
-Dnetbeans.system_http_proxy=DIRECT -Dnetbeans.system_http_non_proxy_hosts=
-Dnetbeans.dirs=/home/tkruse/java/netbeans-dev/nb:/home/tkruse/java/netbeans-dev
/ergonomics:/home/tkruse/java/netbeans-dev/ide:/home/tkruse/java/netbeans-dev/ja
va:/home/tkruse/java/netbeans-dev/apisupport:/home/tkruse/java/netbeans-dev/webc
ommon:/home/tkruse/java/netbeans-dev/websvccommon:/home/tkruse/java/netbeans-dev
/enterprise:/home/tkruse/java/netbeans-dev/mobility:/home/tkruse/java/netbeans-d
ev/profiler:/home/tkruse/java/netbeans-dev/python:/home/tkruse/java/netbeans-dev
/php:/home/tkruse/java/netbeans-dev/identity:/home/tkruse/java/netbeans-dev/harn
ess:/home/tkruse/java/netbeans-dev/cnd:/home/tkruse/java/netbeans-dev/dlight:/ho
me/tkruse/java/netbeans-dev/groovy:/home/tkruse/java/netbeans-dev/extra:/home/tk
ruse/java/netbeans-dev/javacard:/home/tkruse/java/netbeans-dev/javafx:
-Dnetbeans.home=/home/tkruse/java/netbeans-dev/platform
-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade
-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense
-XX:MaxPermSize=384m -Xmx768m -client -Xss2m -Xms32m -XX:PermSize=32m
-Dnetbeans.logger.console=true -ea -Dapple.laf.useScreenMenuBar=true
-Dapple.awt.graphics.UseQuartz=true -Dsun.java2d.noddraw=true
-Dsun.zip.disableMemoryMapping=true -Dplugin.manager.check.updates=false
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/home/tkruse/.netbeans/dev/var/log/heapdump.hprof
org.netbeans.Main --userdir /home/tkruse/.netbeans/dev --cachedir
/home/tkruse/.cache/netbeans/dev --branding nb")
ERROR: apport (pid 3477) Sat Jun 23 08:58:49 2012: debug: session gdbus call:
(true,)

ERROR: apport (pid 3477) Sat Jun 23 08:58:54 2012: wrote report
/var/crash/_usr_lib_jvm_jdk1.7.0_05_bin_java.1000.crash

System: Ubuntu 12.04 64bit, nvidia graphics card with nvidia proprietary
driver.

I will attach the generated crash file to this issue.

While filing this bug the screensaver kicked in - after that I could use
mouse/keyboard again, but after clicking on the task bar the system froze
again. (Possibly compiz related)

Note: Netcat form does not provide JDK 7u5, but this is what I actually used!
Comment 1 everflux 2012-06-23 07:29:42 UTC
Created attachment 121244 [details]
apport report
Comment 2 everflux 2012-06-23 07:38:47 UTC
After turning off the machine for 10 minutes I was unable to reproduce the problem with NB dev.
Sorry for raising a false alarm.
Comment 3 everflux 2012-06-23 07:46:15 UTC
Created attachment 121245 [details]
Hotspot error log
Comment 4 everflux 2012-06-23 07:48:14 UTC
I just found the hotspot error file. Perhaps it is an Oracle JDK problem. (Though I still cannot reproduce it)
Comment 5 DanielWilson 2013-07-30 14:48:11 UTC
I am experiencing the same symptoms.

I'm running Ubuntu 12.04 LTS with Gnome on VMWare Player.  The virtual machine has 4 GB of RAM and 2 cores allocated to it.

I'm running NetBeans IDE 7.0.1 for my PHP project. Getting NetBeans to fill in a function call often results in a freeze-up.  Another IDE I used under Windows would pause for 15 seconds on some of these and I found it annoying.  But NetBeans is freezing for 30 minutes and still not returning control.

top will show "java" taking 15-20% of the CPU 30 minutes after the problem starts. So I end up using xkill to shut down NetBeans and start over.

I tried disabling most of the plugins, hoping that would resolve the error.  It did not.
Comment 6 DanielWilson 2013-07-30 18:47:26 UTC
(In reply to comment #5)
> I am experiencing the same symptoms.
> 
> I'm running Ubuntu 12.04 LTS with Gnome on VMWare Player.  The virtual machine
> has 4 GB of RAM and 2 cores allocated to it.
> 
> I'm running NetBeans IDE 7.0.1 for my PHP project. Getting NetBeans to fill in
> a function call often results in a freeze-up.  Another IDE I used under Windows
> would pause for 15 seconds on some of these and I found it annoying.  But
> NetBeans is freezing for 30 minutes and still not returning control.
> 
> top will show "java" taking 15-20% of the CPU 30 minutes after the problem
> starts. So I end up using xkill to shut down NetBeans and start over.
> 
> I tried disabling most of the plugins, hoping that would resolve the error.  It
> did not.

I was running OpenJDK 6 JRE when I began experiencing this problem.  I have upgraded to OpenJDK 7 JRE. Unfortunately, it still occurs.
Comment 7 DanielWilson 2013-07-31 00:02:39 UTC
NetBeans 7.3.1 seems to behave better in this regard. It's a little sluggish with my project, but isn't freezing up like the older version.