Sikuli hangs when using WaitBestList but works with FindBestList- need workaround

Bug #1922785 reported by Chetan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

when we use WaitBestList and set a particular region to search then sikuli hangs. however if we use findBestList then same code work.
we have to finally kill it from taskbar. also we can see it is consume lot of memory and cpu
example
    reg = Region(20,600,1240,20)
    #reg.highlight(5)
    name=["RichMediaToolsFeat","RichMediaToolsLocal"]

    reg.waitBestList(5,name) #does not work and hangs
    #reg.findBestList(name) #works fine

also found out that if i give bigger region then it works and does not hang
debug logs
[debug] Region: Key.WIN as modifier
[debug] ( Windows ) TYPE "#UP."
[debug] Region: ( Windows ) TYPE "#UP."
[debug] OCR: start: Tess4J 4.5.4 using Tesseract 4.1.x
[debug] Finder2: makeMat: INT_RGB (1280x720)
[debug] Finder2: doFindText: Home (1360 msec): not found
[debug] waitBest: enter
[debug] findAnyCollect: waiting for SubFindRuns
[debug] Image: loaded: RichMediaToolsFeat.png (file:/C:/Perf/Work/Groups/AntiPirates/PDFNext/Automations/FeatTests/FEAT/Unified%20Share/UI_Automation/TestFiles/AcroUIImageRepo/RichMediaToolsFeat.png)
[debug] Image: loaded: RichMediaToolsLocal.png (file:/C:/Perf/Work/Groups/AntiPirates/PDFNext/Automations/FeatTests/FEAT/Unified%20Share/UI_Automation/TestFiles/AcroUIImageRepo/RichMediaToolsLocal.png)
[debug] Image: cached: RichMediaToolsFeat.png (26 KB) (# 1 KB 26 -- 0 % of 64 MB)
[debug] Image: cached: RichMediaToolsLocal.png (27 KB) (# 2 KB 54 -- 0 % of 64 MB)
[debug] Finder2: makeMat: INT_RGB (1240x20)
[debug] Finder2: makeMat: 3BYTE_BGR (104x88)
[debug] Finder2: makeMat: INT_RGB (1240x20)
[debug] Finder2: makeMat: 3BYTE_BGR (105x91)

Revision history for this message
Chetan (cshamdas) wrote :
Revision history for this message
Chetan (cshamdas) wrote :

also attaching the images if needed

Revision history for this message
Chetan (cshamdas) wrote :
Chetan (cshamdas)
description: updated
Chetan (cshamdas)
description: updated
Revision history for this message
Chetan (cshamdas) wrote :

any update on this?

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

to be tested with 2.0.6

Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 2.0.6
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.