Sikuli-IDE crashing when clicking on PS which is no loger visible for find()

Bug #580000 reported by Gregor Kopka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Undecided
Unassigned

Bug Description

How to reproduce:

create eg. a find() or wait() with something on your desktop, hide what you searched for - then click on the image in the editor (which should bring up Pattern Setting) to have the IDE die silently.

It works with an exists(), hence i guess the exception trown by a find() or wait() kills it.

Feels like https://bugs.launchpad.net/sikuli/+bug/523660/comments/3 caused this.

Tags: ide
Revision history for this message
Gregor Kopka (mailfrom-launchpad-net) wrote :

Update: dosn't work with an exists() either.

Sucks to lose all unsaved progress.

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

Tested on Mac and Win7: no problems.

If you are Windows and use the Sikuli.exe to start the IDE, use the sikuli.bat in the Sikuli program folder instead.

(see bug https://bugs.launchpad.net/bugs/582049)

Changed in sikuli:
status: New → Incomplete
Revision history for this message
Gregor Kopka (mailfrom-launchpad-net) wrote :

Starting the .bat from cmd the following text didn't vanish:
=========================================
C:\Programme\Sikuli>Sikuli-IDE.bat
[sikuli] locale: de_DE
[sikuli] init user preferences
Redirect stdout/stderr to console.
OpenCV Error: Insufficient memory (Failed to allocate 92265644 bytes) in unknown
 function, file ..\..\..\..\ocv\opencv\src\cxcore\cxalloc.cpp, line 52
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (0xe06d7363), pid=4336, tid=3496
#
# JRE version: 6.0_17-b04
# Java VM: Java HotSpot(TM) Client VM (14.3-b01 mixed mode windows-x86 )
# Problematic frame:
# C [kernel32.dll+0x12afb]
#
# An error report file with more information is saved as:
# C:\Programme\Sikuli\hs_err_pid4336.log
#
# 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.
#
=========================================

Crashlog is attached, sorry i missed it (since i am no java coder und started it using the symbol supplied by installer in 'dumb user' mode)

Changed in sikuli:
status: Incomplete → New
Revision history for this message
Tsung-Hsiang Chang (vgod) wrote :

Hi Gregor,

Can you try a new version with some fixes (http://people.csail.mit.edu/vgod/sikuli/Sikuli-IDE-win32-0.10.1-rc1.zip) and let me know if it solves your problem?

Revision history for this message
Gregor Kopka (mailfrom-launchpad-net) wrote :

Hello,

tried the 0.10.1-RC1 on my notebook, looks good.
Will test it on my desktop machine tonight, but since i had the same problem on this notebook...

Only downside is that the RC1 announced release of 0.10.0 and asks me to download it, i have two problems with that:
- i think update check shouldn't inform about older versions
- the URL for the release notes shown by update information (https://launchpad.net/sikuli/trunk/0.10.0) leads to page not found

Maybe add release notes as .html to the distribution, with the file containing a link to a webpage showing known issues (or to the bugtracker) ? Asking because i'm curious what else has changed which might impact the (currently) 1k lines robot i'm working on...

Revision history for this message
Gregor Kopka (mailfrom-launchpad-net) wrote :

Tested it on my home desktop:

All is fine as long as i only have one monitor activated, as soon as i cativate an additional one the crash is back.
Only difference is that after i updated the old java 6.17 to 6.20 there are no more crashdump files created.

Screen size is 1600x1200 per screen, radeon 5700 series with 1GB RAM.
I'll try if updating video drivers will help.

Revision history for this message
Gregor Kopka (mailfrom-launchpad-net) wrote :

Updated to latest ATI video drivers, problem persists.

I'll run some lowlevel hardware diagnostics tomorrow while i'm at work (but system is rock-stable, so i don't think that there is something wrong with the hardware).

Revision history for this message
Tsung-Hsiang Chang (vgod) wrote :

Thanks, Gregor.
The update message will not appear once we have released the official 0.10.1. :)
The RC1 package you were running is not an official release, so we don't have a release note yet. But of course we will have it once the official release is ready.

It seems there is another memory leak we missed in the RC1.I just fix it and is testing if it works.
I will give you another link to the RC2 later.

Revision history for this message
Tsung-Hsiang Chang (vgod) wrote :

Here is the RC2. Another memory leak problem is fixed.
http://people.csail.mit.edu/vgod/sikuli/Sikuli-IDE-win32-0.10.1-rc2.zip
Can you give me a try and let me know if it works? Thanks!

Revision history for this message
Gregor Kopka (mailfrom-launchpad-net) wrote :

Yes, this works.

Thanks!

Changed in sikuli:
status: New → Fix Committed
Changed in sikuli:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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