NetBeans crashes in Hardy at startup

Bug #235034 reported by Carlos Correia
2
Affects Status Importance Assigned to Milestone
netbeans (Ubuntu)
Invalid
Undecided
Unassigned
sun-java6 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Since yesterday, NetBeans crashes on startup with this message :

#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb3ffb95d, pid=8083, tid=2991246224
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode, sharing linux-x86)
# Problematic frame:
# C [libX11.so.6+0x3f95d] _XRead+0x2d
#
# An error report file with more information is saved as:
# /home/carlos/hs_err_pid8083.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
netbeans-6.1/bin/../platform8/lib/nbexec: line 466: 8083 Cancelado "/usr/lib/jvm/java-6-sun/bin/java" -Djdk.home="/usr/lib/jvm/java-6-sun" -classpath "/home/carlos/netbeans-6.1/platform8/lib/boot.jar:/home/carlos/netbeans-6.1/platform8/lib/org-openide-modules.jar:/home/carlos/netbeans-6.1/platform8/lib/org-openide-util.jar:/usr/lib/jvm/java-6-sun/lib/dt.jar:/usr/lib/jvm/java-6-sun/lib/tools.jar" -Dnetbeans.dirs="/home/carlos/netbeans-6.1/nb6.1:/home/carlos/netbeans-6.1/ide9:/home/carlos/netbeans-6.1/java2:/home/carlos/netbeans-6.1/xml2:/home/carlos/netbeans-6.1/apisupport1:/home/carlos/netbeans-6.1/enterprise5:/home/carlos/netbeans-6.1/mobility8:/home/carlos/netbeans-6.1/profiler3:/home/carlos/netbeans-6.1/gsf1:/home/carlos/netbeans-6.1/ruby2:/home/carlos/netbeans-6.1/visualweb2:/home/carlos/netbeans-6.1/soa2:/home/carlos/netbeans-6.1/identity2:/home/carlos/netbeans-6.1/uml5:/home/carlos/netbeans-6.1/harness:/home/carlos/netbeans-6.1/cnd2:" -Dnetbeans.home="/home/carlos/netbeans-6.1/platform8" '-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade' '-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense' '-Xmx363m' '-Dcom.sun.aas.installRoot=/home/carlos/glassfish-v2ur2' '-client' '-Xss2m' '-Xms32m' '-XX:PermSize=32m' '-XX:MaxPermSize=200m' '-Xverify:none' '-Dapple.laf.useScreenMenuBar=true' '-Dsun.java2d.noddraw=true' org.netbeans.Main --userdir "/home/carlos/.netbeans/6.1" "--branding" "nb"

And here is the output of 'java -version':
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)

Revision history for this message
Carlos Correia (carlos-m16e) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

please recheck with 6-07 in intrepid

Changed in sun-java6:
status: New → Incomplete
Revision history for this message
Marek Slama (mslama-email) wrote :

From java -version output: It is not openjdk but Sun JDK 6u6.

Revision history for this message
Marek Slama (mslama-email) wrote :

netbeans uses native calls to X (to get some special effects) using jna library but from this log I am not able to tell what call causes this. If it is reproducible is it possible to run this in debugger to find out what call is it? I am not experienced with these things. From netbeans side I could log all native calls ie. send patched jar to see if it helps.

Revision history for this message
Carlos Correia (carlos-m16e) wrote :

Sorry, not reproductable anymore. It seems some update has fixed it.

Revision history for this message
awe_cz (martin-nedbal) wrote :

Same here, Hardy x64, started to happen today. System is up-to-date, NB crashes with any of available JVMs (1.6.0_07 - ubuntu, 1.6.0_10/11).

Revision history for this message
awe_cz (martin-nedbal) wrote :

and same issue with newest JDK (1.6.0_12) - it's probably somewhere else;(

I might just have found it - it's probably caused by freenx libraries, uninstaling them *helped*! I wasn't the only one surprisingly - see http://forums.java.net/jive/thread.jspa?messageID=322774

Revision history for this message
Yulia Novozhilova (yulia-novozhilova) wrote :

This bug is about NetBeans IDE downloaded from netbeans.org. It has nothing to do with Ubuntu package "netbeans" version 6.0.1 in Hardy. So, mark bug as Invalid for the package netbeans.
Please, file such issues here: http://www.netbeans.org/issues/.

Changed in netbeans (Ubuntu):
status: New → Invalid
Revision history for this message
xteejx (xteejx) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner.
There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test the current Ubuntu version (10.10). If you can test it, and it is still an issue, we would appreciate if you could upload updated logs by running apport-collect <bug #>, and any other logs that are relevant for this particular issue.

Revision history for this message
xteejx (xteejx) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in sun-java6 (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.