Error Message = PANIC: LookupHandle: null handle

Technote (troubleshooting)


Problem

server crash in admin p

###########################################################
### thread 5/6: [ nAdminp:  205c:  1d90] FATAL THREAD (Panic)
### FP=0x61d20d28, PC=0x7722135a, SP=0x61d20d28
### stkbase=0x61d30000, total stksize=4194304, used stksize=62168
### EAX=0x00000041, EBX=0x00000000, ECX=0x61d1fd02, EDX=0x7FE9B2C3997
### ESI=0x000493e0, EDI=0x000007d8, CS=0x00000033, SS=0x7FE0000002B
### DS=0x00000000, ES=0x00000000, FS=0x00000000, GS=0x7FE00000000
Flags=0x00000287
############################################################
[ 1] 0x7722135a ntdll.ZwWaitForSingleObject+10
(3AA76204231,12297829,3,13d1afe0)
[ 2] 0x7FEFD4410DC KERNELBASE.WaitForSingleObjectEx+156 (5,5,0,7d8)
@[ 3] 0x100958ff nnotes.FRSendCommandToService+1943
(61d263a0,61d266b8,0,10091be8)
@[ 4] 0x100991e8 nnotes.OSRunExternalScript+5860 (3,5,1230f104,1)
@[ 5] 0x10092a15 nnotes.FRTerminateWindowsResources+2277
(BEE00000001,771f920c,52e51f58,61d27b90)
@[ 6] 0x1009c1b2 nnotes.OSFaultCleanupExt+622
(0,10091daf,150014,12313230)
@[ 7] 0x1009cc29 nnotes.OSFaultCleanup+29
(3300000040,100f32c9,61d28d04,100f32c9)
@[ 8] 0x100b681e nnotes.OSNTUnhandledExceptionFilter+626
(61d29630,122f6184,61d29030,4d)
@[ 9] 0x10025a58 nnotes.Panic+856 (0,61d2bee4,137767a0,51a0018)
@[10] 0x1002d0e9 nnotes.OSUnlockObject+277 (0,61d297dc,0,11c1705c)
@[11] 0x111fd925 nnotes.ListAllocate+277
(8B19F0FCB340000,96cff68,55B097CCB28B79,1)
@[12] 0x102b3182 nnotes.UpdateCalendarProfileFromPolicy+122
(0,1005db7d,200035e0,100a886b)
@[13] 0x10192504 nnotes.InitializeMailProfile+736
(1E00000001,f2aa2a0,FFFFFFFFFFFFFFF,1002cb82)
@[14] 0x1018bdc1 nnotes.REGCreateUserFile+6605
(35e29f9,35e2bf8,39d,11a5023a)
@[15] 0x00421713 nAdminp.AdminpProcessRequest+25007
(35d8701,676E697469,0,0)
@[16] 0x00449755 nAdminp.AdminpRequestAndResponse+4461 (0,11f00001,65,4)
@[17] 0x00414648 nAdminp.EntryThread+2124 (0,0,0,0)
@[18] 0x10036586 nnotes.ThreadWrapper+330 (0,0,0,0)
[19] 0x770c652d kernel32.BaseThreadInitThunk+13 (0,0,0,0)
[20] 0x771fc521 ntdll.RtlUserThreadStart+33 (0,0,0,0)

With  Error Message = PANIC: LookupHandle: null handle


Symptom

server crash

Cause

The reason of server crashes is that the multiple threads share the same global variable hblacklist.

then each thread will allocate the memory and free the memory location. but one thread may allocate to use it, the other thread try to free it.
That will cause the crash.


Resolving the problem

The fixed code is to move the hblacklist to osinit just to allocate hblacklist once with function MailmiscPolicyApiInit() to use for all threads, when the process is done,

to free the memory at final with function MailmiscPolicyApiTerm().


apar LO65640

DSAN8NUV5S fixed 8.5.4,8.5.3 FP2,9.0 Fixes Domino Server crash In Adminp task 'UpdateCalendarProfileFromPolicy' when registering multiple people.





Rate this page:

(0 users)Average rating

Document information


More support for:

IBM Domino
Crash

Software version:

8.5.1, 8.5.2, 8.5.3

Operating system(s):

AIX, Linux, Solaris, Windows, i5/OS

Reference #:

1635966

Modified date:

2013-05-08

Translate my page

Machine Translation

Content navigation