← Back to team overview

sikuli-driver team mailing list archive

[Bug 1010288] [NEW] Threading and using Region.text crashes JVM

 

Public bug reported:

DESCRIPTION:
----------------------------
1. Sikuli v1.0rc3
2. 32-bit, WinXP professional, SP3
3. Region.text (OCR) in threaded mode, java v6.0_22-b04

Using , doing something like "String aP = this.regionAP.text();" in java
unthreaded works fine.  threading it however (using a singleton pattern)
results in a crash.

Specifically, "VisionProxy.dll" the dump calls out.

DUMP:
-----------------------------

run:
[info] Windows utilities loaded.
[info] Sikuli vision engine loaded.
[info] VDictProxy loaded.
[info] Text Recognizer inited.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x03acdab6, pid=5616, tid=4280
#
# JRE version: 6.0_22-b04
# Java VM: Java HotSpot(TM) Client VM (17.1-b03 mixed mode, sharing windows-x86 )
# Problematic frame:
# [thread 4176 also had an error]
C  [VisionProxy.dll+0x8dab6]
#
[thread 4412 also had an error]
[thread 4152 also had an error]
# An error report file with more information is saved as:
# [thread 4152 also had an error]
[thread 5524 also had an error]
#
# 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.
#
Java Result: 1
BUILD SUCCESSFUL (total time: 5 seconds)

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  Threading and using Region.text crashes JVM

Status in Sikuli:
  New

Bug description:
  DESCRIPTION:
  ----------------------------
  1. Sikuli v1.0rc3
  2. 32-bit, WinXP professional, SP3
  3. Region.text (OCR) in threaded mode, java v6.0_22-b04

  Using , doing something like "String aP = this.regionAP.text();" in
  java unthreaded works fine.  threading it however (using a singleton
  pattern) results in a crash.

  Specifically, "VisionProxy.dll" the dump calls out.

  DUMP:
  -----------------------------

  run:
  [info] Windows utilities loaded.
  [info] Sikuli vision engine loaded.
  [info] VDictProxy loaded.
  [info] Text Recognizer inited.
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x03acdab6, pid=5616, tid=4280
  #
  # JRE version: 6.0_22-b04
  # Java VM: Java HotSpot(TM) Client VM (17.1-b03 mixed mode, sharing windows-x86 )
  # Problematic frame:
  # [thread 4176 also had an error]
  C  [VisionProxy.dll+0x8dab6]
  #
  [thread 4412 also had an error]
  [thread 4152 also had an error]
  # An error report file with more information is saved as:
  # [thread 4152 also had an error]
  [thread 5524 also had an error]
  #
  # 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.
  #
  Java Result: 1
  BUILD SUCCESSFUL (total time: 5 seconds)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1010288/+subscriptions


Follow ups

References