Crash on OS X, soylatte...but couldn't file a bug

Charles Oliver Nutter charles.nutter at sun.com
Thu Jul 3 11:59:09 PDT 2008


Dunno if this is the place for it, but I had a segfault today running 
JRuby tests and didn't feel right just ignoring it, even though it 
appeared only the one time. So I'm tossing it here to make myself feel 
better, and on the off chance that the dump contains something that 
would be useful.

This was on OS X 10.5.3 running "soylatte", a ported version of the Java 
6 JRL sources. Not reproducible.

I've copied Landon Fuller (soylatte maintainer) on this as well.

-----

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x012b83e0, pid=2698, tid=0xb024b000
#
# Java VM: Java HotSpot(TM) Client VM 
(1.6.0_03-p3-landonf_05_dec_2007_22_04-b00 mixed mode)
# Problematic frame:
# V  [libjvm.dylib+0x2b83e0]
#
# Please submit bug reports to landonf at bikemonkey.org
#

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

Current thread (0x0082c800):  JavaThread "CompilerThread0" daemon 
[_thread_in_vm, id=-1339772928]

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

Registers:
EAX=0x006f55cc, EBX=0x01360756, ECX=0x00831a5c, EDX=0x008928d4
ESP=0xb024a5c0, EBP=0xb024a618, ESI=0x00892b08, EDI=0x000df503
EIP=0x012b83e0, EFLAGS=0x00010206

Top of Stack: (sp=0xb024a5c0)
0xb024a5c0:   9e78bf89 0082c800 00000000 00831a58
0xb024a5d0:   010f9a98 01360556 b024a600 006f55cc
0xb024a5e0:   00831a58 0082c800 b024a648 00001974
0xb024a5f0:   00001974 00831a5c 00831a58 00000000
0xb024a600:   00831a58 00831a5c 00000000 b024a630
0xb024a610:   00109b50 00831a5c b024a648 012b8500
0xb024a620:   00c65208 00000037 00730130 012b8500
0xb024a630:   00109b50 00831a58 00831a5c 00000024

Instructions: (pc=0x012b83e0)
0x012b83d0:   00 89 4d c4 8b 4d d8 89 4d d4 8b 45 c4 8b 4d dc
0x012b83e0:   8b 00 3b 01 74 ba 8b 45 e4 40 89 45 e4 8b 45 c4

Stack: [0xb01cb000,0xb024b000),  sp=0xb024a5c0,  free space=509k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, 
C=native code)
V  [libjvm.dylib+0x2b83e0]
V  [libjvm.dylib+0x2b8500]
V  [libjvm.dylib+0x3607c0]
V  [libjvm.dylib+0xe526d]
V  [libjvm.dylib+0xf8039]
V  [libjvm.dylib+0xf8210]
V  [libjvm.dylib+0xecdce]
V  [libjvm.dylib+0xecf0d]
V  [libjvm.dylib+0xf5586]
V  [libjvm.dylib+0xf6345]
V  [libjvm.dylib+0xe4f6b]
V  [libjvm.dylib+0x124fcd]
V  [libjvm.dylib+0x126940]
V  [libjvm.dylib+0x3809d4]
V  [libjvm.dylib+0x389361]
V  [libjvm.dylib+0x38944e]
V  [libjvm.dylib+0x2f3bb2]
C  [libSystem.B.dylib+0x326f5]  _pthread_start+0x141
C  [libSystem.B.dylib+0x325b2]  thread_start+0x22


Current CompileTask:
C1:3469 
ruby.jit.ruby.Users.headius.NetBeansProjects.jruby.lib.ruby.$1_dot_8.webrick.server.initialize30815466_16937640BlockCallback$block_0$RUBY$__block__xx1.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; 
(14 bytes)


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

Java Threads: ( => current thread )
   0x00c5bc00 JavaThread "Ruby Thread25332399" daemon [_thread_blocked, 
id=-1338568704]
   0x00832000 JavaThread "Low Memory Detector" daemon [_thread_blocked, 
id=-1339437056]
=>0x0082c800 JavaThread "CompilerThread0" daemon [_thread_in_vm, 
id=-1339772928]
   0x00821000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, 
id=-1340305408]
   0x0081fc00 JavaThread "Finalizer" daemon [_thread_blocked, 
id=-1340641280]
   0x0081b800 JavaThread "Reference Handler" daemon [_thread_blocked, 
id=-1340977152]
   0x00800800 JavaThread "main" [_thread_blocked, id=-1341845504]

Other Threads:
   0x00819000 VMThread [id=-1341313024]
   0x00832c00 WatcherThread [id=-1338904576]

VM state:synchronizing (normal execution)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x00103190/0x001031c0] Threads_lock - owner thread: 0x00819000

Heap
  def new generation   total 18176K, used 13924K [0x03960000, 
0x04d10000, 0x04d10000)
   eden space 16192K,  81% used [0x03960000, 0x046348f0, 0x04930000)
   from space 1984K,  39% used [0x04b20000, 0x04be48a0, 0x04d10000)
   to   space 1984K,   0% used [0x04930000, 0x04930000, 0x04b20000)
  tenured generation   total 241984K, used 201960K [0x04d10000, 
0x13960000, 0x13960000)
    the space 241984K,  83% used [0x04d10000, 0x1124a020, 0x1124a200, 
0x13960000)
  compacting perm gen  total 43008K, used 42824K [0x13960000, 
0x16360000, 0x17960000)
    the space 43008K,  99% used [0x13960000, 0x163322d8, 0x16332400, 
0x16360000)
No shared spaces configured.

Dynamic libraries:
Error: Cannot print dynamic libraries.

VM Arguments:
jvm_args: -ea -Xmx256M -Djava.awt.headless=true 
-Djruby.home=/Users/headius/NetBeansProjects/jruby -Djruby.lib=lib 
-Djruby.compile.mode=JIT -Djruby.jit.threshold=0 -Djruby.jit.max=-1 
-Djruby.compat.version=ruby1_8 -Djruby.objectspace.enabled=true 
-Djruby.runtime.threadlocal=false -Djruby.thread.pool.enabled=false 
-Djruby.reflection=false -Djruby.jit.logging.verbose=true 
-Demma.coverage.out.file=/Users/headius/NetBeansProjects/jruby/build/test-results/coverage.emma 
-Demma.coverage.out.merge=true
java_command: 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner 
testsfile=/Users/headius/NetBeansProjects/jruby/junittestcases1457541522.properties 
filtertrace=true haltOnError=false haltOnFailure=true showoutput=true 
outputtoformatters=true logtestlistenerevents=true 
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/Users/headius/NetBeansProjects/jruby/build/test-results/IGNORETHIS.xml 
formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter 
crashfile=/Users/headius/NetBeansProjects/jruby/junitvmwatcher1541125117.properties 
propsfile=/Users/headius/NetBeansProjects/jruby/junit90313062.properties
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/soylatte/Home
PATH=/System/Library/Frameworks/JavaVM.framework/Versions/soylatte/Home/bin:/Users/headius/NetBeansProjects/jruby/bin:/bin:/Users/headius/NetBeansProjects/rubinius/bin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/bin:/opt/local/sbin
SHELL=/bin/bash
DISPLAY=/tmp/launch-dlPihr/:0
DYLD_FALLBACK_LIBRARY_PATH=/System/Library/Frameworks/JavaVM.framework/Versions/soylatte/Home/jre/lib/i386/client:/System/Library/Frameworks/JavaVM.framework/Versions/soylatte/Home/jre/lib/i386:/System/Library/Frameworks/JavaVM.framework/Versions/soylatte/Home/jre/../lib/i386:/System/Library/Frameworks/JavaVM.framework/Versions/soylatte/Home/jre/lib/i386/server:/System/Library/Frameworks/JavaVM.framework/Versions/soylatte/Home/jre/lib/i386:/System/Library/Frameworks/JavaVM.framework/Versions/soylatte/Home/jre/../lib/i386

Signal Handlers:
SIGSEGV: [libjvm.dylib+0x3bfb80], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGBUS: [libjvm.dylib+0x3bfb80], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGFPE: [libjvm.dylib+0x2ef4e0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGPIPE: [libjvm.dylib+0x2ef4e0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGILL: [libjvm.dylib+0x2ef4e0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGUSR1: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000
SIGUSR2: [libjvm.dylib+0x2f06d0], sa_mask[0]=0x00000004, sa_flags=0x00000042
SIGHUP: [libjvm.dylib+0x2f1a90], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGINT: [libjvm.dylib+0x2f1a90], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGQUIT: [libjvm.dylib+0x2f1a90], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGTERM: [libjvm.dylib+0x2f1a90], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGUSR2: [libjvm.dylib+0x2f06d0], sa_mask[0]=0x00000004, sa_flags=0x00000042


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

OS:Bsd
uname:Darwin 9.3.0 Darwin Kernel Version 9.3.0: Fri May 23 00:49:16 PDT 
2008; root:xnu-1228.5.18~1/RELEASE_I386 i386
rlimit: STACK 8192k, CORE 0k, NPROC 266, NOFILE 10240
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 14 
stepping 8, cmov, cx8, fxsr, mmx, sse, sse2, sse3

Memory: 4k page, physical 1855496k(463874k free)

vm_info: Java HotSpot(TM) Client VM 
(1.6.0_03-p3-landonf_05_dec_2007_22_04-b00) for bsd-x86, built on Dec  5 
2007 22:13:24 by "landonf" with gcc 4.0.1 (Apple Inc. build 5465)




More information about the hotspot-dev mailing list