[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash on windows in ssh_message_get()


Hello

I'm trying to run a SSH server example (examples/ssh_sample.c) on Windows and
it crashes with attached backtrace.

Version: libssh 0.5.0 compiled with mingw.
#0  0x7c90120f in ntdll!DbgUiConnectToDbg ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c96c201 in ntdll!RtlpNtMakeTemporaryKey ()
   from C:\WINDOWS\system32\ntdll.dll
#2  0x7c95d454 in ntdll!RtlZeroHeap () from C:\WINDOWS\system32\ntdll.dll
#3  0x003f4f88 in ?? ()
#4  0x7c96c5cf in ntdll!RtlpNtMakeTemporaryKey ()
   from C:\WINDOWS\system32\ntdll.dll
#5  0x7c96d826 in ntdll!RtlpNtMakeTemporaryKey ()
   from C:\WINDOWS\system32\ntdll.dll
#6  0x7c949e1c in ntdll!LdrFindEntryForAddress ()
   from C:\WINDOWS\system32\ntdll.dll
#7  0x003f0000 in ?? ()
#8  0x7c927553 in ntdll!RtlPcToFileHeader ()
   from C:\WINDOWS\system32\ntdll.dll
#9  0x77c1c2de in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll
#10 0x003f0000 in ?? ()
#11 0x61ad8df5 in hmac_final () from E:\livessh\libssh.dll
#12 0x61ad1273 in packet_hmac_verify () from E:\livessh\libssh.dll
#13 0x61adebc0 in ssh_packet_socket_callback () from E:\livessh\libssh.dll
#14 0x61ae3de1 in ssh_socket_pollcallback () from E:\livessh\libssh.dll
#15 0x61ae11d6 in ssh_poll_ctx_dopoll () from E:\livessh\libssh.dll
#16 0x61ae1e8d in ssh_handle_packets () from E:\livessh\libssh.dll
#17 0x61ad99f3 in ssh_message_get () from E:\livessh\libssh.dll
#18 0x004015a4 in main ()

Follow-Ups:
Re: Crash on windows in ssh_message_get()Andreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org