diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp index f3ab3e88db0cf8d6a51e854381841ef68fe68f79..366c6d2fd4bd79aff402730f8d4dc5485996c9b4 100644 --- a/src/sbbs3/main.cpp +++ b/src/sbbs3/main.cpp @@ -2124,7 +2124,21 @@ void output_thread(void* arg) #ifdef USE_CRYPTLIB if(sbbs->ssh_mode) { int err; - pthread_mutex_lock(&sbbs->ssh_mutex); + pthread_mutex_lock(&sbbs->ssh_mutex); /* exception here May-11-2013: + + sbbs.dll!pthread_mutex_lock(_RTL_CRITICAL_SECTION * mutex=0x070b3a74) Line 147 + 0xc bytes C +> sbbs.dll!output_thread(void * arg=0x070add80) Line 2127 + 0x11 bytes C++ + sbbs.dll!_callthreadstart() Line 259 + 0xf bytes C + sbbs.dll!_threadstart(void * ptd=0x03daaa18) Line 243 C + +- &sbbs->ssh_mutex 0x070b3a74 {DebugInfo=0x00000000 LockCount=-4 RecursionCount=0 ...} _RTL_CRITICAL_SECTION * ++ DebugInfo 0x00000000 {Type=??? CreatorBackTraceIndex=??? CriticalSection=??? ...} _RTL_CRITICAL_SECTION_DEBUG * + LockCount -4 long + RecursionCount 0 long + OwningThread 0x00000000 void * + LockSemaphore 0x00002028 void * + SpinCount 0 unsigned long +*/ if(!cryptStatusOK((err=cryptPushData(sbbs->ssh_session, (char*)buf+bufbot, buftop-bufbot, &i)))) { /* Handle the SSH error here... */ lprintf(LOG_WARNING,"%s !ERROR %d sending on Cryptlib session", node, err);