The application failed to intialize properly (0xc0000005)

T

thorq2

I have an application which executes properly under XP Professional but
during the early startup in XPe I get an Application Error. I have XPe with
SP2 but have not installed Feature Pack 2007.

I started out with analyzing the exe-file with Dependancy Walker (DW) and
added missing dll:s by adding coresponding components to my image in Target
Designer. I have also Profiled the application in XP Pro and XPe with DW and
below you will find the printouts in XPe when the appålication error occurs:

Started "CDMSTARTUP.EXE" (process 0x6EC) at address 0x00400000.
Successfully hooked module.
Loaded "NTDLL.DLL" at address 0x7C900000. Successfully hooked module.
Loaded "KERNEL32.DLL" at address 0x7C800000. Successfully hooked module.
DllMain(0x7C900000, DLL_PROCESS_ATTACH, 0x00000000) in "NTDLL.DLL" called.
DllMain(0x7C900000, DLL_PROCESS_ATTACH, 0x00000000) in "NTDLL.DLL" returned
1 (0x1).
DllMain(0x7C800000, DLL_PROCESS_ATTACH, 0x00000000) in "KERNEL32.DLL" called.
DllMain(0x7C800000, DLL_PROCESS_ATTACH, 0x00000000) in "KERNEL32.DLL"
returned 1 (0x1).
Injected "DEPENDS.DLL" at address 0x08370000.
DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "DEPENDS.DLL" called.
DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "DEPENDS.DLL"
returned 1 (0x1).
Loaded "CAN.DLL" at address 0x10000000. Successfully hooked module.
Loaded "USER32.DLL" at address 0x77D40000. Successfully hooked module.
Loaded "GDI32.DLL" at address 0x77F10000. Successfully hooked module.
Loaded "WINSPOOL.DRV" at address 0x73000000. Successfully hooked module.
Loaded "MSVCRT.DLL" at address 0x77C10000. Successfully hooked module.
Loaded "RPCRT4.DLL" at address 0x77E70000. Successfully hooked module.
Loaded "ADVAPI32.DLL" at address 0x77DD0000. Successfully hooked module.
Loaded "COMCTL32.DLL" at address 0x5D090000. Successfully hooked module.
Entrypoint reached. All implicit modules have been loaded.
DllMain(0x77F10000, DLL_PROCESS_ATTACH, 0x0012FD30) in "GDI32.DLL" called.
DllMain(0x77F10000, DLL_PROCESS_ATTACH, 0x0012FD30) in "GDI32.DLL" returned
1 (0x1).
DllMain(0x77D40000, DLL_PROCESS_ATTACH, 0x0012FD30) in "USER32.DLL" called.
DllMain(0x77D40000, DLL_PROCESS_ATTACH, 0x0012FD30) in "USER32.DLL" returned
1 (0x1).
DllMain(0x10000000, DLL_PROCESS_ATTACH, 0x0012FD30) in "CAN.DLL" called.
Loaded "EMBDTRST.DLL" at address 0x00890000. Successfully hooked module.
DllMain(0x00890000, DLL_PROCESS_ATTACH, 0x00000000) in "EMBDTRST.DLL" called.
DllMain(0x00890000, DLL_PROCESS_ATTACH, 0x00000000) in "EMBDTRST.DLL"
returned 1238785 (0x12E701).
Second chance exception 0xC0000005 (Access Violation) occurred in
"NTDLL.DLL" at address 0x7C964ED1.
Exited "CDMSTARTUP.EXE" (process 0x6EC) with code -1073741819 (0xC0000005).
 
K

KM

Just wondering - are you able to launch the app in your XPe image manually (not via startup)?

Also, if it is a dependency issue, have you tried something like full XPe image (XPProEmulation from www.xpefiles.com will do it) to
see if it works there?
 
T

thorq2

Ok I'm sorry I do not launch the application at startup. What I meant was the
startup of the application monitored with DW. I will try the XPProEmulation
and have some other things I will try as well.

Thanks for now.
 
T

thorq2

The problem has been solved. It seems like an application installation
overwrote one of my device drivers which caused the problem.

Thanks anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top