← Back to team overview

sikuli-driver team mailing list archive

[Question #402507]: java is crashing while installing Sikuli

 

New question #402507 on Sikuli:
https://answers.launchpad.net/sikuli/+question/402507

Hi,

I'm trying to instal Sikulix in a redhat linux server, at the end of the setup java is crashing and installation is aborted. Java version in my server is "1.8.0_101. 

here is console output while installing Sikuli:
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
[info] runcmd: lsb_release -i -r -s
[debug] RunTimeINIT: global init: entering as: SETUP
[debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[debug] RunTimeINIT: Monitor 0: (0, 0) 1600 x 1200
[debug] RunTimeINIT: runs as sikulixsetup-1.1.0.jar in: /root/Downloads
***** show environment for SETUP (build 201510061722)
user.home: /root
user.dir (work dir): /root/Downloads
user.name: root
java.io.tmpdir: /tmp
running 64Bit on Linux (0 RedHatEnterpriseServer 6.2) from a jar
java 8-64 version 1.8.0_101-b13 vm 25.101-b13 class 52.0 arch amd64
app data folder: /root/.Sikulix
libs folder: null
executing jar: /root/Downloads/sikulixsetup-1.1.0.jar
*** classpath dump sikulix
  0: /root/Downloads/sikulixsetup-1.1.0.jar
*** classpath dump end
***** show environment end
[debug] RunTimeSETUP: global init: leaving
[debug] RunTimeSETUP: initAPI: entering
[debug] RunTimeSETUP: initAPI: leaving
[debug] RunSetup: command line options:
[debug] RunSetup: command line options:
[debug] RunSetup:
[debug] RunSetup:
[debug (9/29/16 5:03:28 AM)] RunTimeSETUP: exists libs folder at: /root/.Sikulix/SikulixLibs_201510061722
[debug (9/29/16 5:03:28 AM)] FileManager: resetFolder:
/root/Downloads/SetupStuff
[debug (9/29/16 5:03:28 AM)] RunSetup: LinuxDistro: 0 RedHatEnterpriseServer 6.2 (64-Bit)
[debug (9/29/16 5:03:28 AM)] RunSetup: LinuxDistro: 0 RedHatEnterpriseServer 6.2 (64-Bit)
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: workDir:
/root/Downloads
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: workDirDownloads:
/root/Downloads/Downloads
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: downloadsGeneric:
/root/.Sikulix/SikulixDownloads
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: downloadsGenericApp:
/root/.Sikulix/SikulixDownloads_201510061722
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: found: python:
/root/.Sikulix/SikulixDownloads/jython-standalone-2.7.0.jar
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: not found: tess
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: not found: python25
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: found: api:
/root/.Sikulix/SikulixDownloads_201510061722/sikulixsetupAPI-1.1.0-forsetup.jar
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: found: ide:
/root/.Sikulix/SikulixDownloads_201510061722/sikulixsetupIDE-1.1.0-forsetup.jar
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: not found: rubyaddons
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: not found: win
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: not found: mac
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: found: lux:
/root/.Sikulix/SikulixDownloads_201510061722/sikulixlibslux-1.1.0.jar
[debug (9/29/16 5:03:28 AM)] RunSetup: checkDownloads: not found: ruby
[debug (9/29/16 5:03:28 AM)] RunSetup: ... starting with no args given
[debug (9/29/16 5:03:28 AM)] RunSetup: Setup: 1.1.0 2015-10-06_17:22 in folder:
/root/Downloads
[debug (9/29/16 5:03:29 AM)] RunSetup: RunningSystem: Linux 2.6.32-220.el6.x86_64 (0 RedHatEnterpriseServer 6.2)
[debug (9/29/16 5:03:29 AM)] RunSetup: parent of jar/classes: /root/Downloads
[debug (9/29/16 5:03:29 AM)] RunSetup: RunningJava: Java 8 (amd64) 1.8.0_101-b13
[debug (9/29/16 5:03:37 AM)] RunSetup: Requested to run with proxy: HTTP @ /159.107.173.253:3128
[debug (9/29/16 5:03:37 AM)] RunSetup:
popAsk: --------------------
The following file(s) will be downloaded to
/root/Downloads
... using proxy: HTTP @ /159.107.173.253:3128
--- Native support libraries for Linux (sikulixlibs...)
--- Package 1 ---
sikulixsetupIDE-1.1.0-forsetup.jar (IDE/Scripting)
sikulixsetupAPI-1.1.0-forsetup.jar (Java API)
 - with Jython
Only click NO, if you want to terminate setup now!
Click YES even if you want to use local copies in Downloads!
--------------------
[debug (9/29/16 5:03:38 AM)] RunSetup:
popAsk: --------------------
You have for Linux native libs
/root/.Sikulix/SikulixDownloads_201510061722/sikulixlibslux-1.1.0.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (9/29/16 5:03:40 AM)] RunSetup: Copied from Downloads: sikulixlibslux
[debug (9/29/16 5:03:40 AM)] RunSetup: checking usability of bundled/provided libs
[debug (9/29/16 5:03:40 AM)] RunSetup:
popAsk: --------------------
You have for Java API package
/root/.Sikulix/SikulixDownloads_201510061722/sikulixsetupAPI-1.1.0-forsetup.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (9/29/16 5:03:41 AM)] RunSetup: Copied from Downloads: sikulixapi
[debug (9/29/16 5:03:41 AM)] RunSetup:
popAsk: --------------------
You have for SikuliX IDE package
/root/.Sikulix/SikulixDownloads_201510061722/sikulixsetupIDE-1.1.0-forsetup.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (9/29/16 5:03:42 AM)] RunSetup: Copied from Downloads: sikulix
[debug (9/29/16 5:03:42 AM)] RunSetup:
popAsk: --------------------
If you click YES, you will get Jython version 2.7.0 (recommended)
... but there is an issue with some rare UTF-8/Unicode situations,
that usually appear on startup with UTF-8 ccharacters
somewhere in the system environment
If you encounter such problems with Jython 2.7.0
run setup again and
click NO to get Jython 2.5.4rc1
--------------------
[debug (9/29/16 5:03:44 AM)] RunSetup:
popAsk: --------------------
You have for Jython 2.7
/root/.Sikulix/SikulixDownloads/jython-standalone-2.7.0.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (9/29/16 5:03:45 AM)] RunSetup: Copied from Downloads: Jython
[debug (9/29/16 5:03:45 AM)] RunSetup: Download ended
[debug (9/29/16 5:03:45 AM)] RunSetup: Downloads for selected options:
sikulixlibslux-1.1.0.jar sikulixsetupIDE-1.1.0-forsetup.jar sikulixsetupAPI-1.1.0-forsetup.jar jython-standalone-2.7.0.jar
[debug (9/29/16 5:03:45 AM)] RunSetup: libs will be stored in jar at sikulixlibs/linux/libs64
[debug (9/29/16 5:03:45 AM)] RunSetup: adding needed stuff to sikulix.jar
[debug (9/29/16 5:04:00 AM)] RunSetup: renaming sikulixtemp.jar to target jar: sikulix.jar
[debug (9/29/16 5:04:00 AM)] RunSetup: processing commandfiles
[debug (9/29/16 5:04:00 AM)] RunSetup: Jython: Trying to run functional test: running script statements via SikuliScript
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000012aae, pid=4007, tid=0x00007f4629ae6700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  0x0000000000012aae
#
# 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:
# /root/Downloads/hs_err_pid4007.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------



here are contents of  SikuliX-1.1.0-SetupLog.txt file.

-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
[debug (9/29/16 5:03:28 AM)] Debug: setLogFile: /root/Downloads/SikuliX-1.1.0-SetupLog.txt
[debug (9/29/16 5:03:28 AM)] RunSetup: ... starting with no args given
[debug (9/29/16 5:03:28 AM)] RunSetup: Setup: 1.1.0 2015-10-06_17:22 in folder:
/root/Downloads
[debug (9/29/16 5:03:29 AM)] RunSetup: RunningSystem: Linux 2.6.32-220.el6.x86_64 (0 RedHatEnterpriseServer 6.2)
[debug (9/29/16 5:03:29 AM)] RunSetup: parent of jar/classes: /root/Downloads
[debug (9/29/16 5:03:29 AM)] RunSetup: RunningJava: Java 8 (amd64) 1.8.0_101-b13
[debug (9/29/16 5:03:29 AM)] init user preferences
[debug (9/29/16 5:03:37 AM)] FileManager: Proxy stored: 159.107.173.253 : 3128
[debug (9/29/16 5:03:37 AM)] RunSetup: Requested to run with proxy: HTTP @ /159.107.173.253:3128
[debug (9/29/16 5:03:37 AM)] RunSetup:
popAsk: --------------------
The following file(s) will be downloaded to
/root/Downloads
... using proxy: HTTP @ /159.107.173.253:3128
--- Native support libraries for Linux (sikulixlibs...)
--- Package 1 ---
sikulixsetupIDE-1.1.0-forsetup.jar (IDE/Scripting)
sikulixsetupAPI-1.1.0-forsetup.jar (Java API)
 - with Jython
Only click NO, if you want to terminate setup now!
Click YES even if you want to use local copies in Downloads!
--------------------
[debug (9/29/16 5:03:38 AM)] RunSetup:
popAsk: --------------------
You have for Linux native libs
/root/.Sikulix/SikulixDownloads_201510061722/sikulixlibslux-1.1.0.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (9/29/16 5:03:40 AM)] RunSetup: Copied from Downloads: sikulixlibslux
[debug (9/29/16 5:03:40 AM)] RunTimeSETUP: addToClasspath:
file:/root/Downloads/sikulixlibslux.jar
*** classpath dump sikulix
  0: /root/Downloads/sikulixsetup-1.1.0.jar
  1: /root/Downloads/sikulixlibslux.jar
*** classpath dump end
[debug (9/29/16 5:03:40 AM)] RunSetup: checking usability of bundled/provided libs
[debug (9/29/16 5:03:40 AM)] RunTimeSETUP: exists libs folder at: /root/.Sikulix/SikulixLibs_201510061722
[error (9/29/16 5:03:40 AM)] RunTimeSETUP: loadLib: libVisionProxy.so not usable:
java.lang.UnsatisfiedLinkError: /root/.Sikulix/SikulixLibs_201510061722/libVisionProxy.so: /root/.Sikulix/SikulixLibs_201510061722/libVisionProxy.so: undefined symbol: _ZTVN2cv11_InputArrayE
[debug (9/29/16 5:03:40 AM)] RunTimeSETUP: loadLib: libVisionProxy.so
[debug (9/29/16 5:03:40 AM)] RunSetup:
popAsk: --------------------
You have for Java API package
/root/.Sikulix/SikulixDownloads_201510061722/sikulixsetupAPI-1.1.0-forsetup.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (9/29/16 5:03:41 AM)] RunSetup: Copied from Downloads: sikulixapi
[debug (9/29/16 5:03:41 AM)] RunSetup:
popAsk: --------------------
You have for SikuliX IDE package
/root/.Sikulix/SikulixDownloads_201510061722/sikulixsetupIDE-1.1.0-forsetup.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (9/29/16 5:03:42 AM)] RunSetup: Copied from Downloads: sikulix
[debug (9/29/16 5:03:42 AM)] RunSetup:
popAsk: --------------------
If you click YES, you will get Jython version 2.7.0 (recommended)
... but there is an issue with some rare UTF-8/Unicode situations,
that usually appear on startup with UTF-8 ccharacters
somewhere in the system environment
If you encounter such problems with Jython 2.7.0
run setup again and
click NO to get Jython 2.5.4rc1
--------------------
[debug (9/29/16 5:03:44 AM)] RunSetup:
popAsk: --------------------
You have for Jython 2.7
/root/.Sikulix/SikulixDownloads/jython-standalone-2.7.0.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (9/29/16 5:03:45 AM)] RunSetup: Copied from Downloads: Jython
[debug (9/29/16 5:03:45 AM)] RunSetup: Download ended
[debug (9/29/16 5:03:45 AM)] RunSetup: Downloads for selected options:
sikulixlibslux-1.1.0.jar sikulixsetupIDE-1.1.0-forsetup.jar sikulixsetupAPI-1.1.0-forsetup.jar jython-standalone-2.7.0.jar
[debug (9/29/16 5:03:45 AM)] RunSetup: libs will be stored in jar at sikulixlibs/linux/libs64
[debug (9/29/16 5:03:45 AM)] RunSetup: adding needed stuff to sikulix.jar
[debug (9/29/16 5:03:45 AM)] FileManager: buildJar: sikulixtemp.jar
[debug (9/29/16 5:03:45 AM)] FileManager: buildJar: adding: sikulix.jar
[debug (9/29/16 5:03:46 AM)] FileManager: buildJar: adding: sikulixapi.jar
[debug (9/29/16 5:03:47 AM)] FileManager: buildJar: adding: sikulixjython.jar
[debug (9/29/16 5:03:58 AM)] FileManager: buildJar: adding: sikulixlibslux.jar
[debug (9/29/16 5:04:00 AM)] FileManager: buildJar: completed
[debug (9/29/16 5:04:00 AM)] RunSetup: renaming sikulixtemp.jar to target jar: sikulix.jar
[debug (9/29/16 5:04:00 AM)] RunSetup: processing commandfiles
[debug (9/29/16 5:04:00 AM)] RunTimeSETUP: addToClasspath:
file:/root/Downloads/sikulix.jar
[debug (9/29/16 5:04:00 AM)] RunTimeSETUP: exists libs folder at: /root/.Sikulix/SikulixLibs_201510061722
[debug (9/29/16 5:04:00 AM)] RunSetup: Jython: Trying to run functional test: running script statements via SikuliScript
[debug (9/29/16 5:04:05 AM)] ScriptingSupport: initScriptingSupport: enter
[debug (9/29/16 5:04:07 AM)] JythonSupport: init: starting
[debug (9/29/16 5:04:07 AM)] JythonSupport: init: success
[debug (9/29/16 5:04:07 AM)] JythonSupport: ***** Jython sys.path
 0: /root/Downloads/Lib
 1: /root/Downloads/sikulix.jar/Lib
 2: __classpath__
 3: __pyclasspath__/
[debug (9/29/16 5:04:07 AM)] JythonSupport: ***** Jython sys.path end
[debug (9/29/16 5:04:08 AM)] Jython: sikuli: Sikuli: starting init
[debug (9/29/16 5:04:09 AM)] Mouse: init
[debug (9/29/16 5:04:09 AM)] KeyBoard: init
[debug (9/29/16 5:04:09 AM)] Jython: requested to use as default region: R[0,0 1600x1200]@S(0)
[debug (9/29/16 5:04:09 AM)] Jython: sikuli: Sikuli: ending init
[debug (9/29/16 5:04:09 AM)] JythonScriptRunner: running Jython 2.7.0
[debug (9/29/16 5:04:09 AM)] ScriptingSupport: initScriptingSupport: added: jython
[debug (9/29/16 5:04:09 AM)] ScriptingSupport: initScriptingSupport: exit with defaultrunner: jython (py)
[debug (9/29/16 5:04:09 AM)] Jython: requested to use as default region: R[0,0 1600x1200]@S(0)
[debug (9/29/16 5:04:10 AM)] JythonScriptRunner: runPython: running statements
[debug (9/29/16 5:04:10 AM)] Image: BufferedImage: (100, 100)


-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------

in SikuliX-1.1.0-SetupLog.txt file i could see following error.

[error (9/29/16 5:03:40 AM)] RunTimeSETUP: loadLib: libVisionProxy.so not usable:
java.lang.UnsatisfiedLinkError: /root/.Sikulix/SikulixLibs_201510061722/libVisionProxy.so: /root/.Sikulix/SikulixLibs_201510061722/libVisionProxy.so: undefined symbol: _ZTVN2cv11_InputArrayE



Please help


Regards,
Raghavender

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.