From owner-freebsd-java@FreeBSD.ORG Sun Jan 8 18:55:15 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65BB916A41F for ; Sun, 8 Jan 2006 18:55:15 +0000 (GMT) (envelope-from durian@shadetreesoftware.com) Received: from shadetreesoftware.com (ip-64-139-19-166.dsl.den.megapath.net [64.139.19.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB35643D75 for ; Sun, 8 Jan 2006 18:55:01 +0000 (GMT) (envelope-from durian@shadetreesoftware.com) Received: from mailhost.boogie.com (root@cpe-66-87-52-132.co.sprintbbd.net [66.87.52.132]) by shadetreesoftware.com (8.13.4/8.13.4) with ESMTP id k08IstX3087778 for ; Sun, 8 Jan 2006 11:54:56 -0700 (MST) (envelope-from durian@shadetreesoftware.com) Received: from man.boogie.com (man.boogie.com [192.168.1.3]) by mailhost.boogie.com (8.13.4/8.13.4) with ESMTP id k08Issxm076642 for ; Sun, 8 Jan 2006 11:54:54 -0700 (MST) (envelope-from durian@shadetreesoftware.com) From: Mike Durian To: freebsd-java@freebsd.org.mailing.list Date: Sun, 8 Jan 2006 11:54:53 -0700 User-Agent: KMail/1.8.3 Organization: Shade Tree Software, LLC MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601081154.54114.durian@shadetreesoftware.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (shadetreesoftware.com [192.168.2.2]); Sun, 08 Jan 2006 11:54:57 -0700 (MST) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (mailhost.boogie.com [66.87.52.132]); Sun, 08 Jan 2006 11:54:54 -0700 (MST) X-Virus-Scanned: ClamAV 0.87.1/1235/Sun Jan 8 11:13:01 2006 on oak.shadetreesoftware.com X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on oak.shadetreesoftware.com Cc: Subject: libz fast_inflate segmentation violation X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2006 18:55:15 -0000 FreeBSD-6.0 STABLE cvsup'd around Dec 17. jdk-1.5.0p2_3 openoffice.org-2.0.0_1 I was trying to install an openoffice package manager: http://www.ipd.uni-karlsruhe.de/~hauma/svg-import/ The HotSpot virtual machine encountered a segmentation violation in libz's fast_inflate. Here is the more detailed log. mike # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2a8e46bc, pid=50118, tid=0x8079a00 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-p2-root_07_jan_2006_09_16 mixed mode) # Problematic frame: # C [libz.so.2+0x56bc] inflate_fast+0x18 # --------------- T H R E A D --------------- Current thread (0x080a7a00): JavaThread "main" [_thread_in_native, id=134715904] siginfo:si_signo=11, si_errno=0, si_code=12, si_addr=0x00000023 Registers: EAX=0x00000007, EBX=0x2a8ee744, ECX=0x080b2080, EDX=0x080b2540 ESP=0xbf6faad0, EBP=0xbf6fab20, ESI=0x080b2080, EDI=0x080a7a00 EIP=0x2a8e46bc, EFLAGS=0x00010206 Top of Stack: (sp=0xbf6faad0) 0xbf6faad0: 28071261 2808d844 00000001 08079a48 0xbf6faae0: 28070e2a 283a4c82 00000001 28099f00 0xbf6faaf0: 2b4388f4 080b2080 080a7a00 bf6fabc0 0xbf6fab00: 2806f3e9 2809e700 00000088 080b2080 0xbf6fab10: 080b2540 2b4388f4 080b2080 080a7a00 0xbf6fab20: bf6fabc0 2b432ae4 00000007 00000003 0xbf6fab30: 081d7000 081d7400 080b2540 080b2080 0xbf6fab40: 280893d8 2b4329ce 2b4389c0 bf6fab6c Instructions: (pc=0x2a8e46bc) 0x2a8e46ac: 44 e8 00 00 00 00 5b 81 c3 92 a0 00 00 8b 45 08 0x2a8e46bc: 8b 40 1c 89 45 f0 8b 55 08 8b 0a 49 89 4d ec 03 Stack: [0xbf5fc000,0xbf6fc000), sp=0xbf6faad0, free space=1018k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libz.so.2+0x56bc] inflate_fast+0x18 C [libzip.so+0xeae4] inflate_codes+0x124 C [libzip.so+0xb58c] inflate_blocks+0x10b4 C [libzip.so+0x74c5] _java_libz_inflate+0x385 C [libzip.so+0x3aaa] Java_java_util_zip_Inflater_inflateBytes+0x16e j java.util.zip.Inflater.inflateBytes([BII)I+0 j java.util.zip.Inflater.inflate([BII)I+40 j java.util.zip.InflaterInputStream.read([BII)I+42 j java.io.DataInputStream.readFully([BII)V+34 j java.util.jar.JarFile.hasClassPathAttribute()Z+59 j java.util.jar.JavaUtilJarAccessImpl.jarFileHasClassPathAttribute(Ljava/util/jar/JarFile;)Z+1 j sun.misc.URLClassPath$JarLoader.getClassPath()[Ljava/net/URL;+20 j sun.misc.URLClassPath.getLoader(I)Lsun/misc/URLClassPath$Loader;+78 j sun.misc.URLClassPath.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;+6 j java.net.URLClassLoader$1.run()Ljava/lang/Object;+26 v ~StubRoutines::call_stub V [libjvm.so+0x25c651] V [libjvm.so+0x34fbe5] V [libjvm.so+0x25c4ab] V [libjvm.so+0x2a477c] C [libjava.so+0x111d2] Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2Ljava_security_AccessControlContext_2+0x26 j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; +0 j java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13 j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+43 j sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class; +36 j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+23 j java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3 v ~StubRoutines::call_stub V [libjvm.so+0x25c651] V [libjvm.so+0x34fbe5] V [libjvm.so+0x25c4ab] V [libjvm.so+0x265a0f] V [libjvm.so+0x268c2d] C [javavm.uno.so+0x9947] component_getFactory+0x4123 C [javavm.uno.so+0xea22] component_getFactory+0x91fe C [javaloader.uno.so+0x3854] component_getFactory+0xacc C [javaloader.uno.so+0x46a3] component_getFactory+0x191b C [implreg.uno.so+0x9e91] component_getFactory+0x5561 C [implreg.uno.so+0xa279] component_getFactory+0x5949 C [libgcc3_uno.so+0x51c4] +0x3194 C [libgcc3_uno.so+0x54d6] +0x34a6 C [libgcc3_uno.so+0x5875] +0x3845 C [liburp_uno.so+0x1b3a7] component_canUnload+0x173e3 C [liburp_uno.so+0xc445] component_canUnload+0x8481 C [liburp_uno.so+0xc96d] component_canUnload+0x89a9 C [libuno_cppu.so.3+0x2a7a0] uno_threadpool_destroy+0x1ec0 C [libuno_cppu.so.3+0x2b488] uno_threadpool_destroy+0x2ba8 C [libuno_cppu.so.3+0x2ada2] uno_threadpool_destroy+0x24c2 C [libuno_sal.so.3+0x16811] osl_yieldThread+0x17a C [libpthread.so.2+0xe2f9] _pthread_create+0x6d1 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j java.util.zip.Inflater.inflateBytes([BII)I+0 j java.util.zip.Inflater.inflate([BII)I+40 j java.util.zip.InflaterInputStream.read([BII)I+42 j java.io.DataInputStream.readFully([BII)V+34 j java.util.jar.JarFile.hasClassPathAttribute()Z+59 j java.util.jar.JavaUtilJarAccessImpl.jarFileHasClassPathAttribute(Ljava/util/jar/JarFile;)Z+1 j sun.misc.URLClassPath$JarLoader.getClassPath()[Ljava/net/URL;+20 j sun.misc.URLClassPath.getLoader(I)Lsun/misc/URLClassPath$Loader;+78 j sun.misc.URLClassPath.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;+6 j java.net.URLClassLoader$1.run()Ljava/lang/Object;+26 v ~StubRoutines::call_stub j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; +0 j java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13 j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+43 j sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class; +36 j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+23 j java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x08192800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=135866880] 0x08192400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=135865856] 0x08192000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135864832] 0x0812ac00 JavaThread "Finalizer" daemon [_thread_blocked, id=135441920] 0x0812a800 JavaThread "Reference Handler" daemon [_thread_blocked, id=135440896] =>0x080a7a00 JavaThread "main" [_thread_in_native, id=134715904] Other Threads: 0x080ab900 VMThread [id=135439872] 0x080ab400 WatcherThread [id=135867904] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 576K, used 179K [0x30350000, 0x303f0000, 0x30830000) eden space 512K, 35% used [0x30350000, 0x3037cd90, 0x303d0000) from space 64K, 0% used [0x303d0000, 0x303d0000, 0x303e0000) to space 64K, 0% used [0x303e0000, 0x303e0000, 0x303f0000) tenured generation total 1408K, used 0K [0x30830000, 0x30990000, 0x34350000) the space 1408K, 0% used [0x30830000, 0x30830000, 0x30830200, 0x30990000) compacting perm gen total 8192K, used 1256K [0x34350000, 0x34b50000, 0x38350000) the space 8192K, 15% used [0x34350000, 0x3448a398, 0x3448a400, 0x34b50000) No shared spaces configured. Dynamic libraries: 0x08048000 /disk2/local/openoffice.org2.0.0/program/uno.bin 0x2809f000 /disk2/local/openoffice.org2.0.0/program/libuno_sal.so.3 0x2824b000 /disk2/local/openoffice.org2.0.0/program/libuno_salhelpergcc3.so.3 0x2824f000 /disk2/local/openoffice.org2.0.0/program/libuno_cppu.so.3 0x28283000 /disk2/local/openoffice.org2.0.0/program/libuno_cppuhelpergcc3.so.3 0x282ce000 /disk2/local/openoffice.org2.0.0/program/libstlport_gcc.so 0x28376000 /lib/libm.so.3 0x28391000 /usr/lib/libpthread.so.2 0x283b6000 /lib/libc.so.5 0x284a1000 /disk2/local/openoffice.org2.0.0/program/servicemgr.uno.so 0x284bf000 /disk2/local/openoffice.org2.0.0/program/shlibloader.uno.so 0x284c5000 /disk2/local/openoffice.org2.0.0/program/simplereg.uno.so 0x284d5000 /disk2/local/openoffice.org2.0.0/program/nestedreg.uno.so 0x284e4000 /disk2/local/openoffice.org2.0.0/program/typemgr.uno.so 0x28507000 /disk2/local/openoffice.org2.0.0/program/implreg.uno.so 0x2851a000 /disk2/local/openoffice.org2.0.0/program/security.uno.so 0x28535000 /disk2/local/openoffice.org2.0.0/program/libreg.so.3 0x28552000 /disk2/local/openoffice.org2.0.0/program/libstore.so.3 0x2a6de000 /disk2/local/openoffice.org2.0.0/program/regtypeprov.uno.so 0x2a723000 /disk2/local/openoffice.org2.0.0/program/acceptor.uno.so 0x2a732000 /disk2/local/openoffice.org2.0.0/program/bridgefac.uno.so 0x2a73e000 /disk2/local/openoffice.org2.0.0/program/librmcxt.so.3 0x2a742000 /disk2/local/openoffice.org2.0.0/program/remotebridge.uno.so 0x2a74b000 /disk2/local/openoffice.org2.0.0/program/liburp_uno.so 0x2a77e000 /disk2/local/openoffice.org2.0.0/program/libgcc3_uno.so 0x2a7a9000 /disk2/local/openoffice.org2.0.0/program/javaloader.uno.so 0x2a7b0000 /disk2/local/openoffice.org2.0.0/program/libjvmaccessgcc3.so.3 0x2a7b4000 /disk2/local/openoffice.org2.0.0/program/javavm.uno.so 0x2a7ce000 /disk2/local/openoffice.org2.0.0/program/libjvmfwk.so.3 0x2a7e9000 /disk2/local/openoffice.org2.0.0/program/libxml2.so.2.6.17 0x2a8df000 /lib/libz.so.2 0x2a8ef000 /disk2/local/openoffice.org2.0.0/program/configmgr2.uno.so 0x2aaf9000 /disk2/local/openoffice.org2.0.0/program/libcomphelp4gcc3.so 0x2abd3000 /disk2/local/openoffice.org2.0.0/program/libvos3gcc3.so 0x2abf0000 /disk2/local/openoffice.org2.0.0/program/libucbhelper3gcc3.so 0x2ac6f000 /disk2/local/openoffice.org2.0.0/program/typeconverter.uno.so 0x2ac98000 /disk2/local/openoffice.org2.0.0/program/sysmgr1.uno.so 0x2acd4000 /disk2/local/openoffice.org2.0.0/program/sax.uno.so 0x2acfe000 /disk2/local/openoffice.org2.0.0/program/gconfbe1.uno.so 0x2ad0e000 /usr/X11R6/lib/libgconf-2.so.4 0x2ad3c000 /usr/local/lib/libORBit-2.so.0 0x2ad89000 /usr/local/lib/libgmodule-2.0.so.0 0x2ad8c000 /usr/local/lib/libgthread-2.0.so.0 0x2ad90000 /usr/local/lib/libgobject-2.0.so.0 0x2adc4000 /usr/local/lib/libglib-2.0.so.0 0x2ae40000 /usr/local/lib/libiconv.so.3 0x2af2c000 /usr/local/lib/libintl.so.6 0x2af35000 /lib/libm.so.4 0x2af4b000 /usr/local/lib/libpopt.so.0 0x2af82000 /disk2/local/openoffice.org2.0.0/program/sunjavaplugin.so 0x2af94000 /disk2/local/jdk1.5.0/jre/lib/i386/client/libjvm.so 0x2b3e7000 /disk2/local/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so 0x2b3f8000 /disk2/local/jdk1.5.0/jre/lib/i386/libverify.so 0x2b405000 /disk2/local/jdk1.5.0/jre/lib/i386/libjava.so 0x2b424000 /disk2/local/jdk1.5.0/jre/lib/i386/libzip.so 0x383d0000 /disk2/local/openoffice.org2.0.0/program/uriproc.uno.so 0x2806b000 /usr/libexec/ld-elf.so.1 VM Arguments: jvm_args: abort -Dorg.openoffice.native= -Duser.language=en -Duser.country=US -Dappletviewer.security.mode=host -Dstardiv.security.disableSecurity=false java_command: Environment Variables: JAVA_HOME=/disk2/local/jdk1.5.0/jre PATH=/disk2/local/openoffice.org2.0.0/program:/usr/local/openoffice.org2.0.0/program:/u/durian/bin/FreeBSD6:/bin:/usr/bin:/usr/ucb:/usr/local/bin:/etc:/u/durian/bin:.:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/sbin:/usr/games:/u/durian/src/SmartEiffel-2.1b4/bin:/usr/local/pilot2.2/bin:/usr/local/textmaker::/usr/local/applix LD_LIBRARY_PATH=/disk2/local/jdk1.5.0/jre/lib/i386/client:/disk2/local/jdk1.5.0/jre/lib/i386/native_threads:/disk2/local/jdk1.5.0/jre/lib/i386:/disk2/local/openoffice.org2.0.0/program:/disk2/local/jdk1.5.0/jre/lib/i386/client:/disk2/local/jdk1.5.0/jre/lib/i386/native_threads:/disk2/local/jdk1.5.0/jre/lib/i386:/usr/local/openoffice.org2.0.0/program: SHELL=/usr/local/bin/bash DISPLAY=:0 HOSTTYPE=FreeBSD6 ARCH=i386 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #1: Sat Dec 17 12:54:43 MST 2005 root@man.boogie.com:/disk2/obj/disk2/src/sys/BOOGIE i386 rlimit: STACK 65536k, CORE infinity, NOFILE 7207 CPU:total 1 family 6, cmov, cx8, fxsr, mmx Memory: 4k page, physical 424296k vm_info: Java HotSpot(TM) Client VM (1.5.0-p2-root_07_jan_2006_09_16) for freebsd-x86, built on Jan 7 2006 10:44:22 by root with gcc 3.4.4 [FreeBSD] 20050518