java/120146: netbeans 6.0 crash on amd64

Alexander Pyhalov alp at rsu.ru
Wed Jan 30 02:00:05 PST 2008


>Number:         120146
>Category:       java
>Synopsis:       netbeans 6.0 crash on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-java
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 30 10:00:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Pyhalov
>Release:        FreeBSD 7.0-PRERELEASE #1
>Organization:
>Environment:
FreeBSD pyhalov.cc.rsu.ru 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1: Fri Jan 11 10:38:18 MSK 2008     alp at new-pyhalov.cc.rsu.ru:/usr/obj/usr/src/sys/MyKern  amd64

>Description:
I'm getting a java core dump, when I'm trying to run netbeans 6.0 (platform-independent), which perfectly run on i386 computer. I'm using jdk-1.5.0.13p7_4,1. 

>How-To-Repeat:
download netbeans from netbeans.org, edit netbeans.conf as follows:

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-verbose -J-d64"
netbeans_jdkhome="/usr/local/jdk1.5.0/"

Start $netbeans_dir/bin/netbeans

After starting (and automatically opening project) java dies with a core dump.
>Fix:


Patch attached with submission follows:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x000000080607b697, pid=2759, tid=0x1e178120
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_13-p7-alp_21_jan_2008_11_24 mixed mode)
# Problematic frame:
# 
[error occurred during error reporting, step 60, id 0xb]


---------------  T H R E A D  ---------------

Current thread (0x000000081e164000):  JavaThread "AWT-EventQueue-1" [_thread_in_Java, id=504856864]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00007ffefffffff0

Registers:
RAX=0x00000000ff571000, RBX=0x000000080cb99228, RCX=0x0000000800938cac, RDX=0x0000000000000001
RSP=0x00007ffffbedadc0, RBP=0x00007fff00000000, RSI=0x0000000000000002, RDI=0x00007ffffbedadb0
R8 =0xffffffffb1d67978, R9 =0x00007ffffbedada8, R10=0x0000000000000002, R11=0x0000000000000202
R12=0x000000080607b520, R13=0x000000080cb99228, R14=0x00007ffffbedae48, R15=0x000000081e164000
RIP=0x000000080607b697, EFL=0x000000080623ced0, ERR=0x0000000000000004
  TRAPNO=0x000000000000000c

Top of Stack: (sp=0x00007ffffbedadc0)
0x00007ffffbedadc0:   000000003f400000 000000080607b3e1
0x00007ffffbedadd0:   00000000ff571000 000000080607b542
0x00007ffffbedade0:   000000081e164000 00000010fbedaef0
0x00007ffffbedadf0:   00007ffffbedadf0 000000080cb99228
0x00007ffffbedae00:   00007ffffbedae48 000000080cb9b0e8
0x00007ffffbedae10:   0000000000000000 000000080cb99228
0x00007ffffbedae20:   00007ffffbedae48 00007ffffbedaeb0
0x00007ffffbedae30:   000000080606f329 0000000000000000
0x00007ffffbedae40:   0000000806078497 000000081bd021b0
0x00007ffffbedae50:   0000000800001fa2 0000000000000001
0x00007ffffbedae60:   00007ffffbedb0e0 00007ffffbedb170
0x00007ffffbedae70:   000000081e164000 000000081e30b068
0x00007ffffbedae80:   00007ffffbedaf00 00007ffffbedb178
0x00007ffffbedae90:   000000080000000b 000000080cb99228
0x00007ffffbedaea0:   000000080607b240 00007ffffbedb0e8
0x00007ffffbedaeb0:   00007ffffbedafb0 0000000800fa2cf8
0x00007ffffbedaec0:   0000000800000001 000000081e164000
0x00007ffffbedaed0:   00007ffffbedaf50 00007ffffbedaf00
0x00007ffffbedaee0:   00007ffffbedaf00 000000080607b240
0x00007ffffbedaef0:   0000000bfbedaf30 000000080606f2a9
0x00007ffffbedaf00:   000000081e164000 000000081e102b20
0x00007ffffbedaf10:   000000080cb99228 000000081bd021b0
0x00007ffffbedaf20:   00007ffffbedb2d0 000000080607b520
0x00007ffffbedaf30:   0000000000000000 0000000800000000
0x00007ffffbedaf40:   00007ffffbedb328 00007ffffbedb170
0x00007ffffbedaf50:   000000081e164000 000000081e10ca40
0x00007ffffbedaf60:   000000081e30b000 000000081e30b070
0x00007ffffbedaf70:   000000081e30b3e8 00007ffffbedba00
0x00007ffffbedaf80:   0000000800000001 0000000000000001
0x00007ffffbedaf90:   00007ffffbedb170 000000081e30b038
0x00007ffffbedafa0:   000000081e30b058 000000081e164000
0x00007ffffbedafb0:   00007ffffbedafd0 0000000800fa1d68 

Instructions: (pc=0x000000080607b697)
0x000000080607b687:   8b 4c 24 70 48 8b 44 24 78 48 81 c4 80 00 00 00
0x000000080607b697:   48 8b 5d f0 4c 8b 6b 10 4d 8d 6d 48 49 81 7f 08 

Stack: [0x00007ffffbcdc000,0x00007ffffbedc000),  sp=0x00007ffffbedadc0,  free space=2043k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

[error occurred during error reporting, step 120, id 0xb]


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0000000824023800 JavaThread "GSF Source Worker Thread" [_thread_blocked, id=562836112]
  0x0000000824022000 JavaThread "org.netbeans.modules.gsfret.source.usages.RepositoryUpdater" [_thread_blocked, id=562835744]
  0x000000081da64800 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=497405088]
  0x000000081da63c00 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=497404720]
  0x000000081da63000 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=497404352]
  0x000000081da62400 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=497403984]
  0x000000081da25400 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=497403616]
  0x000000081da24800 JavaThread "Default RequestProcessor" daemon [_thread_in_Java, id=497403248]
  0x000000081da23c00 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=497402880]
  0x000000081da23000 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode]" daemon [_thread_blocked, id=497402512]
  0x000000081da22400 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=497402144]
  0x000000081da21800 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=11546080]
  0x000000081da20c00 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=498484592]
  0x000000081da20400 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=498484224]
  0x000000081da20000 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=499983728]
  0x000000081da1fc00 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=499987776]
  0x000000081da1f800 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=498484960]
  0x0000000800b38400 JavaThread "DestroyJavaVM" [_thread_blocked, id=11538720]
=>0x000000081e164000 JavaThread "AWT-EventQueue-1" [_thread_in_Java, id=504856864]
  0x0000000829bba800 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon [_thread_blocked, id=499988144]
  0x0000000829bbd800 JavaThread "Creator Error Handler Listener" [_thread_in_native, id=499984096]
  0x0000000829bbc400 JavaThread "*** JFluid Separate Command Execution Thread" daemon [_thread_blocked, id=499987040]
  0x000000081e164400 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=504857232]
  0x0000000829bbcc00 JavaThread "TimerQueue" daemon [_thread_blocked, id=499986304]
  0x0000000829bbbc00 JavaThread "Java Source Worker Thread" [_thread_in_Java, id=499985936]
  0x000000081da1f000 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode]" daemon [_thread_blocked, id=499984832]
  0x000000081da1ec00 JavaThread "Code Model Parser 3" daemon [_thread_blocked, id=499984464]
  0x000000081da1e800 JavaThread "Repository writer 0" daemon [_thread_blocked, id=499985200]
  0x000000081da1e400 JavaThread "Code Model Parser 1" daemon [_thread_blocked, id=11544608]
  0x000000081dc1a800 JavaThread "Thread-5" daemon [_thread_blocked, id=499985568]
  0x000000081db17400 JavaThread "Code Model Parser 2" daemon [_thread_blocked, id=498483488]
  0x000000081dc17000 JavaThread "AWT-Shutdown" [_thread_blocked, id=499983360]
  0x000000081dc16000 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=499982992]
  0x000000081dc13400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=499982624]
  0x000000081de6ec00 JavaThread "Code Model Parser 0" daemon [_thread_blocked, id=11545712]
  0x000000081de6e800 JavaThread "Timer-0" daemon [_thread_blocked, id=11545344]
  0x000000081de6e400 JavaThread "CLI Requests Server" daemon [_thread_in_native, id=11544976]
  0x000000081de6dc00 JavaThread "Active Reference Queue Daemon" daemon [_thread_blocked, id=11544240]
  0x000000081de6c400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11543504]
  0x000000081de6b800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=11543136]
  0x000000081de6ac00 JavaThread "CompilerThread0" daemon [_thread_in_native, id=11542768]
  0x000000081de6a000 JavaThread "AdapterThread" daemon [_thread_blocked, id=11542400]
  0x000000081de69400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11542032]
  0x0000000800b3d800 JavaThread "Finalizer" daemon [_thread_blocked, id=11541664]
  0x0000000800b3d400 JavaThread "Reference Handler" daemon [_thread_blocked, id=11541296]

Other Threads:
  0x0000000800b18030 VMThread [id=11540928]
  0x0000000800b18140 WatcherThread [id=11543872]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 34112K, used 26107K [0x000000081ae90000, 0x000000081d930000, 0x000000081d930000)
  eden space 25024K, 76% used [0x000000081ae90000,0x000000081c12ed78,0x000000081c700000)
  from space 9088K, 77% used [0x000000081c700000,0x000000081cde0000,0x000000081cfe0000)
  to   space 9408K, 0% used [0x000000081d000000,0x000000081d000000,0x000000081d930000)
 PSOldGen        total 80128K, used 52631K [0x0000000815930000, 0x000000081a770000, 0x000000081ae90000)
  object space 80128K, 65% used [0x0000000815930000,0x0000000818c95e18,0x000000081a770000)
 PSPermGen       total 94080K, used 59915K [0x0000000809130000, 0x000000080ed10000, 0x0000000815930000)
  object space 94080K, 63% used [0x0000000809130000,0x000000080cbb2d40,0x000000080ed10000)

Dynamic libraries:
0x0000000000400000 	/usr/local/jdk1.5.0/bin/java
0x000000080063b000 	/lib/libz.so.4
0x000000080074f000 	/lib/libthr.so.3
0x0000000800865000 	/lib/libc.so.7
0x0000000800c00000 	/usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so
0x00000008014f9000 	/usr/lib/libstdc++.so.6
0x0000000801703000 	/lib/libm.so.5
0x000000080181d000 	/lib/libgcc_s.so.1
0x000000080192a000 	/usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi.so
0x0000000801a36000 	/usr/local/lib/nss_ldap.so.1
0x0000000801b55000 	/usr/local/lib/libldap-2.3.so.2
0x0000000801c8f000 	/usr/local/lib/liblber-2.3.so.2
0x0000000801d9d000 	/usr/local/lib/libgssapi.so.2
0x0000000801ec9000 	/usr/local/lib/libsasl2.so.2
0x0000000801fe1000 	/usr/local/lib/libssl.so.5
0x0000000802128000 	/usr/local/lib/libcrypto.so.5
0x0000000802398000 	/usr/local/lib/libheimntlm.so.1
0x000000080249d000 	/usr/local/lib/libkrb5.so.23
0x0000000802607000 	/usr/local/lib/libasn1.so.8
0x0000000802784000 	/usr/lib/libcom_err.so.4
0x0000000802886000 	/usr/local/lib/libhcrypto.so.5
0x00000008029a8000 	/usr/local/lib/libroken.so.19
0x0000000802ab9000 	/lib/libcrypt.so.4
0x0000000802bbd000 	/usr/local/lib/libhx509.so.2
0x0000000802cf6000 	/usr/local/jdk1.5.0/jre/lib/amd64/libverify.so
0x0000000802e05000 	/usr/local/jdk1.5.0/jre/lib/amd64/libjava.so
0x0000000802f2d000 	/usr/local/jdk1.5.0/jre/lib/amd64/libzip.so
0x000000081f6b8000 	/usr/local/jdk1.5.0/jre/lib/amd64/libnet.so
0x0000000820000000 	/usr/local/jdk1.5.0/jre/lib/amd64/libawt.so
0x00000008201a1000 	/usr/local/jdk1.5.0/jre/lib/amd64/libmlib_image.so
0x000000082036a000 	/usr/local/jdk1.5.0/jre/lib/amd64/xawt/libmawt.so
0x00000008204a3000 	/usr/local/lib/libXext.so.6
0x00000008205b3000 	/usr/local/lib/libX11.so.6
0x00000008207b7000 	/usr/local/lib/libXau.so.6
0x00000008208ba000 	/usr/local/lib/libXdmcp.so.6
0x00000008209bf000 	/usr/lib/librpcsvc.so.4
0x0000000820ac7000 	/usr/local/jdk1.5.0/jre/lib/amd64/libfontmanager.so
0x0000000820e00000 	/usr/local/jdk1.5.0/jre/lib/amd64/libcmm.so
0x0000000820f62000 	/usr/local/jdk1.5.0/jre/lib/amd64/libjpeg.so
0x0000000821090000 	/usr/local/lib/libXcursor.so.1
0x000000082119a000 	/usr/local/lib/libXrender.so.1
0x00000008212a3000 	/usr/local/lib/libXfixes.so.3
0x00000008213a8000 	/usr/local/jdk1.5.0/jre/lib/amd64/libnio.so
0x0000000821955000 	/usr/local/jdk1.5.0/jre/lib/amd64/libmanagement.so
0x0000000800509000 	/libexec/ld-elf.so.1

VM Arguments:
jvm_args: -Djdk.home=/usr/local/jdk1.5.0 -Dnetbeans.dirs=/usr/home/alp/java/netbeans/nb6.0:/usr/home/alp/java/netbeans/ide8:/usr/home/alp/java/netbeans/java1:/usr/home/alp/java/netbeans/xml1:/usr/home/alp/java/netbeans/apisupport1:/usr/home/alp/java/netbeans/enterprise4:/usr/home/alp/java/netbeans/mobility8:/usr/home/alp/java/netbeans/profiler2:/usr/home/alp/java/netbeans/ruby1:/usr/home/alp/java/netbeans/visualweb1:/usr/home/alp/java/netbeans/soa1:/usr/home/alp/java/netbeans/identity1:/usr/home/alp/java/netbeans/uml4:/usr/home/alp/java/netbeans/harness:/usr/home/alp/java/netbeans/cnd1: -Dnetbeans.home=/usr/home/alp/java/netbeans/platform7 -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade -Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense -Xmx128m -Xss2m -Xms32m -XX:PermSize=32m -XX:MaxPermSize=200m -Xverify:none -Dapple.laf.useScreenMenuBar=true -verbose
java_command: org.netbeans.Main --userdir /home/alp/.netbeans/6.0 --branding nb
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/alp/bin
USERNAME=alp
LD_LIBRARY_PATH=/usr/local/jdk1.5.0/jre/lib/amd64/server:/usr/local/jdk1.5.0/jre/lib/amd64:/usr/local/jdk1.5.0/jre/../lib/amd64
SHELL=/bin/tcsh
DISPLAY=:0.0
HOSTTYPE=FreeBSD
OSTYPE=FreeBSD
MACHTYPE=unknown

Signal Handlers:
SIGSEGV: [libjvm.so+0x6539e0], sa_mask[0]=0xfffefeff, sa_flags=0x00000002
SIGBUS: [libjvm.so+0x6539e0], sa_mask[0]=0xfffefeff, sa_flags=0x00000002
SIGFPE: [libjvm.so+0x55dac0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGPIPE: [libjvm.so+0x55dac0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGILL: [libjvm.so+0x55dac0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000002
SIGHUP: [libjvm.so+0x55f8d0], sa_mask[0]=0xfffefeff, sa_flags=0x00000002
SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGQUIT: [libjvm.so+0x55f8d0], sa_mask[0]=0xfffefeff, sa_flags=0x00000002
SIGTERM: [libjvm.so+0x55f8d0], sa_mask[0]=0xfffefeff, sa_flags=0x00000002


---------------  S Y S T E M  ---------------

OS:FreeBSD
uname:FreeBSD 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1: Fri Jan 11 10:38:18 MSK 2008     alp at new-pyhalov.cc.rsu.ru:/usr/obj/usr/src/sys/MyKern amd64
rlimit: STACK 8192k, CORE infinity, NOFILE 11095
CPU:total 4 em64t ht

Memory: 4k page, physical 3700460k

vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0_13-p7-alp_21_jan_2008_11_24) for freebsd-amd64, built on Jan 21 2008 11:36:24 by root with gcc 4.2.1 20070719  [FreeBSD]



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-java mailing list