thanhhe / omaha

Automatically exported from code.google.com/p/omaha
0 stars 0 forks source link

Crash - application failed to initialize properly (0xc0000142) #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is reporting http://crbug.com/15509 upstream.

I frequently encounter this error on a Windows XP machine. An error dialog 
box pops up with title "GoogleUpdate.exe - ApplicationError" and message 
"The 
application failed to initialize properly (0xc0000142). Click on OK to 
terminate the application.".

It seems to appear periodically, with frequency of ~2 hours (very 
approximate).

The error disappeared after running Windows Update, so unfortunately I 
don't have a good reproduction case for now. But maybe you can extract 
something from this comment by dhw:

I found this article from Microsoft that mentions error 0xc0000142 on XP; I 
don't know 
if it applies.  The article mentions for console-based applications.  I 
wonder if 
GoogleUpdate.exe is considered a console-based application?  The article 
is:

   http://support.microsoft.com/kb/950312

In short, the article includes a hotfix for Winsrv.dll for XP SP2 and SP3 
systems "that 
are experiencing this specific problem".

Original issue reported on code.google.com by phajdan.jr@chromium.org on 16 Jul 2009 at 11:25

GoogleCodeExporter commented 8 years ago
0xc0000142 is STATUS_DLL_INIT_FAILED.

I wonder if this is caused by the Task Scheduler, which is known to display 
errors in 
some cases when the task process fails. Omaha has code to avoid returning 
errors from 
these processes, but if goopdate.dll is the failing DLL, that code will never 
execute.

Original comment by ddor...@google.com on 17 Jul 2009 at 5:33

GoogleCodeExporter commented 8 years ago
We have a windows application in C# that downloads files using Background 
Intelligent Transfer Services. Some users complain that when they use our 
application they get "GoogleUpdate.exe - ApplicationError" and message 
"The application failed to initialize properly (0xc0000142). Click on OK to 
terminate the application.". Since our application is using Background 
Intelligent Transfer Service is it interferring with Google Update.

Original comment by irene.ly...@gmail.com on 1 Feb 2011 at 8:38