I have a form that calls an agent on webqueryopen. The agent makes some calls to a third-party dll (cryptlib) and updates a field on the documentcontext document. It all works fine, except that the server immediately crashes as soon as the code is done running. Yes, that’s right, my form loads in the browser with the results of the external dll calls, and then the server dies. An excerpt from an NSD log is below.
The problem sounds like one on record about a background agent updating a field of type currency. But, there are no currency fields on this form, and the problem is supposedly fixed in 6.5.3FP1, which is what the server is running.
Now, this is my first time making calls to an external DLL from LS, so it’s possible I’m missing something fundamental. All I did was copy the DLL to the \lotus\domino directory on the Win2003 server.
Any help would be appreciated.
############################################################
FATAL THREAD 56/57 [ nhttp:0554:1498]
FP=0x181dffb8, PC=0x1a272567, SP=0x181dff64, stksize=84
EAX=0x1a300000, EBX=0x00000002, ECX=0x77e48441, EDX=0x00360001
ESI=0x1a2e8bac, EDI=0x00000000, CS=0x0000001b, SS=0x00000023
DS=0x00000023, ES=0x00000023, FS=0x00000038, GS=0x00000000 Flags=0x00010246
Exception code: c0000005 (ACCESS_VIOLATION)
############################################################
[ 1] 0x1a272567 (a25a9a0,0,0,a25a9a0)
[ 2] 0x77e4a990 KERNEL32.FlsSetValue+1913
############################################################
PASS 2 : FATAL THREAD with STACK FRAMES 56/57 [ nhttp:0554:1498]
FP=181dffb8, PC=1a272567, SP=181dff64, stksize=84
Exception code: c0000005 (ACCESS_VIOLATION)
############################################################
---------- Top of the Stack ----------
# 181dff64 1a2b5350 1a2bbe87 00000002 0a26ca58 |PS+...+.....X.&.|
# 181dff74 0a25a9a0 00000000 1a2bbe4c 1a2e8bac |..%.....L.+.....|
# 181dff84 00000002 77bc91ed 00000000 00000000 |.......w........|
# 181dff94 00000000 0a25a9a0 c0000005 181dff90 |......%.........|
# 181dffa4 181dfb8c 181dffdc 77bc4d50 77ba4050 |........PM.wP@.w|
# 181dffb4 00000000 181dffec 77e4a990 0a25a9a0 |...........w..%.|
[ 1] 0x1a272567 (a25a9a0,0,0,a25a9a0)
# 181dffb8 181dffec 77e4a990 0a25a9a0 00000000 |.......w..%.....|
# 181dffc8 00000000 0a25a9a0 00000000 181dffc4 |......%.........|
# 181dffd8 00dcdb70 ffffffff 77e70abc 77e80110 |p..........w...w|
# 181dffe8 00000000 00000000 00000000 77bc917e |............~..w|
[ 2] 0x77e4a990 KERNEL32.FlsSetValue+1913