windows 7 - How to identify the cause of a crash in the context menu

06
2014-04
  • rold2007

    When I right-click on a file in an open-dialog it makes the underlying application crash "once-in-a-while". This happens in many applications such as Total Commander and Visual Studio . The application don't crash each time, but when they do it is before I click any item in the context-menu. I looked at the call-stack and I see nothing interesting to pinpoint what is the cause of the crash. This started to happens a couple of months ago so I don't know what I could have installed that causes this problem. My context menu contains items related to TortoiseHg, TortoiseSVN, SandBoxie and a couple of other usual apps like 7-Zip, etc. I never noticed any crash when using the context menu directly from Windows Explorer but I think it could be crashing more silently than other apps.

    How can I identify which item of the context menu is causing these crashes ? Is there any crash log I could look at somewhere ?

    Update: I have uninstalled all applications (Avast, VLC, etc.) adding items in the context menu and the crashes still happen. I noticed that it is a lot easier to reproduce the crashes in some apps (Total Commander) than other (IPLab), not sure why.

    Update 2: The compressed dump file is now available here. It is based on the IPLab application available here.

  • Answers
  • Thomas W.

    The crash file uploaded has the following information inside:

    0:014> .exr -1
    ExceptionAddress: 000007fef2dabf80 (<Unloaded_SugarSyncVFSNamespace64.dll>+0x000000000001bf80)
       ExceptionCode: c0000005 (Access violation)
      ExceptionFlags: 00000000
    NumberParameters: 2
       Parameter[0]: 0000000000000008
       Parameter[1]: 000007fef2dabf80
    Attempt to execute non-executable address 000007fef2dabf80
    

    It seems that the crash is related to Sugar Sync.

    0:014> lm vm *Sugar*
    start             end                 module name
    
    Unloaded modules:
    000007fe`f2d90000 000007fe`f2de5000   SugarSyncVFSNamespace64.dll
        Timestamp: Tue Nov 05 05:51:38 2013 (5278795A)
        Checksum:  000471D3
        ImageSize:  00055000
    

    The version you're using is from November 2013. Maybe there's a newer one available (couldn't figure out from the website).

    I'm using WinDbg to analyze the crash dump.

    Commands used:

    .symfix d:\debug\symbols
    .reload
    .exr -1
    lm vm *Sugar*
    

    Explanation of the commands:

    Make sure the symbols will be downloaded from Microsoft
    Force a reload of the symbols to make sure they are up to date
    Show the last exception record
    Show detailed information about the DLL given in the exception address
    

    I think you could use similar commands in VS2012 if you enter them in the Immediate Window, but I'm not too familiar with it.


  • Related Question

    windows - Ghosting context menu clicks in WinXP
  • Swish

    Possible Duplicate:
    Menu command stuck on screen

    Let me preface by saying I have a lot of windows open most of the time, although not resource intensive ones, just browsers, ssh sessions, a music player, FTP client, Notepad++, IM clkients, etc. Anyway, I get a lot of weird visual "ghosting" type effects. For example when right-clicking and then selecting an option from a context menu the selected item will remain in view until I right click somewhere on the desktop. Same thing happens when selecting items from the File, Edit, etc. menu in various programs. I'm assuming this is just a result of a less than high quality video card (NVIDIA GeForce FX 5200), all the other hardware in the machine is newer higher quality, that specific video card was added after the fact for multiple monitors.

    I have looked all over the web for solutions and have increased the number of GDI handles for Windows, reduced the hardware accelaration on the card, etc.

    Any suggestions other than replace the card?


  • Related Answers
  • Syclone0044

    MrStatic Oct25 is right. Inside that link has the solution: Disable Fading Menu visual effects in the desktop Appearance settings of Windows in System Properties... Performance. Advanced.

  • boot13

    There is nothing wrong with your graphics card. Check your mouse with the same configuration in a different computer. If the same thing happens, there is a fault in your mouse. Or use some other mouse instead. Or else format it.