sikuli stopped

Asked by Ju1+i-我. on 2018-03-26

hi all,

here is my code :

    @attrs(stepId = '4', stepName = 'cmdUpd')
    def cmdUpd(self):
        fName = 'cmdUpd'
        #print detailed error log information
        logMsg = 'Class[%(cName)s] Function[%(fName)s] is start.' %{'cName': self.CNAME, 'fName': fName}
        self.mylog.write_log("cmdUpd Start")
        paste("cd " + self.cmdPath)

when i try to run this function , sikuli is closed

here is the log :

# A fatal error has been detected by the Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x27d72140, pid=5076, tid=0x00004580
# JRE version: Java(TM) SE Runtime Environment (8.0_161-b12) (build 1.8.0_161-b12)
# Java VM: Java HotSpot(TM) Client VM (25.161-b12 mixed mode windows-x86 )
# Problematic frame:
# C 0x27d72140
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
# If you would like to submit a bug report, please visit:
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

could you please help to solve this ?
thanks for your help

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1

No idea what you are doing there, but I guess you have to find out, which of these calls cause the crash:

        self.mylog.write_log("cmdUpd Start")

Ju1+i-我. (1ju2+i-a.) said : #2

thanks for your help ,

Only type(key.num_lock) is executed , it's ok

however,the error occurred when if was used to determine whether the lights of NUM_LOCK were extinguished

        if Env.isLockOn(Key.NUM_LOCK) == True:

Could you please help me to see what caused it?
thanks a lot

RaiMan (raimund-hocke) said : #3

this is accepted as a bug, but not yet analyzed.
see linked bug