← Back to team overview

sikuli-driver team mailing list archive

[Bug 708191] Re: X 1.0rc1: Windows 7 64: Sudden crash with a long running script using observe()

 

Good to know!

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/708191

Title:
  X 1.0rc1: Windows 7 64: Sudden crash with a long running script using
  observe()

Status in Sikuli:
  Confirmed

Bug description:
  ******** possible reason: observe() buggy in rc1 (fixed in rc2)
  ----------------------------------------------------------------

  I'm using the Sikuli X 1.0rc1.

  The script runs more than 5 mins.

  After a while, the 'java.exe' suddenly dies with no apparent reason
  leaving a log file as below:

  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  Internal Error (0xe06d7363), pid=3648, tid=11084
  #
  # JRE version: 6.0_17-b04
  # Java VM: Java HotSpot(TM) Client VM (14.3-b01 mixed mode windows-x86 )
  # Problematic frame:
  # C  [KERNELBASE.dll+0xb727]
  #
  # If you would like to submit a bug report, please visit:
  #   http://java.sun.com/webapps/bugreport/crash.jsp
  # The crash happened outside the Java Virtual Machine in native code.
  # See problematic frame for where to report the bug.
  #

  ---------------  T H R E A D  ---------------

  Current thread (0x4b848c00):  JavaThread "Thread-5"
  [_thread_in_native, id=11084, stack(0x4aef0000,0x4af40000)]

  siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x19930520
  0x4af2e538 0x4e680298

  Registers:
  EAX=0x4af2e49c, EBX=0x4af3ec10, ECX=0x00000003, EDX=0x00000000
  ESP=0x4af2e49c, EBP=0x4af2e4ec, ESI=0x4af3e620, EDI=0x02f8796c
  EIP=0x7673b727, EFLAGS=0x00000206

  Top of Stack: (sp=0x4af2e49c)
  0x4af2e49c:   e06d7363 00000001 00000000 7673b727
  0x4af2e4ac:   00000003 19930520 4af2e538 4e680298
  0x4af2e4bc:   0000002d 0000002f 0000002f 4af2e4ec
  0x4af2e4cc:   6dcf6396 4f337678 4af2e4ec 6dcf63a1
  0x4af2e4dc:   0000002d 4af3e620 4af2e59c 4af3ec10
  0x4af2e4ec:   4af2e524 74bddbf9 e06d7363 00000001
  0x4af2e4fc:   00000003 4af2e518 e06d7363 00000001
  0x4af2e50c:   00000000 00000000 00000003 19930520

  Instructions: (pc=0x7673b727)
  0x7673b717:   0c eb 03 89 45 c0 8d 45 b0 50 ff 15 6c 11 73 76
  0x7673b727:   c9 c2 10 00 cc cc cc cc cc 8b ff 55 8b ec 56 8b

  Stack: [0x4aef0000,0x4af40000],  sp=0x4af2e49c,  free space=249k
  Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
  C  [KERNELBASE.dll+0xb727]
  C  [MSVCR90.dll+0x5dbf9]

  Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
  j  org.sikuli.script.EventManager._update(J[BII)[Lorg/sikuli/script/SikuliEvent;+0
  j  org.sikuli.script.EventManager.update(Lorg/sikuli/script/ScreenImage;)V+22
  j  org.sikuli.script.Region.observe(D)V+109
  j  org.python.proxies.sikuli.Region$Region$1.super__observe(D)V+2
  v  ~StubRoutines::call_stub
  j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
  j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
  j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
  j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
  J  org.python.core.PyReflectedFunction.__call__(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject;
  j  org.python.core.PyReflectedFunction.__call__([Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject;+6
  j  org.python.core.PyObject.__call__(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;+16
  j  org.python.core.PyObject.__call__(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;+3
  j  sikuli.Region$py.observe$33(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;+83
  j  sikuli.Region$py.call_function(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;+296
  J  org.python.core.PyTableCode.call(Lorg/python/core/ThreadState;Lorg/python/core/PyFrame;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;
  J  org.python.core.PyBaseCode.call(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;
  J  org.python.core.PyBaseCode.call(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;[Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;
  J  org.python.core.PyFunction.__call__(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject;
  J  org.python.core.PyMethod.__call__(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject;
  J  org.python.core.PyMethod.__call__([Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject;
  j  org.python.core.PyObject.__call__([Lorg/python/core/PyObject;)Lorg/python/core/PyObject;+5
  j  org.python.core.PyObject._jcallexc([Ljava/lang/Object;)Lorg/python/core/PyObject;+5
  j  org.python.core.PyObject._jcall([Ljava/lang/Object;)Lorg/python/core/PyObject;+2
  j  org.python.proxies.sikuli.Region$Region$1.observe(D)V+34
  j  org.sikuli.script.Region$1.run()V+8
  v  ~StubRoutines::call_stub

  ---------------  P R O C E S S  ---------------

  Java Threads: ( => current thread )
  =>0x4b848c00 JavaThread "Thread-5" [_thread_in_native, id=11084, stack(0x4aef0000,0x4af40000)]
    0x4aa41000 JavaThread "weakref reaper" daemon [_thread_blocked, id=800, stack(0x4f470000,0x4f4c0000)]
    0x4a9cd800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3808, stack(0x4ae60000,0x4aeb0000)]
    0x4a9cac00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=9992, stack(0x4ace0000,0x4ad30000)]
    0x02454800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10448, stack(0x4a7d0000,0x4a820000)]
    0x02450000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=8800, stack(0x4a740000,0x4a790000)]
    0x0244d000 JavaThread "Attach Listener" daemon [_thread_blocked, id=11152, stack(0x4a6b0000,0x4a700000)]
    0x02442800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9704, stack(0x4a620000,0x4a670000)]
    0x02414000 JavaThread "Finalizer" daemon [_thread_blocked, id=2556, stack(0x4a590000,0x4a5e0000)]
    0x0240f400 JavaThread "Reference Handler" daemon [_thread_blocked, id=9144, stack(0x4a500000,0x4a550000)]
    0x02398800 JavaThread "main" [_thread_in_native, id=8556, stack(0x00430000,0x00480000)]

  Other Threads:
    0x0240c800 VMThread [stack: 0x4a470000,0x4a4c0000] [id=8420]
    0x0245e400 WatcherThread [stack: 0x4a860000,0x4a8b0000] [id=9288]

  VM state:not at safepoint (normal execution)

  VM Mutex/Monitor currently owned by a thread: None

  Heap
   def new generation   total 7616K, used 4951K [0x04460000, 0x04ca0000, 0x09320000)
    eden space 6784K,  72% used [0x04460000, 0x04935170, 0x04b00000)
    from space 832K,   0% used [0x04b00000, 0x04b00c50, 0x04bd0000)
    to   space 832K,   0% used [0x04bd0000, 0x04bd0000, 0x04ca0000)
   tenured generation   total 100824K, used 95674K [0x09320000, 0x0f596000, 0x44460000)
     the space 100824K,  94% used [0x09320000, 0x0f08e9a8, 0x0f08ea00, 0x0f596000)
   compacting perm gen  total 19200K, used 19135K [0x44460000, 0x45720000, 0x48460000)
     the space 19200K,  99% used [0x44460000, 0x4570fdb0, 0x4570fe00, 0x45720000)
  No shared spaces configured.

  Dynamic libraries:
  0x00400000 - 0x00424000 	C:\Program Files (x86)\Java\jre6\bin\java.exe
  0x77120000 - 0x772a0000 	C:\Windows\SysWOW64\ntdll.dll
  0x76480000 - 0x76580000 	C:\Windows\syswow64\kernel32.dll
  0x76730000 - 0x76776000 	C:\Windows\syswow64\KERNELBASE.dll
  0x768a0000 - 0x76940000 	C:\Windows\syswow64\ADVAPI32.dll
  0x762f0000 - 0x7639c000 	C:\Windows\syswow64\msvcrt.dll
  0x75360000 - 0x75379000 	C:\Windows\SysWOW64\sechost.dll
  0x76200000 - 0x762f0000 	C:\Windows\syswow64\RPCRT4.dll
  0x74c90000 - 0x74cf0000 	C:\Windows\syswow64\SspiCli.dll
  0x74c80000 - 0x74c8c000 	C:\Windows\syswow64\CRYPTBASE.dll
  0x7c340000 - 0x7c396000 	C:\Program Files (x86)\Java\jre6\bin\msvcr71.dll
  0x6d800000 - 0x6da8b000 	C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
  0x76ad0000 - 0x76bd0000 	C:\Windows\syswow64\USER32.dll
  0x75fd0000 - 0x76060000 	C:\Windows\syswow64\GDI32.dll
  0x75350000 - 0x7535a000 	C:\Windows\syswow64\LPK.dll
  0x76a30000 - 0x76acd000 	C:\Windows\syswow64\USP10.dll
  0x72990000 - 0x729c2000 	C:\Windows\system32\WINMM.dll
  0x76940000 - 0x769a0000 	C:\Windows\system32\IMM32.DLL
  0x76630000 - 0x766fc000 	C:\Windows\syswow64\MSCTF.dll
  0x73520000 - 0x7356b000 	C:\Windows\system32\apphelp.dll
  0x6d7b0000 - 0x6d7bc000 	C:\Program Files (x86)\Java\jre6\bin\verify.dll
  0x6d330000 - 0x6d34f000 	C:\Program Files (x86)\Java\jre6\bin\java.dll
  0x6d290000 - 0x6d298000 	C:\Program Files (x86)\Java\jre6\bin\hpi.dll
  0x75340000 - 0x75345000 	C:\Windows\syswow64\PSAPI.DLL
  0x6d7f0000 - 0x6d7ff000 	C:\Program Files (x86)\Java\jre6\bin\zip.dll
  0x6d000000 - 0x6d14a000 	C:\Program Files (x86)\Java\jre6\bin\awt.dll
  0x737c0000 - 0x73811000 	C:\Windows\system32\WINSPOOL.DRV
  0x74cf0000 - 0x74e4c000 	C:\Windows\syswow64\ole32.dll
  0x73620000 - 0x737be000 	C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_420fe3fa2b8113bd\comctl32.dll
  0x76420000 - 0x76477000 	C:\Windows\syswow64\SHLWAPI.dll
  0x729f0000 - 0x72a03000 	C:\Windows\system32\DWMAPI.DLL
  0x72910000 - 0x72990000 	C:\Windows\system32\uxtheme.dll
  0x003f0000 - 0x003ff000 	C:\Program Files (x86)\BillP Studios\WinPatrol\PATROLPRO.DLL
  0x4ad30000 - 0x4ad3f000 	C:\Program Files (x86)\DisplayFusion\Hooks\DisplayFusionHookx86_76d4d7c8-6191-4b13-982b-9ee2144e285d.dll
  0x724e0000 - 0x7250c000 	C:\Windows\system32\SAENARU.IME
  0x769a0000 - 0x76a2f000 	C:\Windows\syswow64\OLEAUT32.dll
  0x6f270000 - 0x6f433000 	C:\Windows\system32\d3d9.dll
  0x735c0000 - 0x735c9000 	C:\Windows\system32\VERSION.dll
  0x738d0000 - 0x738d6000 	C:\Windows\system32\d3d8thk.dll
  0x69e80000 - 0x6a783000 	C:\Windows\system32\nvd3dum.dll
  0x6d230000 - 0x6d284000 	C:\Program Files (x86)\Java\jre6\bin\fontmanager.dll
  0x73080000 - 0x73096000 	C:\Windows\system32\CRYPTSP.dll
  0x73040000 - 0x7307b000 	C:\Windows\system32\rsaenh.dll
  0x73490000 - 0x734a7000 	C:\Windows\system32\USERENV.dll
  0x73570000 - 0x7357b000 	C:\Windows\system32\profapi.dll
  0x6d610000 - 0x6d623000 	C:\Program Files (x86)\Java\jre6\bin\net.dll
  0x76ce0000 - 0x76d15000 	C:\Windows\syswow64\WS2_32.dll
  0x76cd0000 - 0x76cd6000 	C:\Windows\syswow64\NSI.dll
  0x73420000 - 0x7345c000 	C:\Windows\system32\mswsock.dll
  0x73280000 - 0x73286000 	C:\Windows\System32\wship6.dll
  0x731d0000 - 0x731e0000 	C:\Windows\system32\NLAapi.dll
  0x73230000 - 0x73274000 	C:\Windows\system32\DNSAPI.dll
  0x731c0000 - 0x731c8000 	C:\Windows\System32\winrnr.dll
  0x731b0000 - 0x731c0000 	C:\Windows\system32\napinsp.dll
  0x73190000 - 0x731a2000 	C:\Windows\system32\pnrpnsp.dll
  0x73180000 - 0x7318d000 	C:\Windows\system32\wshbth.dll
  0x73120000 - 0x73145000 	C:\Program Files (x86)\Bonjour\mdnsNSP.dll
  0x73330000 - 0x7334c000 	C:\Windows\system32\Iphlpapi.DLL
  0x73320000 - 0x73327000 	C:\Windows\system32\WINNSI.DLL
  0x730f0000 - 0x73117000 	C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
  0x73410000 - 0x73415000 	C:\Windows\System32\wshtcpip.dll
  0x730a0000 - 0x730a6000 	C:\Windows\system32\rasadhlp.dll
  0x730b0000 - 0x730e8000 	C:\Windows\System32\fwpuclnt.dll
  0x4bf70000 - 0x4bfc2000 	C:\Users\jaewon\AppData\Local\Temp\jna8779411894736767121.tmp
  0x73290000 - 0x732b5000 	C:\Windows\system32\powrprof.dll
  0x75080000 - 0x7521d000 	C:\Windows\syswow64\SETUPAPI.dll
  0x76600000 - 0x76627000 	C:\Windows\syswow64\CFGMGR32.dll
  0x763a0000 - 0x763b2000 	C:\Windows\syswow64\DEVOBJ.dll
  0x4e350000 - 0x4e486000 	C:\Users\jaewon\AppData\Local\Temp\tmplib\VisionProxy.dll
  0x4e490000 - 0x4e6ae000 	c:\Program Files (x86)\Sikuli\libs\cxcore210.dll
  0x6dcf0000 - 0x6dd7e000 	C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCP90.dll
  0x74b80000 - 0x74c23000 	C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCR90.dll
  0x4e6b0000 - 0x4e938000 	c:\Program Files (x86)\Sikuli\libs\cv210.dll
  0x4e940000 - 0x4ea0a000 	c:\Program Files (x86)\Sikuli\libs\highgui210.dll
  0x6cfd0000 - 0x6cfe9000 	C:\Windows\system32\AVIFIL32.dll
  0x74850000 - 0x74864000 	C:\Windows\system32\MSACM32.dll
  0x4c380000 - 0x4c3a1000 	C:\Windows\system32\MSVFW32.dll
  0x75380000 - 0x75fc9000 	C:\Windows\syswow64\SHELL32.dll
  0x4c560000 - 0x4c573000 	C:\Windows\system32\AVICAP32.dll
  0x6fb00000 - 0x6fb19000 	C:\Windows\system32\OLEPRO32.DLL
  0x4c580000 - 0x4c587000 	C:\Users\jaewon\AppData\Local\Temp\tmplib\Win32Util.dll
  0x6d360000 - 0x6d366000 	C:\Program Files (x86)\Java\jre6\bin\jawt.dll
  0x4bfd0000 - 0x4bfd9000 	C:\Users\jaewon\AppData\Local\Temp\tmplib\VDictProxy.dll
  0x6d630000 - 0x6d639000 	C:\Program Files (x86)\Java\jre6\bin\nio.dll

  VM Arguments:
  jvm_args: -Xms64M -Xmx1G -Dfile.encoding=UTF-8 -Dpython.path=c:\Program Files (x86)\Sikuli\sikuli-script.jar/ -Duser.language=en
  java_command: c:\Program Files (x86)\Sikuli\sikuli-ide.jar -r f:\dev\CryEngine2\sandbox\Tools\SandboxAutoTest\sandbox.sikuli
  Launcher Type: SUN_STANDARD

  Environment Variables:
  CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
  PATH=C:\Ruby187\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Haskell\bin;C:\Program Files (x86)\Haskell Platform\2010.2.0.0\lib\extralibs\bin;C:\Program Files (x86)\Haskell Platform\2010.2.0.0\bin;c:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Haskell Platform\2010.1.0.0\lib\extralibs\bin;C:\Program Files (x86)\Haskell Platform\2010.1.0.0\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Perforce;C:\Program Files (x86)\UltraEdit;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Xoreax\IncrediBuild;C:\Program Files (x86)\Code Collaborator Client;C:\Program Files (x86)\Haskell Platform\2010.1.0.0\mingw\bin;C:\Program Files (x86)\Autodesk\Backburner\;C:\Program Files (x86)\Common Files\Autodesk Shared\;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Windows Live\Shared;C:\Python26;C:\Users\jaewon\AppData\Roaming\cabal\bin;c:\Program Files (x86)\Sikuli\libs
  USERNAME=jaewon
  OS=Windows_NT
  PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 5, GenuineIntel

  ---------------  S Y S T E M  ---------------

  OS: Windows 7 Build 7600

  CPU:total 8 (8 cores per cpu, 2 threads per core) family 6 model 26
  stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1,
  sse4.2, ht

  Memory: 4k page, physical 4194303k(2192884k free), swap
  4194303k(4194303k free)

  vm_info: Java HotSpot(TM) Client VM (14.3-b01) for windows-x86 JRE
  (1.6.0_17-b04), built on Oct 11 2009 00:52:06 by "java_re" with MS
  VC++ 7.1

  time: Wed Jan 26 18:55:37 2011
  elapsed time: 378 seconds

  If my script is needed to debug this, I can send it by email.
  (But it'll not be possible to run it properly since it requires many extern applications which cannot be provided.
  )





References