View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002676 | 3 - Current Dev List | Bug | public | 2018-04-14 10:23 | 2018-04-14 10:23 |
Reporter | K7ZCZ | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Intel i7-5960X | OS | Windows 10 Professional x64 | OS Version | 16299 |
Product Version | 6.4.0.805 | ||||
Target Version | Fixed in Version | ||||
Summary | 0002676: Logbook: Printing "Award Credits Matrix" causes a crash | ||||
Description | Looks like the logic to build the Award Credits Matrix is flawed; an array lookup is walking past the end of the array, which causes a crash. | ||||
Steps To Reproduce | 1) Start up Logbook 2) Load the WA9PIE sample database 3) Open the Awards Window by clicking on "Awards Tracking" in the toolbar 4) Activate the "Award Tracking" tab 5) Click on "Print" in the toolbar 6) In the resulting "Print" dialog, make the options look like this: [ ] Print Summary Report [x] Print Award Credits Matrix [ ] Sort by column 2 (Full description) [x] Show Type Colors [ ] Print Record Sheet from Template // disabled 7) Press OK to print Retail builds will crash. Debug builds assert with an error about an array being overrun, with the attached callstack. | ||||
Additional Information | > HRDLogbook.exe!CUIntArray::ElementAt(int nIndex=340) Line 170 C++ HRDLogbook.exe!CUIntArray::operator[](int nIndex=340) Line 186 C++ HRDLogbook.exe!CAwards2View::DrawCreditReport(CDC * pDC=0x041ce1d8, CRect & rect={...}, int nStart=291) Line 1863 C++ HRDLogbook.exe!CAwards2View::PrintCreditReport(CDC * pDC=0x041ce1d8) Line 1612 C++ HRDLogbook.exe!CAwards2View::OnFilePrint() Line 1289 C++ HRDLogbook.exe!_AfxDispatchCmdMsg(CCmdTarget * pTarget=0x2217b628, unsigned int nID=57607, int nCode=0, void (void) * pfn=0x0124f824, void * pExtra=0x00000000, unsigned int nSig=58, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000) Line 77 C++ HRDLogbook.exe!CCmdTarget::OnCmdMsg(unsigned int nID=57607, int nCode=0, void * pExtra=0x00000000, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000) Line 373 C++ HRDLogbook.exe!CView::OnCmdMsg(unsigned int nID=57607, int nCode=0, void * pExtra=0x00000000, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000) Line 164 C++ HRDLogbook.exe!CFrameWnd::OnCmdMsg(unsigned int nID=57607, int nCode=0, void * pExtra=0x00000000, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000) Line 980 C++ HRDLogbook.exe!CWnd::OnCommand(unsigned int wParam=57607, long lParam=0) Line 2784 C++ HRDLogbook.exe!CFrameWnd::OnCommand(unsigned int wParam=57607, long lParam=0) Line 384 C++ HRDLogbook.exe!CWnd::OnWndMsg(unsigned int message=273, unsigned int wParam=57607, long lParam=0, long * pResult=0x041cea04) Line 2108 C++ HRDLogbook.exe!CXTPCommandBarsSiteBase<CMDIChildWnd>::OnWndMsg(unsigned int message=273, unsigned int wParam=57607, long lParam=0, long * pResult=0x041cea04) Line 191 C++ HRDLogbook.exe!CWnd::WindowProc(unsigned int message=273, unsigned int wParam=57607, long lParam=0) Line 2094 C++ HRDLogbook.exe!AfxCallWndProc(CWnd * pWnd=0x1bc10368, HWND__ * hWnd=0x00020c48, unsigned int nMsg=273, unsigned int wParam=57607, long lParam=0) Line 282 C++ HRDLogbook.exe!AfxWndProc(HWND__ * hWnd=0x00020c48, unsigned int nMsg=273, unsigned int wParam=57607, long lParam=0) Line 435 C++ user32.dll!__InternalCallWinProc@20() Unknown user32.dll!InternalCallWinProc() Unknown user32.dll!UserCallWinProcCheckWow(struct _ACTIVATION_CONTEXT *,void *,struct HWND__ *,enum _WM_VALUE,unsigned int,long,void *,int) Unknown user32.dll!CallWindowProcAorW(long (*)(struct HWND__ *,unsigned int,unsigned int,long),struct HWND__ *,enum _WM_VALUE,unsigned int,long,int) Unknown user32.dll!_CallWindowProcW@20() Unknown HRDLogbook.exe!CXTPHookManager::HookWndProc(HWND__ * hWnd=0x00020c48, unsigned int message=273, unsigned int wParam=57607, long lParam=0) Line 267 C++ user32.dll!__InternalCallWinProc@20() Unknown user32.dll!InternalCallWinProc() Unknown user32.dll!UserCallWinProcCheckWow(struct _ACTIVATION_CONTEXT *,void *,struct HWND__ *,enum _WM_VALUE,unsigned int,long,void *,int) Unknown user32.dll!SendMessageWorker(struct tagWND *,unsigned int,unsigned int,long,int) Unknown user32.dll!SendMessageW() Unknown HRDLogbook.exe!CWnd::SendMessageW(unsigned int message=273, unsigned int wParam=57607, long lParam=0) Line 32 C++ HRDLogbook.exe!NotifyExecute(CXTPControl * pControl=0x22195f90, CWnd * pOwner=0x1bc10368) Line 699 C++ HRDLogbook.exe!CXTPControl::OnExecute() Line 912 C++ HRDLogbook.exe!CXTPControl::ClickToolBarButton(CRect rcActiveRect={...}) Line 783 C++ HRDLogbook.exe!CXTPControlButton::OnClick(int bKeyboard=0, CPoint pt={...}) Line 73 C++ HRDLogbook.exe!CXTPControl::OnLButtonDown(CPoint point={...}) Line 1327 C++ HRDLogbook.exe!CXTPCommandBar::OnLButtonDown(unsigned int nFlags=1, CPoint point={...}) Line 434 C++ HRDLogbook.exe!CXTPToolBar::OnLButtonDown(unsigned int nFlags=1, CPoint point={...}) Line 1018 C++ HRDLogbook.exe!CWnd::OnWndMsg(unsigned int message=513, unsigned int wParam=1, long lParam=1638431, long * pResult=0x041cf9e0) Line 2596 C++ HRDLogbook.exe!CXTPCommandBar::OnWndMsg(unsigned int message=513, unsigned int wParam=1, long lParam=1638431, long * pResult=0x041cf9e0) Line 2416 C++ HRDLogbook.exe!CWnd::WindowProc(unsigned int message=513, unsigned int wParam=1, long lParam=1638431) Line 2094 C++ HRDLogbook.exe!AfxCallWndProc(CWnd * pWnd=0x1bd0a6a0, HWND__ * hWnd=0x00010c64, unsigned int nMsg=513, unsigned int wParam=1, long lParam=1638431) Line 282 C++ HRDLogbook.exe!AfxWndProc(HWND__ * hWnd=0x00010c64, unsigned int nMsg=513, unsigned int wParam=1, long lParam=1638431) Line 435 C++ user32.dll!__InternalCallWinProc@20() Unknown user32.dll!InternalCallWinProc() Unknown user32.dll!UserCallWinProcCheckWow(struct _ACTIVATION_CONTEXT *,void *,struct HWND__ *,enum _WM_VALUE,unsigned int,long,void *,int) Unknown user32.dll!_DispatchMessageWorker@8() Unknown user32.dll!_DispatchMessageW@4() Unknown HRDLogbook.exe!AfxInternalPumpMessage() Line 181 C++ HRDLogbook.exe!CWinThread::PumpMessage() Line 900 C++ HRDLogbook.exe!CWinThread::Run() Line 629 C++ HRDLogbook.exe!CWinApp::Run() Line 787 C++ HRDLogbook.exe!AfxWinMain(HINSTANCE__ * hInstance=0x00850000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x066032c8, int nCmdShow=10) Line 47 C++ HRDLogbook.exe!wWinMain(HINSTANCE__ * hInstance=0x00850000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x066032c8, int nCmdShow=10) Line 26 C++ HRDLogbook.exe!__tmainCRTStartup() Line 251 C HRDLogbook.exe!wWinMainCRTStartup() Line 165 C kernel32.dll!@BaseThreadInitThunk@12() Unknown ntdll.dll!__RtlUserThreadStart() Unknown ntdll.dll!__RtlUserThreadStart@8() Unknown | ||||
Tags | No tags attached. | ||||
Module | Logbook | ||||
Sub-Module | Awards | ||||
Testing | Not Started | ||||