yazi
yazi copied to clipboard
Permanently deleting folder crashes on Windows
What system are you running Yazi on?
Windows
What terminal are you running Yazi in?
Windows Terminal
yazi --debug
output
##### ↓↓↓ Paste the output here: ↓↓↓ #####
Yazi
Version: 0.2.5 (66e83f3 2024-07-20)
Debug : false
OS : windows-x86_64 (windows)
Ya
Version: program not found
Emulator
Emulator.via_env: ("", "")
Emulator.via_csi: Ok(Unknown([]))
Emulator.detect : Unknown([])
Adapter
Adapter.matches: Chafa
Desktop
XDG_SESSION_TYPE: None
WAYLAND_DISPLAY : None
DISPLAY : None
SSH
shared.in_ssh_connection: false
WSL
/proc/sys/fs/binfmt_misc/WSLInterop: false
Variables
SHELL : None
EDITOR : Some("hx")
ZELLIJ_SESSION_NAME: None
YAZI_FILE_ONE : Some("C:\\Program Files\\Git\\usr\\bin\\file.exe")
YAZI_CONFIG_HOME : None
Text Opener
default: Some(Opener { run: "%EDITOR% \"%*\"", block: true, orphan: false, desc: "EDITOR", for_: None, spread: true })
block : Some(Opener { run: "%EDITOR% \"%*\"", block: true, orphan: false, desc: "EDITOR", for_: None, spread: true })
tmux
TMUX : false
Version: program not found
Dependencies
file : 5.45
ueberzugpp : program not found
ffmpegthumbnailer: program not found
magick : program not found
fzf : 0.43.0
fd : 8.7.1
rg : 13.0.0
chafa : program not found
zoxide : 0.9.4
unar : program not found
jq : program not found
--------------------------------------------------
When reporting a bug, please also upload the `yazi.log` log file - only upload the most recent content by time.
You can find it in the "C:\\Users\\ASUS\\AppData\\Roaming\\yazi\\state" directory.
Did you try the latest nightly build to see if the problem got fixed?
Yes, and I updated the debug information above (yazi --debug
) to the nightly that I tried
Describe the bug
When deleting a folder permanently (i.e. D
), the app just crashes with error STATUS_ILLEGAL_INSTRUCTION
. I checked the log in yazi/state
but no error was logged there. Interestingly, it only crashes with --release
build, while --debug
build works fine.
Expected Behavior
The app does not crash.
To Reproduce
- Create an empty folder (or with files, it does not matter)
- Use
D
to delete the folder permanently - Wait a little to see the app crashes
Configuration
No response
Anything else?
https://github.com/user-attachments/assets/abced270-60dc-4bea-9a87-4cbf0ea6ab21
No response