NSD error - Senior Develper cannot trace - please help - take 2

I inherited a couple of dbs that are similar - one dept, one enterprise use. Speficic records from the dept when deemed as enterprise or “boarded” to the enterprise db (parent & children docs). Issue was that the boarded records could not be edited (the computed fields had not calculated despite computewithform in the boarding code.) I created a flag for the boarded items, performed a manual refresh of them & created a view & simple agent: Command([ToolsRefreshAllDocs]) to run on new & modified docs in this view. Corrected the problem - however some users are getting an .NSD error upon saving & closing the record (no code changed - shared Save & Close button. The error log is:

++++++++++++++++++++++++++++++

ERROR (0): AdjustTokenPrivileges failed - (1300) Not all privileges referenced are assigned to the caller.

WARNING (0): NSD is unable to obtain privileges for some debugging operations. If you are running as a limited or restricted user then NSD will be unable to obtain some of the information it is attempting to collect. NSD will also produce error messages when privileged operations fail. However, useful data such as Notes/Domino callstacks will still be collected.

INFO (0): Using PSAPI DLL

search path: .;C:\WINDOWS

ERROR (4): can’t attach to process [ ?:0004] - (5) Access is denied.

(…)

############################################################

FATAL THREAD 1/9 [ NLNOTES:104c:0f3c]

FP=0x0013e3e4, PC=0x6003e4ab, SP=0x0013e3d4, stksize=16

EAX=0x04a1fc70, EBX=0x00000000, ECX=0x00c442f8, EDX=0x00c442f8

ESI=0x04a1fc70, EDI=0x00000000, CS=0x0000001b, SS=0x00000023

DS=0x00000023, ES=0x00000023, FS=0x0000003b, GS=0x00000000 Flags=0x00010246

Exception code: c0000005 (ACCESS_VIOLATION)

############################################################

@[ 1] 0x6003e4ab nnotes.LSSiMEMMGR::OSHeapBlkFree+187 (4a1fc70,0,0,0)

@[ 2] 0x6005345d nnotes.LSSiMEMMGR::BlkFree+45 (c442f8,4a1fc78,47bf888,0)

@[ 3] 0x600871f4 nnotes.LSSiSAM::BlkFree+36 (c46644,4a1fc78,c46f10,47b0000)

@[ 4] 0x600ed036 nnotes.LSsChunkMgr::Destruct+54 (47bf888,13e450,600ec374,47bf888)

@[ 5] 0x600ec2cc nnotes.LScNameMgr::Destruct+12 (47bf888,47bf528,13e468,600ec0e1)

@[ 6] 0x600ec374 nnotes.LSsModule::Destruct+100 (47bf528,130021,47bf528,c46f10)

@[ 7] 0x600ec0e1 nnotes.LSsInstance::DeleteModule+161 (c46f10,47bf528,0,c47648)

@[ 8] 0x600ecfd1 nnotes.LSsInstance::ModuleUnload+97 (c46f10,47bf528,0,0)

@[ 9] 0x6125c64e nnotesws.LSEcInstance::UnloadScriptModule+30 (c47648,47bf528,0,0)

@[10] 0x6125c7c0 nnotesws.LSEcInstance::UnloadUsedModule+336 (c47648,47bf528,49fec88,13e6d4)

@[11] 0x6125c789 nnotesws.LSEcInstance::UnloadUsedModule+281 (c47648,484f8e8,49fec40,13e608)

@[12] 0x6121fe9f nnotesws.LSEcCIScrObj::ScriptUnload+47 (49fec88,484f8e8,0,13e61c)

@[13] 0x61aa0e86 nnotesws.LSEcSAScrObj::Unload+38 (49fec40,0,47ae500,13e690)

@[14] 0x611bc92a nnotesws.LSEcSAScrObj::DoMethod+138 (49fec48,303,0,47ae500)

@[15] 0x611a6e3b nnotesws.LSEcSAScrInt::ClassControl+235 (49fec48,479f680,109,13e6b8)

@[16] 0x600590e2 nnotes.LSsInstance::AdtCallBack+226 (479f680,611c1060,109,47aba18)

@[17] 0x6007005d nnotes.LScObjCli::ProdMethodCall+61 (47ab9d8,303,47df01c,10000)

@[18] 0x6006ff54 nnotes.LSsThread::AdtDoProdCallout+164 (47ae2f0,47ab9d8,10000,47defd0)

@[19] 0x6006fe6f nnotes.LSsThread::AdtCallMethod+47 (1,47e7218,1,47ae2f0)

@[20] 0x60022ae4 nnotes.LSsThread::NRun+6516 (47ae2f0,47c4ae8,47ae2f0,13e86c)

@[21] 0x60023286 nnotes.LSsThread::Run+182 (47ae2f0,479f680,479f680,c46644)

@[22] 0x60026fd6 nnotes.LSsThread::ExecuteEvent+262 (47ae2f0,47ab368,47ae440,2)

@[23] 0x60025c79 nnotes.LSsInstance::RunEvent+297 (479f680,c47a30,21f,2)

@[24] 0x600273a9 nnotes.LSsInstance::RaiseEvent+89 (479f680,c47a30,21f,2)

@[25] 0x6119107d nnotesws.LSEcSAScrInt::DoRaiseEvent+93 (c47a30,21f,2,13e9f8)

@[26] 0x611911a6 nnotesws.LSEcSAScrEnv::DoRaiseEvent+38 (c47a30,21f,2,13e9f8)

@[27] 0x61191147 nnotesws.LSEcInstance::DoScrEnvEvent+135 (c47648,21f,2,13e9f8)

@[28] 0x61a994ce nnotesws._LSEObjectDelete@12+78 (c47648,5b6f0f4,5b6def4,6f00934)

@[29] 0x615beb50 nnotesws.CLSUIDocument::RemoveScriptObject+112 (f01c011d,4e4b374,1,0)

@[30] 0x61211efa nnotesws._DocScriptTerm@4+330 (5b6f0f4,0,5b6f0f4,5b6cd08)

@[31] 0x61213a75 nnotesws.CEdDoc::DeleteSubstructures+501 (0,5b6f0f4,5b6cdf4,1)

@[32] 0x61213ff5 nnotesws.@DocDelete@4+165 (1a905bc,5b6d8f4,5b6d8f4,1)

@[33] 0x611b8272 nnotesws._EditInstanceMessage@24+466 (5b6f0f4,1a905bc,402,1)

@[34] 0x611b7b8f nnotesws.CEditSubprogram::SubMessageProc+191 (5b6d8f4,402,1,0)

@[35] 0x61184904 nnotesws._MainWndProc@16+6932 (1a905bc,402,1,0)

[36] 0x7e418734 USER32.GetDC+109 (61182df0,1a905bc,402,1)

[37] 0x7e418816 USER32.GetDC+335 (0,61182df0,1a905bc,402)

[38] 0x7e41b89b USER32.GetParent+364 (914680,9076a8,1,0)

[39] 0x7e42f3cc USER32.SendMessageA+73 (1a905bc,402,1,0)

@[40] 0x61202fd7 nnotesws.CSubprogram::InstanceTerm+39 (5b6d8f4,1,0,5b6d8f4)

@[41] 0x61202bcc nnotesws.CSubprogram::Destroy+716 (5b6d8f4,1,13f030,611b604d)

@[42] 0x61202fa0 nnotesws.CSubprogram::FCFrameManagedShutdown+16 (5b6d8f4,1,5b6d8f4,0)

@[43] 0x611b604d nnotesws.fsUnloadFrame+125 (5b6ccf4,d,0,42f)

@[44] 0x611ccbeb nnotesws._FSSetFrameSub@20+891 (42f,0,0,d)

@[45] 0x61642c0c nnotesws.CEditorMonitorSubprogram::DestroyAllSubs+60 (5b6d0f4,0,0,5b6d0f4)

@[46] 0x616420cb nnotesws.CEditorMonitorSubprogram::InstanceTerm+283 (5b6d0f4,1,42c,5b6d0f4)

@[47] 0x61202bcc nnotesws.CSubprogram::Destroy+716 (5b6d0f4,1,6effcf4,13f128)

@[48] 0x6166c8f3 nnotesws.CDocumentSubprogram::DestroySub+19 (6effcf4,0,5b6d0f4,5)

@[49] 0x6166c85e nnotesws.CDocumentSubprogram::InstanceCleanup+174 (5b6d0f4,0,6effcf4,13f174)

@[50] 0x6166a822 nnotesws.CDocumentSubprogram::InstanceTerm+34 (6effcf4,1,dc0490,0)

@[51] 0x61202bcc nnotesws.CSubprogram::Destroy+716 (6effcf4,1,13f540,61182df0)

@[52] 0x61184181 nnotesws._MainWndProc@16+5009 (6effcf4,490,4,502)

[53] 0x7e418734 USER32.GetDC+109 (61182df0,dc0490,490,4)

[54] 0x7e418816 USER32.GetDC+335 (0,61182df0,dc0490,490)

[55] 0x7e41b89b USER32.GetParent+364 (9124a8,9123b8,4,502)

[56] 0x7e42f3cc USER32.SendMessageA+73 (dc0490,490,4,502)

@[57] 0x61395fda nnotesws.CNEMTabSubprogram::CloseTab+234 (1668c78,502,1640410,1668c78)

@[58] 0x61395380 nnotesws.CNEMTabSubprogram::ProcessClick+144 (1668c78,195,b,0)

@[59] 0x61394751 nnotesws.CNEMTabSubprogram::RedirectWndProc+673 (1668c78,1640410,202,0)

@[60] 0x611bcb1f nnotesws._TabSubprogramWndProc@16+143 (1,202,0,b0195)

[61] 0x7e418734 USER32.GetDC+109 (611bca90,1640410,202,0)

[62] 0x7e418816 USER32.GetDC+335 (0,611bca90,1640410,202)

[63] 0x7e4189cd USER32.GetWindowLongW+295 (13f7c0,0,13f7e0,61221f28)

[64] 0x7e418a10 USER32.DispatchMessageW+15 (13f7c0,61221c60,61180000,1)

@[65] 0x61221f28 nnotesws._NEMMainLoop@4+712 (401000,1,15237c,0)

@[66] 0x0040156d NLNOTES._WinMain@16+1389 (400000,0,15237c,1)

@[67] 0x00401dfa NLNOTES._WinMainCRTStartup+308 (1,7e42dbfb,7ffdd000,8054a6ed)

[68] 0x7c816fd7 kernel32.RegisterWaitForInputIdle+73 (401cc6,0,78746341,20)

…more to follow

Subject: NSD error - Senior Develper cannot trace - please help - take 2

Similar to this issue

Server crash on HTTP when using LSI_Info function.

Is this a specific agent? Can you tell us more?

Date

Topic

Frequently asked question - How to analyze Notes/Domino NSDs? (Jean-Yves Riverin)

or call IBM support.

JYR

Subject: NSD error - Senior Develper cannot trace - please help - take 2

No need to post the whole NSD file, only the FATAL THREAD is required

JYR

Subject: NSD error - Senior Developer cannot trace - please help - take 2

############################################################

PASS 2 : FATAL THREAD with STACK FRAMES 1/9 [ NLNOTES:104c:0f3c]

FP=0013e3e4, PC=6003e4ab, SP=0013e3d4, stksize=16

Exception code: c0000005 (ACCESS_VIOLATION)

############################################################

---------- Top of the Stack ----------

   # 0013e3d4  04a1fc78 00c442f8 00000000 00c442f8  |x....B.......B..|

@[ 1] 0x6003e4ab nnotes.LSSiMEMMGR::OSHeapBlkFree+187 (4a1fc70,0,0,0)

   # 0013e3e4  0013e400 6005345d 04a1fc70 00000000  |....]4.`p.......|

   # 0013e3f4  00000000 00000000 00c442f8 0013e418  |.........B......|

@[ 2] 0x6005345d nnotes.LSSiMEMMGR::BlkFree+45 (c442f8,4a1fc78,47bf888,0)

   # 0013e400  0013e418 600871f4 00c442f8 04a1fc78  |.....q.`.B..x...|

   # 0013e410  047bf888 00000000 0013e434 600ed036  |..{.....4...6..`|

@[ 3] 0x600871f4 nnotes.LSSiSAM::BlkFree+36 (c46644,4a1fc78,c46f10,47b0000)

   # 0013e418  0013e434 600ed036 00c46644 04a1fc78  |4...6..`Df..x...|

   # 0013e428  00c46f10 047b0000 047bf528 0013e440  |.o....{.(.{.@...|

@[ 4] 0x600ed036 nnotes.LSsChunkMgr::Destruct+54 (47bf888,13e450,600ec374,47bf888)

   # 0013e434  0013e440 600ec2cc 047bf888 0013e450  |@......`..{.P...|

@[ 5] 0x600ec2cc nnotes.LScNameMgr::Destruct+12 (47bf888,47bf528,13e468,600ec0e1)

   # 0013e440  0013e450 600ec374 047bf888 047bf528  |P...t..`..{.(.{.|

@[ 6] 0x600ec374 nnotes.LSsModule::Destruct+100 (47bf528,130021,47bf528,c46f10)

   # 0013e450  0013e468 600ec0e1 047bf528 00130021  |h......`(.{.!...|

   # 0013e460  047bf528 00c46f10 0013e4cc 600ecfd1  |(.{..o.........`|

@[ 7] 0x600ec0e1 nnotes.LSsInstance::DeleteModule+161 (c46f10,47bf528,0,c47648)

   # 0013e468  0013e4cc 600ecfd1 00c46f10 047bf528  |.......`.o..(.{.|

   # 0013e478  00000000 00c47648 0013e638 0013e498  |....Hv..8.......|

   # 0013e488  e4cc0003 00210013 f5280013 7648047b  |......!...(.{.Hv|

   # 0013e498  e47000c4 cfa10013 ef48600e 00000013  |..p......`H.....|

   # 0013e4a8  32300000 00005643 00c40000 00c46f10  |..02CV.......o..|

   # 0013e4b8  00000000 047bf528 04a1fc7c 148e0000  |....(.{.|.......|

   # 0013e4c8  04813240 0013e4e4 6125c64e 00c46f10  |@2......N.%a.o..|

@[ 8] 0x600ecfd1 nnotes.LSsInstance::ModuleUnload+97 (c46f10,47bf528,0,0)

   # 0013e4cc  0013e4e4 6125c64e 00c46f10 047bf528  |....N.%a.o..(.{.|

   # 0013e4dc  00000000 00000000 0013e560 6125c7c0  |........`.....%a|

@[ 9] 0x6125c64e nnotesws.LSEcInstance::UnloadScriptModule+30 (c47648,47bf528,0,0)

   # 0013e4e4  0013e560 6125c7c0 00c47648 047bf528  |`.....%aHv..(.{.|

   # 0013e4f4  00000000 00000000 00c46644 00000000  |........Df......|

   # 0013e504  0013e564 600b4759 00c46644 0013e518  |d...YG.`Df......|

   # 0013e514  04813240 0013e638 e4ec0000 e5640003  |@2..8.........d.|

   # 0013e524  00010013 00000000 32400000 e5080481  |..........@2....|

   # 0013e534  46900013 ef48600b 00000013 32300000  |...F.`H.......02|

   # 0013e544  00005643 04813240 00c46644 00c46644  |CV..@2..Df..Df..|

   # 0013e554  00130000 00000000 047cbb58 0013e5e0  |........X.|.....|

@[10] 0x6125c7c0 nnotesws.LSEcInstance::UnloadUsedModule+336 (c47648,47bf528,49fec88,13e6d4)

   # 0013e560  0013e5e0 6125c789 00c47648 047bf528  |......%aHv..(.{.|

   # 0013e570  049fec88 0013e6d4 0013e704 00000013  |................|

   # 0013e580  e60c0000 ba340013 e560047a 6d840013  |......4.z.`....m|

   # 0013e590  ef48611a 00000013 32300000 00005643  |.aH.......02CV..|

   # 0013e5a0  611b0000 00c46d3c 049fecb4 049fef14  |...a<m..........|

   # 0013e5b0  00000002 00000001 0013e5e0 00c46644  |............Df..|

   # 0013e5c0  00c47648 00000000 0481d568 00c46644  |Hv......h...Df..|

   # 0013e5d0  00130021 047bf528 00000001 047cbb18  |!...(.{.......|.|

@[11] 0x6125c789 nnotesws.LSEcInstance::UnloadUsedModule+281 (c47648,484f8e8,49fec40,13e608)

   # 0013e5e0  0013e5f4 6121fe9f 00c47648 0484f8e8  |......!aHv......|

   # 0013e5f0  049fec40 0013e608 61aa0e86 049fec88  |@..........a....|

@[12] 0x6121fe9f nnotesws.LSEcCIScrObj::ScriptUnload+47 (49fec88,484f8e8,0,13e61c)

   # 0013e5f4  0013e608 61aa0e86 049fec88 0484f8e8  |.......a........|

   # 0013e604  00000000 0013e61c 611bc92a 049fec40  |........*..a@...|

@[13] 0x61aa0e86 nnotesws.LSEcSAScrObj::Unload+38 (49fec40,0,47ae500,13e690)

   # 0013e608  0013e61c 611bc92a 049fec40 00000000  |....*..a@.......|

   # 0013e618  047ae500 0013e690 611a6e3b 049fec48  |..z.....;n.aH...|

@[14] 0x611bc92a nnotesws.LSEcSAScrObj::DoMethod+138 (49fec48,303,0,47ae500)

   # 0013e61c  0013e690 611a6e3b 049fec48 00000303  |....;n.aH.......|

   # 0013e62c  00000000 047ae500 047aba34 0013e7d0  |......z.4.z.....|

   # 0013e63c  046002fc e6900002 e7040013 e6d40013  |..`.............|

   # 0013e64c  ba340013 e628047a 6d840013 ef48611a  |..4.z.(....m.aH.|

   # 0013e65c  00000013 32300000 00005643 00000000  |......02CV......|

   # 0013e66c  00000002 047ab2e0 047ab9d8 0013e690  |......z...z.....|

   # 0013e67c  0013e690 6007402d 00c46644 00c47648  |....-@.`Df..Hv..|

   # 0013e68c  0013e704 0013e6dc 600590e2 049fec48  |...........`H...|

@[15] 0x611a6e3b nnotesws.LSEcSAScrInt::ClassControl+235 (49fec48,479f680,109,13e6b8)

   # 0013e690  0013e6dc 600590e2 049fec48 0479f680  |.......`H.....y.|

   # 0013e6a0  00000109 0013e6b8 0013e704 047e7218  |.............r~.|

   # 0013e6b0  0479f680 047ae500 049fec48 0479f680  |..y...z.H.....y.|

   # 0013e6c0  00000000 00000066 00000000 00000000  |....f...........|

   # 0013e6d0  00000000 00000000 00000000 0013e720  |............ ...|

@[16] 0x600590e2 nnotes.LSsInstance::AdtCallBack+226 (479f680,611c1060,109,47aba18)

   # 0013e6dc  0013e720 6007005d 0479f680 611c1060  | ...]..`..y.`..a|

   # 0013e6ec  00000109 047aba18 0013e704 0013e704  |......z.........|

   # 0013e6fc  047ae2f0 047ae500 047ae500 03030000  |..z...z...z.....|

   # 0013e70c  047a0000 00000000 047c4ae8 00000000  |..z......J|.....|

   # 0013e71c  0013e774 0013e74c 6006ff54 047ab9d8  |t...L...T..`..z.|

@[17] 0x6007005d nnotes.LScObjCli::ProdMethodCall+61 (47ab9d8,303,47df01c,10000)

   # 0013e720  0013e74c 6006ff54 047ab9d8 00000303  |L...T..`..z.....|

   # 0013e730  047df01c 00010000 047ae500 047e7218  |..}.......z..r~.|

   # 0013e740  047ae2f0 047ae4f0 00000000 0013e770  |..z...z.....p...|

@[18] 0x6006ff54 nnotes.LSsThread::AdtDoProdCallout+164 (47ae2f0,47ab9d8,10000,47defd0)

   # 0013e74c  0013e770 6006fe6f 047ae2f0 047ab9d8  |p...o..`..z...z.|

   # 0013e75c  00010000 047defd0 047e7218 047ae2f0  |......}..r~...z.|

   # 0013e76c  00000023 0013e7bc 60022ae4 00000001  |#........*.`....|

@[19] 0x6006fe6f nnotes.LSsThread::AdtCallMethod+47 (1,47e7218,1,47ae2f0)

   # 0013e770  0013e7bc 60022ae4 00000001 047e7218  |.....*.`.....r~.|

   # 0013e780  00000001 047ae2f0 00000002 00000000  |......z.........|

   # 0013e790  00000001 047c4ae8 00000780 00134ae8  |.....J|......J..|

   # 0013e7a0  9a42492f 00000000 0013e723 00000023  |/IB.....#...#...|

   # 0013e7b0  047e7218 047c4ae8 00009d28 0013e82c  |.r~..J|.(...,...|

@[20] 0x60022ae4 nnotes.LSsThread::NRun+6516 (47ae2f0,47c4ae8,47ae2f0,13e86c)

   # 0013e7bc  0013e82c 60023286 047ae2f0 047c4ae8  |,....2.`..z..J|.|

   # 0013e7cc  047ae2f0 0013e86c e2f0047a e82c0001  |..z.l...z.....,.|

   # 0013e7dc  00020013 00010000 00000000 e7bc047a  |............z...|

   # 0013e7ec  322b0013 ef486002 00000013 32300000  |..+2.`H.......02|

   # 0013e7fc  00005643 00000000 0013e81c 60026726  |CV..........&g.`|

   # 0013e80c  047e0802 00c46644 00000002 047e2980  |..~.Df.......)~.|

   # 0013e81c  047a0000 00c46644 00000001 00000000  |..z.Df..........|