locked
Error dialogue after exiting Synctoy 2.0 RTM RRS feed

  • Question

  • I recently upgraded from the beta release to RTM, and have had some continuing problems with the software..

    It now appears to complete a sync, however, upon closing the session, the following dialogue pops up, containing the text:

    ***
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.ApplicationException: Object synchronization method was called from an unsynchronized block of code.
       at System.Threading.Mutex.ReleaseMutex()
       at SyncToyUI.SyncToyUIForm.SyncToyUIForm_Closing(Object sender, CancelEventArgs e)
       at System.Windows.Forms.Form.OnClosing(CancelEventArgs e)
       at SyncToyUI.SyncToyUIForm.OnClosing(CancelEventArgs e)
       at System.Windows.Forms.Form.WmClose(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at SyncToyUI.SyncToyUIForm.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    SyncToy
        Assembly Version: 2.0.100.0
        Win32 Version: 2.0.100.0
        CodeBase: file:///C:/Program%20Files/SyncToy%202.0/SyncToy.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    SyncToyEngine
        Assembly Version: 2.0.100.0
        Win32 Version: 2.0.100.0
        CodeBase: file:///C:/Program%20Files/SyncToy%202.0/SyncToyEngine.DLL
    ----------------------------------------
    SqmManagedWrapper
        Assembly Version: 2.0.100.0
        Win32 Version: 2.0.100.0
        CodeBase: file:///C:/Program%20Files/SyncToy%202.0/SqmManagedWrapper.DLL
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    Microsoft.Synchronization.Files
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.1215.0
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Synchronization.Files/1.0.0.0__89845dcd8080cc91/Microsoft.Synchronization.Files.dll
    ----------------------------------------
    Microsoft.Synchronization
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.1215.0
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Synchronization/1.0.0.0__89845dcd8080cc91/Microsoft.Synchronization.dll
    ----------------------------------------
    Microsoft.Synchronization.MetadataStorage
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.1215.0
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Synchronization.MetadataStorage/1.0.0.0__89845dcd8080cc91/Microsoft.Synchronization.MetadataStorage.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    ***

    I'm a little unsure as to what a user should need to do to configure the software upon installation, surely JIT debugging flags should be set during the installation process?
    Tuesday, September 2, 2008 12:33 AM

Answers

  • Hi -

    This should be fixed in the next release. It should not cause any problem however in SyncToy 2.0 - everything has been properly saved off.

    Thanks
    Deepa
    Deepa ( Microsoft Sync Framework)
    Wednesday, September 2, 2009 6:51 PM

All replies

  • Does this happen for you everytime or is it an intermittent failure? We haven't heard of this issue before. I wonder if there's something special about your setup which is causing this. We'll look into the code to see if we need to fix anything. No, we do not set the JIT debugging flags during installation.

    Tuesday, September 2, 2008 3:05 AM
    Answerer
  • Hi -,

    I recently had the same error when closing SyncToy 2.0.
    Running on Windows 7 x64, never installed the beta.
    Usually it works with no problem.

    Cheers
      Klaus
    Wednesday, September 2, 2009 9:45 AM
  • Hi -

    This should be fixed in the next release. It should not cause any problem however in SyncToy 2.0 - everything has been properly saved off.

    Thanks
    Deepa
    Deepa ( Microsoft Sync Framework)
    Wednesday, September 2, 2009 6:51 PM