View Revisions: Issue #2900

Summary 0002900: Digital Master: May crash while trying to post message from HRD Interface
Revision 2018-11-05 11:47 by WA9PIE
Additional Information
0:003> .ecxr
eax=07b60020 ebx=ffffffff ecx=6c7333b0 edx=00000000 esi=0658ae38 edi=01eb00b4
eip=6c59481b esp=0da1b8b0 ebp=0da1b8f4 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246
HRDInterface001!CHRDInterface001App::SendLogfileMessage+0x1cb:
6c59481b ff7020          push    dword ptr [eax+20h]  ds:002b:07b60040=????????
0:003> kp
  *** Stack trace for last set context - .thread/.cxr resets it
 # ChildEBP RetAddr  
00 0da1b8f4 6c594616 HRDInterface001!CHRDInterface001App::SendLogfileMessage(class ATL::CStringT<wchar_t,StrTraitMFC<wchar_t,ATL::ChTraitsCRT<wchar_t> > > * strText = 0x00000091)+0x1cb [c:\ham radio\digital master\hrdinterface001\messages.cpp @ 122] 
01 0da1b928 6c5922f6 HRDInterface001!CHRDInterface001App::AddError(wchar_t * lpszFormat = 0x0658eaa8 "Error connecting to 'localhost' port 7809 - No connection could be made because the target machine actively refused it. ")+0x106 [c:\ham radio\digital master\hrdinterface001\messages.cpp @ 89] 
02 0da1bc3c 0024722e HRDInterface001!HRDInterfaceConnect(wchar_t * lpszAddress = 0x0656c258 "localhost", unsigned short wPort = 0x1e81)+0x606 [c:\ham radio\digital master\hrdinterface001\hrdinterface001.cpp @ 227] 
03 0da1bcc4 0024a5d5 Digital_Master!CBackgroundProcessingThread::HRDData(struct HWND__ * hWnd = 0x00120d0c, struct RADIO_PANE_DATA * pData = 0x13561a60)+0x23e [c:\ham radio\digital master\digital master\backgroundprocessingthreadhrd.cpp @ 226] 
04 0da1fde0 00249d01 Digital_Master!CBackgroundProcessingThread::ProcessData(class CBkgPacket * pPkt = 0x0cca67f0)+0x875 [c:\ham radio\digital master\digital master\backgroundprocessingthreadpacket.cpp @ 1493] 
05 0da1fe1c 003e4635 Digital_Master!CBackgroundProcessingThread::DoWork(void)+0xd1 [c:\ham radio\digital master\digital master\backgroundprocessingthreadpacket.cpp @ 1069] 
06 0da1fe44 003e46c6 Digital_Master!CThinThread::Run(void)+0x85 [c:\ham radio\digital master\digital master\thinthread.cpp @ 182] 
07 0da1fe80 00423dc2 Digital_Master!CThinThread::Start(void * pv = 0x009e4ac8)+0x46 [c:\ham radio\digital master\digital master\thinthread.cpp @ 234] 
08 0da1ff28 0054d42f Digital_Master!_AfxThreadEntry(void * pParam = 0x0020d50c)+0xff [f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 109] 
09 0da1ff60 0054d557 Digital_Master!_callthreadstartex(void)+0x1b [f:\dd\vctools\crt\crtw32\startup\threadex.c @ 376] 
0a 0da1ff6c 7548343d Digital_Master!_threadstartex(void * ptd = <Value unavailable error>)+0x7c [f:\dd\vctools\crt\crtw32\startup\threadex.c @ 354] 
0b 0da1ff78 779b9802 kernel32!BaseThreadInitThunk+0xe
0c 0da1ffb8 779b97d5 ntdll!__RtlUserThreadStart+0x70
0d 0da1ffd0 00000000 ntdll!_RtlUserThreadStart+0x1b
0:003> kb
  *** Stack trace for last set context - .thread/.cxr resets it
 # ChildEBP RetAddr  Args to Child              
00 0da1b8f4 6c594616 00000091 eef9d989 07e9c488 HRDInterface001!CHRDInterface001App::SendLogfileMessage+0x1cb [c:\ham radio\digital master\hrdinterface001\messages.cpp @ 122] 
01 0da1b928 6c5922f6 6c7333b0 0658eaa8 6c733384 HRDInterface001!CHRDInterface001App::AddError+0x106 [c:\ham radio\digital master\hrdinterface001\messages.cpp @ 89] 
02 0da1bc3c 0024722e 0656c258 00001e81 e458f2b9 HRDInterface001!HRDInterfaceConnect+0x606 [c:\ham radio\digital master\hrdinterface001\hrdinterface001.cpp @ 227] 
03 0da1bcc4 0024a5d5 00120d0c 13561a60 e458b39d Digital_Master!CBackgroundProcessingThread::HRDData+0x23e [c:\ham radio\digital master\digital master\backgroundprocessingthreadhrd.cpp @ 226] 
04 0da1fde0 00249d01 0cca67f0 e458b38d 0cd13cb0 Digital_Master!CBackgroundProcessingThread::ProcessData+0x875 [c:\ham radio\digital master\digital master\backgroundprocessingthreadpacket.cpp @ 1493] 
05 0da1fe1c 003e4635 e458b039 0000048c 022707d0 Digital_Master!CBackgroundProcessingThread::DoWork+0xd1 [c:\ham radio\digital master\digital master\backgroundprocessingthreadpacket.cpp @ 1069] 
06 0da1fe44 003e46c6 e458b0fd 0cd13cb0 0000048c Digital_Master!CThinThread::Run+0x85 [c:\ham radio\digital master\digital master\thinthread.cpp @ 182] 
07 0da1fe80 00423dc2 009e4ac8 e458b155 00000000 Digital_Master!CThinThread::Start+0x46 [c:\ham radio\digital master\digital master\thinthread.cpp @ 234] 
08 0da1ff28 0054d42f 0020d50c e458b11d 00000000 Digital_Master!_AfxThreadEntry+0xff [f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 109] 
09 0da1ff60 0054d557 00000000 0da1ff78 7548343d Digital_Master!_callthreadstartex+0x1b [f:\dd\vctools\crt\crtw32\startup\threadex.c @ 376] 
0a 0da1ff6c 7548343d 0cc9e278 0da1ffb8 779b9802 Digital_Master!_threadstartex+0x7c [f:\dd\vctools\crt\crtw32\startup\threadex.c @ 354] 
0b 0da1ff78 779b9802 0cc9e278 70b3070d 00000000 kernel32!BaseThreadInitThunk+0xe
0c 0da1ffb8 779b97d5 0054d4db 0cc9e278 00000000 ntdll!__RtlUserThreadStart+0x70
0d 0da1ffd0 00000000 0054d4db 0cc9e278 00000000 ntdll!_RtlUserThreadStart+0x1b



Revision 2018-09-18 09:10 by K7ZCZ
Additional Information
0:003> .ecxr
eax=07b60020 ebx=ffffffff ecx=6c7333b0 edx=00000000 esi=0658ae38 edi=01eb00b4
eip=6c59481b esp=0da1b8b0 ebp=0da1b8f4 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246
HRDInterface001!CHRDInterface001App::SendLogfileMessage+0x1cb:
6c59481b ff7020          push    dword ptr [eax+20h]  ds:002b:07b60040=????????
0:003> kp
  *** Stack trace for last set context - .thread/.cxr resets it
 # ChildEBP RetAddr  
00 0da1b8f4 6c594616 HRDInterface001!CHRDInterface001App::SendLogfileMessage(class ATL::CStringT<wchar_t,StrTraitMFC<wchar_t,ATL::ChTraitsCRT<wchar_t> > > * strText = 0x00000091)+0x1cb [c:\ham radio\digital master\hrdinterface001\messages.cpp @ 122] 
01 0da1b928 6c5922f6 HRDInterface001!CHRDInterface001App::AddError(wchar_t * lpszFormat = 0x0658eaa8 "Error connecting to 'localhost' port 7809 - No connection could be made because the target machine actively refused it. ")+0x106 [c:\ham radio\digital master\hrdinterface001\messages.cpp @ 89] 
02 0da1bc3c 0024722e HRDInterface001!HRDInterfaceConnect(wchar_t * lpszAddress = 0x0656c258 "localhost", unsigned short wPort = 0x1e81)+0x606 [c:\ham radio\digital master\hrdinterface001\hrdinterface001.cpp @ 227] 
03 0da1bcc4 0024a5d5 Digital_Master!CBackgroundProcessingThread::HRDData(struct HWND__ * hWnd = 0x00120d0c, struct RADIO_PANE_DATA * pData = 0x13561a60)+0x23e [c:\ham radio\digital master\digital master\backgroundprocessingthreadhrd.cpp @ 226] 
04 0da1fde0 00249d01 Digital_Master!CBackgroundProcessingThread::ProcessData(class CBkgPacket * pPkt = 0x0cca67f0)+0x875 [c:\ham radio\digital master\digital master\backgroundprocessingthreadpacket.cpp @ 1493] 
05 0da1fe1c 003e4635 Digital_Master!CBackgroundProcessingThread::DoWork(void)+0xd1 [c:\ham radio\digital master\digital master\backgroundprocessingthreadpacket.cpp @ 1069] 
06 0da1fe44 003e46c6 Digital_Master!CThinThread::Run(void)+0x85 [c:\ham radio\digital master\digital master\thinthread.cpp @ 182] 
07 0da1fe80 00423dc2 Digital_Master!CThinThread::Start(void * pv = 0x009e4ac8)+0x46 [c:\ham radio\digital master\digital master\thinthread.cpp @ 234] 
08 0da1ff28 0054d42f Digital_Master!_AfxThreadEntry(void * pParam = 0x0020d50c)+0xff [f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 109] 
09 0da1ff60 0054d557 Digital_Master!_callthreadstartex(void)+0x1b [f:\dd\vctools\crt\crtw32\startup\threadex.c @ 376] 
0a 0da1ff6c 7548343d Digital_Master!_threadstartex(void * ptd = <Value unavailable error>)+0x7c [f:\dd\vctools\crt\crtw32\startup\threadex.c @ 354] 
0b 0da1ff78 779b9802 kernel32!BaseThreadInitThunk+0xe
0c 0da1ffb8 779b97d5 ntdll!__RtlUserThreadStart+0x70
0d 0da1ffd0 00000000 ntdll!_RtlUserThreadStart+0x1b
0:003> kb
  *** Stack trace for last set context - .thread/.cxr resets it
 # ChildEBP RetAddr  Args to Child              
00 0da1b8f4 6c594616 00000091 eef9d989 07e9c488 HRDInterface001!CHRDInterface001App::SendLogfileMessage+0x1cb [c:\ham radio\digital master\hrdinterface001\messages.cpp @ 122] 
01 0da1b928 6c5922f6 6c7333b0 0658eaa8 6c733384 HRDInterface001!CHRDInterface001App::AddError+0x106 [c:\ham radio\digital master\hrdinterface001\messages.cpp @ 89] 
02 0da1bc3c 0024722e 0656c258 00001e81 e458f2b9 HRDInterface001!HRDInterfaceConnect+0x606 [c:\ham radio\digital master\hrdinterface001\hrdinterface001.cpp @ 227] 
03 0da1bcc4 0024a5d5 00120d0c 13561a60 e458b39d Digital_Master!CBackgroundProcessingThread::HRDData+0x23e [c:\ham radio\digital master\digital master\backgroundprocessingthreadhrd.cpp @ 226] 
04 0da1fde0 00249d01 0cca67f0 e458b38d 0cd13cb0 Digital_Master!CBackgroundProcessingThread::ProcessData+0x875 [c:\ham radio\digital master\digital master\backgroundprocessingthreadpacket.cpp @ 1493] 
05 0da1fe1c 003e4635 e458b039 0000048c 022707d0 Digital_Master!CBackgroundProcessingThread::DoWork+0xd1 [c:\ham radio\digital master\digital master\backgroundprocessingthreadpacket.cpp @ 1069] 
06 0da1fe44 003e46c6 e458b0fd 0cd13cb0 0000048c Digital_Master!CThinThread::Run+0x85 [c:\ham radio\digital master\digital master\thinthread.cpp @ 182] 
07 0da1fe80 00423dc2 009e4ac8 e458b155 00000000 Digital_Master!CThinThread::Start+0x46 [c:\ham radio\digital master\digital master\thinthread.cpp @ 234] 
08 0da1ff28 0054d42f 0020d50c e458b11d 00000000 Digital_Master!_AfxThreadEntry+0xff [f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 109] 
09 0da1ff60 0054d557 00000000 0da1ff78 7548343d Digital_Master!_callthreadstartex+0x1b [f:\dd\vctools\crt\crtw32\startup\threadex.c @ 376] 
0a 0da1ff6c 7548343d 0cc9e278 0da1ffb8 779b9802 Digital_Master!_threadstartex+0x7c [f:\dd\vctools\crt\crtw32\startup\threadex.c @ 354] 
0b 0da1ff78 779b9802 0cc9e278 70b3070d 00000000 kernel32!BaseThreadInitThunk+0xe
0c 0da1ffb8 779b97d5 0054d4db 0cc9e278 00000000 ntdll!__RtlUserThreadStart+0x70
0d 0da1ffd0 00000000 0054d4db 0cc9e278 00000000 ntdll!_RtlUserThreadStart+0x1b