[1.1.1] Sikulix problem with native library: VisionProxy.dll

Bug #1843833 reported by Jacqueline Costa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RaiMan's stuff for SikuliX
New
Undecided
Unassigned

Bug Description

I am using a vagrant box image (based on: 'StefanScherer/windows_10') to run my desktop tests that use Sikulix.

The windows is 64bits with java8.

My project is in Java and use sikulix 1.1.1 calling it by pom.xml ( https://mvnrepository.com/artifact/com.sikulix/sikulixapi )

When running "mvn clean install" I am getting this error:

[error] RunTimeAPI: Problematic lib: ...\Sikulix\SikulixLibs_201711011200\VisionProxy.dll (...TEMP...)
[error] RunTimeAPI: VisionProxy.dll loaded, but it might be a problem with needed dependent libraries
ERROR: ...TEMP...: Can't load this .dll (machine code=0x0) on a AMD 64-bit platform
[error] RunTimeAPI: *** terminating: problem with native library: VisionProxy.dll

Before the windows upgrade the tests were running normal.

Anyone has any idea of the cause and how to handle this?

affects: sikuli → raiman
Revision history for this message
Jacqueline Costa (jacquescosta) wrote :

Changing java to java x86 the problem still happening.

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

In what environment exactly is the SikuliX using Java app exactly running?

You might try with the latest version 1.1.4, that is still only available as snapshot.
see: https://raiman.github.io/SikuliX1/downloads.html

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

1.1.4 only supports 64-Bit.

Revision history for this message
Jacqueline Costa (jacquescosta) wrote :

@RaiMan

"In what environment exactly is the SikuliX using Java app exactly running?"

The Sikulix is running in Vagrant Windows image that is 64 bits, I tried with java 64 bits and 32 bits (because I read in some articles that could change anything).

I set the debug = 4 and got:

*** system properties dump end
[debug] RunTimeINIT: loadOptions: check: C:\vagrant
[debug] RunTimeINIT: loadOptions: check: C:\Users\vagrant
[debug] RunTimeINIT: loadOptions: check: C:\Users\vagrant\AppData\Roaming\Sikulix\SikulixStore
[error] Settings: load version file sikulixversion.txt did not work
[debug] Sikulix: endError: 999
[debug] Sikulix: cleanUp: 999
[debug] RunTimeINIT: new libs folder at: C:\Users\vagrant\AppData\Roaming\Sikulix\SikulixLibs_

Seem sikulix is not creating the libs.

The strange situation is that im my local machine it is working ok

Revision history for this message
Jacqueline Costa (jacquescosta) wrote :

I cannot upgrade for a snapshot version yet.

Revision history for this message
Jacqueline Costa (jacquescosta) wrote :

Well, I undestrand now what is happening, but I don't know how to handle with that, basically the problem to load library is because when sikulix starts to save images in cache the windows is rebooting.

Then, I deleted the maven dependency in .m2 folder, and sikulix started working.

But, now the main problem is:
- When sikulix starts to cache images the windows automatically reboot, I tried with Windows 10 vagrant box and Windows Server 2019 box, both of them reboot. I tried changed the memory of 2048 for 5048 and also the number os CPUs of 1 to 3, but, no sucess.

Any idea of what is happening?

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.