#9752: OpenJDK (Java) apps crash if PAE is activate -----------------------------+----------------------------------- Reporter: Giova84 | Owner: hamish Type: bug | Status: assigned Priority: normal | Milestone: R1 Component: System/Kernel | Version: R1/Development Resolution: | Keywords: OpenJDK Java PAE ASLR Blocked By: | Blocking: Has a Patch: 0 | Platform: x86 -----------------------------+----------------------------------- Comment (by Giova84): This is the output error: {{{ # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x4a12c870, pid=18725, tid=31986400 # # JRE version: 7.0 # Java VM: OpenJDK Server VM (21.0-b17 mixed mode haiku-x86 ) # Problematic frame: # V [libjvm.so+0x113870] free+0x113870 # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x01ead000): JavaThread "Unknown thread" [_thread_in_vm, id=18726, stack(0x61da6000,0x61df6000)] siginfo:si_signo=SIGSEGV: si_errno=Bad address, si_code=31 (), si_addr=0x4a12c870 Registers: EAX=0x01ea35a8, EBX=0x4a74744c, ECX=0x0a170000, EDX=0x40000000 ESP=0x61df5994, EBP=0x61df5a90, ESI=0x01eab540, EDI=0x00000000 EIP=0x4a12c870, EFLAGS=0x00013287 Top of Stack: (sp=0x61df5994) 0x61df5994: 4a569662 01ea35a8 0a170000 40000000 0x61df59a4: 00000000 00010000 4bf70000 02ab0000 0x61df59b4: 00360000 2aab0000 01550000 001a0000 0x61df59c4: 15550000 00010000 61df5a34 04000000 0x61df59d4: 00010000 11000000 01ea35a8 ffffffff 0x61df59e4: 02ab0000 01550000 ffff0000 0000ffff 0x61df59f4: 01000000 01550000 2aab0000 ffffffff 0x61df5a04: 00010000 02ab0000 00360000 15550000 Instructions: (pc=0x4a12c870) 0x4a12c850: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x4a12c860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x4a12c870: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x4a12c880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Stack: [0x61da6000,0x61df6000], sp=0x61df5994, free space=318k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x113870] free+0x113870 V [libjvm.so+0x651cba] fork1+0x11973a V [libjvm.so+0x651e72] fork1+0x1198f2 V [libjvm.so+0x36bff0] AsyncGetCallTrace+0x75730 V [libjvm.so+0x63aa5a] fork1+0x1024da V [libjvm.so+0x3bbff3] JNI_CreateJavaVM+0x53 C [libjli.so+0x2dc0] JavaMain+0x80 C [libroot.so+0x3de3a] pthread_exit+0x4a --------------- P R O C E S S --------------- Java Threads: ( => current thread ) Other Threads: =>0x01ead000 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=18726, stack(0x61da6000,0x61df6000)] VM state:not at safepoint (not fully initialized) VM Mutex/Monitor currently owned by a thread: None Dynamic libraries: 0x13f8000 /boot/system/runtime_loader 0x848000 /boot/apps/j2sdk-image/jre/lib/i386/jli/libjli.so 0x9cd000 /boot/system/lib/gcc4/libroot.so 0x4a019000 /boot/apps/j2sdk-image/jre/lib/i386/server/libjvm.so 0x1126000 /boot/system/lib/gcc4/libnetwork.so 0x1a95000 /boot/system/lib/gcc4/libbe.so 0xfdc000 /boot/system/lib/gcc4/libsupc++.so 0x1d41000 /boot/system/lib/gcc4/libstdc++.so 0x4ada4000 /boot/system/lib/gcc4/libicudata.so.48.1.1 0x446000 /boot/system/lib/gcc4/libicui18n.so.48.1.1 0x6fd000 /boot/system/lib/gcc4/libicuio.so.48.1.1 0xbc1000 /boot/system/lib/gcc4/libicule.so.48.1.1 0x1393000 /boot/system/lib/gcc4/libiculx.so.48.1.1 0x64d000 /boot/system/lib/gcc4/libicutu.so.48.1.1 0xdf6000 /boot/system/lib/gcc4/libicuuc.so.48.1.1 0x19d0000 /boot/system/lib/gcc4/libroot-addon-icu.so 0x1238000 /boot/apps/j2sdk-image/jre/lib/i386/libverify.so 0xcc2000 /boot/apps/j2sdk-image/jre/lib/i386/libjava.so 0x1067000 /boot/apps/j2sdk-image/jre/lib/i386/libzip.so VM Arguments: java_command: /boot/apps/Java_Apps/GLIPSGraffiti1.5/GLIPSGraffiti.jar Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/boot/apps/Java_Apps/GLIPSGraffiti1.5/jre PATH=.:/boot/home/config/bin:/boot/common/bin:/bin:/boot/apps:/boot/preferences:/boot/system/apps:/boot/system/preferences:/boot/develop/tools/gnupro/bin:/boot/apps/Java_Apps/GLIPSGraffiti1.5/jre/bin Signal Handlers: SIGSEGV: [libjvm.so+0x677e40], sa_mask[0]=0xffeffcff, sa_flags=0x00000050 SIGBUS: [libjvm.so+0x677e40], sa_mask[0]=0xffeffcff, sa_flags=0x00000050 SIGFPE: [libjvm.so+0x5353e0], sa_mask[0]=0xffeffcff, sa_flags=0x00000050 SIGPIPE: [libjvm.so+0x5353e0], sa_mask[0]=0xffeffcff, sa_flags=0x00000050 SIGXFSZ: [libjvm.so+0x5353e0], sa_mask[0]=0xffeffcff, sa_flags=0x00000050 SIGILL: [libjvm.so+0x5353e0], sa_mask[0]=0xffeffcff, sa_flags=0x00000050 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x5352a0], sa_mask[0]=0x00000000, sa_flags=0x00000050 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: Haiku uname:Haiku 1 hrev45692 May 16 2013 00:38:04 BePC rlimit: STACK 16384k, CORE 0k, NPROC infinity, NOFILE 8192, AS 8k load average:334722997922835792599264113686948119678054668697600.00 0.00 0.00 CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 6156864k(5847652k free) vm_info: OpenJDK Server VM (21.0-b17) for haiku-x86 JRE (1.7.0-internal- hamish_2012_05_23_15_27-b00), built on Aug 14 2012 03:28:17 by "hamish" with gcc 4.6.2 time: Thu May 16 22:38:56 2013 elapsed time: 0 seconds }}} -- Ticket URL: <http://dev.haiku-os.org/ticket/9752#comment:6> Haiku <http://dev.haiku-os.org> Haiku - the operating system.