Bug report on closing preview

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Bug report on closing preview

Post by acheton »

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:
2020-09-29 22_05_03-Greenshot.jpg
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.
To see the attached files, you need to log into the forum.

acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Bug report on closing preview

Post by acheton »

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

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug report on closing preview

Post by admin »

Cannot reproduce. Is this a new problem?

PS: Why are you using the 64-bit preview anyway?

JLoftus
Posts: 600
Joined: 22 Jan 2014 14:58

Re: Bug report on closing preview

Post by JLoftus »

I reproduced this crash too:
2020-09-30_12-10-56.jpg
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
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug report on closing preview

Post by admin »

1) Cannot reproduce. Is this a new problem?

2) Why are you using the 64-bit preview anyway?

JLoftus
Posts: 600
Joined: 22 Jan 2014 14:58

Re: Bug report on closing preview

Post by JLoftus »

admin wrote: ↑30 Sep 2020 19:21 2) Why are you using the 64-bit preview anyway?
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?

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Bug report on closing preview

Post by highend »

then I am unaware how to change the bitness of my preview
Configuration | Other | Shell Integration | 64-bit Windows | Use 64-bit preview handlers for preview
One of my scripts helped you out? Please donate via Paypal

JLoftus
Posts: 600
Joined: 22 Jan 2014 14:58

Re: Bug report on closing preview

Post by JLoftus »

just unchecked that option and same thing happened, previewed twice fine and on the third time it crashed with the same error dialog

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Bug report on closing preview

Post by highend »

And which preview handler is used for .pdf?
One of my scripts helped you out? Please donate via Paypal

JLoftus
Posts: 600
Joined: 22 Jan 2014 14:58

Re: Bug report on closing preview

Post by JLoftus »

highend wrote: ↑30 Sep 2020 19:56 And which preview handler is used for .pdf?
PDF-Xchange Viewer

acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Bug report on closing preview

Post by acheton »

highend wrote: ↑30 Sep 2020 19:43
then I am unaware how to change the bitness of my preview
Configuration | Other | Shell Integration | 64-bit Windows | Use 64-bit preview handlers for preview
This option is off on my machine.

acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Bug report on closing preview

Post by acheton »

highend wrote: ↑30 Sep 2020 19:56 And which preview handler is used for .pdf?
Adobe Acrobat

acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Bug report on closing preview

Post by acheton »

acheton wrote: ↑30 Sep 2020 21:10
highend wrote: ↑30 Sep 2020 19:43
then I am unaware how to change the bitness of my preview
Configuration | Other | Shell Integration | 64-bit Windows | Use 64-bit preview handlers for preview
It fails whether on or off.
This option is off on my machine.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug report on closing preview

Post by admin »

In the next beta, when this happens again, show the debug log by running this through the XY address bar:

Code: Select all

dlog;

acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Bug report on closing preview

Post by acheton »

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
----------------------------------------------------------------------------------------------------

Post Reply