← Back to team overview

sikuli-driver team mailing list archive

[Bug 1407822] Re: [1.0.1] script run crashed on SUSE Linux with custom built libVisionProxy.so

 

** Changed in: sikuli
       Status: New => Invalid

-- 
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:
  [1.0.1] script run crashed on SUSE Linux with custom built
  libVisionProxy.so

Status in Sikuli:
  Invalid

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