CE Libraries 2.2 - crash in Sys_GetConfigInt

Hello,

we’re getting crashes when using the new ce libs 2.2.

I could reproduce it with a simple test program.

Dear @haide

I debugged the issue and found an error in the Toradex CE Libraries V2.2:
To secure the context variable we calculate a checksum. By mistake we included 4 bytes after the actual context into the checksum computation, leading to random context corruption errors. This is only done in the debug version of the libraries.

This will be fixed in Library release V2.3. In the meantime you can either use the release version of the V2.2 libraries, or the preliminary library attached to this post.

Regards, Andy

I have made the same experience with Sys_GetConfigInt(),
but I can’t use the Release Version because of another bug, that gives me the error.

SysInfoLib.lib : fatal error LNK1262: link failed due to mismatched versions of 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm\c2.dll' and LINK.EXE

Dear @rgu,

Sorry, This thread is not talking about “link failed” error.

Already you asked the same question : https://www.toradex.com/community/questions/21229/release-version-of-sysinfoliblib-not-linkable-to-w.html

Is that issue not solved? Are you facing context corruption and link failed due to mismatched versions of cl.2 error on ToradexCeLibraries_2.2b4428-20180525.zip?