Gnote 刚刚崩溃,删除了崩溃时未打开的笔记的很大一部分。我无法撤消此更改,因此这似乎是永久性的损失……我该如何恢复它并确保不会再次发生?
错误出现在终端中,我使用以下命令打开 Gnote:
(gnote:2425): GLib-GIO-CRITICAL **: GApplication subclass 'GnoteApp' failed to chain up on ::startup (from start of override function)
(gnote:2425): Gtk-CRITICAL **: gtk_text_buffer_get_iter_at_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed
Segmentation fault (core dumped)
编辑:它再次发生并在命令行中给出了以下输出。
对于这个,我只是打开了 Gnote,打开了一个笔记,在里面写一个句子然后关闭它,然后关闭 Gnote。
(gnote:3570): GLib-GIO-CRITICAL **: GApplication subclass 'GnoteApp' failed to chain up on ::startup (from start of override function)
** (gnote:3570): WARNING **: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code12: Failed to write file '/home/romain/.config/dconf/user.QFB8KW': fwrite() failed: No space left on device
** (gnote:3570): WARNING **: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code12: Failed to write file '/home/romain/.config/dconf/user.5QK8KW': fwrite() failed: No space left on device
** (gnote:3570): WARNING **: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code12: Failed to write file '/home/romain/.config/dconf/user.J3Q8KW': fwrite() failed: No space left on device
** (gnote:3570): WARNING **: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code12: Failed to write file '/home/romain/.config/dconf/user.S7I7KW': fwrite() failed: No space left on device
** (gnote:3570): WARNING **: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code12: Failed to write file '/home/romain/.config/dconf/user.0JP7KW': fwrite() failed: No space left on device
I/O error : No space left on device
I/O error : write error
在这一个中,我重新打开 Gnote,发现我刚刚更改的笔记是空的,其标题也被删除了......
(gnote:4277): GLib-GIO-CRITICAL **: GApplication subclass 'GnoteApp' failed to chain up on ::startup (from start of override function)
(140417336494528) ERROR: error_handler - XML error Extra content at the end of the document
I/O error : No space left on device
I/O error : No space left on device
I/O error : No space left on device
I/O error : No space left on device
我注意到我的 Ubuntu 分区已满,因此我将大量个人文件移到了另一个数据分区。
多谢。
答案1
一旦注意到崩溃,您可以尝试从内存中恢复您输入的内容(如果它未加密)。以 root 身份打开文件 /dev/mem 并尝试找到您丢失的句子的某些部分。例如,您可以使用:
less -f /dev/mem
但要避免这种崩溃,则是另外一回事。