Bug report on closing preview
Bug report on closing preview
Hi Don
I'm getting a bug report running the latest beta 21.10.0025 whereby when I preview a PDF and close the preview window I get a .NET error. Details below:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8001010D): An outgoing call cannot be made since the application is dispatching an input-synchronous call. (Exception from HRESULT: 0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL))
at PreviewHandlers.IPreviewHandler.Unload()
at PreviewHandlers.PreviewHandlerHost.UnloadPreviewHandler()
at PreviewHandlers.PreviewHandlerHost.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at Preview64.Form1.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
XY64
Assembly Version: 1.0.7577.28602
Win32 Version: 1.0.0.19
CodeBase: file:///C:/Program%20Files%20(x86)/XYplorer/XY64.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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 getting a bug report running the latest beta 21.10.0025 whereby when I preview a PDF and close the preview window I get a .NET error. Details below:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8001010D): An outgoing call cannot be made since the application is dispatching an input-synchronous call. (Exception from HRESULT: 0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL))
at PreviewHandlers.IPreviewHandler.Unload()
at PreviewHandlers.PreviewHandlerHost.UnloadPreviewHandler()
at PreviewHandlers.PreviewHandlerHost.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at Preview64.Form1.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
XY64
Assembly Version: 1.0.7577.28602
Win32 Version: 1.0.0.19
CodeBase: file:///C:/Program%20Files%20(x86)/XYplorer/XY64.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.
Re: Bug report on closing preview
I've confirmed that this also fails on another machine too with the same build. Closing the preview window fails using either CTRL+F4 or [x] fails. In addition pressing Page Down within the preview causes the same error.
Hope that helps
Ach
Hope that helps
Ach
-
- Site Admin
- Posts: 60558
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Bug report on closing preview
Cannot reproduce. Is this a new problem?
PS: Why are you using the 64-bit preview anyway?
PS: Why are you using the 64-bit preview anyway?
FAQ | XY News RSS | XY Twitter
Re: Bug report on closing preview
I reproduced this crash too:
For me the MDBU worked fine a few times, preview worked fine, then when I went back and did MDBU again, I got the crash
For me the MDBU worked fine a few times, preview worked fine, then when I went back and did MDBU again, I got the crash
-
- Site Admin
- Posts: 60558
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Bug report on closing preview
1) Cannot reproduce. Is this a new problem?
2) Why are you using the 64-bit preview anyway?
2) Why are you using the 64-bit preview anyway?
FAQ | XY News RSS | XY Twitter
Re: Bug report on closing preview
Is this related to the context menu bitness? I use the 64-bit context menu because I have the 64-bit version of dbPoweramp installed and I use its context menu items constantly.
If your question is not related to the context menu bitness, then I am unaware how to change the bitness of my preview?
Re: Bug report on closing preview
Configuration | Other | Shell Integration | 64-bit Windows | Use 64-bit preview handlers for previewthen I am unaware how to change the bitness of my preview
One of my scripts helped you out? Please donate via Paypal
Re: Bug report on closing preview
just unchecked that option and same thing happened, previewed twice fine and on the third time it crashed with the same error dialog
Re: Bug report on closing preview
And which preview handler is used for .pdf?
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60558
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Bug report on closing preview
In the next beta, when this happens again, show the debug log by running this through the XY address bar:
Code: Select all
dlog;
FAQ | XY News RSS | XY Twitter
Re: Bug report on closing preview
Here you go, doesn't show much:
XYplorer 21.10.0028 - Windows 10 Professional, 64-bit, Release 2004, Build 19041.508 - 2020-10-01 16:42:57.821
----------------------------------------------------------------------------------------------------
XYplorer 21.10.0028 - Windows 10 Professional, 64-bit, Release 2004, Build 19041.508 - 2020-10-01 16:42:57.821
----------------------------------------------------------------------------------------------------