-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Segfault when opening folders that have just been pasted into an empty folder. #2495
Comments
I too noticed a couple of crashes recently but haven't tracked down the cause. Presumably due to a recent commit. I'll look into it further. |
I cannot even use the file browser to open folders in code app. If i use the parent folder and merely clicking on the affected folder in the sidebar instantly closes the code app. It's affecting my notes folder. |
Do you mean using the "Open in" option in the folder context menu in Files to open a folder with Code? Does this affect all folders or only your "notes" folder? Is it reproducible? Can you try to get a full backtrace from this crash? |
@sudanchapagain Does the crash always happen immediately after navigating to a new location? If you can get a crash while running under |
Have you installed Nix on Horus? Files is not Flatpak so that should not be involved. |
no, basically
gdb backtrace
It crashes after i click on the folder in the code app. The file picker allows me to navigate inside of it too. Also, it seems to fixed on my notes folder now. But i found another folder. Idk what makes the folder fixed after a while.
yes i have Nix on Horus. |
Interesting. Did the contents of the notes folder change? It might be worth running a file system integrity check. |
I think it did. I was able to open the contents with helix editor on the terminal. I don't remember. Also, i think (not concretely sure) but when a application is already using a directory and when another tries to use it. It creates problems. Just today i installed firefox alongside zen. I had zen open, and then afterwards i opened firefox. Everything was fine and suddenly i was no longer able to create new tabs it would auto close on the firefox side. IDK why but I ran |
Were the problematic folders on NTFS or btrfs? I haven't used either of those with Files. If other apps are also having problems it could be an upstream problem perhaps with the way |
In both. I have had issues in my |
OK, thanks. If you are able and willing, you could try building and installing the previous release of Files I guess. Sometimes the only way of tracking down a bug is to find which commit caused it to happen. As I cannot reproduce it I am unable to do this. |
So, i installed thunar and nautilus. I have issue in both file managers. I dont think it's related to elementary's files. i have same backtrace too.
What could be the issue? |
All three of the filemanagers you tried are based on Gtk/GLib so it could be an upstream issue with that framework and the modern filesystems you are using. You could try installing a KDE filemanager like Dolphin to see whether it has the same issues. If so you need to dig deeper and start looking at data corruption or hardware issues I guess. Are you multi-booting with Windows by any chance? If so does Windows have similar issues? |
I'll close as it does not seem to be an exclusively Files issue. You can still comment here. |
The occasional crash I was experiencing seems to be unrelated. I have run Files for several days under |
I have just reproduced this issue on Horus with an NTFS partition (created by |
Backtrace:
|
Just reproduced this on an |
What Happened?
Since i last installed ElementaryOS 7.1, i have been experiencing crashes when opening certain folders. The folders in both current installation partition or another partition that is mounted. I was doing random things to try to fix it but i managed to break my system yesterday. I reinstalled it but i am experiencing the same problem.
Steps to Reproduce
.cache/nix
,ordne
a git repo of pantheon app,/media/.../windows/bin/ols
ols is odin language server. I think the folders do not have a pattern)Expected Behavior
Should not crash.
OS Version
7.x (Horus)
Session Type
Classic Session (X11, This is the default)
Software Version
Latest release (I have run all updates)
Log Output
gdb backtrace
cat
/var/log/syslog
the output was way too long, i am sending just few lines from the bottom.
coredumpctl
flatpak-coredumpctl
Hardware Info
I modify few dconf setting with nix's home-manager, and generate configs for zsh, starship, git, btop, alacritty, tmux, helix. I have installed programs via nix (git, tmux, helix, starship, neofetch, vscodium, ulauncher, btop, eza, fzf, ripgrep, ffmpeg, yt-dlp, busybox, nixpkgs-fmt, nixpkgs-lint, nodejs, odin, rustup, ols). Through flathub i have installed just Zen. Nothing else has been changed in my os installation. Few system settings have been changed, i think i could list those too but those shouldnt be the problem.
following dconf settings have been changes
The text was updated successfully, but these errors were encountered: