java-cef and java-8-oracle

Having problems with building or using the JCEF Java binding? Ask your questions here.

java-cef and java-8-oracle

Postby milian » Fri Oct 16, 2015 7:24 am

Hey all,

I tried to run java-cef on a Ubuntu 15.04 machine. I git cloned the repository and followed the instructions to build it against CEF buidl 2454. It works fine as long as I build against java-7-openjdk-amd64, i.e. use that as my JAVA_HOME before running cmake and then also using that for java etc.

But now I wanted to try out java-8-oracle and it does not work. To make sure, I created a clean build directory and rerun the procedure there with JAVA_HOME setup to point to java-8-oracle. Whenever I launch the application I get:

Code: Select all
phantomjs@milian-vm-phantomjs:~$ java -Djava.library.path=/home/phantomjs/projects/java-cef/build-java8/native/Debug -jar java8-cef-simple.jar
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
initialize on Thread[AWT-EventQueue-0,6,main] with library path /home/phantomjs/projects/java-cef/build-java8/native/Debug
[1016/142026:ERROR:browser_main_loop.cc(189)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
memory allocation bug: object at 0x7f3b2e5df65f has never been allocated
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f3b335dc410, pid=31012, tid=139891806013184
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libcef.so+0xd5d410]  tcmalloc::Abort()+0x0
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/phantomjs/hs_err_pid31012.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)


The error log is:

Code: Select all
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f3b335dc410, pid=31012, tid=139891806013184
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libcef.so+0xd5d410]  tcmalloc::Abort()+0x0
#
# 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.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x00007f3b71000000):  JavaThread "main-SharedResourceRunner" daemon [_thread_in_native, id=31056, stack(0x00007f3b19578000,0x00007f3b19679000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000039

Registers:
RAX=0x0000000000000049, RBX=0x00007f3b19676550, RCX=0x00007f3b7651a5a9, RDX=0x0000000000000049
RSP=0x00007f3b19676548, RBP=0x00000000fffffffc, RSI=0x00007f3b19676550, RDI=0x0000000000000002
R8 =0x0000000000000000, R9 =0x612079726f6d656d, R10=0x000000000000c0ff, R11=0x0000000000000246
R12=0x0000000000000000, R13=0xcdcdcdcdcdcdcdcd, R14=0x00007f3b2e5df65f, R15=0x00000000febadc81
RIP=0x00007f3b335dc410, EFLAGS=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000006
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007f3b19676548)
0x00007f3b19676548:   00007f3b335e1518 612079726f6d656d
0x00007f3b19676558:   6f697461636f6c6c 6f203a677562206e
0x00007f3b19676568:   7461207463656a62 3262336637783020
0x00007f3b19676578:   2066353666643565 6576656e20736168
0x00007f3b19676588:   61206e6565622072 64657461636f6c6c
0x00007f3b19676598:   00007f3b76e2000a 0000000000000000
0x00007f3b196765a8:   00007f3b76e2b464 00007f3b150fd858
0x00007f3b196765b8:   00007f3b196786f8 00007f3b19676fd8
0x00007f3b196765c8:   00007f3b19676e70 00007f3b19676e68
0x00007f3b196765d8:   00007f3b19676e67 00007f3b76e28a60
0x00007f3b196765e8:   00007f3b19676e78 00007f3b00000013
0x00007f3b196765f8:   00007f3b19676670 0000000000000128
0x00007f3b19676608:   00007f3b19676e67 00007f3b196765f4
0x00007f3b19676618:   00007f3b19676fd8 ffff80c4e6989991
0x00007f3b19676628:   00007f3b1967666f 0000000000000004
0x00007f3b19676638:   0000003400000013 0000000000000000
0x00007f3b19676648:   0000000000000000 0000006e0000005b
0x00007f3b19676658:   0000000000000000 0000000000000000
0x00007f3b19676668:   0000007c00000077 0000000000000004
0x00007f3b19676678:   53479cb42224ef1b 534743bf8146ef1b
0x00007f3b19676688:   00007f3b76e36a4d 00007f3b150fd848
0x00007f3b19676698:   00007f3b7703f9d8 00007f3b19676ed0
0x00007f3b196766a8:   0000000000000005 000000000000000d
0x00007f3b196766b8:   00007f3b76e298aa 0001000100010000
0x00007f3b196766c8:   0001000100010001 0001000100010001
0x00007f3b196766d8:   0001000100010001 00007f3b00010001
0x00007f3b196766e8:   00007f3b76e29be7 00007f3b00000001
0x00007f3b196766f8:   00007f3b58045f90 0000000000000000
0x00007f3b19676708:   53479cb42504ef1b 00007f3b19676c10
0x00007f3b19676718:   00007f3b76e290c6 00007f3b00000001
0x00007f3b19676728:   00007f3b58045a80 00007f3b196766f0
0x00007f3b19676738:   00007f3b76e24001 00007f3b19676c10

Instructions: (pc=0x00007f3b335dc410)
0x00007f3b335dc3f0:   e8 0b ff ff ff 48 8b 45 f0 48 8b 4d e0 48 89 01
0x00007f3b335dc400:   48 83 c4 20 5d c3 00 00 00 00 00 00 00 00 00 00
0x00007f3b335dc410:   c6 04 25 39 00 00 00 21 c3 00 00 00 00 00 00 00
0x00007f3b335dc420:   48 8b 07 48 85 c0 74 02 ff e0 c3 00 00 00 00 00

Register to memory mapping:

RAX=0x0000000000000049 is an unknown value
RBX=0x00007f3b19676550 is pointing into the stack for thread: 0x00007f3b71000000
RCX=0x00007f3b7651a5a9: syscall+0x19 in /lib/x86_64-linux-gnu/libc.so.6 at 0x00007f3b76419000
RDX=0x0000000000000049 is an unknown value
RSP=0x00007f3b19676548 is pointing into the stack for thread: 0x00007f3b71000000
RBP=0x00000000fffffffc is an unallocated location in the heap
RSI=0x00007f3b19676550 is pointing into the stack for thread: 0x00007f3b71000000
RDI=0x0000000000000002 is an unknown value
R8 =0x0000000000000000 is an unknown value
R9 =0x612079726f6d656d is an unknown value
R10=0x000000000000c0ff is an unknown value
R11=0x0000000000000246 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0xcdcdcdcdcdcdcdcd is an unknown value
R14=0x00007f3b2e5df65f: <offset 0x30e65f> in /usr/lib/x86_64-linux-gnu/libstdc++.so.6 at 0x00007f3b2e2d1000
R15=0x00000000febadc81 is an unallocated location in the heap


Stack: [0x00007f3b19578000,0x00007f3b19679000],  sp=0x00007f3b19676548,  free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libcef.so+0xd5d410]  tcmalloc::Abort()+0x0

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  jogamp.opengl.x11.glx.GLX.dispatch_glXQueryServerString0(JIIJ)Ljava/lang/String;+0
j  jogamp.opengl.x11.glx.GLX.glXQueryServerString(JII)Ljava/lang/String;+42
j  jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(Ljava/lang/String;)Ljogamp/opengl/SharedResourceRunner$Resource;+41
j  jogamp.opengl.SharedResourceRunner.run()V+267
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
=>0x00007f3b71000000 JavaThread "main-SharedResourceRunner" daemon [_thread_in_native, id=31056, stack(0x00007f3b19578000,0x00007f3b19679000)]
  0x00007f3b7066d800 JavaThread "process reaper" daemon [_thread_blocked, id=31051, stack(0x00007f3b19679000,0x00007f3b196b2000)]
  0x00007f3b702df000 JavaThread "JCEF-MessageQueue" [_thread_blocked, id=31026, stack(0x00007f3b2b0d8000,0x00007f3b2b1d9000)]
  0x00007f3b702dd000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=31025, stack(0x00007f3b2b1d9000,0x00007f3b2b2da000)]
  0x00007f3b702db800 JavaThread "AWT-Shutdown" [_thread_blocked, id=31024, stack(0x00007f3b5c0cb000,0x00007f3b5c1cc000)]
  0x00007f3b7021a000 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=31023, stack(0x00007f3b5c954000,0x00007f3b5ca55000)]
  0x00007f3b701f2000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=31022, stack(0x00007f3b5ce65000,0x00007f3b5cf66000)]
  0x00007f3b70114800 JavaThread "Service Thread" daemon [_thread_blocked, id=31020, stack(0x00007f3b5e254000,0x00007f3b5e355000)]
  0x00007f3b70112000 JavaThread "C1 CompilerThread1" daemon [_thread_blocked, id=31019, stack(0x00007f3b5e355000,0x00007f3b5e456000)]
  0x00007f3b70108800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=31018, stack(0x00007f3b5e456000,0x00007f3b5e557000)]
  0x00007f3b700d6800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=31017, stack(0x00007f3b5f0bc000,0x00007f3b5f1bd000)]
  0x00007f3b7009d800 JavaThread "Finalizer" daemon [_thread_blocked, id=31016, stack(0x00007f3b5fa0f000,0x00007f3b5fb10000)]
  0x00007f3b7009b000 JavaThread "Reference Handler" daemon [_thread_blocked, id=31015, stack(0x00007f3b5fb10000,0x00007f3b5fc11000)]
  0x00007f3b7000a800 JavaThread "main" [_thread_blocked, id=31013, stack(0x00007f3b76f20000,0x00007f3b77021000)]

Other Threads:
  0x00007f3b70096000 VMThread [stack: 0x00007f3b5fc11000,0x00007f3b5fd12000] [id=31014]
  0x00007f3b7011a000 WatcherThread [stack: 0x00007f3b5e153000,0x00007f3b5e254000] [id=31021]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 def new generation   total 19008K, used 9113K [0x00000000c2200000, 0x00000000c36a0000, 0x00000000d6c00000)
  eden space 16896K,  41% used [0x00000000c2200000, 0x00000000c28e24e0, 0x00000000c3280000)
  from space 2112K,  97% used [0x00000000c3280000, 0x00000000c34840b0, 0x00000000c3490000)
  to   space 2112K,   0% used [0x00000000c3490000, 0x00000000c3490000, 0x00000000c36a0000)
 tenured generation   total 42368K, used 2094K [0x00000000d6c00000, 0x00000000d9560000, 0x0000000100000000)
   the space 42368K,   4% used [0x00000000d6c00000, 0x00000000d6e0b910, 0x00000000d6e0ba00, 0x00000000d9560000)
 Metaspace       used 13429K, capacity 13745K, committed 14080K, reserved 1062912K
  class space    used 1361K, capacity 1483K, committed 1536K, reserved 1048576K

Card table byte_map: [0x00007f3b60835000,0x00007f3b60a25000] byte_map_base: 0x00007f3b60224000

Polling page: 0x00007f3b7703b000

CodeCache: size=245760Kb used=3207Kb max_used=3219Kb free=242552Kb
 bounds [0x00007f3b60de5000, 0x00007f3b61115000, 0x00007f3b6fde5000]
 total_blobs=1522 nmethods=748 adapters=688
 compilation: enabled

Compilation events (10 events):
Event: 2,449 Thread 0x00007f3b70108800  744       4       java.lang.StringBuilder::append (8 bytes)
Event: 2,452 Thread 0x00007f3b70108800 nmethod 744 0x00007f3b61108850 code [0x00007f3b611089c0, 0x00007f3b61108da8]
Event: 2,455 Thread 0x00007f3b70112000  745       3       java.util.ArrayList$Itr::hasNext (20 bytes)
Event: 2,455 Thread 0x00007f3b70112000 nmethod 745 0x00007f3b61108450 code [0x00007f3b611085c0, 0x00007f3b61108790]
Event: 2,455 Thread 0x00007f3b70112000  748       3       java.lang.System::checkKey (34 bytes)
Event: 2,455 Thread 0x00007f3b70112000 nmethod 748 0x00007f3b61107d90 code [0x00007f3b61107f40, 0x00007f3b61108300]
Event: 2,455 Thread 0x00007f3b70112000  747       3       java.lang.System::getProperty (25 bytes)
Event: 2,455 Thread 0x00007f3b70112000 nmethod 747 0x00007f3b611072d0 code [0x00007f3b611074a0, 0x00007f3b61107ad8]
Event: 2,455 Thread 0x00007f3b70108800  746       4       java.lang.StringBuilder::toString (17 bytes)
Event: 2,467 Thread 0x00007f3b70108800 nmethod 746 0x00007f3b6110ac10 code [0x00007f3b6110ad80, 0x00007f3b6110b0f8]

GC Heap History (4 events):
Event: 1,832 GC heap before
{Heap before GC invocations=0 (full 0):
 def new generation   total 19008K, used 16896K [0x00000000c2200000, 0x00000000c36a0000, 0x00000000d6c00000)
  eden space 16896K, 100% used [0x00000000c2200000, 0x00000000c3280000, 0x00000000c3280000)
  from space 2112K,   0% used [0x00000000c3280000, 0x00000000c3280000, 0x00000000c3490000)
  to   space 2112K,   0% used [0x00000000c3490000, 0x00000000c3490000, 0x00000000c36a0000)
 tenured generation   total 42368K, used 0K [0x00000000d6c00000, 0x00000000d9560000, 0x0000000100000000)
   the space 42368K,   0% used [0x00000000d6c00000, 0x00000000d6c00000, 0x00000000d6c00200, 0x00000000d9560000)
 Metaspace       used 9535K, capacity 9758K, committed 9984K, reserved 1058816K
  class space    used 1092K, capacity 1201K, committed 1280K, reserved 1048576K
Event: 1,836 GC heap after
Heap after GC invocations=1 (full 0):
 def new generation   total 19008K, used 2112K [0x00000000c2200000, 0x00000000c36a0000, 0x00000000d6c00000)
  eden space 16896K,   0% used [0x00000000c2200000, 0x00000000c2200000, 0x00000000c3280000)
  from space 2112K, 100% used [0x00000000c3490000, 0x00000000c36a0000, 0x00000000c36a0000)
  to   space 2112K,   0% used [0x00000000c3280000, 0x00000000c3280000, 0x00000000c3490000)
 tenured generation   total 42368K, used 685K [0x00000000d6c00000, 0x00000000d9560000, 0x0000000100000000)
   the space 42368K,   1% used [0x00000000d6c00000, 0x00000000d6cab6f0, 0x00000000d6cab800, 0x00000000d9560000)
 Metaspace       used 9535K, capacity 9758K, committed 9984K, reserved 1058816K
  class space    used 1092K, capacity 1201K, committed 1280K, reserved 1048576K
}
Event: 2,364 GC heap before
{Heap before GC invocations=1 (full 0):
 def new generation   total 19008K, used 19008K [0x00000000c2200000, 0x00000000c36a0000, 0x00000000d6c00000)
  eden space 16896K, 100% used [0x00000000c2200000, 0x00000000c3280000, 0x00000000c3280000)
  from space 2112K, 100% used [0x00000000c3490000, 0x00000000c36a0000, 0x00000000c36a0000)
  to   space 2112K,   0% used [0x00000000c3280000, 0x00000000c3280000, 0x00000000c3490000)
 tenured generation   total 42368K, used 685K [0x00000000d6c00000, 0x00000000d9560000, 0x0000000100000000)
   the space 42368K,   1% used [0x00000000d6c00000, 0x00000000d6cab6f0, 0x00000000d6cab800, 0x00000000d9560000)
 Metaspace       used 12635K, capacity 12907K, committed 13312K, reserved 1060864K
  class space    used 1302K, capacity 1418K, committed 1536K, reserved 1048576K
Event: 2,368 GC heap after
Heap after GC invocations=2 (full 0):
 def new generation   total 19008K, used 2064K [0x00000000c2200000, 0x00000000c36a0000, 0x00000000d6c00000)
  eden space 16896K,   0% used [0x00000000c2200000, 0x00000000c2200000, 0x00000000c3280000)
  from space 2112K,  97% used [0x00000000c3280000, 0x00000000c34840b0, 0x00000000c3490000)
  to   space 2112K,   0% used [0x00000000c3490000, 0x00000000c3490000, 0x00000000c36a0000)
 tenured generation   total 42368K, used 2094K [0x00000000d6c00000, 0x00000000d9560000, 0x0000000100000000)
   the space 42368K,   4% used [0x00000000d6c00000, 0x00000000d6e0b910, 0x00000000d6e0ba00, 0x00000000d9560000)
 Metaspace       used 12635K, capacity 12907K, committed 13312K, reserved 1060864K
  class space    used 1302K, capacity 1418K, committed 1536K, reserved 1048576K
}

Deoptimization events (4 events):
Event: 0,239 Thread 0x00007f3b7000a800 Uncommon trap: reason=null_check action=make_not_entrant pc=0x00007f3b60f4cde8 method=java.lang.String.equals(Ljava/lang/Object;)Z @ 8
Event: 1,559 Thread 0x00007f3b7000a800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007f3b60f93910 method=java.lang.String.indexOf([CII[CIII)I @ 3
Event: 1,778 Thread 0x00007f3b7000a800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007f3b60f96c04 method=java.lang.String.replace(CC)Ljava/lang/String; @ 26
Event: 1,804 Thread 0x00007f3b7000a800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007f3b61047ce0 method=java.io.UnixFileSystem.normalize(Ljava/lang/String;)Ljava/lang/String; @ 60

Internal exceptions (10 events):
Event: 0,029 Thread 0x00007f3b7000a800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x00000000c2212e80) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u60/4407/hotspot/src/share/vm/prims/jni.cpp
Event: 0,096 Thread 0x00007f3b7000a800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000c22f9638) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u60/4407/hotspot/src/share/vm/prims/jvm.cpp, line 1386]
Event: 0,096 Thread 0x00007f3b7000a800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000c22f9848) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u60/4407/hotspot/src/share/vm/prims/jvm.cpp, line 1386]
Event: 0,096 Thread 0x00007f3b7000a800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000c22fbc88) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u60/4407/hotspot/src/share/vm/prims/jvm.cpp, line 1386]
Event: 0,097 Thread 0x00007f3b7000a800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000c22fbe98) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u60/4407/hotspot/src/share/vm/prims/jvm.cpp, line 1386]
Event: 0,167 Thread 0x00007f3b7000a800 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x00000000c2528d68) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u60/4407/hotspot/src/share/vm/prims/methodHandles.cpp, line 1146]
Event: 0,171 Thread 0x00007f3b7000a800 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x00000000c2536d58) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u60/4407/hotspot/src/share/vm/prims/methodHandles.cpp, line 1146]
Event: 0,194 Thread 0x00007f3b7000a800 Exception <a 'java/io/FileNotFoundException'> (0x00000000c25cb4e0) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u60/4407/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 0,194 Thread 0x00007f3b7000a800 Exception <a 'java/io/FileNotFoundException'> (0x00000000c25cbee8) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u60/4407/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 0,239 Thread 0x00007f3b7000a800 Implicit null exception at 0x00007f3b60f4cc1b to 0x00007f3b60f4cdd9

Events (10 events):
Event: 2,449 loading class sun/reflect/ClassDefiner
Event: 2,449 loading class sun/reflect/ClassDefiner done
Event: 2,449 loading class sun/reflect/ClassDefiner$1
Event: 2,449 loading class sun/reflect/ClassDefiner$1 done
Event: 2,453 loading class com/jogamp/common/util/VersionNumberString
Event: 2,453 loading class com/jogamp/common/util/VersionNumberString done
Event: 2,469 loading class jogamp/opengl/x11/glx/GLXUtil
Event: 2,469 loading class jogamp/opengl/x11/glx/GLXUtil done
Event: 2,470 loading class com/jogamp/nativewindow/x11/X11GraphicsScreen
Event: 2,470 loading class com/jogamp/nativewindow/x11/X11GraphicsScreen done

VM Arguments:
jvm_args: -javaagent:/usr/share/java/jayatanaag.jar -Djava.library.path=/home/phantomjs/projects/java-cef/build-java8/native/Debug
java_command: java8-cef-simple.jar
java_class_path (initial): java8-cef-simple.jar:/usr/share/java/jayatanaag.jar
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/usr/lib/jvm/java-8-oracle
JAVA_TOOL_OPTIONS=-javaagent:/usr/share/java/jayatanaag.jar
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
SHELL=/bin/bash
DISPLAY=:0

Signal Handlers:
SIGSEGV: [libjvm.so+0xaba070], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.so+0xaba070], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.so+0x917630], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: SIG_IGN, sa_mask[0]=00000000000010000000000000000000, sa_flags=SA_RESTART
SIGXFSZ: [libjvm.so+0x917630], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.so+0x917630], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGUSR2: [libjvm.so+0x918c60], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: [libjvm.so+0x91a060], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGINT: [libjvm.so+0x91a060], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGTERM: [libjvm.so+0x91a060], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGQUIT: [libjvm.so+0x91a060], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO


---------------  S Y S T E M  ---------------

OS:DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.04
DISTRIB_CODENAME=vivid
DISTRIB_DESCRIPTION="Ubuntu 15.04"

uname:Linux 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64
libc:glibc 2.21 NPTL 2.21
rlimit: STACK 8192k, CORE 0k, NPROC 15723, NOFILE 65536, AS infinity
load average:0,03 0,32 0,67

/proc/meminfo:
MemTotal:        4047424 kB
MemFree:          504816 kB
MemAvailable:    2728576 kB
Buffers:           37032 kB
Cached:          2312664 kB
SwapCached:         4328 kB
Active:          1764456 kB
Inactive:        1589464 kB
Active(anon):     400684 kB
Inactive(anon):   610844 kB
Active(file):    1363772 kB
Inactive(file):   978620 kB
Unevictable:          16 kB
Mlocked:              16 kB
SwapTotal:       4192252 kB
SwapFree:        4126768 kB
Dirty:              6252 kB
Writeback:             0 kB
AnonPages:       1000584 kB
Mapped:           217756 kB
Shmem:              7352 kB
Slab:             123656 kB
SReclaimable:     100624 kB
SUnreclaim:        23032 kB
KernelStack:        6448 kB
PageTables:        30632 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     6215964 kB
Committed_AS:    3857864 kB
VmallocTotal:   34359738367 kB
VmallocUsed:       62820 kB
VmallocChunk:   34359670956 kB
HardwareCorrupted:     0 kB
AnonHugePages:    342016 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       96192 kB
DirectMap2M:     4098048 kB


CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 60 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, lzcnt, tsc, tscinvbit

/proc/cpuinfo:
processor   : 0
vendor_id   : GenuineIntel
cpu family   : 6
model      : 60
model name   : Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
stepping   : 3
microcode   : 0x19
cpu MHz      : 3392.142
cache size   : 8192 KB
physical id   : 0
siblings   : 1
core id      : 0
cpu cores   : 1
apicid      : 0
initial apicid   : 0
fpu      : yes
fpu_exception   : yes
cpuid level   : 13
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm
bugs      :
bogomips   : 6784.28
clflush size   : 64
cache_alignment   : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:



Memory: 4k page, physical 4047424k(504816k free), swap 4192252k(4126768k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.60-b23) for linux-amd64 JRE (1.8.0_60-b27), built on Aug  4 2015 12:19:40 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)

time: Fri Oct 16 14:20:27 2015
elapsed time: 2 seconds (0d 0h 0m 2s)


Does this mean I need to rebuild the .jar's contained in the java-cef repository against Java 8?
milian
Techie
 
Posts: 28
Joined: Tue Oct 13, 2015 11:05 am

Re: java-cef and java-8-oracle

Postby magreenblatt » Fri Oct 16, 2015 10:07 am

Use of Java 8 is untested/unsupported with JCEF. At a minimum you will likely need to build the native components of JCEF using Java 8.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: java-cef and java-8-oracle

Postby milian » Fri Oct 16, 2015 10:23 am

I did build the native part as far as I'm aware. You mean libjcef.so, right?
milian
Techie
 
Posts: 28
Joined: Tue Oct 13, 2015 11:05 am

Re: java-cef and java-8-oracle

Postby magreenblatt » Fri Oct 16, 2015 11:57 am

milian wrote:I did build the native part as far as I'm aware. You mean libjcef.so, right?

Right.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: java-cef and java-8-oracle

Postby aknuth » Fri Oct 16, 2015 2:17 pm

I wonder why you concentrate on java7 as it's reached end-of-life since April 2015 (https://www.java.com/en/download/faq/java_7.xml)
Complete rebuild of the native components using Java8 won't solve that issue.
aknuth
Newbie
 
Posts: 2
Joined: Fri Oct 16, 2015 2:08 pm

Re: java-cef and java-8-oracle

Postby magreenblatt » Sat Oct 17, 2015 4:25 pm

Pull requests to fix any issues with Java 8 are welcome.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: java-cef and java-8-oracle

Postby everflux » Wed Nov 04, 2015 10:49 am

I assume that this is caused by problems regarding the malloc/free handling.

AFAIK as described in this issue: https://bitbucket.org/chromiumembedded/ ... yerupdater

Have you tried LD_PRELOAD to ensure cef is loaded before the JVM? (look at how it is done in the run script in the tools directory)
everflux
Newbie
 
Posts: 3
Joined: Wed Nov 04, 2015 10:46 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 17 guests