Sharing folder in rclone mount brings to BSOD

What is the problem you are having with rclone?

Hi everybody, I have a S3 mount on my pc and I would like to share a folder that is inside this mount but I my pc crashes and shows the BSOD whenever I create a new folder and/or upload something in it. I found a topic on github that is related to that and it suggests that it could be a Winfsp related issue (Windows Server 2008 crashes with BSOD when invoking winfsp_ x64.sys from 'rclone mount' · Issue #392 · winfsp/winfsp · GitHub) and analysing my .dmp files it appears that winfsp x64 it is actually the cause, unfortunately the the topic on github has been closed without any resolution, could you help me? My pc is running Windows 11.

Here the end of my .dmp file:

SYMBOL_NAME:  winfsp_x64+170c7

MODULE_NAME: winfsp_x64

IMAGE_NAME:  winfsp-x64.sys

STACK_COMMAND:  XXX

BUCKET_ID_FUNC_OFFSET:  170c7

FAILURE_BUCKET_ID:  AV_winfsp_x64!unknown_function

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

FAILURE_ID_HASH:  XXX

Followup:     MachineOwner
---------

Run the command 'rclone version' and share the full output of the command.

rclone v1.69.0

  • os/version: Microsoft Windows 11 Pro 24H2 24H2 (64 bit)
  • os/kernel: XXX
  • os/type: windows
  • os/arch: amd64
  • go/version: XXX
  • go/linking: static
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Amazon S3

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[test_s3]
type = s3
provider = AWS
access_key_id = XXX
secret_access_key = XXX
region = eu-south-1
endpoint = XXX
location_constraint = eu-south-1
acl = private

Not a windows expert but if sharing is causing issues than maybe just don't?

and use rclone serve instead? It means you can still have your mount but implement sharing using other means - not touching this mount at all.

In Windows environment I think rclone serve webdav would be good option.

Ok, I managed to avoid needing to share the folder, but the problem is still there meaning that if I try to create a folder, upload files in it my pc shows the BSOD and reading the .dmp files it is WinFsp fault. Unfortunately I cannot use rclone serve Webdav, is WinFsp the only tool that allows to run rclone mount on Windows?

Yes it is prerequisite for rclone mount on Windows. Are you using the latest version of winfsp?

As it works and we do not see multiple reports of issues like yours it is most likely some problem with your setup. Maybe some antivirus software? Disable/uninstall if you have some and try.

Thanks a lot disabling the antivirus worked, apparently my company antivirus is stronger than what I thought.

1 Like

It is rather old article by now:

but with very valid conclusions. Myself through my career I encountered multiple of issues caused by 3rd party antivirus software. Windows and macOS. Personally I stopped using anything but OS supplied solutions years ago. And I am not looking back.

On Windows only acceptable option is built in Defender.

Of course some of us have no choice and have to live with whatever IT department mandates.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.