Cannot open context menu on files
« on: November 26, 2017, 01:17:30 AM »
Hi,

Opening context menu on files always gives me "unhandled exceptions".
Context menu on folders works fine, though.
I'm running the latest Windows Store version of One Commander (v2.1) on Windows 10.
Could any one help me with this issue?

Thank you.


The error dialog:



The details of the error:

Code: [Select]
see the end of this message for details on invoking
just-in-time (jit) debugging instead of this dialog box.

************** exception text **************
system.overflowexception: arithmetic operation resulted in an overflow.
   at jam.shell.contextmenucallbackform.wndproc(message& message)
   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.7.2600.0 built by: net471rel1last
    codebase: file:///c:/windows/microsoft.net/framework64/v4.0.30319/mscorlib.dll
----------------------------------------
onecommanderv2
    assembly version: 2.1.0.0
    win32 version: 2.1.0.0
    codebase: file:///c:/program%20files/windowsapps/44576milosp.onecommander_2.1.2.0_neutral__p0rg76fmnrgsm/rapidrive/onecommanderv2.exe
----------------------------------------
presentationframework
    assembly version: 4.0.0.0
    win32 version: 4.7.2600.0
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/presentationframework/v4.0_4.0.0.0__31bf3856ad364e35/presentationframework.dll
----------------------------------------
windowsbase
    assembly version: 4.0.0.0
    win32 version: 4.7.2600.0 built by: net471rel1last
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/windowsbase/v4.0_4.0.0.0__31bf3856ad364e35/windowsbase.dll
----------------------------------------
system.core
    assembly version: 4.0.0.0
    win32 version: 4.7.2600.0 built by: net471rel1last
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system.core/v4.0_4.0.0.0__b77a5c561934e089/system.core.dll
----------------------------------------
system
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0 built by: net471rel1
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system/v4.0_4.0.0.0__b77a5c561934e089/system.dll
----------------------------------------
presentationcore
    assembly version: 4.0.0.0
    win32 version: 4.7.2600.0 built by: net471rel1last
    codebase: file:///c:/windows/microsoft.net/assembly/gac_64/presentationcore/v4.0_4.0.0.0__31bf3856ad364e35/presentationcore.dll
----------------------------------------
system.xaml
    assembly version: 4.0.0.0
    win32 version: 4.7.2600.0 built by: net471rel1last
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system.xaml/v4.0_4.0.0.0__b77a5c561934e089/system.xaml.dll
----------------------------------------
system.configuration
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0 built by: net471rel1
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system.configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/system.configuration.dll
----------------------------------------
system.xml
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0 built by: net471rel1
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system.xml/v4.0_4.0.0.0__b77a5c561934e089/system.xml.dll
----------------------------------------
presentationframework.aero2
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0 built by: net471rel1
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/presentationframework.aero2/v4.0_4.0.0.0__31bf3856ad364e35/presentationframework.aero2.dll
----------------------------------------
system.runtime.remoting
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0 built by: net471rel1
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system.runtime.remoting/v4.0_4.0.0.0__b77a5c561934e089/system.runtime.remoting.dll
----------------------------------------
windowsformsintegration
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0 built by: net471rel1
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/windowsformsintegration/v4.0_4.0.0.0__31bf3856ad364e35/windowsformsintegration.dll
----------------------------------------
alphafs
    assembly version: 2.1.0.0
    win32 version: 2.1.0.0
    codebase: file:///c:/program%20files/windowsapps/44576milosp.onecommander_2.1.2.0_neutral__p0rg76fmnrgsm/rapidrive/alphafs.dll
----------------------------------------
system.drawing
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0 built by: net471rel1
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system.drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
reactive.eventaggregator
    assembly version: 2.0.0.0
    win32 version: 2.0.0.0
    codebase: file:///c:/program%20files/windowsapps/44576milosp.onecommander_2.1.2.0_neutral__p0rg76fmnrgsm/rapidrive/reactive.eventaggregator.dll
----------------------------------------
system.reactive.core
    assembly version: 2.2.5.0
    win32 version: 2.2.5.40722
    codebase: file:///c:/program%20files/windowsapps/44576milosp.onecommander_2.1.2.0_neutral__p0rg76fmnrgsm/rapidrive/system.reactive.core.dll
----------------------------------------
windows.applicationmodel
    assembly version: 255.255.255.255
    win32 version: 10.0.10011.16384
    codebase: file:///c:/windows/system32/winmetadata/windows.applicationmodel.winmd
----------------------------------------
uiautomationtypes
    assembly version: 4.0.0.0
    win32 version: 4.7.2600.0 built by: net471rel1last
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/uiautomationtypes/v4.0_4.0.0.0__31bf3856ad364e35/uiautomationtypes.dll
----------------------------------------
uiautomationprovider
    assembly version: 4.0.0.0
    win32 version: 4.7.2600.0 built by: net471rel1last
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/uiautomationprovider/v4.0_4.0.0.0__31bf3856ad364e35/uiautomationprovider.dll
----------------------------------------
shellbrowser
    assembly version: 5.3.0.154
    win32 version: 5.3.0.154
    codebase: file:///c:/program%20files/windowsapps/44576milosp.onecommander_2.1.2.0_neutral__p0rg76fmnrgsm/rapidrive/shellbrowser.dll
----------------------------------------
system.windows.forms
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0 built by: net471rel1
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system.windows.forms/v4.0_4.0.0.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
presentationframework-systemcore
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/presentationframework-systemcore/v4.0_4.0.0.0__b77a5c561934e089/presentationframework-systemcore.dll
----------------------------------------
system.reactive.linq
    assembly version: 2.2.5.0
    win32 version: 2.2.5.40722
    codebase: file:///c:/program%20files/windowsapps/44576milosp.onecommander_2.1.2.0_neutral__p0rg76fmnrgsm/rapidrive/system.reactive.linq.dll
----------------------------------------
system.reactive.interfaces
    assembly version: 2.2.5.0
    win32 version: 2.2.5.40722
    codebase: file:///c:/program%20files/windowsapps/44576milosp.onecommander_2.1.2.0_neutral__p0rg76fmnrgsm/rapidrive/system.reactive.interfaces.dll
----------------------------------------
system.reactive.platformservices
    assembly version: 2.2.5.0
    win32 version: 2.2.5.40722
    codebase: file:///c:/program%20files/windowsapps/44576milosp.onecommander_2.1.2.0_neutral__p0rg76fmnrgsm/rapidrive/system.reactive.platformservices.dll
----------------------------------------
presentationframework-systemxml
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/presentationframework-systemxml/v4.0_4.0.0.0__b77a5c561934e089/presentationframework-systemxml.dll
----------------------------------------
system.management
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0 built by: net471rel1
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system.management/v4.0_4.0.0.0__b03f5f7f11d50a3a/system.management.dll
----------------------------------------
accessibility
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0 built by: net471rel1
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
lecontextmenuhandler
    assembly version: 0.0.0.0
    win32 version: 0.0.0.0
    codebase: file:///c:/users/eric/apps/locale-emulator/lecontextmenuhandler.dll
----------------------------------------
lecommonlibrary
    assembly version: 0.0.0.0
    win32 version: 0.0.0.0
    codebase: file:///c:/users/eric/apps/locale-emulator/lecommonlibrary.dll
----------------------------------------
system.xml.linq
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0 built by: net471rel1
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system.xml.linq/v4.0_4.0.0.0__b77a5c561934e089/system.xml.linq.dll
----------------------------------------
presentationframework-systemxmllinq
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/presentationframework-systemxmllinq/v4.0_4.0.0.0__b77a5c561934e089/presentationframework-systemxmllinq.dll
----------------------------------------
magick.net-q16-anycpu
    assembly version: 7.0.0.0
    win32 version: 7.0.3.501
    codebase: file:///c:/program%20files/windowsapps/44576milosp.onecommander_2.1.2.0_neutral__p0rg76fmnrgsm/rapidrive/magick.net-q16-anycpu.dll
----------------------------------------
windows.ui
    assembly version: 255.255.255.255
    win32 version: 10.0.10011.16384
    codebase: file:///c:/windows/system32/winmetadata/windows.ui.winmd
----------------------------------------
system.runtime.interopservices.windowsruntime
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system.runtime.interopservices.windowsruntime/v4.0_4.0.0.0__b03f5f7f11d50a3a/system.runtime.interopservices.windowsruntime.dll
----------------------------------------
system.windows.input.manipulations
    assembly version: 4.0.0.0
    win32 version: 4.7.2556.0
    codebase: file:///c:/windows/microsoft.net/assembly/gac_msil/system.windows.input.manipulations/v4.0_4.0.0.0__b77a5c561934e089/system.windows.input.manipulations.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.


*

admin

  • *****
  • 540
  • Download at http://onecommander.com
    • onecommander.com
Re: Cannot open context menu on files
« Reply #1 on: December 05, 2017, 03:19:02 PM »
Is it for OC context menu or Windows Context menu (shift + rightButton)?
Are files on local drive?
Do you have any context menu extensions installed?
There is a different crash dialog when the crash originates in OC program code. My guess is that there is a 3rd party context menu extension installed that is using .NET

Re: Cannot open context menu on files
« Reply #2 on: December 05, 2017, 08:57:09 PM »
Hi, thanks for the reply.
It is the Windows context menu and files are on local drive.

I confirm that it was caused by some context menu extensions.
I had Chinese versions of Tencent QQ (an IM software) and Baidu Yun (a cloud storage software) on my computer, after I uninstalled them the Windows context menu in one commander works perfectly.

I wonder whether this issue is due to the unicode characters of the 3rd party extensions or some other issues of them. As the extensions didn't have any problem in Windows Explorer, I hope One Command could work fine with them too.

*

admin

  • *****
  • 540
  • Download at http://onecommander.com
    • onecommander.com
Re: Cannot open context menu on files
« Reply #3 on: December 06, 2017, 09:57:16 PM »
I will install both and see if I can track down what the issue is. I have seen context menu extensions before that are made in .NET, which should not be done and will crash any .NET application that tries to call them if it is using a different version of .NET.