[1.0.1] IDE crashes when clicking "target offset" button in "Pattern Settings Dialog" --- fixed in 1.1.0

Bug #1262727 reported by Brian Brown
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
RaiMan

Bug Description

When clicking on an image in the IDE, the "Pattern Settings" comes up with 3 tabs, FIle, Matching Preview, and Target Offset. Clicking on Target Offset results in the IDE crashing, every time.

64-bit Mac OSX 10.9 (Mavericks)
Sikuli IDE 1.0.1
November 2013 build: 12SEP2013160242

Revision history for this message
RaiMan (raimund-hocke) wrote :

Sorry, but I cannot reproduce the problem on my 10.9/1.0.1

Any more information?

Run the IDE from command line with option -d and have a look into the log file for any oddities.

Changed in sikuli:
status: New → Opinion
assignee: nobody → RaiMan (raimund-hocke)
summary: - IDE crashes when clicking "target offset" button in "Pattern Settings
- Dialog"
+ [1.0.1] IDE crashes when clicking "target offset" button in "Pattern
+ Settings Dialog"
Revision history for this message
Brian Brown (brizn) wrote : Re: [1.0.1] IDE crashes when clicking "target offset" button in "Pattern Settings Dialog"

I figured out the issue - it's a multiple monitor issue. With only a single display, the problem goes away.

Revision history for this message
RaiMan (raimund-hocke) wrote :

ok, thanks for finding out.

Next year ;-) I will check with a multi monitor environment on an Ubuntu system.

Revision history for this message
RaiMan (raimund-hocke) wrote :

Uuups, this was on Mac - I will check this year ;-)

Revision history for this message
Andrej Bilyak (abilyak) wrote :

I've got the same issue and that's what I see with -d option on the console:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000001187d9bf9, pid=57131, tid=43271
#
# JRE version: 7.0_25-b15
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C 0x00000001187d9bf9
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/.../projects/testing/sikuli/hs_err_pid57131.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/Applications/SikuliX-IDE.app/Contents/runIDE: line 46: 57131 Abort trap: 6 java $PROPS -jar "$shome/sikuli-ide.jar" $SIKULI_COMMAND

RaiMan (raimund-hocke)
Changed in sikuli:
status: Opinion → Fix Committed
importance: Undecided → High
milestone: none → 1.1.0
tags: added: fkt-multimonitor
Revision history for this message
Andrej Bilyak (abilyak) wrote :

just wanted to add that I was using only one screen when the problem occurred.

Revision history for this message
Dustin Wyatt (dustin-wyatt) wrote :

I was using 1.0.1 and got this crash (using Win7 and multiple monitors). I switched to Beta 4 and I don't exactly get a crash, but this still doesn't work correctly.

When I click the Target Offset tab, the UI doesn't update. It continues to display the File or Marching Preview tab UI...whichever was displayed before you clicked Target Offset.

I can click OK/Apply/Cancel, but I can't actually edit the offset because I get no UI to do so.

Not sure if I should open a new bug for this or not.

Revision history for this message
Dustin Wyatt (dustin-wyatt) wrote :

Actually, it is crashing now on 1.1 Beta 4.

I don't get anything weird in the log, but in console I get:

+++ running this Java
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b20)
Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode, sharing)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\Users\Therms\bin\Sikuli\sikulix.jar -d
Jul 23, 2014 11:57:06 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0
x80000002. Windows RegCreateKeyEx(...) returned error code 5.
OpenCV Error: Insufficient memory (Failed to allocate 197322508 bytes) in OutOfM
emoryError, file c:/MinGW/msys/1.0/stuff/opencv/modules/core/src/alloc.cpp, line
 52
terminate called after throwing an instance of 'cv::Exception'
  what(): c:/MinGW/msys/1.0/stuff/opencv/modules/core/src/alloc.cpp:52: error:
(-4) Failed to allocate 197322508 bytes in function OutOfMemoryError

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

RaiMan (raimund-hocke)
summary: [1.0.1] IDE crashes when clicking "target offset" button in "Pattern
- Settings Dialog"
+ Settings Dialog" --- fixed in 1.1.0
Changed in sikuli:
importance: High → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.