š [ISSUE REPORT] Notepad++ Freezes When Using Find in Files with Network Drives
-
Find in Files should complete search on network drives like local drives
ā Actual Behavior:
Freezes completely when searching network folders
Requires Task Manager to force close
CPU spikes to 100% during freeze
š§ Reproduction Steps:
Open Notepad++ v8.6.4 (32-bit)
Press Ctrl+Shift+F (Find in Files)
Set directory to \NAS\shared\code\
Search for āfunctionNameā
Freeze occurs at ~2 minutes
[3. SYSTEM INFO]
OS: Windows 10 Pro 22H2 (Build 19045.4529)
Hardware: Dell XPS 15 (i7-11800H, 32GB RAM)
Network: 1Gbps Ethernet to Synology NAS
Plugins: Explorer 1.9.1, JSON Viewer 2.5
[4. EVIDENCE]
š· Screenshot of freeze
š Relevant Log Snippet:[2024-07-15 14:22:08] FindInFiles: Start @ \NAS\shared\code\
[2024-07-15 14:24:11] WARNING: Thread timeout (120000ms)
[5. ADDITIONAL NOTES]
š” Workarounds:Works fine with local drives (C:, D:)
Using āEverythingā search tool as alternative
moderator edit: removed spam link hidden on punctuation mark
-
Downvoted because there was a spam link on the comma between the
C:
andD:
near the end.This is most likely pure AI fabrication, or at least human-made junk to justify the spam link.
However, on the off-chance that AI or human derived their spam wrapper from some real report they found somewhere, I am leaving this āreportā here, in case someone can replicate the āfindingsā.
update:
Notepad++ v8.6.4 (32-bit)
ā¦
Plugins: Explorer 1.9.1, JSON Viewer 2.5N++ v8.6.4 was from Feb 2024, but Explorer 1.9.1 was from May 2020. I am dubious that a user would be updating Notepad++, but not the Explorer plugin, over that long of a timeframe.
Also, as far as I can tell from the public releases, āJSON Viewer 2.5ā will not be coming out for another few years (since itās currently at 2.1.1, and was at 2.0.2 in 2022), so thatās a non-existent plugin version, and more evidence that this entire report is an hallucination.
-
This post is deleted! -
I have the same problem as topicstarter mentioned, updated Notepad++ to the latest version 8.8.3 (64bit), but no luck; stops responding within 20 seconds after hitting āFIND ALLā and has to be stopped with task manager.
Iām trying to search for the text āDo not save editing historyā in the backup files stored on my Synology 423 NAS in the EXT folder from a phpBB forum installation, cause i did not remember which extension added this functionality when i edit a posting on the forum.
As work a workaround I copied 6786 files (~23MB) to my local disk and performed the search there. That worked.
However, the problem of searching in files with Notepad++ on the Synology NAS remains
-
Thanks for letting us know. I was hoping the symptoms described above were just AI ChatBot fabrication, or copying from some other post somewhere else on the internet. But since you are having the same issues, I guess itās real.
Unfortunately, Iām not an expert on the networking issues with Notepad++, and donāt have a Synology NAS to check with ā I know that @xomx knows more about such things, and has even fixed similar issues before. Maybe he can chime in.
In the mean time, could you please go to the ? menuās Debug Info, and paste that information in a reply here? It will help @xomx better understand your setup.
-
I have a Synology NAS on net and will try to reproduce this issue later.
stops responding within 20 seconds after hitting āFIND ALLā
Meanwhile only my guess - if you wait long enough, the N++ will start responding again. This all might be due to the design of the N++ FindInFiles func, which currently scales poorly when used on a large number of files (and using network here, with much slower access speed, could only exacerbate the problem). One can easily simulate such a āN++ GUI-freezingā even on local files, e.g. try this:
Details about the current sub-optimal ātwo-stageā FindInFiles design causing the above (there is also a possible WM_TIMER GUI-fix mentioned but I never had time to really try it) :
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13972#issuecomment-1767212918 -
@xomx said in š [ISSUE REPORT] Notepad++ Freezes When Using Find in Files with Network Drives:
I have a Synology NAS on net and will try to reproduce this issue later.
So I tested - and no big problem found.
I tried to simulate as closely as possible the reported issue conditions, my setup:
- a Synology NAS in fast domain network, mapped as disk (WebDAV ⦠ā\\MyNASName@SSL@PortNo\DavWWWRoot\loginā)
- N++ v8.8.5 64-bit, with some plugins
- Win10 Enterprise LTSC 2021
- I created on NAS āZ:\NPP\test4FindInFiles\ā folder and put there some source codes from projects (~60MB, 6822 files, 396 folders)
I fired up the FindInFiles, put there the same phrase āDo not save editing historyā in FindWhat and hit the FindAll button - my N++ was approx. 12 secs unresponsive (this is the 1st stage from the two FindInFiles ones mentioned above) and then the FindInFiles progress bar appeared as usual.
-
@webforpcnet seen similar issues before, also with other tools. Thing is accessing network drives (and even external plugged drives) triggers security and caching tools such as anti-virus, status utilities such as TortoiseGit, etc.
A separate check needs to be done using another crawler, such as a simple script dumping the file contents. Paste something like the following in cmd.exe:
@echo off rem Position in the target base directory pushd \\NAS\shared\code\ rem Iterate through all files in the subtree, assume all files, "*.*" for /R %i in (*.*) do ( echo Dumping '%i' rem Force reading file contents (but don't output them!), same as Notepad++ would type "%i" >nul ) popd
(Iām assuming the \ special character sequence got escaped in the report.)
If the speed is substantially better than Notepad++ then it might mean thereās a problem (this quick/dirty check cannot assess for any whitelisting or heuristics in the environment).