Date: Fri, 11 Sep 2009 07:18:11 GMT From: "Dr. Andreas Haakh" <bugReporter@ib-haakh.de> To: freebsd-gnats-submit@FreeBSD.org Subject: java/138728: SIGSEGV in java runtime Message-ID: <200909110718.n8B7IB4S069526@www.freebsd.org> Resent-Message-ID: <200909110720.n8B7K3D6025724@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138728 >Category: java >Synopsis: SIGSEGV in java runtime >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 11 07:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dr. Andreas Haakh >Release: 7.2-STABLE >Organization: >Environment: FreeBSD Crabberio.Haakh.de 7.2-STABLE FreeBSD 7.2-STABLE #34: Wed Sep 9 14:28:42 CEST 2009 root@Crabberio.Haakh.de:/usr/obj/usr/src/sys/CRABBERIO amd64 >Description: Adding this line to /META-INF/MANIFEST.MF SplashScreen-Image: com/haakh/vtb/resources/VTB-Splash.gif causes a SIGSEGV. See enclosed hs_err_*.log # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00000008017a65c3, pid=12231, tid=0xa023d0 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_03-p4-root_09_sep_2009_23_11-b00 mixed mode) # Problematic frame: # C [libsplashscreen.so+0x295c3] inflate_fast+0x23 # # Please submit bug reports to freebsd-java@FreeBSD.org # --------------- T H R E A D --------------- Current thread (0x0000000800a5b800): JavaThread "main" [_thread_in_native, id=10494928] siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x0000000000000004 Registers: RAX=0x0000000000000004, RBX=0x0000000000000115, RCX=0x00000000000001d4, RDX=0x00000008024e3160 RSP=0x00007fffff9fc7f0, RBP=0x00007fffff9fc800, RSI=0x00000000000001d4, RDI=0x0000000800a167f0 R8 =0x0000000000000016, R9 =0x0000000000000004, R10=0x00000008024e00f2, R11=0x00000000000000a3 R12=0x0000000000000001, R13=0x00000008024dd000, R14=0x0000000000000126, R15=0x0000000000000001 RIP=0x00000008017a65c3, EFL=0x0000000000000000, ERR=0x0000000000000004 TRAPNO=0x000000000000000c Top of Stack: (sp=0x00007fffff9fc7f0) 0x00007fffff9fc7f0: 00000008024dd000 0000000000000115 0x00007fffff9fc800: 0000000800a167f0 0000000802c6f6c1 0x00007fffff9fc810: 00007fff00000000 0000000800d528b4 0x00007fffff9fc820: 0000000000007010 0000000800000003 0x00007fffff9fc830: 00000000000000a3 00000008024e00f2 0x00007fffff9fc840: 00007fffff9fc8a0 00000008024dd074 0x00007fffff9fc850: 00000008024dd090 00000008024dd070 0x00007fffff9fc860: 00000008024dd088 00000008024dd310 0x00007fffff9fc870: 00000008024dd550 0000000800000001 0x00007fffff9fc880: 00000008024e3160 000001d4007ce674 0x00007fffff9fc890: 00000000000001d4 000000d500000000 0x00007fffff9fc8a0: 00007fffff9fca00 0000000802d96d83 0x00007fffff9fc8b0: 00007fffff9fc9a0 000000080b3d4df0 0x00007fffff9fc8c0: 00007fffff9fc950 0000000000000102 0x00007fffff9fc8d0: 000000080b3d4de8 00007fffff9fca00 0x00007fffff9fc8e0: 0000000800a5b800 0000000802b63852 0x00007fffff9fc8f0: 00007fffff9fc9a0 0000000802d96b3f 0x00007fffff9fc900: 00000000000001d4 00007fffff9fc9f8 0x00007fffff9fc910: 00007fffff9fca00 0000000800a5b990 0x00007fffff9fc920: 0000000800a167f0 0000000800a42c60 0x00007fffff9fc930: 000000d500000000 00000008024e00c0 0x00007fffff9fc940: 00000008024e3160 0000000802d96d83 0x00007fffff9fc950: 00007fffff9fc9c8 0000000802d8c5c3 0x00007fffff9fc960: 00007fffff9fc890 000000080b3d3bdb 0x00007fffff9fc970: 00007fffff9fca28 0000000800a5b800 0x00007fffff9fc980: 00007fffff9fca00 00007fffff9fc988 0x00007fffff9fc990: 0000000000000000 00007fffff9fca00 0x00007fffff9fc9a0: 000000080b3d56c0 0000000000000000 0x00007fffff9fc9b0: 000000080b3d4df0 0000000000000000 0x00007fffff9fc9c0: 00007fffff9fc9e8 00007fffff9fca58 0x00007fffff9fc9d0: 0000000802d8004e 0000000000000000 0x00007fffff9fc9e0: 0000000802d88576 00000000000001d4 Instructions: (pc=0x00000008017a65c3) 0x00000008017a65b3: 48 89 4d 90 4c 89 45 88 4c 89 4d 80 48 8b 45 80 0x00000008017a65c3: 48 8b 00 48 89 45 c0 48 8b 45 80 8b 40 08 89 45 Stack: [0x00007fffff8fe000,0x00007fffff9fe000), sp=0x00007fffff9fc7f0, free space=1017k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libsplashscreen.so+0x295c3] inflate_fast+0x23 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+53 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;+33 j sun.misc.URLClassPath.getLoader(I)Lsun/misc/URLClassPath$Loader;+78 j sun.misc.URLClassPath.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;+42 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 java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+23 j sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+36 j java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3 j java.lang.ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;+2 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x00000008024b9800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10498528] 0x0000000800a60800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=10498128] 0x0000000800a60000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10497728] 0x0000000800a5f800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10497328] 0x0000000800a5e000 JavaThread "Finalizer" daemon [_thread_blocked, id=10496928] 0x0000000800a5d800 JavaThread "Reference Handler" daemon [_thread_blocked, id=10496528] =>0x0000000800a5b800 JavaThread "main" [_thread_in_native, id=10494928] Other Threads: 0x0000000800a5c800 VMThread [id=10496128] 0x00000008024ba000 WatcherThread [id=10495728] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 2368K, used 286K [0x0000000805d80000, 0x0000000806010000, 0x0000000807980000) eden space 2112K, 13% used [0x0000000805d80000, 0x0000000805dc7830, 0x0000000805f90000) from space 256K, 0% used [0x0000000805f90000, 0x0000000805f90000, 0x0000000805fd0000) to space 256K, 0% used [0x0000000805fd0000, 0x0000000805fd0000, 0x0000000806010000) tenured generation total 5312K, used 0K [0x0000000807980000, 0x0000000807eb0000, 0x000000080b180000) the space 5312K, 0% used [0x0000000807980000, 0x0000000807980000, 0x0000000807980200, 0x0000000807eb0000) compacting perm gen total 21248K, used 2390K [0x000000080b180000, 0x000000080c640000, 0x0000000810580000) the space 21248K, 11% used [0x000000080b180000, 0x000000080b3d5a20, 0x000000080b3d5c00, 0x000000080c640000) No shared spaces configured. Dynamic libraries: 0x0000000000400000 /usr/local/jdk1.6.0/bin/java 0x0000000800643000 /lib/libthr.so.3 0x000000080075b000 /lib/libc.so.7 0x0000000800b00000 /usr/local/jdk1.6.0/jre/lib/amd64/server/libjvm.so 0x000000080134a000 /usr/lib/libstdc++.so.6 0x0000000801556000 /lib/libm.so.5 0x0000000801670000 /lib/libgcc_s.so.1 0x000000080177d000 /usr/local/jdk1.6.0/jre/lib/amd64/libsplashscreen.so 0x00000008018de000 /usr/local/lib/libX11.so.6 0x0000000801b0c000 /usr/local/lib/libXext.so.6 0x0000000801c1d000 /usr/local/lib/libiconv.so.3 0x0000000801e17000 /usr/local/lib/libxcb.so.2 0x0000000801f31000 /usr/lib/librpcsvc.so.4 0x000000080203a000 /usr/local/lib/libXdmcp.so.6 0x000000080213f000 /usr/local/lib/libXau.so.6 0x0000000802242000 /usr/local/lib/libXcursor.so.1 0x0000000802600000 /usr/local/lib/libXrender.so.1 0x0000000802709000 /usr/local/lib/libXfixes.so.3 0x000000080280e000 /usr/local/jdk1.6.0/jre/lib/amd64/native_threads/libhpi.so 0x000000080291b000 /usr/local/jdk1.6.0/jre/lib/amd64/libverify.so 0x0000000802a2c000 /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so 0x0000000802b60000 /usr/local/jdk1.6.0/jre/lib/amd64/libzip.so 0x0000000802c69000 /lib/libz.so.4 0x0000000800511000 /libexec/ld-elf.so.1 VM Arguments: java_command: /home/ah/java/VtbGui/dist/VtbGui.jar Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/local/jdk1.6.0 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/ah/bin USERNAME=ah LD_LIBRARY_PATH=/usr/local/jdk1.6.0/jre/lib/amd64/server:/usr/local/jdk1.6.0/jre/lib/amd64:/usr/local/jdk1.6.0/jre/../lib/amd64 SHELL=/usr/local/bin/bash DISPLAY=:0.0 Signal Handlers: SIGSEGV: [libjvm.so+0x5d5a00], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGBUS: [libjvm.so+0x5d5a00], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGFPE: [libjvm.so+0x4a93f0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x4a93f0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x4a93f0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x4ab5e0], sa_mask[0]=0x00000000, sa_flags=0x00000042 SIGHUP: [libjvm.so+0x4aa350], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGINT: [libjvm.so+0x4aa350], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGQUIT: [libjvm.so+0x4aa350], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGTERM: [libjvm.so+0x4aa350], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR2: [libjvm.so+0x4ab5e0], sa_mask[0]=0x00000000, sa_flags=0x00000042 --------------- S Y S T E M --------------- OS:Bsd uname:FreeBSD 7.2-STABLE FreeBSD 7.2-STABLE #34: Wed Sep 9 14:28:42 CEST 2009 root@Crabberio.Haakh.de:/usr/obj/usr/src/sys/CRABBERIO amd64 rlimit: STACK 524288k, CORE infinity, NPROC 5547, NOFILE 11095 CPU:total 1 (1 cores per cpu, 1 threads per core) family 15 model 39 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext Memory: 4k page, physical 2751116k(687779k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (1.6.0_03-p4-root_09_sep_2009_23_11-b00) for bsd-amd64, built on Sep 9 2009 23:24:37 by "root" with gcc 4.2.1 20070719 [FreeBSD] >How-To-Repeat: Add a line like SplashScreen-Image: path to graphic image to MANIFEST.MF in your jar-file >Fix: Not really a fix, rather a workaround: remove SplashScreen-Image: ... from MANIFEST.MF Run the jar-File on a different architecture. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909110718.n8B7IB4S069526>