Stopping MngAgent Service May Cause Trap in Mngcli.exe (195125)



The information in this article applies to:

  • Microsoft SNA Server 4.0
  • Microsoft SNA Server 4.0 SP1

This article was previously published under Q195125

SYMPTOMS

If the SNA MngAgent Service is manually stopped then restarted, it's possible for an application exception to occur in Mngcli.exe, and a Drwtsn32.log be generated if Drwtsn32.exe is configured as the default debugger on the SNA Server computer.

The Drwtsn32.log file that is generated will contain information similar to the following:

      Application exception occurred:
         App: exe\mngcli.exe (pid=<process id number>)
         When: <date> @ <time>
         Exception number: c0000005 (access violation)
				


   (some details omitted for clarity)

   function: CManage::OtherProcTerminated
           60983df9 c744241000000000 mov   dword ptr [esp+0x10],0x0   ss:0270e843=????????
           60983e01 c744241805000000 mov   dword ptr [esp+0x18],0x5   ss:0270e843=????????
           60983e09 e8a2feffff       call    CManage::MngLock (60983cb0)
           60983e0e bf02000000       mov     edi,0x2
           60983e13 3bf7             cmp     esi,edi
           60983e15 7c5e             jl
   CManage::OtherProcTerminated+0xc5 (60983e75)
           60983e17 57               push    edi
           60983e18 8bcd             mov     ecx,ebp
           60983e1a e8d18c0000       call    CShrMemPool::GetPtr (6098caf0)
           60983e1f 8bf0             mov     esi,eax
   FAULT ->60983e21 8b4604           mov     eax,[esi+0x4]
   ds:0121ea06=????????
           60983e24 85c0             test    eax,eax
           60983e26 7444             jz
   CManage::OtherProcTerminated+0xbc (60983e6c)
           60983e28 8b08             mov     ecx,[eax]   ds:00000000=????????
           60983e2a 894c2414         mov     [esp+0x14],ecx   ss:0270e843=????????
           60983e2e 8b5604           mov     edx,[esi+0x4]   ds:0121ea06=????????
           60983e31 8b4204           mov     eax,[edx+0x4]   ds:0121ea06=????????
           60983e34 8b00             mov     eax,[eax]   ds:00000000=????????
           60983e36 8944241c         mov     [esp+0x1c],eax   ss:0270e843=????????
           60983e3a 8b0e             mov     ecx,[esi]   ds:00000000=????????
           60983e3c 85c9             test    ecx,ecx
           60983e3e 742c             jz
   CManage::OtherProcTerminated+0xbc (60983e6c)
				

CAUSE

A process was ending incorrectly using either the MngAgent.exe or Mngcli.exe.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

RESOLUTION

This problem was corrected in the latest SNA Server version 4.0 U.S. Service Pack. For information on obtaining this Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):
   S E R V P A C K
				

Modification Type:MinorLast Reviewed:3/21/2005
Keywords:kbbug kbpending KB195125