Freigeben über


The case of sidebar.exe not starting. Oh Snap!

Ran into a case today where each time we tried to start sidebar.exe it would fail silently.  No crash to investigate, no error, so where to next?

First I set an IFEO for sidebar.exe to launch windbg.exe when started, by doing this it stops at the initial breakpoint.

Secondly I enabled loader snaps to show me more information on module loads: c:\debuggers\gflags.exe -i sidebar.exe +sls. 

The show loader snaps flag captures detailed information about the loading and unloading of executable images and their supporting library modules and displays the data in the debugger.

 

After doing this and g'ing the debugger we could see that right before the process terminated it failed to load one particular dll:

LDR: LdrLoadDll, loading C:\Program Files\AVOne\AVOne 3GP Video Converter\atl.dll from C:\Program Files\AVOne\AVOne 3GP Video Converter;C:\Windows\system32
LDR: LdrpSearchPath - Looking for C:\Program Files\AVOne\AVOne 3GP Video Converter\atl.dll in C:\Program Files\AVOne\AVOne 3GP Video Converter;C:\Windows\system32
LDR: LdrpSearchPath - Unable to locate C:\Program Files\AVOne\AVOne 3GP Video Converter\atl.dll in C:\Program Files\AVOne\AVOne 3GP Video Converter;C:\Windows\system32: 0xc0000135
LDR: LdrpCheckForLoadedDll - Unable To Locate C:\Program Files\AVOne\AVOne 3GP Video Converter\atl.dll: 0xc0000135

Looking up the error code with err.exe:

C:\Debuggers\x86_ver>err 0xc0000135
# for hex 0xc0000135 / decimal -1073741515
STATUS_DLL_NOT_FOUND
# {Unable To Locate Component}
# This application has failed to start because %hs was not
# found. Re-installing the application may fix this problem.
# 1 matches found for "0xc0000135"

Once I had the user install the missing application (AVOne 3GP Video Converter) everything worked as expected.

 

Technorati tags: debugging, windows, windbg, debug

Comments

  • Anonymous
    January 01, 2003
    Stuff I've been intending to post a meaningful post about, but haven't: If you have ever wondered

  • Anonymous
    January 01, 2003
    Had a client whose machine would not load Windows Defender, each time it was opened it would eventually

  • Anonymous
    January 01, 2003
    Join the club...

  • Anonymous
    January 01, 2003
    I figured it out.  When I installed Photoshop CS, it had me run a different java dll, which broke the sidebar.

  • Anonymous
    January 01, 2003
    Probably want to use an IFEO for that and capture the failure of the executable to start, but this might be a little in depth depending on your level of debugging. http://blogs.msdn.com/greggm/archive/2005/02/21/377663.aspx

  • Anonymous
    March 30, 2007
    Brad Rutkowski you're my hero

  • Anonymous
    September 02, 2007
    Help.  I can start the siedbar, but all the geometries on the gadgets are broken - ie.  every gadget has all the screen stuff in the upper right corner.  It was working a few days ago, but now it has stopped.  any thoughts?

  • Anonymous
    November 12, 2007
    The comment has been removed

  • Anonymous
    November 22, 2009
    The comment has been removed