-
Notifications
You must be signed in to change notification settings - Fork 472
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
Crash when searching with fd #2272
Comments
Please build Yazi in debug mode, set |
Here is the backtrace for the plugin missing
As for the other random crash, I didn't manage to reproduce it with |
Why do the two backtraces have no similarities except for their level of redundancy? Are you sure they are caused by the same reason (plugin not found)? The backtrace in debug mode is expected behavior — when a user imports a non-existent plugin, the current behavior is to print the backtrace. As for the occasional crashes you mentioned, a more stable reproduction step is necessary. |
You are right, this crashes probably don't have anything in common. I have experimented a little bit more, and it seems that random crash I was talking about happens when you search with |
Also happens when batch renaming files, even with no config |
What system are you running Yazi on?
Windows
What terminal are you running Yazi in?
wezterm 20241205-083533-6f375e29
yazi --debug
outputDescribe the bug
When I have
require("full-border"):setup()
in myinit.lua
and I change the name of the plugin folder so that it can't find it, it crashes instantly with the followingRust Backtrace:
Yazi log:
Even with the plugin fully installed, using yazi normally I was getting random crashes with the same/similar log and backtrace, that's why I found out this specific situation. For example, if I go to
~/.cargo/bin
and search withfd
for the stringnu
, it sometimes crashes with this yazi log and same backtrace but with the text cut out because it's exiting the tui.Yazi log:
Minimal reproducer
Add
require("full-border"):setup()
toinit.lua
but don't have the plugin, when entering yazi it will instantly crashAnything else?
No response
Checklist
yazi --debug
) input box to the nightly that I triedmv ~/.config/yazi ~/.config/yazi-backup
)The text was updated successfully, but these errors were encountered: