If try to add a lot of new contacts (with photo) at one session (start Notes client and start adding contacts) an application crashes. Steps to reproduce:
-
Prepare a lot of vCards with contacts with photo (500 vCards).
-
Open Notes → Contacts window.
-
Select “More” - > “Import Contacts” and select many vCards files - about 50, for example. Each contact will bring confirm window - click “Import” and then “Ok” buttons.
-
Repeat step 4 many times. Crash will happen when about 300+ contacts will be already imported.
It looks like out of memory issue. From log:
<@@ ------ Notes Process Info → Call Stack for Process :: [ NLNOTES: 0e34] (Time 13:09:32) ------ @@>
############################################################
thread 1/17: [ NLNOTES: 0e34: 0c54]
FP=0x00139a24, PC=0x7c90e514, SP=0x001399c0
stkbase=0x00140000, total stksize=212992, used stksize=26176
############################################################
[ 1] 0x7c90e514 ntdll.KiFastSystemCallRet+0 (658,493e0,0,13a1d4)
[ 2] 0x7c802542 kernel32.WaitForSingleObject+18 (658,493e0,13a968,13a61d)
@[ 3] 0x601a2e75 nnotes.FRSendCommandToService+789 (13a1f4,13a5f4,13a61d,0)
@[ 4] 0x601a3aaf nnotes.OSRunExternalScript@8+1055 (12c,1)
@[ 5] 0x601a402f nnotes.FRTerminateWindowsResources+975 (1,1000,1,0)
@[ 6] 0x601a43f8 nnotes.OSFaultCleanupExt@24+888 (dc6a14,1000,0,0,0,13ac90)
@[ 7] 0x601a447a nnotes.OSFaultCleanup@12+26 (0,1000,0)
@[ 8] 0x601af924 nnotes.OSNTUnhandledExceptionFilter@4+276 (13b7b4)
[ 9] 0x7c864191 kernel32.UnhandledExceptionFilter+455 (13b7b4,0,0,0)
[10] 0x7c34c456 MSVCR71._XcptFilter+351 (0,13b7b4,7c34246e,13b7bc)
@[11] 0x00401edb NLNOTES.WinMainCRTStartup+471 (11cfb0,7c90e920,7ffd7000,8054b6ed)
[12] 0x7c817077 kernel32.RegisterWaitForInputIdle+73 (401d04,0,78746341,20)
INFO (0): Generating core dump for [ NLNOTES: 0e34] (coreflags=0, exp=17cca5c, dbgver=6.8.0004.0)
INFO (0): Generated core dump file C:\Program Files\IBM\Lotus\Notes\Data\IBM_TECHNICAL_SUPPORT\core_NLNOTES_W32I_N101884_2010_10_29@13_09_28.dmp
############################################################
FATAL THREAD 1/17 [ NLNOTES: 0e34: 0c54]
FP=0x0013bbbc, PC=0x6069fce7, SP=0x0013bb90
stkbase=00140000, total stksize=212992, used stksize=17520
EAX=0x00000000, EBX=0x00000000, ECX=0x00000100, EDX=0x0000c130
ESI=0x215a3330, EDI=0x00000051, CS=0x0000001b, SS=0x00000023
DS=0x00000023, ES=0x00000023, FS=0x0000003b, GS=0x00000000 Flags=0x00010246
Exception code: c0000005 (ACCESS_VIOLATION)
############################################################
@[ 1] 0x6069fce7 nnotes.VersitApi_ParseInput+183 (13c1d0,0,51,0)
@[ 2] 0x60697ca8 nnotes.iCal2NotesParse@12+216 (13c1d0,0,656edbd)
@[ 3] 0x6384b5da nnotesws.ImportVCards+234 (13ca60,4e3d058,13a7a4e)
@[ 4] 0x6384b7d0 nnotesws.ViewImportFile@24+208 (1,13a7a4e,659589c,11900aa,0,0)
@[ 5] 0x6384c527 nnotesws.ViewImportExportDialog@32+2119 (1,1,13a7534,63b0004,0,0,0,0)
@[ 6] 0x638374fa nnotesws.CLineView::ImportDialog+138 (63b0004,63c3218,0,3047e18,0,0,0,0)
@[ 7] 0x631370cd nnotesws.CViewSelection::CommonCommand+1565 (63c3218,13e0b8,0,13e510,0,0,0,0)
@[ 8] 0x6317264d nnotesws.CSelectionManager::ProcessCommand+813 (0,60000015,1,0,0,0,0,0)
@[ 9] 0x63172cb2 nnotesws.NEMProcessCommandExt@16+34 (60000015,0,0,13e520)
@[10] 0x63645cb4 nnotesws.HSCFileImportExport+52 (bc2,63b8228,13e510,13e520)
@[11] 0x636496ea nnotesws.HandleSpecialCases+634 (bc2,63b8228,13e510,13e520)
@[12] 0x6364a706 nnotesws.DeskTranslateActionAndExecute@40+710 (f02400b8,6748018,bc2,63b8228,0,0,0,0,0,0)
@[13] 0x635560ee nnotesws.DoCommand+590 (6748018,63b8228,6,0,0,0,0,0,0,0)
@[14] 0x630a9023 nnotesws.DeskComputeExtension2@36+467 (6748018,63b8228,ed,1,0,0,0,0,0)
@[15] 0x630a8e4a nnotesws.DeskComputeExtension@36+42 (6748018,63b8228,ed,1,0,0,0,0,0)
@[16] 0x600b0fba nnotes.CompGeneralContext::ExtensionProc+298 (e,ed,0,1,0,0,0,0,0)
@[17] 0x600b14f5 nnotes.ExtensionProc::Execute+229 (67481ac,674813c,674813c,0,0,0,0,0,0)
@[18] 0x60041702 nnotes.AtFunctionNode::ComputeVariants+82 (67481e4,674813c,674813c,0,0,0,0,0,0)
@[19] 0x60040c66 nnotes.MainExpressionNode::ComputeVariants+54 (0,6748018,1,150564,0,0,0,0,0)
@[20] 0x60041931 nnotes.RootNode::ComputeVariants+81 (63fe018,6748018,0,14,0,0,0,0,0)
@[21] 0x6004151f nnotes.Compute::Eval+159 (63b8228,13ee2c,6747aa4,7e42927b,0,0,0,0,0)
@[22] 0x600b0c65 nnotes.NSFComputeEvaluateExt@32+181 (6748018,0,13ee2c,13ec80,0,0,0,0)
@[23] 0x600b0b8f nnotes.NSFComputeEvaluate@28+47 (6748018,0,13ee2c,13ee42,0,0,0)
@[24] 0x6354e303 nnotesws.ExecuteMacro@16+531 (0,1a6,f02400b8,14b0000)
@[25] 0x63049bd6 nnotesws.DeskNEMMessage@24+662 (0,59102c0,431,0,0,0)
@[26] 0x63025855 nnotesws.CDeskSubprogram::SubMessageProc+309 (3044618,431,0,309b9d8,0,0)
@[27] 0x63024e2e nnotesws.MainWndProc@16+8046 (59102c0,431,0,309b9d8)
[28] 0x7e418734 USER32.GetDC+109 (63022ec0,59102c0,431,0)
[29] 0x7e418816 USER32.GetDC+335 (0,63022ec0,59102c0,431)
[30] 0x7e4189cd USER32.GetWindowLongW+295 (13f7ac,0,13f7d0,630baa23)
[31] 0x7e418a10 USER32.DispatchMessageW+15 (13f7ac,1,1c20296,63020000)
@[32] 0x630baa23 nnotesws.NEMMainLoop@4+803 (4013a0)
@[33] 0x004019cb NLNOTES.WinMain@16+1579 (630f9de0,0,16231d,0)
@[34] 0x00401e89 NLNOTES.WinMainCRTStartup+389 (11cfb0,7c90e920,7ffd7000,8054b6ed)
[35] 0x7c817077 kernel32.RegisterWaitForInputIdle+73 (401d04,0,78746341,20)
############################################################
PASS 2 : FATAL THREAD with STACK FRAMES 1/17 [ NLNOTES: 0e34: 0c54]
FP=0013bbbc, PC=6069fce7, SP=0013bb90
stkbase=00140000, total stksize=212992, used stksize=17520
Exception code: c0000005 (ACCESS_VIOLATION)
############################################################
Disassembly of c. 10 instructions before and after faulting address 6069fce7:
6069fccb 8d55f0 lea edx,[ebp+0xf0] ss:019066fe=00000000
6069fcce 52 push edx
6069fccf 8bc8 mov ecx,eax
6069fcd1 e8aa940400 call 606e9180
6069fcd6 8bd8 mov ebx,eax
6069fcd8 8a4e20 mov cl,[esi+0x20] ds:22d6de72=dd
6069fcdb 8b4514 mov eax,[ebp+0x14] ss:019066fe=00000000
6069fcde 80e108 and cl,0x8
6069fce1 f6d9 neg cl
6069fce3 c645fc01 mov byte ptr [ebp+0xfc],0x1 ss:019066fe=00
FAULT ->6069fce7 894322 mov [ebx+0x22],eax ds:017cab42=df5858ae
6069fcea 1bc9 sbb ecx,ecx
6069fcec 81e10efeffff and ecx,0xfffffe0e
6069fcf2 81c1f4010000 add ecx,0x1f4
6069fcf8 894b2a mov [ebx+0x2a],ecx ds:017cab42=df5858ae
6069fcfb 8bcb mov ecx,ebx
6069fcfd e87eb90400 call 606eb680
6069fd02 8bf8 mov edi,eax
6069fd04 85ff test edi,edi
6069fd06 753f jnz 6069fd47
6069fd08 8b551c mov edx,[ebp+0x1c] ss:019066fe=00000000
6069fd0b 66c702ffff mov word ptr [edx],0xffff ds:0000c130=????