I use Notes C API to hook EM_SMTPCOMMAND call. If I try to write a code to access data/information from EM_SMTPCOMMAND call(just retrieve data), the smtp task will crash after running a period of time.
But the server crash stack is related to nSMTP.FetchUpdatedConfig. Anyone has idea why smtp task crash?
My environment is 64 bits window. Domino 9.0.1 version
############################################################
thread 1/8: [ nSMTP: 0e64: 0fa4]
FP=0x0029c4a8, PC=0x771e69ca, SP=0x0029c4a8
stkbase=0x002a0000, total stksize=913408, used stksize=15192
############################################################
[ 1] 0x771e69ca ntdll.ZwWaitForSingleObject+10 (E6F6974616E696D,8BA5CD47000A,1,29ced0)
[ 2] 0x77099f80 kernel32.WaitForSingleObjectEx+160 (538,29c670,0,538)
@[ 3] 0x7FEE74F930A nnotes.FRSendCommandToService+1450 (29cee8,29cee8,12c,7FEE74F7CE0)
@[ 4] 0x7FEE74FAE96 nnotes.OSRunExternalScript+1334 (e64,0,0,5)
@[ 5] 0x7FEE74FB82A nnotes.FRTerminateWindowsResources+1738 (0,5,1,318d00)
@[ 6] 0x7FEE74FBFB9 nnotes.OSFaultCleanupExt+1177 (29e6c0,772a8dd8,29fc80,1)
@[ 7] 0x7FEE74FC5B7 nnotes.OSFaultCleanup+23 (772a8dd8,19493DBDCE84,2,29e704)
@[ 8] 0x7FEE755F217 nnotes.OSNTUnhandledExceptionFilter+423 (29e6c0,772a8dd8,30,7FEE752BE6C)
[ 9] 0x7712cfaf kernel32.UnhandledExceptionFilter+351 (29e6c0,80686c81,0,7FE00000001)
[10] 0x7720f9f8 ntdll.RtlInitializeAtomPackage+72 (40,7FEE752C365,d8d60b0,30)
[11] 0x771d8ed4 ntdll.__C_specific_handler+140 (29fc80,29fc80,2a0000,771c64d1)
[12] 0x771d53cd ntdll.RtlIntegerToChar+1341 (1,0,29fc80,2a0000)
[13] 0x771d9277 ntdll.__C_specific_handler+1071 (29f2a0,E22746361706D49,FFFFA6000000000,771a0000)
[14] 0x771e6918 ntdll.KiUserExceptionDispatcher+46 (0,7FEE752C365,2940074,20001a64)
@[15] 0x7FEE7C0F2A1 nnotes.CHashTable::RemoveElement+49 (4ddb2c68,E22746361706D49,0,21a1e2a8)
@[16] 0x7FEE7C0F5E9 nnotes.CHashTable::~CHashTable+105 (21a1e2a8,13F12E360,3,0)
@[17] 0x7FEE7C0FAB3 nnotes.CHashTableDelete+19 (21a1af28,7FEE9E47600,2940018,21a1af28)
@[18] 0x13F0F3B61 nSMTP.SMTPUpdateTableCtxField+705 (20001a64,3,1601,29f570)
@[19] 0x13F0F554C nSMTP.FetchUpdatedConfig+4220 (13F141EE0,29f9b0,10000001E,0)
@[20] 0x13F0F8551 nSMTP.CSMTPSrv::MainTask+65 (100000001,2939548,2939548,0)
@[21] 0x13F11A725 nSMTP.CIServ::FirstProcessMain+645 (13F141EE0,13F0F0000,1,2939548)
@[22] 0x13F0F1074 nSMTP.AddInMain+116 (2939548,0,0,0)
@[23] 0x13F10BD27 nSMTP.NotesMain+55 (0,7476148c,13F0F0000,29fc00)
@[24] 0x13F10BEBC nSMTP.notes_main+348 (1,0,0,1)
@[25] 0x13F10BD58 nSMTP.main+24 (1,1675476A0CDA,0,0)
@[26] 0x13F1299BE nSMTP._tmainCRTStartup+282 (0,0,0,0)
[27] 0x7708a54d kernel32.BaseThreadInitThunk+13 (0,0,0,0)
[28] 0x771c64d1 ntdll.RtlUserThreadStart+33 (0,0,0,0)