View Issue Details

IDProjectCategoryView StatusLast Update
00027663 - Current Dev ListBugpublic2018-06-12 19:54
ReporterK7ZCZAssigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0002766: Logbook: Crashes before printing labels for a record with no callsign
DescriptionAttempting to print labels for a list of records that includes one more more records with a no call sign causes the Logbook to crash.
Steps To Reproduce
First, you'll need to create a record with no callsign.

1) Fire up the logbook
2) Open your favorite database. You'll need other records in addition to the blank we're about to create.
3) Use the "Add" button in the toolbar to add a record.
4) Give it a callsign. Add whatever else you'd like to the record.
5) Press "Add" to save it and close the ALE.
6) Open the record you created again by double-clicking on it.
7) Delete the callsign from the "Callsign:" field in the ALE
8) Save the record by pressing the "Update" button in the ALE.

Now that we've got a record without a callsign, let's try to print it.

9) Highlight the record without a callsign, but also highlight additional records.
10) Right click on it. In the resulting context menu, use the "File" tear off to reach the "Print" tear off, and select the "Labels" button.

Nothing further; the resulting printing settings dialog will try to sort the list of selected records by callsign, and deferences the empty callsign.

The call stack is shown here:


>	HRDLogbook.exe!CLabelSheet::OnTimer(unsigned int nIDEvent=0) Line 524	C++
     HRDLogbook.exe!CWnd::OnWndMsg(unsigned int message, unsigned int wParam=1, long lParam=0, long * pResult=0x01d6f6cc) Line 2440	C++
     HRDLogbook.exe!CWnd::WindowProc(unsigned int message=275, unsigned int wParam=1, long lParam=0) Line 2094	C++
     HRDLogbook.exe!AfxCallWndProc(CWnd * pWnd=0x1ae39d00, HWND__ * hWnd=0x003603ba, unsigned int nMsg=275, unsigned int wParam=1, long lParam=0) Line 285	C++
     HRDLogbook.exe!AfxWndProc(HWND__ * hWnd=0x003603ba, unsigned int nMsg=275, unsigned int wParam=1, long lParam=0) Line 434	C++
     user32.dll!__InternalCallWinProc@20()	Unknown
     user32.dll!UserCallWinProcCheckWow()	Unknown
     user32.dll!DispatchMessageWorker()	Unknown
     user32.dll!_DispatchMessageW@4()	Unknown
     HRDLogbook.exe!AfxInternalPumpMessage() Line 183	C++
     HRDLogbook.exe!AfxWinMain(HINSTANCE__ * hInstance=0x0045d0fc, HINSTANCE__ * hPrevInstance=0x0000000a, wchar_t * lpCmdLine=0x00000000, int nCmdShow=30865800) Line 47	C++
     HRDLogbook.exe!__tmainCRTStartup() Line 251	C
     kernel32.dll!@BaseThreadInitThunk@12()	Unknown
     ntdll.dll!__RtlUserThreadStart()	Unknown
     ntdll.dll!__RtlUserThreadStart@8()	Unknown


TagsNo tags attached.
ModuleLogbook
Sub-ModuleLabel
TestingNot Started

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-06-12 19:54 K7ZCZ New Issue