我无法在我的主目录中打开 Nautilus 或 Nemo。
行为:
它们一打开就立即崩溃(当打开默认主路径时)。但是,我可以使用其他路径。例如,nautilus ~/Application
可以。我也可以使用sudo nautilus
。
当我执行命令时nautilus
,终端输出Segmentation fault
。当我尝试在主路径中搜索某些内容(在其他路径中打开)时,它会崩溃。此外,当某些软件尝试打开 Nautilus(例如导入配置文件时)时,它会崩溃。
尝试:
我尝试更改默认文件资源管理器。我使用的主要命令是xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
。但是,这并没有解决问题。
然后我尝试使用 调试核心文件gdb
,尽管这是我第一次使用它。我搜索并找到了一些转储核心文件的命令。经过几个小时的测试,我终于设法使用gdb
核心文件。
ulimit -c unlimited
sudo bash -c 'echo "1" > /proc/sys/kernel/core_uses_pid'
sudo bash -c 'echo ~/coredump/core.%e.%p.%t > /proc/sys/kernel/core_pattern'
gdb nautilus core.pool-org.gnome..19669.1711535247
这是输出:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from nautilus...
(No debugging symbols found in nautilus)
warning: Can't open file /memfd:gdk-wayland (deleted) during file-backed mapping note processing
warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing
[New LWP 19685]
[New LWP 19669]
[New LWP 19670]
[New LWP 19683]
[New LWP 19673]
[New LWP 19671]
[New LWP 19675]
[New LWP 19684]
[New LWP 19674]
[New LWP 19682]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
--Type <RET> for more, q to quit, c to continue without paging--
Core was generated by `nautilus'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007a72a8ea2bad in ?? () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
[Current thread is 1 (Thread 0x7a72837fe640 (LWP 19685))]
(gdb)
我不明白错误信息的意思。我注意到了这个词wayland
,所以我切换到X并重新启动了电脑,但它仍然不起作用。
考虑到问题的可读性,我之前没有提供命令的输出bt
。以下是附加信息:
(gdb) bt
#0 0x00007a72a8ea2bad in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#1 0x00007a72a8ea2fb8 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#2 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#3 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#5 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#6 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#7 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#8 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#9 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#10 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#13 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#14 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#15 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#16 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#17 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#18 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#19 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#20 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#21 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#22 0x00007a72a8ea31f3 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0