Windows 10 run-time issue

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Windows 10 run-time issue

Andy Kennedy
All,

 

Previous versions used:

 

Windows 7

openssl-1.0.2s

libssh-0.9.0

VS2017

Strawberry Perl

 

This configuration worked without issue.  Then, MS EOL'ed Windows 7.

 

My configuration is now:

 

Windows 10

openssl-1.1.1d (someone on libssh told me that I needed this version)

VS2017

Strawberry Perl

NASM

Build instructions for x64 command console:

          set PATH=%PATH%;%USERPROFILE%\strawberry\perl\bin

          set PATH=%PATH%;%USERPROFILE%\nasm-2.14.03rc2

          cd %USERPROFILE%\source\oss\openssl-1.1.1d

          perl Configure VC-WIN64A --prefix=%USERPROFILE%\oss --openssldir=%USERPROFILE%\oss

          nmake

          nmake test

          nmake install

 

Now, with Windows 10, I get a "Microsoft Visual C++ Runtime Library" box with

the following text:

Debug Assertion Failed!

 

Program <mysshApp.exe>

File minkernel\crts\ucrt\src\appcrt\heap\debug_heap.cpp

Line: 908

 

Expression: is_block_type_valid(header->_block_use)

<snip>

 

So, I connect to the app with the VS debugger and find:

file: pki_crypto.c:

function:  pki_signature_from_ecdsa_blob()

line: (1769) SAFE_FREE(raw_sig_data);

is what VS claims generated this error.

 

From the above description, can anyone tell me what I have done wrong in

the build?  Or, have I stumbled upon a bug?

 

Thanks in advance for any assistance you can provide.

Andy

Reply | Threaded
Open this post in threaded view
|

Re: Windows 10 run-time issue

Matt Caswell-2


On 03/10/2019 00:50, Andy Kennedy wrote:

> So, I connect to the app with the VS debugger and find:____
>
> file: pki_crypto.c:____
>
> function:  pki_signature_from_ecdsa_blob()____
>
> line: (1769) SAFE_FREE(raw_sig_data);____

These symbols all appear to be libssh symbols so I don't think we can really
advise you on this. Your question might be better posted on a libssh forum.

Matt
Reply | Threaded
Open this post in threaded view
|

Re: Windows 10 run-time issue

Andy Kennedy
Please excuse the top post, replying from my cell phone.

And so it is.  My bad!

Andy

On Thu, Oct 3, 2019, 8:25 AM Matt Caswell <[hidden email]> wrote:


On 03/10/2019 00:50, Andy Kennedy wrote:

> So, I connect to the app with the VS debugger and find:____
>
> file: pki_crypto.c:____
>
> function:  pki_signature_from_ecdsa_blob()____
>
> line: (1769) SAFE_FREE(raw_sig_data);____

These symbols all appear to be libssh symbols so I don't think we can really
advise you on this. Your question might be better posted on a libssh forum.

Matt