Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Feb 2007 21:29:42 +1100
From:      Peter Kostouros <kpeter@melbpc.org.au>
To:        emulation@freebsd.org
Subject:   linux-2.6.16 emulation: linux-sun-jdk1.6.0 program problem
Message-ID:  <45C46416.3020406@melbpc.org.au>

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

On my system (CURRENT as of 03FEB2007) linux-sun-jdk1.5.0 and 
linux-sun-jdk1.6.0 applications do not run under linux 2.6.16 emulation 
whereas they do under linux 2.4.2 emulation.

The error files generated for the command

java -version

for the above mentioned java environments are shown below.

Let me know if I can provide further information.


linux-sun-jdk1.6.0
------------------

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x280ee737, pid=1856, tid=673328048
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
#
[error occurred during error reporting, step 60, id 0xb]

# 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 is native thread

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

Registers:
EAX=0x00000000, EBX=0x281a7ff4, ECX=0x00000078, EDX=0x00000080
ESP=0x28222210, EBP=0x28222218, ESI=0x28222250, EDI=0x282222b0
EIP=0x280ee737, CR2=0x00000000, EFLAGS=0x00010202

Top of Stack: (sp=0x28222210)
0x28222210:   2807eff4 28222250 28222228 28077355
0x28222220:   00000080 282222b4 28222298 06307fca
0x28222230:   28222250 282222b4 00000000 00000000
0x28222240:   0000000c 080587e0 28222278 28223000
0x28222250:   00000000 00000000 00000008 00001000
0x28222260:   28223000 00050000 00000080 08058000
0x28222270:   08058000 08058000 282222a8 0637fad4
0x28222280:   08058000 282223bb 282222a8 08058000

Instructions: (pc=0x280ee737)
0x280ee727:   5e 8d 65 f8 5b 5e c9 c3 90 85 d2 74 f4 8d 4a f8
0x280ee737:   8b 41 04 a8 02 75 58 a8 04 75 4a 8d b3 8c 18 00

Stack: [0x281d3000,0x28223000),  sp=0x28222210,  free space=316k
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 )

Other Threads:

VM state:not at safepoint (not fully initilizated)

VM Mutex/Monitor currently owned by a thread: None

Heap

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

Dynamic libraries:
06000000-06412000 r-xp 00511000
VM Arguments:
java_command: <unknown>
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/sbin:/bin:/usr/sbin:/usr/bin
LD_LIBRARY_PATH=/usr/local/linux-sun-jdk1.6.0/jre/lib/i386/client:/usr/local/linux-sun-jdk1.6.0/jre/lib/i386:/usr/local/linux-sun-jdk1.6.0/jre/../lib/i386
SHELL=/usr/local/bin/bash

Signal Handlers:
SIGSEGV: [libjvm.so+0x3aea90], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x3aea90], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x304e70], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x304e70], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x304e70], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x43807efb, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x306e80], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: SIG_DFL, sa_mask[0]=0x43807efb, sa_flags=0x00000000
SIGINT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGQUIT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGTERM: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x306e80], sa_mask[0]=0x00000000, sa_flags=0x10000004


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

OS:Fedora Core release 4 (Stentz)

uname:Linux 2.6.16 FreeBSD 7.0-CURRENT #0: Sat Feb  3 14:13:54 EST 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.03 0.11 0.11

CPU:total 1

Memory: 4k page, physical 1035656k(998948k free), swap 2097152k(2097152k 
free)

vm_info: Java HotSpot(TM) Client VM (1.6.0-b105) for linux-x86, built on 
Nov 29 2006 01:24:38 by "java_re" with gcc 3.2.1-7a (J2SE release)



linux-sun-jdk1.5.0
------------------

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x280ea75a, pid=1842, tid=900594608
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode)
# Problematic frame:
# C  [libc.so.6+0x5f75a]  __libc_free+0x5a
#

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

Current thread (0x080b5d30):  VMThread [id=1843]

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

Registers:
EAX=0x00000000, EBX=0x281a3ff4, ECX=0x00000001, EDX=0x35adf204
ESP=0x35adf1a0, EBP=0x35adf1a8, ESI=0x00000000, EDI=0x35adf1e0
EIP=0x280ea75a, CR2=0x00000000, EFLAGS=0x00010202

Top of Stack: (sp=0x35adf1a0)
0x35adf1a0:   28082ff4 35adf244 35adf1b8 2807b355
0x35adf1b0:   35adf204 28528bcc 35adf228 28431962
0x35adf1c0:   35adf1e0 35adf244 00000000 00000000
0x35adf1d0:   080b6940 080b6928 00035adf 35ae0000
0x35adf1e0:   00000000 00000000 00000009 00001000
0x35adf1f0:   35ae0000 00080000 35adf204 00000000
0x35adf200:   00000004 00000000 00000000 00000000
0x35adf210:   2807d0ce 00000000 00000000 28528bcc

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

Stack: [0x00000000,0x00000000),  sp=0x35adf1a0,  free space=879484k
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+0x288962]
V  [libjvm.so+0x2886a3]
V  [libjvm.so+0x2f49ac]
V  [libjvm.so+0x2f621d]
V  [libjvm.so+0x2ec1dc]
V  [libjvm.so+0x326cde]
V  [libjvm.so+0x286e88]
C  [libpthread.so.0+0x59b3]


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

Java Threads: ( => current thread )
  0x0805c7f0 JavaThread  [_thread_blocked, id=1842]

Other Threads:
=>0x080b5d30 VMThread [id=1843]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 576K, used 10K [0x2d9e0000, 0x2da80000, 
0x2dec0000)
  eden space 512K,   2% used [0x2d9e0000, 0x2d9e2908, 0x2da60000)
  from space 64K,   0% used [0x2da60000, 0x2da60000, 0x2da70000)
  to   space 64K,   0% used [0x2da70000, 0x2da70000, 0x2da80000)
 tenured generation   total 1408K, used 0K [0x2dec0000, 0x2e020000, 
0x319e0000)
   the space 1408K,   0% used [0x2dec0000, 0x2dec0000, 0x2dec0200, 
0x2e020000)
 compacting perm gen  total 8192K, used 423K [0x319e0000, 0x321e0000, 
0x359e0000)
   the space 8192K,   5% used [0x319e0000, 0x31a49d68, 0x31a49e00, 
0x321e0000)
No shared spaces configured.

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

Environment Variables:
PATH=/sbin:/bin:/usr/sbin:/usr/bin
LD_LIBRARY_PATH=/usr/local/linux-sun-jdk1.5.0/jre/lib/i386/client:/usr/local/linux-sun-jdk1.5.0/jre/lib/i386:/usr/local/linux-sun-jdk1.5.0/jre/../lib/i386
SHELL=/usr/local/bin/bash

Signal Handlers:
SIGSEGV: [libjvm.so+0x31fae0], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x31fae0], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x2852b0], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x2852b0], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x2852b0], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x43807efb, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x287700], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: SIG_DFL, sa_mask[0]=0x43807efb, sa_flags=0x00000000
SIGINT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGQUIT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGTERM: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000


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

OS:Fedora Core release 4 (Stentz)

uname:Linux 2.6.16 FreeBSD 7.0-CURRENT #0: Sat Feb  3 14:13:54 EST 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.09 0.14 0.12

CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 1035656k(1000432k free), swap 
2097152k(2097152k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_07-b03) for linux-x86, built 
on May  3 2006 01:46:28 by java_re with gcc 3.2.1-7a (J2SE release)


-- 

Regards

Peter

As always the organisation disavows knowledge of this email




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