Microsoft KB Archive/810705

= SMS: Gflags and Application Verifier May Cause a Fatal Exception in Smsapm32 =

Article ID: 810705

Article Last Modified on 10/25/2006

-

APPLIES TO


 * Microsoft Systems Management Server 2.0 Standard Edition
 * Microsoft Systems Management Server 2.0 Service Pack 1
 * Microsoft Systems Management Server 2.0 Service Pack 3
 * Microsoft Systems Management Server 2.0 Service Pack 4

-



SYMPTOMS
Fatal exception error 0xc0000008 may occur in Systems Management Server (SMS) Available Programs Manager (Smsapm32.exe). This is most likely to occur after you restart the computer or when you shut it down. If you have attached a kernel debugger to the computer, the debugger indicates that Smsapm32.exe has used a handle that is not valid.



CAUSE
This problem occurs if you have turned on some global flags in the registry under  (specifically, the 0x00000100 [Application Verifier] and the 0x40000000 [bad handles detection] flags). You use the  value to control system behavior for debugging purposes. You typically set this by using Gflags.exe or the Application Verifier tool.



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next SMS service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this fix for SMS 2.0 Service Pack 4 (SP4) sites has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

  Date         Time   Version        Size       File name            Platform ---  01-May-2002  17:35  2.0.92.9         390,521  Apasetup.exe         x86 01-May-2002 12:05  2.0.1493.4105    182,096  Ccim32.dll           x86 01-May-2002 15:45  2.0.92.9       1,324,785  Ccmcore.exe          x86 01-May-2002 15:45  2.0.1493.4149  3,409,460  Clicore.exe          x86 01-May-2002 12:05  2.0.1493.4105     88,432  Clisvcl.exe          x86 01-May-2002 17:35                        67  Compverbase.ini      x86 01-May-2002 17:35                        67  Compversmsapm32.ini  x86 01-May-2002 17:35                        67  Compverswdist.ini    x86 01-May-2002 15:45  2.0.1493.4149     34,656  Cqmgr32.dll          x86 01-May-2002 15:30  2.0.1493.4146     54,128  Odpsys32.exe         x86 01-May-2002 15:30  2.0.1493.4146     60,784  Odpusr32.exe         x86 01-May-2002 17:35  2.0.1493.4159    249,200  Smsapm32.exe         x86 01-May-2002 15:30  2.0.92.9         640,761  Swdist32.exe         x86 01-May-2002 17:35  2.0.92.9         637,778  Apasetup.exe         Alpha 01-May-2002 12:05  2.0.1493.4105    295,184  Ccim32.dll           Alpha 01-May-2002 15:45  2.0.92.9       1,926,762  Ccmcore.exe          Alpha 01-May-2002 15:45  2.0.1493.4149  4,452,934  Clicore.exe          Alpha 01-May-2002 12:05  2.0.1493.4105    125,712  Clisvcl.exe          Alpha 01-May-2002 17:35                        67  Compverbase.ini      Alpha 01-May-2002 17:35                        67  Compversmsapm32.ini  Alpha 01-May-2002 17:35                        67  Compverswdist.ini    Alpha 01-May-2002 15:45  2.0.1493.4149     55,056  Cqmgr32.dll          Alpha 01-May-2002 15:30  2.0.1493.4146     75,536  Odpsys32.exe         Alpha 01-May-2002 15:30  2.0.1493.4146     83,216  Odpusr32.exe         Alpha 01-May-2002 17:35  2.0.1493.4159    327,952  Smsapm32.exe         Alpha 01-May-2002 15:30  2.0.92.9         694,809  Swdist32.exe         Alpha NOTE: Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.

Using the Hotfix Installer
Note This method is only for Intel-based computers.
 * 1) Create a folder in a location that is accessible to your SMS site servers.
 * 2) Copy the update file (Q810705.exe) and platform folders to the new folder. The folder structure must be such that the update file is located one folder &quot;above&quot; the platform folders.
 * 3) From each of the primary and secondary SMS site servers in your environment, log on to your site server by using an account with administrator permissions.
 * 4) Quit the SMS Administrator console if it is running.
 * 5) Run Q810705.exe, and then follow the instructions in the wizard.

Manual Installation

 * 1) Create a folder in a location that is accessible to your SMS site servers.
 * 2) Copy the platform folders that contain the hotfix files to the folder that you created.
 * 3) From each of the primary and secondary SMS site servers in your environment, log on to your site server by using an account with administrator permissions.
 * 4) Quit the SMS Administrator console if it is running.
 * 5) Stop all SMS services.
 * 6) Replace the following files in the  \Bin\  folder with the versions from the hotfix:
 * 7) * Ccim32.dll
 * 8) * Clisvcl.exe
 * 9) * Cqmgr32.dll
 * 10) * Odpsys32.exe
 * 11) * Odpusr32.exe
 * 12) * Smsapm32.exe
 * 13) Replace the Swdist32.exe file in the  \Inboxes\Clicomp.src\SWDist\  folder with the version from the hotfix.
 * 14) Replace the Apasetup.exe file in the  \Inboxes\Clicomp.src\Smsapm32\  folder with the version from the hotfix.
 * 15) Replace the Ccmcore.exe and Clicore.exe files in the  \Inboxes\Clicomp.src\Base\  folder with the versions from the hotfix.
 * 16) Replace the Compver.ini file in the  \Inboxes\Clicomp.src\SWDist folder with the Compverswdist.ini file from the hotfix. Note that you must rename the Compverswdist.ini file to Compver.ini.
 * 17) Replace the Compver.ini file in the  \Inboxes\Clicomp.src\Smsapm32 folder with the Compversmsapm32.ini file from the hotfix. Note that you must rename the Compversmsapm32.ini file to Compver.ini.
 * 18) Replace the Compver.ini file in the  \Inboxes\Clicomp.src\Base folder with the Compverbase.ini file from the hotfix. Note that you must rename the Compverbase.ini file to Compver.ini.
 * 19) Restart the SMS services.



WORKAROUND
To work around this problem, disable the global flags that are listed in the &quot;Cause&quot; section of this article.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbhotfixserver kbqfe kbsms200presp5fix kbqfe kbfix kbbug KB810705

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.