Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-1339

agentadmin --g crash on 4.1.0-27

    XMLWordPrintable

    Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.0.1
    • 4.2.0.0, 5.0.0.2
    • Web Agents
    • 4.1.0-27, Windows 2008R2 (no service pack)

      Description

      On this platform (note age, so I will try later) then agentadmin --r agent_1 doesn't fully work leaving a web.config which is still configured against the agent.

      Then agentadmin --g crashes:
      Problem signature:
      Problem Event Name: APPCRASH
      Application Name: agentadmin.exe
      Application Version: 4.1.0.27
      Application Timestamp: 59fb20c9
      Fault Module Name: OLEAUT32.dll
      Fault Module Version: 6.1.7600.16385
      Fault Module Timestamp: 4a5bdaca
      Exception Code: c0000005
      Exception Offset: 00004974
      OS Version: 6.1.7600.2.0.0.272.7
      Locale ID: 1033
      Additional Information 1: 0a9e
      Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
      Additional Information 3: 0a9e
      Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

      Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

      If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

      C:\IIS_WINNT_5.0.0-SNAPSHOT\web_agents\iis_agent\bin>agentadmin --g

      Warning! This procedure will remove all OpenAM Web Agent references from
      IIS Server configuration.

      Continue (yes/no): [no]: yes

      Removing agent module from IIS Server configuration...

      Cleaning up C:\inetpub\wwwroot\web.config
      Configuration backup file: C:\IIS_WINNT_5.0.0-SNAPSHOT\web_agents\iis_agent\log\
      web.config.201712081221540
      Failed to create XML document (error 0x800700C1, line: 1519).
      %1 is not a valid Win32 application. (error: 0xc1).

      C:\IIS_WINNT_5.0.0-SNAPSHOT\web_agents\iis_agent\bin>type C:\inetpub\wwwroot\web
      .config
      <?xml version="1.0" encoding="UTF-8"?>
      <configuration>
      <system.webServer>
      <OpenAmModule enabled="false" configFile="C:\IIS_WINNT_5.0.0-SNAPSHOT\we
      b_agents\iis_agent\bin\..\instances\agent_1\config\agent.conf" />
      <modules>
      <add name="OpenAmModule64" preCondition="bitness64" />
      </modules>
      </system.webServer>
      </configuration>

      In agentadmin_PID4412Date12_08_2017Time_12_30_52PM849_Second_Chance_Exception_C0000005.dmp the assembly instruction at oleaut32!VariantClear+b6 in C:\Windows\SysWOW64\oleaut32.dll from Microsoft Corporation has caused an access violation exception (0xC0000005) when trying to read from memory location 0x20245493 on thread 0

      Thread 0 - System ID 4336
      Entry point agentadmin+68c1b
      Create time 12/8/2017 12:30:47 PM
      Time spent in user mode 0 Days 00:00:00.078
      Time spent in kernel mode 0 Days 00:00:00.000

      This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.

      Source
      oleaut32!VariantClear+b6
      agentadmin+5ec7e
      agentadmin+616e1
      agentadmin+5edff
      agentadmin+5ee0f

        Attachments

          Activity

            People

            mareks Mareks Malnacs
            alex.levin@forgerock.com Alex Levin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: