[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    [haiku-bugs] Re: [Haiku] #9752: OpenJDK (Java) apps crash if PAE is activate
From:       "Giova84" <trac () haiku-os ! org>
Date:       2013-05-31 7:47:08
Message-ID: 057.f5f65f5ff62bf99939cf20cf127b3c53 () haiku-os ! org
[Download RAW message or body]

#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:  9686           |   Blocking:
Has a Patch:  0              |   Platform:  x86
-----------------------------+-----------------------------------

Comment (by Giova84):

 Update:

 using java -client <args> solve the situation with most of apps.
 But some apps still doeesn't work anymore, like ThinkFree Office and
 Jalbum (these will crash with a log error).

 eg i start Jalbum with this parameter: -Xmx512M
 If i remove this parameter and i add -client, Jalbum will start (but then
 will hang), instead if i leave -Xmx512M will crash.
 Output of error:


 {{{
 #
 # A fatal error has been detected by the Java Runtime Environment:
 #
 #  Internal Error (virtualspace.cpp:329), pid=1074, tid=38064864
 #  fatal error: os::release_memory failed
 #
 # JRE version: 7.0
 # Java VM: OpenJDK Client VM (21.0-b17 mixed mode haiku-x86 )
 # 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 (0x02479000):  JavaThread "Unknown thread" [_thread_in_vm,
 id=1075, stack(0x61e0e000,0x61e5e000)]

 Stack: [0x61e0e000,0x61e5e000],  sp=0x61e5cf78,  free space=315k
 Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
 code)
 V  [libjvm.so+0x409015]  fork1+0xe20c5
 V  [libjvm.so+0x186f41]  free+0x186f41
 V  [libjvm.so+0x404f1f]  fork1+0xddfcf
 V  [libjvm.so+0x4057c2]  fork1+0xde872
 V  [libjvm.so+0x1d0c4c]  AsyncGetCallTrace+0x303dc
 V  [libjvm.so+0x1d3bba]  AsyncGetCallTrace+0x3334a
 V  [libjvm.so+0x3e8b2a]  fork1+0xc1bda
 V  [libjvm.so+0x3e8ce2]  fork1+0xc1d92
 V  [libjvm.so+0x1f3420]  AsyncGetCallTrace+0x52bb0
 V  [libjvm.so+0x3dbd2a]  fork1+0xb4dda
 V  [libjvm.so+0x243b73]  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:

 =>0x02479000 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=1075,
 stack(0x61e0e000,0x61e5e000)]

 VM state:not at safepoint (not fully initialized)

 VM Mutex/Monitor currently owned by a thread: None

 Dynamic libraries:
 0x1a83000       /boot/system/runtime_loader
 0x659000        /boot/apps/j2sdk-image/jre/lib/i386/jli/libjli.so
 0x1da7000       /boot/system/lib/gcc4/libroot.so
 0x4a7f5000      /boot/apps/j2sdk-image/jre/lib/i386/client/libjvm.so
 0x85a000        /boot/system/lib/gcc4/libnetwork.so
 0x2122000       /boot/system/lib/gcc4/libbe.so
 0xe4e000        /boot/system/lib/gcc4/libsupc++.so
 0x71a000        /boot/system/lib/gcc4/libstdc++.so
 0x4b244000      /boot/system/lib/gcc4/libicudata.so.48.1.1
 0x1344000       /boot/system/lib/gcc4/libicui18n.so.48.1.1
 0x2090000       /boot/system/lib/gcc4/libicuio.so.48.1.1
 0x80c000        /boot/system/lib/gcc4/libicule.so.48.1.1
 0x123c000       /boot/system/lib/gcc4/libiculx.so.48.1.1
 0x1abb000       /boot/system/lib/gcc4/libicutu.so.48.1.1
 0xba1000        /boot/system/lib/gcc4/libicuuc.so.48.1.1
 0x7fb000        /boot/system/lib/gcc4/libroot-addon-icu.so
 0x1318000       /boot/apps/j2sdk-image/jre/lib/i386/libverify.so
 0x2a4000        /boot/apps/j2sdk-image/jre/lib/i386/libjava.so
 0x1210000       /boot/apps/j2sdk-image/jre/lib/i386/libzip.so

 VM Arguments:
 jvm_args: -Xmx512M
 java_command: JAlbum.jar
 Launcher Type: SUN_STANDARD

 Environment Variables:
 JAVA_HOME=/boot/apps/Java_Apps/Jalbum/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/Jalbum/jre/bin


 Signal Handlers:
 SIGSEGV: [libjvm.so+0x4099d0], sa_mask[0]=0xffeffcff, sa_flags=0x00000050
 SIGBUS: [libjvm.so+0x4099d0], sa_mask[0]=0xffeffcff, sa_flags=0x00000050
 SIGFPE: [libjvm.so+0x323db0], sa_mask[0]=0xffeffcff, sa_flags=0x00000050
 SIGPIPE: [libjvm.so+0x323db0], sa_mask[0]=0xffeffcff, sa_flags=0x00000050
 SIGXFSZ: [libjvm.so+0x323db0], sa_mask[0]=0xffeffcff, sa_flags=0x00000050
 SIGILL: [libjvm.so+0x323db0], sa_mask[0]=0xffeffcff, sa_flags=0x00000050
 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
 SIGUSR2: [libjvm.so+0x323c70], 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:14110287846012689529626981405025514772559853416087552.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(5739016k free)

 vm_info: OpenJDK Client 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:29:24 by "hamish"
 with gcc 4.6.2

 time: Fri May 31 09:43:55 2013
 elapsed time: 0 seconds


 }}}

--
Ticket URL: <http://dev.haiku-os.org/ticket/9752#comment:9>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic