ExplorerPatcher icon indicating copy to clipboard operation
ExplorerPatcher copied to clipboard

File Explorer keeps crashing when I open it

Open AndroidDeveloperLB opened this issue 2 years ago • 73 comments

As the title says.

Look: 2023-10-26_13-14-23.zip

What should I do? For some reason, this issue exists on a laptop that I use, but not on a desktop PC that I use. Both have the same exact Windows version, and no updates available for the OS.

I also tried to use the pre-release version update, and it didn't help...

AndroidDeveloperLB avatar Oct 26 '23 10:10 AndroidDeveloperLB

Please post windows version and build. You can find this by running winver. Please post explorer patcher version.

Please include what settings you changed in explorer patcher properties application.

pyrates999 avatar Oct 26 '23 10:10 pyrates999

Which other customization software did you install on the affected PC? Note that we do not fully support scenarios where you have any other customization software installed. I've tested that OldNewExplorer and TranslucentTB works fine with EP but not others like 7+TT, OpenShell, or ClassicShell.

Amrsatrio avatar Oct 26 '23 10:10 Amrsatrio

@pyrates999 Sadly winver doesn't let me copy paste as text, and also explorer-patcher doesn't let me. Windows version: 22H2 build 22621.2428 patcher version: 22621.2428.59.1

I also tried to choose "restore default settings". If it's safe and has no privacy issues, I can choose "export current settings" and put here.

@Amrsatrio I use 7+TT, OpenShell. Both work fine on the PC, and worked fine so far on the laptop but now for some reason the file-explorer keeps crashing on it. I have no idea what started causing it. I also use "Mica for everyone" because for some reason the explorer ribbon became very white even though I use dark theme, making it almost impossible to see what's written there. I also use QTTabBar, but this is for a toolbar.

AndroidDeveloperLB avatar Oct 26 '23 10:10 AndroidDeveloperLB

Can you attempt on uninstalling those to pin down the problematic customization software?

Amrsatrio avatar Oct 26 '23 10:10 Amrsatrio

@Amrsatrio I tried this already about a week ago, and it didn't help. Last week I also talked with Microsoft support and they've caused a reset of Windows, which sadly also reset many settings of various apps and of Windows itself, and I also lost many installations of apps.

Now I've tried this tip: https://github.com/valinet/ExplorerPatcher/issues/1723#issuecomment-1780908734

Now it just doesn't do anything at all. Doesn't crash, but also doesn't do anything.

AndroidDeveloperLB avatar Oct 26 '23 11:10 AndroidDeveloperLB

Can you follow these steps, but find for explorer.exe instead?

https://github.com/valinet/ExplorerPatcher/issues/2332#issuecomment-1773750978

Amrsatrio avatar Oct 26 '23 11:10 Amrsatrio

@Amrsatrio OK I think I've found the crash. These seem like private logs, no? Can I please send it in private?

AndroidDeveloperLB avatar Oct 26 '23 11:10 AndroidDeveloperLB

DM me on Discord. I should be at the top of the member list of the EP server.

Amrsatrio avatar Oct 26 '23 11:10 Amrsatrio

@Amrsatrio I don't use it. Can I message you on X ? I see that you have an account there, but I'm not sure you can get messages... Maybe reddit?

AndroidDeveloperLB avatar Oct 26 '23 11:10 AndroidDeveloperLB

You can go ahead via X.

Amrsatrio avatar Oct 26 '23 11:10 Amrsatrio

@Amrsatrio You need to change some setting there. It says "@amrsatrio can’t be messaged"

AndroidDeveloperLB avatar Oct 26 '23 11:10 AndroidDeveloperLB

Try again now.

Amrsatrio avatar Oct 26 '23 11:10 Amrsatrio

@Amrsatrio OK I sent you there

AndroidDeveloperLB avatar Oct 26 '23 12:10 AndroidDeveloperLB

For now what seems to be a workaround to handle this, is to change the setting of the "File Explorer"->"Control interface" to be different than of Windows 11.

@Amrsatrio Thank you for this, and please update here in case you know how to fix it.

AndroidDeveloperLB avatar Oct 26 '23 12:10 AndroidDeveloperLB

Hello everybody. I also have the issue that the tool "AgentRansack" crashes when I start it. I let the guys of Mythicsoft investigate the issue and they replied:

Dear Ralf, Thanks for the error report. The crash is occurring due to a 3rd party module you have installed called ExplorerPatcher. From the >dump analysis: IMAGE_NAME: ExplorerPatcher.amd64.dll

STACK_COMMAND: ~20s ; .ecxr ; kb

FAILURE_BUCKET_ID: NULL_POINTER_READ_STACK_OVERFLOW_c00000fd_ExplorerPatcher.amd64.dll!Unknown

OSPLATFORM_TYPE: x64

Kind Regards, Dave.

I additionlly got from them the following info:

Dear Ralf, We can't say the exact reason because we don't have the debug symbols for ExplorerPatcher. It looks like ExplorerPatcher is loaded into a few background threads of the AgentRansack process. All we see is this: EXCEPTION_RECORD: (.exr -1) ExceptionAddress: 00007ff9ac0bc00f (ExplorerPatcher_amd64+0x000000000001c00f) ExceptionCode: c00000fd (Stack overflow) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 0000000000000001 Parameter[1]: 000000c57fe53ff8

PROCESS_NAME: AgentRansack.exe

ERROR_CODE: (NTSTATUS) 0xc00000fd - A new guard page for the stack cannot be created.

EXCEPTION_CODE_STR: c00000fd

EXCEPTION_PARAMETER1: 0000000000000001

EXCEPTION_PARAMETER2: 000000c57fe53ff8

STACK_TEXT: 000000c57fe54000 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000816dc3 : ExplorerPatcher_amd64+0x1c00f

SYMBOL_NAME: ExplorerPatcher_amd64+1c00f

MODULE_NAME: ExplorerPatcher_amd64

IMAGE_NAME: ExplorerPatcher.amd64.dll

STACK_COMMAND: ~20s ; .ecxr ; kb

FAILURE_BUCKET_ID: NULL_POINTER_READ_STACK_OVERFLOW_c00000fd_ExplorerPatcher.amd64.dll!Unknown

OSPLATFORM_TYPE: x64

OSNAME: Windows 8

crashReport_AgentRamsack

BR Ralf

derrapf avatar Oct 26 '23 15:10 derrapf

~~Bruh. Of course uninstall EP before letting Mythicsoft touch your PC. (Or that's not MS that you're referring to 😂 but still)~~

Nevermind, sorry about that. I thought you were the OP. So that is related to EP being registered as shell extension. Please try unregistering it and see if it solves the issue. Valinet stated in a full-of-text wiki page that the average user shouldn't have that enabled.

Amrsatrio avatar Oct 26 '23 15:10 Amrsatrio

@derrapf Which EP version are you using, by the way?

Amrsatrio avatar Oct 26 '23 15:10 Amrsatrio

Hi I am using EP 22621.2428.59.1

Please try unregistering it Would you tell me how? BR Ralf

derrapf avatar Oct 26 '23 16:10 derrapf

By the way ""File Explorer"->"Control interface" to be different than of Windows 11." that helped BR Ralf

derrapf avatar Oct 26 '23 16:10 derrapf

By the way ""File Explorer"->"Control interface" to be different than of Windows 11." that helped BR Ralf

This works, Thanks!

Farpathan avatar Oct 29 '23 10:10 Farpathan

I'm having similar issues. Problems with File explorer not refreshing when changes are made, problems with the task bar moving around on it's own, and problems with full screen mode not going full screen after I move the taskbar back to where I want it and the window acts like it still has to leave space for the the taskbar that's no longer there. I tried installing this and 7+TT together to regain the functionality of what I was looking for in the taskbar after a reformat and upgrading to windows 11. I'm wondering if since these programs edit the registry if it's possible to uninstall them to fix these problems now, or if I need to reformat again. If so I'd rather do it now than later.

Mijin1 avatar Oct 30 '23 23:10 Mijin1

@Mijin1 Which of these issues is similar to what I reported...

AndroidDeveloperLB avatar Oct 30 '23 23:10 AndroidDeveloperLB

@AndroidDeveloperLB Should be self-explanatory, but file explorer crashing is pretty similar to file explorer not refreshing. Note the correlation between serious and damaging file explorer problems.

Mijin1 avatar Oct 30 '23 23:10 Mijin1

@Mijin1 Depends what you mean by "not refreshing". Not refreshing what? Its content of some folder? I couldn't even see its window...

AndroidDeveloperLB avatar Oct 30 '23 23:10 AndroidDeveloperLB

@AndroidDeveloperLB What I mean is say I open a File Explorer window to view a folder where files should be changing through a script using paramiko to grab files from a server, and then creates csv files using pandas. The file ARE in fact changing, if I close the file explorer window, and open it again, then there they are, but it I leave the file explorer open, it doesn't show any changes. It should be refreshing to reflect changes as they happen. It doesn't, and the problem is either related to ExplorerPatcher, 7+TT, or using both together. This combined with the other issues I've mentioned, and further illustrated by the problems you mentioned you were having with file explorer show me that this program is a terrible fit for an intermediate user like myself, and will be way more problems than it's worth. My only question is since explorerpatcher and 7+TT are just some custom ware I found on github and since they happen to edit registry files, if simply uninstalling them will be enough, or if I'll have to also cross my fingers with a registry cleaner or more likely reformat and just suffer through not having a vertical taskbar that removes labels.

Mijin1 avatar Oct 30 '23 23:10 Mijin1

@Mijin1 OK I think it's a different issue, and because it's a different issue, I don't think the workaround that was offered here would help you.

AndroidDeveloperLB avatar Oct 31 '23 00:10 AndroidDeveloperLB

Alright. I guess I'm just looking for someone who knows more than me to say "Yeah uninstalling is cool, you'll be fine", or "Na you're going to need to reformat or try a registry cleaner, good luck." Because I see some of the settings aren't reverting after I uninstall, so I'm suspecting it's the latter?

Mijin1 avatar Oct 31 '23 00:10 Mijin1

@Mijin1 Whatever you do, please have some backup and maybe a restore point, as opposed to what I initially did...

AndroidDeveloperLB avatar Oct 31 '23 00:10 AndroidDeveloperLB

Guess I'm going to reformat. At this point I'll only lose about 48 hours of work.

Mijin1 avatar Oct 31 '23 00:10 Mijin1

@Mijin1 Try other things first that Windows offers

AndroidDeveloperLB avatar Oct 31 '23 01:10 AndroidDeveloperLB