Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: The PSXRUN process may not stop when you try to stop a POSIX-based application that is running as a Windows service in Windows


View products that this article applies to.

Symptoms

In Microsoft Windows Services for UNIX 3.5 or in a Subsystem for UNIX-based Applications (SUA) environment, you try to stop a Portable Operating System Interface (POSIX)-based application that is running as a Windows service. When you do this, the PSXRUN process may not stop. Additionally, the PSXRUN process may continue to show the STOPPING status.

This problem occurs when the following conditions are true:
  • You use the PSXRUN process to start the POSIX-based application as a Windows service.
  • You run the PSXRUN process on a multiprocessor-based computer.

↑ Back to the top


Cause

This problem occurs because there are two threads in the PSXRUN process that call the SetServiceStatus function, and the two threads are not synchronized. One of the threads should always call the SetServiceStatus function before the second thread calls the SetServiceStatus function.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows Services for UNIX 3.5 or Subsystem for UNIX-based Applications.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Posix.exe8.0.1969.45130,04830-Jun-200612:00x86
Psxdll.dll8.0.1969.45345,08830-Jun-200612:00x86
Psxrun.exe8.0.1969.45104,44830-Jun-200612:00x86
Psxss.exe8.0.1969.45780,80030-Jun-200612:00x86
Windows Server 2003 R2 Service Pack 1, 32-bit system
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Psxrun.exe9.0.3790.305824,57613-Dec-200704:37 AMx86
Windows Server 2003 R2 Service Pack 2, 32-bit system
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Psxrun.exe9.0.3790.420424,57613-Dec-200710:48 AMx86
Windows Server 2003 R2 Service Pack 1, 64-bit system
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Psxrun.exe9.0.3790.305829,18414-Dec-200702:14 PMx64
Windows Server 2003 R2 Service Pack 2, 64-bit system
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Psxrun.exe9.0.3790.420429,18414-Dec-200702:33 PM x64

↑ Back to the top


Status

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

↑ Back to the top


More information

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684� Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: kbautohotfix, kbhotfixserver, kbqfe, kbpubtypekc, KB921207

↑ Back to the top

Article Info
Article ID : 921207
Revision : 4
Created on : 1/24/2008
Published on : 1/24/2008
Exists online : False
Views : 550