Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 11:01:49 +0200
From:      Pascal Hofstee <caelian@gmail.com>
To:        freebsd-emulation@freebsd.org
Subject:   linux_base-fc6 and linux-sun-jdk* problems
Message-ID:  <1180083709.19278.13.camel@neo.zion>

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

I decided after the recent gcc-4.2.0, symbol versioning and xorg-7.2
update i might as well give the new linux_base-fc6 a whirl and see how
that works out.

The linux-base install itself went painless though i haven't really used
it yet until this morning when i wanted to install OpenOffice.org which
for which i need a native JDK to build. So i tried to install java/jdk15
which (on default) uses linux-sun-jdk14 as its bootstrapping compiler.

However this is where things started to go wrong ... i tried installing
linux-sun-jdk15 instead but wasn't any luckier there either.

A simple invocation of the command "javac" (no parameters whatsoever ..
plain javac) bails out with the following problem (under
linux-sun-jdk15):

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x280f999a, pid=7224, tid=900856720
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
# Problematic frame:
# C  [libc.so.6+0x6a99a]  cfree+0x7a
#
# An error report file with more information is saved as
hs_err_pid7224.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

(the process hangs at this point until i hit ^C)

the content of the hs_err_pid7224.log file is the following:

#
#  SIGSEGV (0xb) at pc=0x280f999a, pid=7224, tid=900856720
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
# Problematic frame: 
# C  [libc.so.6+0x6a99a]  cfree+0x7a
# 
 
---------------  T H R E A D  ---------------
 
Current thread (0x080b7568):  VMThread [id=7490]

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

Registers:
EAX=0x00000000, EBX=0x281cbff4, ECX=0x00000001, EDX=0x00000000
ESP=0x35b1f1d8, EBP=0x35b1f208, ESI=0x00000000, EDI=0x35b1f264
EIP=0x280f999a, CR2=0x00000000, EFLAGS=0x00010202

Top of Stack: (sp=0x35b1f1d8)
0x35b1f1d8:   35b1f1e4 00000020 080b8240 2807f690
0x35b1f1e8:   35b1fd80 35b00000 00000000 2807d01b
0x35b1f1f8:   00000000 28086ff4 35b1f2a4 35b1f240
0x35b1f208:   35b1f218 2807a9f6 35b1f264 2855c16c
0x35b1f218:   35b1f288 284626c2 35b1f240 35b1f2a4
0x35b1f228:   00000000 00000000 080b8160 080b8148
0x35b1f238:   00035b1f 35b20000 00000000 00000000
0x35b1f248:   00000009 00001000 35b20000 00080000

Instructions: (pc=0x280f999a)
0x280f998a:   c0 b9 01 00 00 00 65 83 3d 0c 00 00 00 00 74 01
0x280f999a:   f0 0f b1 0e 0f 85 e3 0a 00 00 89 7c 24 04 89 34 

Stack: [0x00000000,0x00000000),  sp=0x35b1f1d8,  free space=879740k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
C  [libc.so.6+0x6a99a]  cfree+0x7a
C  [libpthread.so.0+0x69f6]  pthread_attr_destroy+0x26
V  [libjvm.so+0x2916c2]
V  [libjvm.so+0x291403]
V  [libjvm.so+0x2fed1c]
V  [libjvm.so+0x30058d]
V  [libjvm.so+0x2f620c]
V  [libjvm.so+0x33128e]
V  [libjvm.so+0x28fbe8]
C  [libpthread.so.0+0x526a]


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

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

Other Threads:
=>0x080b7568 VMThread [id=7490]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None 

Heap
 def new generation   total 576K, used 10K [0x2da20000, 0x2dac0000,
0x2df00000)
  eden space 512K,   2% used [0x2da20000, 0x2da22908, 0x2daa0000)
  from space 64K,   0% used [0x2daa0000, 0x2daa0000, 0x2dab0000)
  to   space 64K,   0% used [0x2dab0000, 0x2dab0000, 0x2dac0000)
 tenured generation   total 7552K, used 0K [0x2df00000, 0x2e660000,
0x31a20000)
   the space 7552K,   0% used [0x2df00000, 0x2df00000, 0x2df00200,
0x2e660000)
 compacting perm gen  total 8192K, used 424K [0x31a20000, 0x32220000,
0x35a20000)
   the space 8192K,   5% used [0x31a20000, 0x31a8a268, 0x31a8a400,
0x32220000)
No shared spaces configured.

Dynamic libraries:
08048000-08056000 r-xp 00010000 
VM Arguments:
jvm_args: -Dapplication.home=/usr/local/linux-sun-jdk1.5.0 -Xms8m -Xss4m
-ea:com.sun.tools...
java_command: com.sun.tools.javac.Main
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/usr/local/linux-sun-jdk1.5.0
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/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=/bin/csh
DISPLAY=:0.0
HOSTTYPE=FreeBSD
OSTYPE=freebsd7.0
MACHTYPE=i386

Signal Handlers:
SIGSEGV: [libjvm.so+0x32a000], sa_mask[0]=0x5ffb7eff,
sa_flags=0x10000004
SIGBUS: [libjvm.so+0x32a000], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x28e010], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x28e010], sa_mask[0]=0x5ffb7eff,
sa_flags=0x10000004
SIGILL: [libjvm.so+0x28e010], sa_mask[0]=0x5ffb7eff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x10000000
SIGUSR2: [libjvm.so+0x290460], 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=0x00000000
SIGQUIT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGTERM: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x10000000


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

OS:Fedora Core release 6 (Zod)

uname:Linux 2.6.16 FreeBSD 7.0-CURRENT #0: Wed May 23 00:37:58 CEST 2007
i686
libc:glibc 2.5 NPTL 2.5 
rlimit: STACK 65536k, CORE infinity, NPROC 5547, NOFILE 22500, AS
infinity
load average:0.22 0.15 0.10

CPU:total 1 (cores per cpu 1, threads per core 1) family 15 model 79
stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnowext,
3dnow

Memory: 4k page, physical 2075928k(1917728k free), swap
4194300k(4194300k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_11-b03) for linux-x86, built
on Dec 15 2006 02:25:41 by java_re with gcc 3.2.1-7a (J2SE release)



I hope somebody more knowledgeable in the inner workings of our
linuxulator can do something with this information.

-- 
Pascal Hofstee <caelian@gmail.com>




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