-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG BSOD] 瀏覽 藍屏當機(死機) (試過 2 次) #875
Labels
Comments
Tested |
I can't reproduce the crash with folder created by following Python script (5,000 empty folders + 105,000 empty files): import os.path
import random
def GetFileExtList():
extList = ['empty']
path = 'assoc.log'
os.system(f'assoc > {path}')
if os.path.isfile(path):
with open(path, 'r', encoding='utf-8') as fd:
lines = fd.read().splitlines()
for line in lines:
items = line.split('=')
if len(items) == 2:
extList.append(items[0])
return extList
def MakeTestDir(dirCount, fileCount):
extList = GetFileExtList()
print(f'dir: {dirCount}, file: {fileCount}, file ext: {len(extList)}')
root = 'test'
if not os.path.exists(root):
os.makedirs(root)
for i in range(dirCount):
path = rf'{root}\{i}'
if not os.path.exists(path):
os.makedirs(path)
for i in range(fileCount):
ext = random.choice(extList)
path = rf'{root}\{i}{ext}'
if not os.path.exists(path):
with open(path, 'wb') as fd:
pass
MakeTestDir(5000, 105_000) |
OK and Thank you. |
zufuliu
added a commit
to zufuliu/notepad4-test
that referenced
this issue
Oct 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OS: Windows 11 X64
AP: Notepad4 v24.09r5472
我把 Notepad4 放在 F:\MyTool 中,
F:\MyTool 此目錄有 500 GB (包括 很多 檔案 及 目錄)
當執行 Notepad4 時 ==> 此時 未開啟 任何檔案,
若是 瀏覽 則會瀏覽 F:\MyTool 大約 10 秒後, BSOD 藍屏死機 (試過 2 次),
應該是 目錄有 500 GB 太多 檔案 及 目錄.
但如果,
當執行 Notepad4 時,
先隨便 開啟 F:\Test\33333\1.txt
再 瀏覽 則會瀏覽 F:\Test\33333 ==> 此目錄 就只有 5 個檔案
就不會 BSOD 藍屏死機.
是否能
當執行 Notepad4 時 ==> 此時 未開啟 任何檔案,
使用者 能自訂 瀏覽 預設目錄 如 F:\ 或 C:\
The text was updated successfully, but these errors were encountered: