Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 May 2010 08:32:52 +0200
From:      Peter Palmreuther <pitpalme@gmail.com>
To:        freebsd-java@freebsd.org
Subject:   openjdk6 crashes
Message-ID:  <4BE11114.5030306@gmail.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090103060602060207050805
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

Hello,

I'm experiencing crashes of openjdk6-b17_2 when my tomcat-6.0.26 is running
Sonatype Nexus' repository refresh.

My system is (uname -a):

FreeBSD siliki.sunrise.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan
 5 21:11:58 UTC 2010
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

In /var/log/messages I see

pid 67384 (java), uid 80: exited on signal 6 (core dumped)

The resulting 'hs_err_pid67384.log' is attached, the matching core file is
1.2G in size.

Running 'gdb' with 'bt' looks like this:

GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".
Attaching to process 67384
ptrace: No such process.
Core was generated by `java'.
Program terminated with signal 6, Aborted.
#0  0x00000008008d2ffc in ?? ()
#0  0x00000008008d2ffc in ?? ()
#1  0x000000080096e58b in ?? ()
[...]
#1212 0x0000000000000000 in ?? ()
#1213 0x00007fffffbfe960 in ?? ()
#1214 0x0000000000000000 in ?? ()
#1215 0x0000000000000000 in ?? ()
Cannot access memory at address 0x7fffff5f9000

I've run 'fastdebug' build with hope of getting more detailed information in
core dump.
With normal build I don't find appropriate 'hs_err_pid*.log', core dump is
also 1.2G big and gdb backtrace only gives

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".
Attaching to process 67868
Core was generated by `java'.
Program terminated with signal 4, Illegal instruction.
#0  0x0000000802163d8f in ?? ()
#0  0x0000000802163d8f in ?? ()

/var/log/messages says

pid 67868 (java), uid 80: exited on signal 4 (core dumped)

Any advise on what to do next for finding the problem and getting a fix?
-- 
Thanks in advance, and
best regards,

Peter Palmreuther

--------------090103060602060207050805
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
	name="hs_err_pid67384.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="hs_err_pid67384.log"

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/usr/ports/java/openjdk6/work/hotspot/src/share/vm/opto/graphKit.cpp:1679), pid=67384, tid=34392727168
#  Error: assert(sp() >= inputs,"must have enough JVMS stack to execute")
#
# JRE version: 6.0-b17
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16-fastdebug mixed mode bsd-amd64 )
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

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

Current thread (0x0000000802606800):  JavaThread "CompilerThread1" daemon [_thread_in_native, id=32988800, stack(0x00007fffff4f9000,0x00007fffff5f9000)]

Stack: [0x00007fffff4f9000,0x00007fffff5f9000],  sp=0x00007fffff5f6710,  free space=1013k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xa76ffc]
V  [libjvm.so+0xa774ed]
V  [libjvm.so+0x44d013]
V  [libjvm.so+0x54341d]
V  [libjvm.so+0x8c6e0b]
V  [libjvm.so+0x8cb263]
V  [libjvm.so+0x8bc7fe]
V  [libjvm.so+0x8be5da]
V  [libjvm.so+0x8bf732]
V  [libjvm.so+0x2fd5ec]
V  [libjvm.so+0x3d8742]
V  [libjvm.so+0x2fbdd9]
V  [libjvm.so+0x3dde3c]
V  [libjvm.so+0x3df6ac]
V  [libjvm.so+0xa161fe]
V  [libjvm.so+0x88e220]


Current CompileTask:
C2: 18% !   org.apache.lucene.index.SegmentMerger.mergeFields()I @ 617 (950 bytes)


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

Java Threads: ( => current thread )
  0x000000084dec8800 JavaThread "MultiThreadedHttpConnectionManager cleanup" daemon [_thread_blocked, id=1277273472, stack(0x00007ffffdadf000,0x00007ffffdbdf000)]
  0x0000000850a47800 JavaThread "pxpool-1-thread-2" [_thread_blocked, id=1351140736, stack(0x00007ffffdbe0000,0x00007ffffdce0000)]
  0x000000084c3db000 JavaThread "http-8180-6" daemon [_thread_blocked, id=1265098368, stack(0x00007ffffdce1000,0x00007ffffdde1000)]
  0x000000084c3dc000 JavaThread "http-8180-5" daemon [_thread_blocked, id=1265098816, stack(0x00007ffffdde2000,0x00007ffffdee2000)]
  0x000000084c3dc800 JavaThread "http-8180-4" daemon [_thread_blocked, id=1265099264, stack(0x00007ffffdee3000,0x00007ffffdfe3000)]
  0x000000084c3dd800 JavaThread "http-8180-3" daemon [_thread_blocked, id=1265099712, stack(0x00007ffffdfe4000,0x00007ffffe0e4000)]
  0x000000084c3de800 JavaThread "http-8180-2" daemon [_thread_blocked, id=1265100160, stack(0x00007ffffe0e5000,0x00007ffffe1e5000)]
  0x000000084c503000 JavaThread "http-8180-1" daemon [_thread_blocked, id=1265100608, stack(0x00007ffffe1e6000,0x00007ffffe2e6000)]
  0x0000000801fe7800 JavaThread "TP-Monitor" daemon [_thread_blocked, id=32985664, stack(0x00007ffffe2e7000,0x00007ffffe3e7000)]
  0x0000000801fe8800 JavaThread "TP-Processor4" daemon [_thread_in_native, id=32985216, stack(0x00007ffffe3e8000,0x00007ffffe4e8000)]
  0x0000000801fe9800 JavaThread "TP-Processor3" daemon [_thread_blocked, id=32984768, stack(0x00007ffffe4e9000,0x00007ffffe5e9000)]
  0x0000000801feb000 JavaThread "TP-Processor2" daemon [_thread_blocked, id=32984320, stack(0x00007ffffe5ea000,0x00007ffffe6ea000)]
  0x0000000801ff5800 JavaThread "TP-Processor1" daemon [_thread_blocked, id=32983872, stack(0x00007ffffe6eb000,0x00007ffffe7eb000)]
  0x0000000801ff4800 JavaThread "http-8180-Acceptor-0" daemon [_thread_in_native, id=32983424, stack(0x00007ffffe7ec000,0x00007ffffe8ec000)]
  0x0000000801ff3800 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=32982976, stack(0x00007ffffe8ed000,0x00007ffffe9ed000)]
  0x0000000801fec800 JavaThread "pxpool-1-thread-1" [_thread_in_native, id=32979392, stack(0x00007ffffeaef000,0x00007ffffebef000)]
  0x0000000801fed800 JavaThread "Thread-6" daemon [_thread_blocked, id=32982528, stack(0x00007ffffebf0000,0x00007ffffecf0000)]
  0x0000000801fee800 JavaThread "Thread-5" daemon [_thread_blocked, id=32981632, stack(0x00007ffffecf1000,0x00007ffffedf1000)]
  0x0000000801fef800 JavaThread "Thread-4" daemon [_thread_blocked, id=32981184, stack(0x00007ffffedf2000,0x00007ffffeef2000)]
  0x0000000801ff0000 JavaThread "Thread-3" daemon [_thread_blocked, id=32979840, stack(0x00007ffffeef3000,0x00007ffffeff3000)]
  0x0000000801ff1000 JavaThread "Thread-2" daemon [_thread_blocked, id=32982080, stack(0x00007ffffeff4000,0x00007fffff0f4000)]
  0x0000000801ff2000 JavaThread "Thread-1" daemon [_thread_blocked, id=32980288, stack(0x00007fffff0f5000,0x00007fffff1f5000)]
  0x0000000802603000 JavaThread "GC Daemon" daemon [_thread_blocked, id=32987456, stack(0x00007fffff1f6000,0x00007fffff2f6000)]
  0x0000000802605800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=32988352, stack(0x00007fffff3f8000,0x00007fffff4f8000)]
=>0x0000000802606800 JavaThread "CompilerThread1" daemon [_thread_in_native, id=32988800, stack(0x00007fffff4f9000,0x00007fffff5f9000)]
  0x0000000802607800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=32989248, stack(0x00007fffff5fa000,0x00007fffff6fa000)]
  0x0000000802608000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=32989696, stack(0x00007fffff6fb000,0x00007fffff7fb000)]
  0x0000000802609000 JavaThread "Finalizer" daemon [_thread_blocked, id=32990144, stack(0x00007fffff7fc000,0x00007fffff8fc000)]
  0x000000080260a000 JavaThread "Reference Handler" daemon [_thread_blocked, id=32990592, stack(0x00007fffff8fd000,0x00007fffff9fd000)]
  0x000000080260b000 JavaThread "main" [_thread_in_native, id=11570752, stack(0x00007fffffaff000,0x00007fffffbff000)]

Other Threads:
  0x000000084b278000 VMThread [stack: 0x00007fffff9fe000,0x00007fffffafe000] [id=32991040]
  0x000000084b277800 WatcherThread [stack: 0x00007fffff2f7000,0x00007fffff3f7000] [id=32991936]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 39424K, used 21608K [0x0000000805810000, 0x00000008082d0000, 0x000000081ad60000)
  eden space 35072K,  61% used [0x0000000805810000, 0x0000000806d0bfc0, 0x0000000807a50000)
  from space 4352K,   2% used [0x0000000807a50000, 0x0000000807a6e198, 0x0000000807e90000)
  to   space 4352K,   0% used [0x0000000807e90000, 0x0000000807e90000, 0x00000008082d0000)
 tenured generation   total 87424K, used 30361K [0x000000081ad60000, 0x00000008202c0000, 0x0000000845810000)
   the space 87424K,  34% used [0x000000081ad60000, 0x000000081cb06770, 0x000000081cb06800, 0x00000008202c0000)
 compacting perm gen  total 36288K, used 36044K [0x0000000845810000, 0x0000000847b80000, 0x000000084ac10000)
   the space 36288K,  99% used [0x0000000845810000, 0x0000000847b43000, 0x0000000847b43000, 0x0000000847b80000)
No shared spaces configured.

Dynamic libraries:
0x0000000000400000 	/usr/local/openjdk6-fastdebug/bin/java
0x0000000800651000 	/lib/libz.so.5
0x0000000800766000 	/lib/libthr.so.3
0x000000080087e000 	/lib/libc.so.7
0x0000000800c00000 	/usr/local/openjdk6-fastdebug/jre/lib/amd64/server/libjvm.so
0x0000000801a88000 	/usr/lib/libstdc++.so.6
0x0000000801c93000 	/lib/libm.so.5
0x0000000801db2000 	/lib/libgcc_s.so.1
0x0000000802000000 	/usr/local/openjdk6-fastdebug/jre/lib/amd64/libverify.so
0x000000080210f000 	/usr/local/openjdk6-fastdebug/jre/lib/amd64/libjava.so
0x000000080223a000 	/usr/local/openjdk6-fastdebug/jre/lib/amd64/native_threads/libhpi.so
0x0000000802346000 	/usr/local/lib/nss_mdns_minimal.so.1
0x000000080244a000 	/usr/local/lib/nss_mdns.so.1
0x0000000802700000 	/usr/local/openjdk6-fastdebug/jre/lib/amd64/libzip.so
0x000000084b800000 	/usr/local/openjdk6-fastdebug/jre/lib/amd64/libmanagement.so
0x000000084ce00000 	/usr/local/openjdk6-fastdebug/jre/lib/amd64/libawt.so
0x000000084d100000 	/usr/local/openjdk6-fastdebug/jre/lib/amd64/headless/libmawt.so
0x000000084d206000 	/usr/local/openjdk6-fastdebug/jre/lib/amd64/liblcms.so
0x000000084d33d000 	/usr/local/openjdk6-fastdebug/jre/lib/amd64/libjpeg.so
0x000000084d700000 	/usr/local/openjdk6-fastdebug/jre/lib/amd64/libnet.so
0x000000080050a000 	/libexec/ld-elf.so.1

VM Arguments:
jvm_args: -Xms128m -Xmx1024m -Djava.net.preferIPv4Stack=true -Dplexus.nexus-work=/dataspace/maven_repos/sonatype-work/ -Djava.endorsed.dirs=/usr/local/apache-tomcat-6.0/endorsed -Dcatalina.base=/usr/local/apache-tomcat-6.0 -Dcatalina.home=/usr/local/apache-tomcat-6.0 -Djava.io.tmpdir=/usr/local/apache-tomcat-6.0/temp 
java_command: org.apache.catalina.startup.Bootstrap start
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/usr/local/openjdk6-fastdebug
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin:/root/sbin:/var/qmail/bin
LD_LIBRARY_PATH=/usr/local/openjdk6-fastdebug/jre/lib/amd64/server:/usr/local/openjdk6-fastdebug/jre/lib/amd64:/usr/local/openjdk6-fastdebug/jre/../lib/amd64
SHELL=/usr/local/bin/zsh

Signal Handlers:
SIGSEGV: [libjvm.so+0xa77ce0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGBUS: [libjvm.so+0xa77ce0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGFPE: [libjvm.so+0x88a750], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGPIPE: [libjvm.so+0x88a750], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGXFSZ: [libjvm.so+0x88a750], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGILL: [libjvm.so+0x88a750], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000002
SIGUSR2: [libjvm.so+0x88e640], sa_mask[0]=0x00000000, sa_flags=0x00000042
SIGHUP: [libjvm.so+0x88d600], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGINT: [libjvm.so+0x88d600], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGTERM: [libjvm.so+0x88d600], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGQUIT: [libjvm.so+0x88d600], sa_mask[0]=0xfffefeff, sa_flags=0x00000042


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

OS:Bsd
uname:FreeBSD 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC 2010     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
rlimit: STACK 524288k, CORE infinity, NPROC 5547, NOFILE 11095
CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 107 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext

Memory: 4k page, physical 706140k(176535k free)

vm_info: OpenJDK 64-Bit Server VM (14.0-b16-fastdebug) for bsd-amd64 JRE (1.6.0-fastdebug-b17), built on Jan 31 2010 12:23:44 by "root" with gcc 4.2.1 20070719  [FreeBSD]

time: Wed May  5 07:41:20 2010
elapsed time: 201 seconds


--------------090103060602060207050805--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BE11114.5030306>