From owner-freebsd-questions@FreeBSD.ORG Thu Jan 26 21:46:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E512106566B for ; Thu, 26 Jan 2012 21:46:49 +0000 (UTC) (envelope-from pldrouin@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 45D418FC0C for ; Thu, 26 Jan 2012 21:46:48 +0000 (UTC) Received: by dadw1 with SMTP id w1so1020713dad.13 for ; Thu, 26 Jan 2012 13:46:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=ZXTdOET9zP8rV4cGYC5OleVygL/rb4BgBUIcMAdKJS8=; b=HlZDoXqk+Xbv0zbbSyCq1O3UakDW+im/SReopMoC2MSJhXM43zueNMUr6yw/6dc4pH HBUBSc3t0MQwV/eQiF4mmdYjwkQCbz1ez9CFJd7qKn6bskvA9y+fO4fkwuLdq1yMsltU i5LO7FnLcRP2OM0f7VM+ohxRlb3H7Ge/4oIqw= MIME-Version: 1.0 Received: by 10.68.191.233 with SMTP id hb9mr8321155pbc.89.1327614408729; Thu, 26 Jan 2012 13:46:48 -0800 (PST) Sender: pldrouin@gmail.com Received: by 10.68.196.138 with HTTP; Thu, 26 Jan 2012 13:46:48 -0800 (PST) Date: Thu, 26 Jan 2012 16:46:48 -0500 X-Google-Sender-Auth: FHWwpsxd_CAQvn52jhUEBV9PPLI Message-ID: From: Pierre-Luc Drouin To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problems with libz since libz.so.5 is gone... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2012 21:46:49 -0000 Hi, so various ports, in particular the java ports, are giving me headaches since /lib/libz.so.5 was replaced by /lib/libz.so.6. 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 libz.so.4 libz.so.6 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 bsd-x86) # Problematic frame: # C [libc.so.7+0x4d18c] 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@FreeBSD.org # Abort 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), si_addr=0x2811918c Registers: 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 code) C [libc.so.7+0x4d18c] vsnprintf+0x1c V [libjvm.so+0x1fb30f] V [libjvm.so+0x1fb34b] V [libjvm.so+0x2e6221] V [libjvm.so+0x28cad9] V [libjvm.so+0x28cb97] V [libjvm.so+0x313e4f] V [libjvm.so+0x31402e] V [libjvm.so+0x31407c] V [libjvm.so+0x312ece] V [libjvm.so+0x3136af] V [libjvm.so+0x314770] V [libjvm.so+0x1458d5] V [libjvm.so+0x19ab54] v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::StubRoutines (1) V [libjvm.so+0x1aa0dc] V [libjvm.so+0x2a3fd9] V [libjvm.so+0x1a920f] V [libjvm.so+0x18134a] V [libjvm.so+0x1813b1] V [libjvm.so+0x18169e] V [libjvm.so+0x181c08] V [libjvm.so+0x333e3b] V [libjvm.so+0x1b3433] C [javac+0xa755] JavaMain+0x1cf5 C [javac+0x8b01] JavaMain+0xa1 C [libthr.so.3+0x68ce] 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, stack(0xbf5ff000,0xbf9ff000)] 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 Heap def new generation total 960K, used 17K [0x4aff0000, 0x4b0f0000, 0x4b4d0000) 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, 0x4eff0000) the space 7168K, 0% used [0x4b4d0000, 0x4b4d0000, 0x4b4d0200, 0x4bbd0000) compacting perm gen total 12288K, used 4K [0x4eff0000, 0x4fbf0000, 0x52ff0000) the space 12288K, 0% used [0x4eff0000, 0x4eff1260, 0x4eff1400, 0x4fbf0000) ro space 8192K, 73% used [0x52ff0000, 0x535d3618, 0x535d3800, 0x537f0000) rw space 12288K, 58% used [0x537f0000, 0x53ee9a30, 0x53ee9c00, 0x543f0000) Dynamic libraries: 0x08048000 /usr/local/diablo-jdk1.6.0/bin/javac 0x280ac000 /lib/libthr.so.3 0x280cc000 /lib/libc.so.7 0x28800000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/client/libjvm.so 0x281fb000 /usr/lib/libstdc++.so.6 0x282d7000 /lib/libm.so.5 0x282f3000 /lib/libgcc_s.so.1 0x282fe000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/native_threads/libhpi.so 0x28310000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libverify.so 0x2831d000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libjava.so 0x28344000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libzip.so 0x2834d000 /lib/libz.so.6 0x28059000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Dapplication.home=/usr/local/diablo-jdk1.6.0 -Xms8m -Xss4m -ea:com.sun.tools... java_command: com.sun.tools.javac.Main --version Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/local/diablo-jdk1.6.0 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin LD_LIBRARY_PATH=/usr/local/diablo-jdk1.6.0/jre/lib/i386/client:/usr/local/diablo-jdk1.6.0/jre/lib/i386:/usr/local/diablo-jdk1.6.0/jre/../lib/i386: SHELL=/bin/csh DISPLAY=:0.0 HOSTTYPE=FreeBSD OSTYPE=FreeBSD MACHTYPE=i386 Signal Handlers: SIGSEGV: [libjvm.so+0x3685b0], sa_mask[0]=0x7fffffff, sa_flags=0x00000042 SIGBUS: [libjvm.so+0x3685b0], sa_mask[0]=0x7fffffff, sa_flags=0x00000042 SIGFPE: [libjvm.so+0x2a4f60], sa_mask[0]=0x7fffffff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x2a4f60], sa_mask[0]=0x7fffffff, sa_flags=0x00000042 SIGXFSZ: [libjvm.so+0x2a4f60], sa_mask[0]=0x7fffffff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x2a4f60], sa_mask[0]=0x7fffffff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x2a7660], 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 --------------- OS:Bsd 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? Thanks!