context menu crash

146 views
Skip to first unread message

ah

unread,
Oct 19, 2023, 7:44:22 PM10/19/23
to OneCommander
Occasionally the program will crash after opening context menu. It still crashes after disabling everything in shexview, the only way to fix it for a few days is restarting. also, when this happens, the thumbnails will not show, and the preview is stuck on loading.

OneCommander Support

unread,
Oct 20, 2023, 1:28:49 PM10/20/23
to OneCommander
I am not sure I understand. Is it a complete crash (or how are thumbs not loading)? Specific file type? Error message dialog or in Tray>View Log? Do you have any thumbnail handler like SageThumbs or similar installed and enabled in shellexview?

ah

unread,
Oct 24, 2023, 3:14:54 PM10/24/23
to OneCommander
i do not have custom thumbnail handler. the thumbnails look like this:
2023-10-24 15_07_26-random2.png
it crashes when right click any file, but not folder

the log:

[15:10:00 INF] App activated
[15:10:10 INF] Window deactivated:Personal
[15:10:10 INF] Window hidden
[15:10:13 INF] App activated
[15:11:07 INF] ----------------------
Starting 3.56.0.0
[15:11:08 INF] Last sessions ended with exit code -1. Running a startup check...
[15:11:08 INF] Startup check done
[15:11:08 INF] Initializing OC Window
[15:11:08 INF] OC Window initialized
[15:11:09 INF] Window created
[15:11:09 INF] Initialization finished
[15:11:09 INF] Window deactivated:Personal
[15:11:09 INF] Drives listed. 2
[15:11:37 INF] ----------------------
Starting 3.56.0.0
[15:11:37 INF] Last sessions ended with exit code -1. Running a startup check...
[15:11:37 INF] Startup check done
[15:11:38 INF] Initializing OC Window
[15:11:38 INF] OC Window initialized
[15:11:38 INF] Window created
[15:11:38 INF] Initialization finished
[15:11:39 INF] Window deactivated:Personal
[15:11:39 INF] Drives listed. 2
[15:11:41 INF] App activated
[15:11:42 INF] Window deactivated:Personal
[15:11:43 INF] App activated

OneCommander Support

unread,
Oct 24, 2023, 3:44:47 PM10/24/23
to OneCommander
That is definitely not how thumbnails should look by default on Windows, so I don't know what is different on your system. Windows provided thumbnails and OC just showed them - I don't know if those "image" and "plot" files are actually that image (of your image viewer has that image as default and has in the installation removed Windows default thumbnail handler). Another clue is the .bat file shouldn't have the blank thumbnail but show a large icon for bat file. There is chance the same thing is responsible for context menu crashes. I can only suggest clean install of Windows 
(maybe Open Command Prompt as an administrator and typing sfc /scannow will be able to fix something but I doubt it)

Kyle Condon

unread,
Oct 25, 2023, 12:56:27 PM10/25/23
to OneCommander
I would run a full:
Dism /online /cleanup-image /restorehealth
followed by:
sfc /scannow
in an administrator cmd prompt

ah

unread,
Oct 31, 2023, 5:16:45 PM10/31/23
to OneCommander
it is showing a blank thumbnail, not the real image. the image viewer is https://github.com/sylikc/jpegview/. anyway, after restarting I did not use one commander and everything is fine again for a week until I started using again, it is strange issue

OneCommander Support

unread,
Oct 31, 2023, 8:31:19 PM10/31/23
to OneCommander
Try Settings>Preview>Use local thumbnail database - it won't use the Windows database, but it will still use system handlers. But still that wouldn't do anything with context menu issues as those are deeper in the system. I am not sure what that program does and how it replaces system thumbnail handler especially since they say it is portable, so it shouldn't affect system files if it really is

ah

unread,
Jan 13, 2024, 8:46:00 PM1/13/24
to OneCommander
So the issue is still happening, but I found out that terminating/resetting "com surrogate" fixed the problem without needing to restart.
Message has been deleted

OneCommander Support

unread,
Jan 14, 2024, 3:18:31 PM1/14/24
to OneCommander
Sounds like a dodgy shell extension or thumbnail extractor on the system since you mentioned "com surrogate". See this
Some image viewers register their own thumbnail extractor into the system. It is not possible to know what happens after the OC asks system to provide the thumbnail. Since OC has to load those into the process, if that crashes, it takes OC down with it. Some of those shell extensions from image viewer will try to show preview or image metadata in context menu and can cause crashing of context menu if they are not following proper practices for development of shell extensions - for example, using .NET for shell extensions, but I have seen some doing nasty stuff with CPU registers, so it all depends if the developer of those was diligent on checking on proper practices

On Saturday, January 13, 2024 at 8:47:03 PM UTC-5 ah wrote:
I don't believe the image viewer does anything to thumbnails, and especially not for non image files.

ah

unread,
Dec 9, 2025, 2:39:20 AM (11 days ago) Dec 9
to OneCommander
Just wanted to say that I stopped having this problem somewhere around may-july 2024, though I'm not sure what changed.
Reply all
Reply to author
Forward
0 new messages