sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #16682
[Bug 770225] Re: JVM crashes for multiple sikuli script on same machine
** Changed in: sikuli
Status: New => In Progress
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Tags added: scriptrun
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/770225
Title:
JVM crashes for multiple sikuli script on same machine
Status in Sikuli:
In Progress
Bug description:
Hi,
I have a sikuli script (written in Java converted to Jar). I am able to run the script on a standalone machine (single instance).
Logged in as another user, I copied the jar to other user home directory and tried to run the same script. It runs fine.
Now with 2 different sessions (putty session on different machines), I
tried to run the same script on both sessions simultaneously. When I
run the script on the second session, the JVM crashes on the first
session, and vice-versa.
The crash displayed is as follows:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000068686, pid=5961, tid=140614371464960
#
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x0000000000068686
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid5961.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted
The crash dump (attached) shows error:
[error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xb]
Stack: [0x00007fe355995000,0x00007fe355a96000], sp=0x00007fe355a93978, free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x0000000000068686
j org.sikuli.script.natives.FindInput.<init>()V+1
j org.sikuli.script.Finder.<init>(Lorg/sikuli/script/ScreenImage;Lorg/sikuli/script/Region;)V+19
j org.sikuli.script.Region.doFind(Ljava/lang/Object;)Lorg/sikuli/script/Match;+35
j org.sikuli.script.Region$RepeatableFind.run()V+9
j org.sikuli.script.Region$Repeatable.repeat(D)Z+35
j org.sikuli.script.Region.exists(Ljava/lang/Object;D)Lorg/sikuli/script/Match;+14
j org.sikuli.script.Region.exists(Ljava/lang/Object;)Lorg/sikuli/script/Match;+6
j com.qo.tests.lib.DesktopScreen.verifyExists(Ljava/lang/String;)Ljava/lang/Boolean;+5
j com.qo.tests.lib.DesktopScreen.waitTillImageLoads(Ljava/lang/String;Ljava/lang/Boolean;)V+40
j com.qo.tests.lib.DesktopScreen.clickOnImage(Ljava/lang/String;)V+6
j com.qo.tests.word.CharacterPropertiesBGColor.changeBackgroundColor(Ljava/lang/String;)V+16
j com.qo.tests.word.CharacterPropertiesBGColor.testCharacterPropertiesBGColor()V+46
Other details:
Sikuli Build - Sikuli-X-1.0rc2-linux
Operating system - Ubuntu (10.04) 64bit
Regards,
Ritesh
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/770225/+subscriptions
References