sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29930
[Bug 1407822] Re: Sikuli script crashed on SUSE Linux
** Description changed:
Hi Everyone,
I tried to execute a simple script (using "runIDE" command) to click on
an object on SUSE Desktop as follow:
"
print "BEGIN"
click("1419885617022.png")
print "END"
"
As soon as the script tried to click on the object, the crash happened.
It's 100% reproducible. According to the log, the crash happened in
"libVisionProxy" @VisionProxyJNI_FindResults_1size funtion.
Here's my test environment:
- Platform = SUSE Linux x86 (SLET 11.3) / Dual-core / 4 GB RAM
- SikuliX version= 1.0.1
- libVisionProxy.so or libOpenCV.so version = 2.3 (We did build this libVisionProxy and libOpenCV on our own).
- JRE version = jre-1.7.0_65
+ Platform = SUSE Linux x86 (SLET 11.3) / Dual-core / 4 GB RAM
+ SikuliX version= 1.0.1
+ libVisionProxy.so or libOpenCV.so version = 2.3 (We did build this libVisionProxy and libOpenCV on our own).
+ JRE version = jre-1.7.0_65
- Command that I used to run the script:
- runIDE -r /home/admin/tmp/test1.sikuli -d 3
+ Command that I used to run the script:
+ runIDE -r /home/admin/tmp/test1.sikuli -d 3
I also checked the dependencies on libVisionProxy (use ldd command),
but no issue there.
-
Below is the log message:
"
running SikuliX-IDE: -Xmx512M -Dapple.laf.useScreenMenuBar -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine
-jar ./sikuli-ide.jar -r /home/admin/tmp/test1.sikuli -d 3
[debug] SikuliIDE: Switching to SikuliScript with option -r, -t or -i
[debug] SikuliScript: CmdOrg: -r /home/admin/tmp/test1.sikuli -d 3
[debug] Running on Java 7 (1.7.0_65-b17)
- [debug] --- Sikuli parameters ---
- [debug] 1: -r
- [debug] 2: /home/admin/tmp/test1.sikuli
- [debug] 3: -d
- [debug] 4: 3
- [debug] SikuliScript: givenScriptName: /home/admin/tmp/test1.sikuli
- [debug] SikuliX Jython Support Build: 1.0.1 12SEP2013160248
- [debug] Trying to run script: /home/admin/tmp/test1.sikuli/test1.py
- [debug] JythonScriptRunner: : executeScriptHeader: adding SikuliX Lib path to sys.path
- /read-write/etc/SikuliX/sikuli-ide.jar/Lib
- [debug] Jython: sikuli: __init__: entering
- [debug] Jython: sikuli: Sikuli: entering
- [debug] Jython: sikuli: Sikuli: constants
- [debug] Jython: sikuli: Sikuli: import Region
- [debug] Jython: sikuli: Sikuli: import Screen
- [debug] Jython: sikuli: Sikuli: Env.addHotkey
- [debug] Jython: sikuli: Sikuli: import Match
- [debug] Jython: sikuli: Sikuli: import Pattern
- [debug] Jython: sikuli: Sikuli: import Location
- [debug] Jython: sikuli: Sikuli: import ScreenUnion
- [debug] Jython: sikuli: Sikuli: import Finder
- [debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242
- [debug] ResourceLoaderBasic: check: we are running on arch: i386
- [debug] ResourceLoaderBasic: check: using Java at: /read-write/mnt/addons/jre/usr/java/jre1.7.0_65/
- [debug] ResourceLoaderBasic: check: Exists libs folder at location of jar? YES: /read-write/etc/SikuliX/
- [debug] ResourceLoaderBasic: checkLibsDir: /read-write/etc/SikuliX/libs
- [debug] ResourceLoaderBasic: loadLib: JXGrabKey
- [debug] ResourceLoaderBasic: loadLib: Found: JXGrabKey
- [debug] ResourceLoaderBasic: loadLib: Now loaded: JXGrabKey
+ ... more ...
[debug] ResourceLoaderBasic: checkLibsDir: Using libs at: /read-write/etc/SikuliX/libs
[debug] ResourceLoaderBasic: loadLib: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Found: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Now loaded: VisionProxy
- [debug] Jython: sikuli: Sikuli: import App
- [debug] Screen: initScreens: basic initialization (1 Screen(s) found)
- [debug] *** monitor configuration (primary: 0) ***
- [debug] Screen 0: S(0)[0,0 1600x1200]
- [debug] *** end monitor configuration ***
- [debug] Jython: sikuli: Sikuli: import Key
- [debug] Jython: sikuli: Sikuli: import from Basics
- [debug] Jython: sikuli: Sikuli: import from compare
- [debug] Jython: sikuli: Sikuli: init SikuliImporter
- [debug] Jython: sikuli: Sikuli: import SikuliScript
- [debug] Jython: init SCREEN as ()
- [debug] Sikuli-IDE environment setup: 20442
+ ... more ...
Begin
[debug] waiting for 1419885617022.png to appear
[debug] Screen.capture: java.awt.Rectangle[x=0,y=0,width=1600,height=1200]
[debug] RobotDesktop: captureScreen: on 0 using java.awt.Rectangle[x=0,y=0,width=1600,height=1200]
[debug] ImageLocator: found 1419885617022.png in /home/admin/tmp/test1.sikuli/
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x8c7e9649, pid=16394, tid=3062737776
#
# JRE version: Java(TM) SE Runtime Environment (7.0_65-b17) (build 1.7.0_65-b17)
# Java VM: Java HotSpot(TM) Server VM (24.65-b04 mixed mode linux-x86 )
# Problematic frame:
# C [libVisionProxy.so+0x49649] Java_org_sikuli_basics_proxies_VisionProxyJNI_FindResults_1size+0x9
- #
- # 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:
- # /read-write/etc/SikuliX/hs_err_pid16394.log
- #
- # If you would like to submit a bug report, please visit:
- # http://bugreport.sun.com/bugreport/crash.jsp
- # The crash happened outside the Java Virtual Machine in native code.
- # See problematic frame for where to report the bug.
- #
+ ... more ...
- "
- I had no problem with this Sikuli script on Ubuntu 12.x. But when ported to SUSE Linux, the crash happened. Really appreciate if anyone has any idea what caused the crash.
+ I had no problem with this Sikuli script on Ubuntu 12.x. But when ported
+ to SUSE Linux, the crash happened. Really appreciate if anyone has any
+ idea what caused the crash.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1407822
Title:
Sikuli script crashed on SUSE Linux
Status in Sikuli:
New
Bug description:
Hi Everyone,
I tried to execute a simple script (using "runIDE" command) to click
on an object on SUSE Desktop as follow:
"
print "BEGIN"
click("1419885617022.png")
print "END"
"
As soon as the script tried to click on the object, the crash
happened. It's 100% reproducible. According to the log, the crash
happened in "libVisionProxy" @VisionProxyJNI_FindResults_1size
funtion.
Here's my test environment:
Platform = SUSE Linux x86 (SLET 11.3) / Dual-core / 4 GB RAM
SikuliX version= 1.0.1
libVisionProxy.so or libOpenCV.so version = 2.3 (We did build this libVisionProxy and libOpenCV on our own).
JRE version = jre-1.7.0_65
Command that I used to run the script:
runIDE -r /home/admin/tmp/test1.sikuli -d 3
I also checked the dependencies on libVisionProxy (use ldd command),
but no issue there.
Below is the log message:
"
running SikuliX-IDE: -Xmx512M -Dapple.laf.useScreenMenuBar -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine
-jar ./sikuli-ide.jar -r /home/admin/tmp/test1.sikuli -d 3
[debug] SikuliIDE: Switching to SikuliScript with option -r, -t or -i
[debug] SikuliScript: CmdOrg: -r /home/admin/tmp/test1.sikuli -d 3
[debug] Running on Java 7 (1.7.0_65-b17)
... more ...
[debug] ResourceLoaderBasic: checkLibsDir: Using libs at: /read-write/etc/SikuliX/libs
[debug] ResourceLoaderBasic: loadLib: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Found: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Now loaded: VisionProxy
... more ...
Begin
[debug] waiting for 1419885617022.png to appear
[debug] Screen.capture: java.awt.Rectangle[x=0,y=0,width=1600,height=1200]
[debug] RobotDesktop: captureScreen: on 0 using java.awt.Rectangle[x=0,y=0,width=1600,height=1200]
[debug] ImageLocator: found 1419885617022.png in /home/admin/tmp/test1.sikuli/
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x8c7e9649, pid=16394, tid=3062737776
#
# JRE version: Java(TM) SE Runtime Environment (7.0_65-b17) (build 1.7.0_65-b17)
# Java VM: Java HotSpot(TM) Server VM (24.65-b04 mixed mode linux-x86 )
# Problematic frame:
# C [libVisionProxy.so+0x49649] Java_org_sikuli_basics_proxies_VisionProxyJNI_FindResults_1size+0x9
... more ...
I had no problem with this Sikuli script on Ubuntu 12.x. But when
ported to SUSE Linux, the crash happened. Really appreciate if anyone
has any idea what caused the crash.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1407822/+subscriptions
References