Problems with libz since is gone...

Pierre-Luc Drouin pldrouin at
Thu Jan 26 21:46:49 UTC 2012


so various ports, in particular the java ports, are giving me headaches
since /lib/ was replaced by /lib/ I managed to update
most of my ports, but the binary java ports, such as diablo-jdk16, are now
installing broken binary files. Even if I put an entry such as

in /etc/libmap.conf

javac --version
# An unexpected error has been detected by Java Runtime Environment:
#  SIGBUS (0xa) at pc=0x2811918c, pid=99059, tid=0x28404900
# Java VM: Diablo Java HotSpot(TM) Client VM (10.0-b23 mixed mode, sharing
# Problematic frame:
# C  []  vsnprintf+0x1c
# An error report file with more information is saved as:
# /usr/ports/graphics/xv/hs_err_pid99059.log
# Please submit bug reports to freebsd-java at

cat hs_err_pid99059.log
---------------  T H R E A D  ---------------

Current thread (0x2863d400):  JavaThread "Unknown thread" [_thread_in_vm,
id=675301632, stack(0xbf5ff000,0xbf9ff000)]

siginfo:si_signo=SIGBUS: si_errno=0, si_code=3 (BUS_OBJERR),

EAX=0xbf9fe32c, EBX=0x281d0884, ECX=0x28ba535b, EDX=0x00000100
ESP=0xbf9fe14c, EBP=0xbf9fe254, ESI=0xbf9fe32c, EDI=0x00000056
EIP=0x2811918c, EFLAGS=0x00010206

Top of Stack: (sp=0xbf9fe14c)
0xbf9fe14c:   bf9fe168 bf9fe168 000000c8 2808d538
0xbf9fe15c:   2840f370 28682f50 00000003 28b89698
0xbf9fe16c:   2902c9c0 00000000 2902ca88 2902ca88
0xbf9fe17c:   bf9fe42c bf9fe430 bf9fe430 2902ca45
0xbf9fe18c:   28000000 bf9fe168 2902ca88 00000000
0xbf9fe19c:   2902ca88 2902ca88 00000000 00000000
0xbf9fe1ac:   00000000 2902ca88 bf9fe1d4 289783bd
0xbf9fe1bc:   2845c180 00000000 2902ca88 289783aa

Instructions: (pc=0x2811918c)
0x2811917c:   e8 00 00 00 00 5b 81 c3 03 77 0b 00 66 0f ef c0
0x2811918c:   0f 29 45 d8 0f 29 45 c8 0f 29 45 b8 0f 29 45 a8

Stack: [0xbf5ff000,0xbf9ff000],  sp=0xbf9fe14c,  free space=4092k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
C  []  vsnprintf+0x1c
V  []
V  []
V  []
V  []
V  []
V  []
V  []
V  []
V  []
V  []
V  []
V  []
V  []
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::StubRoutines (1)
V  []
V  []
V  []
V  []
V  []
V  []
V  []
V  []
V  []
C  [javac+0xa755]  JavaMain+0x1cf5
C  [javac+0x8b01]  JavaMain+0xa1
C  []  pthread_create+0x72e

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::StubRoutines (1)

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

Java Threads: ( => current thread )
=>0x2863d400 JavaThread "Unknown thread" [_thread_in_vm, id=675301632,

Other Threads:
  0x28488800 VMThread [stack: 0xbf57e000,0xbf5fe000] [id=675420160]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

 def new generation   total 960K, used 17K [0x4aff0000, 0x4b0f0000,
  eden space 896K,   2% used [0x4aff0000, 0x4aff47c8, 0x4b0d0000)
  from space 64K,   0% used [0x4b0d0000, 0x4b0d0000, 0x4b0e0000)
  to   space 64K,   0% used [0x4b0e0000, 0x4b0e0000, 0x4b0f0000)
 tenured generation   total 7168K, used 0K [0x4b4d0000, 0x4bbd0000,
   the space 7168K,   0% used [0x4b4d0000, 0x4b4d0000, 0x4b4d0200,
 compacting perm gen  total 12288K, used 4K [0x4eff0000, 0x4fbf0000,
   the space 12288K,   0% used [0x4eff0000, 0x4eff1260, 0x4eff1400,
    ro space 8192K,  73% used [0x52ff0000, 0x535d3618, 0x535d3800,
    rw space 12288K,  58% used [0x537f0000, 0x53ee9a30, 0x53ee9c00,

Dynamic libraries:
0x08048000      /usr/local/diablo-jdk1.6.0/bin/javac
0x280ac000      /lib/
0x280cc000      /lib/
0x28800000      /usr/local/diablo-jdk1.6.0/jre/lib/i386/client/
0x281fb000      /usr/lib/
0x282d7000      /lib/
0x282f3000      /lib/
0x28310000      /usr/local/diablo-jdk1.6.0/jre/lib/i386/
0x2831d000      /usr/local/diablo-jdk1.6.0/jre/lib/i386/
0x28344000      /usr/local/diablo-jdk1.6.0/jre/lib/i386/
0x2834d000      /lib/
0x28059000      /libexec/

VM Arguments:
jvm_args: -Dapplication.home=/usr/local/diablo-jdk1.6.0 -Xms8m -Xss4m
java_command: --version
Launcher Type: SUN_STANDARD

Environment Variables:

Signal Handlers:
SIGSEGV: [], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGBUS: [], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGFPE: [], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGPIPE: [], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGXFSZ: [], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGILL: [], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [], sa_mask[0]=0x00000000, sa_flags=0x00000042
SIGHUP: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGINT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGTERM: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGQUIT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000

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

uname:FreeBSD 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Jan 23 16:02:56 EST
2012  i386
rlimit: STACK 65536k, CORE infinity, NPROC 5547, NOFILE 11095
CPU:total 2 (1 cores per cpu, 1 threads per core) family 15 model 2
stepping 7, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 2776236k(694059k free)

vm_info: Diablo Java HotSpot(TM) Client VM (10.0-b23) for bsd-x86 JRE
(1.6.0_07-b02), built on May 12 2008 23:14:46 by "truk" with gcc 4.2.1
20070719  [FreeBSD]

time: Thu Jan 26 16:40:55 2012
elapsed time: 0 seconds

How can I fix this exactly?


More information about the freebsd-questions mailing list