org.opencv.core.CvException: CvException in Windows Server 2012 R2

Bug #1884517 reported by Tony May
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Invalid
Undecided
Unassigned

Bug Description

if LocalRegionObject.exists( IndividualImage, TimeValue ):

at org.opencv.imgproc.Imgproc.matchTemplate_1(Native Method)
at org.opencv.imgproc.Imgproc.matchTemplate(Imgproc.java:2616)
at org.sikuli.script.Finder$Finder2.doFindMatch(Finder.java:733)
at org.sikuli.script.Finder$Finder2.doFindImage(Finder.java:704)
at org.sikuli.script.Finder$Finder2.doFind(Finder.java:622)
at org.sikuli.script.Finder$Finder2.find(Finder.java:582)
at org.sikuli.script.Finder.findRepeat(Finder.java:109)
at org.sikuli.script.Region.doFind(Region.java:2720)
at org.sikuli.script.Region.access$200(Region.java:28)
at org.sikuli.script.Region$RepeatableFind.run(Region.java:2983)
at org.sikuli.script.Region$Repeatable.repeat(Region.java:2926)
at org.sikuli.script.Region.exists(Region.java:2322)
at jdk.internal.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
org.opencv.core.CvException: CvException [org.opencv.core.CvException: cv::Exception: OpenCV(3.4.2) C:\build\3_4_winpack-bindings-win64-vc14-static\opencv\modules\core\src\matrix.cpp:367: error: (-215:Assertion failed) u != 0 in function 'cv::Mat::create'

Revision history for this message
Tony May (tonymay) wrote :

Sikuli 2.0.4
Windows Server 2012 R2 (patched up to date to June 2020)
Java JDK 13.0.2

Revision history for this message
Tony May (tonymay) wrote :

This is on Windows Server 2012 R2, screen resolution is 1440x900. Same code worked on other occasions and all the time on other Windows OSes.

Code:

LocalRegionObject = ( Region(0,0,1440,900) )

if LocalRegionObject.exists( Pattern("1494237247598.png").similar(0.75), 0.1 )

Revision history for this message
Tony May (tonymay) wrote :

I have only been seeing this issue on Windows Server 2012 R2

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

ok, forget my comment #2 --- simply wrong :-(

Based on more research in the net, it may be, that you have a memory problem in this case.

I am sorry, but I cannot help you.

Revision history for this message
Tony May (tonymay) wrote :

okay thanks RaiMan

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Invalid
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.