InstallShield crashes with memory violation Exception ACCESS_VIOLATION [0xc0000005] when building a project which includes a large number of files.
Symptoms
InstallShield crashes at built-time when building an InstallScript project with a large number of files. The crash details show: Exception ACCESS_VIOLATION [0xc0000005]
Cause
The crash is due to a buffer overflow which occurs when building an InstallScript project which contains a large number of files. For example this can occur when building an InstallScript project that has more than 150,000 files included, or with a project that only has 60,000 files as well with longer file names.
The problem that the "Symptoms" section describes was corrected in Windows Update Agent 3.0 and in update 927891. These updates were distributed through Microsoft Update in June and July, 2007. If you are still experiencing a problem that resembles the one that this article describes, it may be a different problem. To troubleshoot similar problems, please see the "" section later in this article.
Symptoms
When you try to install an update from Windows Update or from Microsoft Update, you experience the following symptoms:
- The system may appear to become unresponsive when Windows Update scans for updates that use Windows Installer.
- You receive an access violation error in the Svchost.exe process. This process is related to the Automatic Updates service. This access violation occurs when you use Automatic Updates to scan for updates by using the daily automatic schedule or when you visit the Microsoft Update Web site to manually scan for updates.
- A memory leak occurs when Windows Update scans for updates that use Windows Installer.
- Windows Update scans take a very long time, sometimes hours, to finish.
Resolution
To resolve this problem, follow these steps.
Step 1: Download and install update 927891
119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
Step 2: Download and install Windows Update Agent [WUA] 3.0
To download WUA 3.0, click the link for the version of Windows that you are running.
x86-based versions of Windows
x64-based versions of Windows
Itanium-based versions of Windows
Status
This problem was corrected in Windows Update Agent 3.0 and in update 927891.
More Information
More information for advanced users
Technical update: May 22, 2007
Microsoft has released a Microsoft Security Advisory on this problem for IT professionals. The security advisory contains additional security-related information about this problem. To view the security advisory, visit the following Microsoft Web site:
//www.microsoft.com/technet/security/advisory/927891.mspxNote This article discusses the MSI component fixes only. This fix is one component of a two-part fix that includes a Windows Update client software update. These updates will be deployed automatically by using Windows Update in May 2007 and June 2007. However, some customers may select to manually install these updates. To fully address the unresponsive system issue, both this fix for MSI must be installed and the Windows Update client must be updated to version 3.0. When you install the MSI fix and the new client, process-monitoring tools may still show CPU usage at near 100 percent. However, the system should still be responsive and should not lock up. If another task requires CPU cycles, they will be shared. However, if the system is idle, MSI will use the full cycles that are available to complete in the shortest time. If another task is running at the same time as MSI, the system may run slightly more slowly. However, the computer should still be responsive. Remember that you must install the MSI fix and the new client to address unresponsive or locked systems. It is expected that process-monitoring tools may still show CPU usage at near 100 percent, but computer unresponsiveness is expected. If you watch the process monitor, you may still see CPU usage at near 100 percent during some scans if the computer is otherwise idle. This is expected behavior.
Important Many instances of the Svchost.exe process may be running on a Windows-based computer. These Svchost.exe processes control certain tasks. The software update that is described in this article is only designed to address the problem that is mentioned in the "Symptoms" section. Other problems that you experience with Svchost.exe may require alternative resolutions or troubleshooting steps.
To resolve this problem, you must install this update together with the Windows Update Automatic Client 3.0. The Windows Update Automatic Client 3.0 will automatically be released through Automatic Updates by June 30, 2007. The updated Windows Client changes the thread modeling to move MSI scans to a thread that is separate from the user interface.
For the MSI update, install one of the following updates based on the version of Windows that is installed. To determine the version of Windows that is installed, follow these steps:
- Click Start, click Run, type sysdm.cpl, and then click OK.
- In the System Properties dialog box, click the General tab, and then notice the information that appears under System.
After you download the appropriate update, double-click the update package to install the update.
Note All versions of Windows XP, except for Windows XP Media Center versions, state "Version 2002" on the General tab in the System Properties dialog box. The update that is listed in the "Windows XP, all versions [including all versions of Windows XP Media Center]" section is correct for all versions of Windows XP. This includes all versions of Windows XP Media Center.
Note To install the update, you may have to apply the latest service pack for the version of Windows that you are running. For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
889100 How to obtain the latest service pack for Windows Server 2003
322389 How to obtain the latest Windows XP service pack
Windows XP, all versions [including all versions of Windows XP Media Center]
Update information
119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
PrerequisitesYou must have Windows XP SP2 installed before you apply this update. You must also have Windows Installer 3.1 installed before you apply this update.
Restart requirementYou must restart your computer after you apply this update.
Update replacement informationThis update replaces update the following update:
916089 FIX: When you run Windows Update to scan for updates that use Windows Installer, including Office updates, you may experience a memory leak, or you may receive an error message for the Svchost process
File informationWindows XP, 32-bit versions
File name
File version
File size
Date
Time
Platform
SP requirement
Service branch
Msi31.dll
3.1.4000.4039
2,854,400
18-Apr-2007
16:12
x86
SP2
SP2GDR
Msi31.dll
3.1.4000.4039
2,854,400
18-Apr-2007
16:14
x86
SP2
SP2QFE
Windows XP, 64-bit versions
File name
File version
File size
Date
Time
Platform
SP requirement
Service branch
Msi.dll
3.1.4000.4042
4,491,264
23-Mar-2007
12:35
x64
SP2
SP2GDR
Wmsi.dll
3.1.4000.4042
2,854,400
23-Mar-2007
12:35
x86
SP2
SP2GDR\WOW
Msi.dll
3.1.4000.4042
4,491,264
23-Mar-2007
12:31
x64
SP2
SP2QFE
Wmsi.dll
3.1.4000.4042
2,854,400
23-Mar-2007
12:32
x86
SP2
SP2QFE\WOW
Windows Server 2003
119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
Prerequisites
You must have Windows Server 2003 SP1 or Windows Server 2003 SP2 installed before you apply this update.
Restart requirement
You must restart the computer after you apply this update.
Update replacement information
This update replaces the following update:
916089 FIX: When you run Windows Update to scan for updates that use Windows Installer, including Office updates, you may experience a memory leak, or you may receive an error message for the Svchost process
File information
Windows Server 2003, x86-based versions
File name
File version
File size
Date
Time
Platform
SP requirement
Service branch
Msi.dll
3.1.4000.4042
2,854,400
17-Mar-2007
11:08
x86
SP2
SP2GDR
Msi.dll
3.1.4000.4042
2,854,400
17-Mar-2007
11:09
x86
SP2
SP2QFE
Windows Server 2003, x64-based versions
File name
File version
File size
Date
Time
Platform
SP requirement
Service branch
Msi.dll
3.1.4000.4042
4,491,264
23-Mar-2007
12:35
x64
SP2
SP2GDR
Wmsi.dll
3.1.4000.4042
2,854,400
23-Mar-2007
12:35
x86
SP2
SP2GDR\WOW
Msi.dll
3.1.4000.4042
4,491,264
23-Mar-2007
12:31
x64
SP2
SP2QFE
Wmsi.dll
3.1.4000.4042
2,854,400
23-Mar-2007
12:32
x86
SP2
SP2QFE\WOW
Windows Server 2003, Itanium-based versions
File name
File version
File size
Date
Time
Platform
SP requirement
Service branch
Msi.dll
3.1.4000.4042
5,992,960
23-Mar-2007
12:34
IA-64
SP2
SP2GDR
Wmsi.dll
3.1.4000.4042
2,854,400
23-Mar-2007
12:34
x86
SP2
SP2GDR\WOW
Msi.dll
3.1.4000.4042
5,992,960
23-Mar-2007
12:30
IA-64
SP2
SP2QFE
Wmsi.dll
3.1.4000.4042
2,854,400
23-Mar-2007
12:30
x86
SP2
SP2QFE\WOW
Microsoft Windows 2000
Update information
PrerequisitesYou must have Windows 2000 Service Pack 4 installed before you apply this update. You must also have Windows Installer 3.1 installed before you apply this update.
Restart requirementYou must restart the computer after you apply this update.
Update replacement informationThis update replaces update 916089. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
916089 FIX: When you run Windows Update to scan for updates that use Windows Installer, including Office updates, you may experience a memory leak, or you may receive an error message for the Svchost process The following files are available for download from the Microsoft Download Center:
For more information about the terms that are used to describe software updates, 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
Similar problems and resolutions
If you are still experiencing a problem that resembles the problem that this article describes, it may be a different problem. For more information about similar problems and resolutions, click the following article numbers to view the articles in the Microsoft Knowledge Base:
939273 You cannot deploy software updates on a computer that is running Microsoft Windows XP or Microsoft Windows Server 2003
932762 The Service Host process may stop unexpectedly in Windows Server 2003
931852 Error messages when you start a Windows XP-based computer and then try to download Windows updates
910666 The Svchost.exe process may end unexpectedly on a Windows Server 2003-based computer
894538 When Internet Authentication Service receives an unknown attribute in a packet, a Windows Server 2003-based Internet Authentication Service server stops responding
927385 You receive an error message after a Windows XP-based computer runs an automatic update, and you may be unable to run any programs after you close the "svchost.exe - Application Error" error message dialog box If these Microsoft Knowledge Base articles do not help you resolve the problem, or if you experience symptoms that differ from those that this article describes, please search the Microsoft Knowledge Base for more information. To search the Microsoft Knowledge Base, visit the following Microsoft Web site:
//support.microsoft.com Then, type the text of the error message that you receive, or type a description of the problem in the Search Support [KB] field.
What does access violation at address mean?
The access violation at address error is Windows-specific and can occur on all operating system versions, including Windows 10. If you have been getting this error, it means that the software you are attempting to launch or run is trying to access a protected memory address.
What is memory access violation?
Memory access violation is also called a segmentation fault [or segfault], occurs when the program tries to access a memory location that doesn't exist, or is otherwise inaccessible. We call this trying to access an illegal memory location. That memory is either non-existent or we aren't aren't allowed to touch it.
What is read of address 00000000?
Read of address 00000000 - Microsoft Community Access violation at address 00000000. Read of address 00000000 This thread is locked. You can vote as helpful, but you cannot reply or subscribe to this thread. As per the description, you are getting Access violation at address 00000000. Read of address 00000000 after startup.
What does a 00000000 access violation mean?
An access violation at anywhere near adress '00000000' indicates a null pointer access. You're using something before it's ever been created, most likely, or after it's been FreeAndNil []'d.