Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2007 16:57:41 +0400
From:      "Vladimir Grebenschikov" <vova@fbsd.ru>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Cc:        current@freebsd.org
Subject:   linux-sun-jdk-1.5.0.12,2 - java SIGSEGV and then wait forever
Message-ID:  <1181998661.51911@vbook.fbsd.ru>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users 
>Originator:	Vladimir Grebenschikov 
>Organization:	SWsoft 
>Confidential:	no 
>Synopsis:	linux-sun-jdk-1.5.0.12,2 - java SIGSEGV and then wait forever 
>Severity:	non-critical 
>Priority:	medium 
>Category:	ports 
>Class:		sw-bug 
>Release:	FreeBSD 7.0-CURRENT i386 
>Environment:


System: FreeBSD 7.0-CURRENT #15: Tue Jun 12 18:00:59 MSD 2007
    root@vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK

updated at 14 jun 2007


>Description:


/usr/local/linux-sun-jdk1.5.0/bin/java -version
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x280eb75a, pid=51892, tid=1389505456
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_12-b04 mixed mode)
# Problematic frame:
# 
[error occurred during error reporting, step 60, id 0xb]

# An error report file with more information is saved as hs_err_pid51892.log
[thread 1390029744 also had an error]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
[thread 672831168 also had an error]



^T - load: 0.59  cmd: java 51894 [nanslp] 0.00u 0.00s 0% 16032k

... forever sleep

% gdb  /usr/local/linux-sun-jdk1.5.0/bin/java java.core 
(no debugging symbols found)...
Core was generated by `java'.
Program terminated with signal 6, Aborted.
#0  0x280b3165 in ?? ()
(gdb) bt
#0  0x280b3165 in ?? ()
...
#1822 0x00000000 in ?? ()
Cannot access memory at address 0x52d23000
(gdb) 

% cat hs_err_pid51892.log
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x280eb75a, pid=51892, tid=1389505456
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_12-b04 mixed mode)
# Problematic frame:
# 
[error occurred during error reporting, step 60, id 0xb]


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

Current thread (0x08076a38):  GCTaskThread [id=51893]

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

Registers:
EAX=0x00000000, EBX=0x281a4ff4, ECX=0x00000001, EDX=0x52d22104
ESP=0x52d220a0, EBP=0x52d220a8, ESI=0x00000000, EDI=0x52d220e0
EIP=0x280eb75a, CR2=0x00000000, EFLAGS=0x00010202

Top of Stack: (sp=0x52d220a0)
0x52d220a0:   28083ff4 52d22144 52d220b8 2807c355
0x52d220b0:   52d22104 2876dfd0 52d22128 285e3d72
0x52d220c0:   52d220e0 52d22144 00000000 00000000
0x52d220d0:   08077538 08077520 00052d22 52d23000
0x52d220e0:   00000000 00000000 00000009 00001000
0x52d220f0:   52d23000 00080000 52d22104 00000000
0x52d22100:   00000004 00000000 00000000 00000000
0x52d22110:   2807e0ce 00000000 00000000 2876dfd0 

Instructions: (pc=0x280eb75a)
0x280eb74a:   b9 01 00 00 00 65 83 3d 0c 00 00 00 00 3e 74 01
0x280eb75a:   f0 0f b1 0e 0f 85 27 42 00 00 52 56 e8 09 f7 ff 

Stack: [0x00000000,0x00000000),  sp=0x52d220a0,  free space=1356936k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0x5f75a]  __libc_free+0x5a
C  [libpthread.so.0+0x6355]  pthread_attr_destroy+0x21
V  [libjvm.so+0x439d72]
V  [libjvm.so+0x439a93]
V  [libjvm.so+0x4d5a29]
V  [libjvm.so+0x20cc61]
V  [libjvm.so+0x438228]
C  [libpthread.so.0+0x59b3]


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

Java Threads: ( => current thread )

Other Threads:

VM state:not at safepoint (not fully initilizated)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 3584K, used 0K [0x4f1e0000, 0x4f5e0000, 0x52a80000)
  eden space 3072K, 0% used [0x4f1e0000,0x4f1e0000,0x4f4e0000)
  from space 512K, 0% used [0x4f560000,0x4f560000,0x4f5e0000)
  to   space 512K, 0% used [0x4f4e0000,0x4f4e0000,0x4f560000)
 PSOldGen        total 29056K, used 0K [0x32c80000, 0x348e0000, 0x4f1e0000)
  object space 29056K, 0% used [0x32c80000,0x32c80000,0x348e0000)
 PSPermGen       total 16384K, used 65K [0x2ec80000, 0x2fc80000, 0x32c80000)
  object space 16384K, 0% used [0x2ec80000,0x2ec905b0,0x2fc80000)

Dynamic libraries:
08048000-08057000 r-xp 00010000 
VM Arguments:
java_command: <unknown>
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/opt/bin:/opt/sbin:/home/vova/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/X11R6/sbin:/usr/local/bin:/usr/local/sbin
USERNAME=vova
LD_LIBRARY_PATH=/usr/local/linux-sun-jdk1.5.0/jre/lib/i386/server:/usr/local/linux-sun-jdk1.5.0/jre/lib/i386:/usr/local/linux-sun-jdk1.5.0/jre/../lib/i386
SHELL=/bin/tcsh
DISPLAY=:0.0
HOSTTYPE=FreeBSD
OSTYPE=FreeBSD
MACHTYPE=i386

Signal Handlers:
SIGSEGV: [libjvm.so+0x513040], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x513040], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x436650], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x436650], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x436650], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x10000000
SIGUSR2: [libjvm.so+0x438aa0], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGINT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x10000000
SIGQUIT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x10000000
SIGTERM: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x10000000


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

OS:Fedora Core release 4 (Stentz)

uname:Linux 2.6.9 FreeBSD 7.0-CURRENT #15: Tue Jun 12 18:00:59 MSD 2007 i686
libc:glibc 2.3.6 NPTL 2.3.6 
rlimit: STACK 65536k, CORE infinity, NPROC 5547, NOFILE 11095, AS infinity
load average:0.63 0.82 0.87

CPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 15 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 2087188k(1890168k free), swap 2097152k(1943512k free)

vm_info: Java HotSpot(TM) Server VM (1.5.0_12-b04) for linux-x86, built on May  2 2007 02:13:16 by java_re with gcc 3.2.1-7a (J2SE release)



>How-To-Repeat:





>Fix:








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