question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash after deleting SMB File

See original GitHub issue

Description

After deleting a file located on an SMB folder that is linked to my computer as Z: drive, it crashes. Every time I make a file change in the SMB folder I have to refresh. If I change the name, I have to refresh… delete I have to refresh.

Steps To Reproduce

Navigate to an SMB mounted folder… rename it, then refresh, then delete it. Upon trying to refresh, it crashes.

Expected behavior

I expect any name change or deletion in an SMB folder that is mounted to automatically refresh the files listed.

Files Version

Version: 2.1.13.0 OS Version: 10.0.22000.493

Windows Version

Windows 11 Pro 21H2 22000.493

Relevant Assets/Logs

2022-02-15 14:22:26.8731|INFO|OnConnectionRequestReceived|Argument: FileOperation 2022-02-15 14:22:28.8796|INFO|OnConnectionRequestReceived|Argument: FileOperation 2022-02-15 14:22:34.6220|INFO|OnConnectionRequestReceived|Argument: NetworkDriveOperation 2022-02-15 14:22:34.6332|INFO|OnConnectionRequestReceived|Argument: ShellLibrary 2022-02-15 14:22:34.6335|INFO|OnConnectionRequestReceived|Argument: DetectCloudDrives 2022-02-15 14:22:34.6627|INFO|OnConnectionRequestReceived|Argument: GetSelectedIconsFromDLL 2022-02-15 14:22:34.7233|INFO|OnConnectionRequestReceived|Argument: GetSelectedIconsFromDLL 2022-02-15 14:22:34.7809|INFO|OnConnectionRequestReceived|Argument: GetIconWithoutOverlay 2022-02-15 14:22:34.7956|WARN|StartSTATask|The system cannot find the file specified. (0x80070002) System.IO.FileNotFoundException: The system cannot find the file specified. (0x80070002) at Vanara.PInvoke.HRESULT.ThrowIfFailed(String message) at Vanara.PInvoke.Shell32.ShellUtil.GetShellItemForPath(String path) at Vanara.Windows.Shell.ShellItem…ctor(String path) at FilesFullTrust.Win32API.GetFileIconAndOverlay(String path, Int32 thumbnailSize, Boolean getOverlay, Boolean onlyGetOverlay) at FilesFullTrust.MessageHandlers.Win32MessageHandler.<>c__DisplayClass3_0.<ParseArgumentsAsync>b__1() at FilesFullTrust.Win32API.<>c__DisplayClass0_0`1.<StartSTATask>b__0() 2022-02-15 14:22:35.0748|INFO|OnConnectionRequestReceived|Argument: GetIconWithoutOverlay 2022-02-15 14:22:35.1009|INFO|OnConnectionRequestReceived|Argument: GetIconWithoutOverlay 2022-02-15 14:22:35.1107|INFO|OnConnectionRequestReceived|Argument: DetectQuickLook 2022-02-15 14:22:35.1215|INFO|OnConnectionRequestReceived|Argument: GetNewContextMenuEntries 2022-02-15 14:22:35.6193|INFO|CheckQuickLookAvailability|QuickLook detected: False

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
foxhoundvcommented, Feb 16, 2022

No it isn’t the full file. Only what pertains to that timeframe. Other Log information was like 10 or 15 minutes prior or after the event. I’m just trying to be careful what stuff gets sent out on these. Maybe I can send them to you privately.

I just sent you an email with the files to the email you have listed on your profile.

0reactions
yaira2commented, Nov 1, 2022

Is this still an issue in the preview version? https://files.community/download/preview

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deleting files from SMB share crashes HereSphere!
The only problem I have is that often ( not always) when I try to delete a file HereSphere crashes and I have...
Read more >
File can't be deleted, but crashes entire system. What can I do
Hello, I have a file that had been downloaded but now I want to delete it. However, the entire folder/window crashes when I...
Read more >
smbd process (crashes and dumps and) disconnects on ...
If I do load that module, with or without > xattr_tdb, then the crash occurs on file delete. > > I have just...
Read more >
macOS 10.13.2 Finder freezes when deletin…
Whenever I try to delete a folder on an SMB share (shared folders on a Windows Server 2012 R2 computer) the Finder freezes....
Read more >
File Explorer crashes each time I try deleting a screenshot
Open an elevated command prompt (Administrative Rights) Type sfc /scannow and let it run.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found