Caja -- the MATE Desktop file manager -- promptly crashes every time I open any folder
containing one or more JPGs or PDFs.
The folder disappears after a second or two -- I don't even get time to try to open a PDF or JPG.
I'm running Caja v.1.26.0-1ubuntu1 on Ubuntu MATE 22.04 Jammy Jellyfish on a desktop workstation.
What I've done so far:
disabled ALL of Caja's extensions and re-booted. Didn't help.
did a complete removal of Caja and associated programs, re-booted, re-installed Caja and (one-by-one) its related apps and libs. Didn't help.
made sure all file and folder permissions were correct.
removed all unused or unneeded Caja-adjacent programs -- I made all the Caja-related programs identical to the list of caja-related apps that are in my 20.04 install on a separate internal drive, where Caja is working with no problems.
These are the (15) Caja apps currently installed:
caja,
caja-admin,
caja-common,
caja-eiciel
caja-extensons-common,
caja-gtkhash,
caja-mediainfo,
caja-open-terminal,
caja-rename,
caja-seahorse,
caja-sendto,
gir1.2-caja-2.0,
libcaja-extension1
python-caja-common
python3-caja
I've already deleted all these and added them back one by one.
At one point, since I couldn't open PDFs or JPGs in the GUI display, I opened a PDF from the terminal's command-line. This caused the icons on my desktop to blink on and off, on and off, until I rebooted. I've never seen such blinking and I wonder if that might signal something specific about what's going on with the desktop when that happens.
Here are some relevant lines from the .xsession-errors file in my home dir:
52 mate-session[1906]: WARNING: Unable to find provider '' of required component 'dock'
53 Window manager warning: Log level 128: unsetenv() is not thread-safe and should not be used after threads are created
54 Window manager warning: Log level 128: Name com.canonical.AppMenu.Registrar does not exist on the session bus
55
56
57 (process:2428): accountsservice-CRITICAL **: 14:12:19.660: _act_user_update_from_object_path: assertion 'ACT_IS_USER (user)' failed
58
59 (process:2428): GLib-GObject-WARNING **: 14:12:19.660: invalid uninstantiatable type '(null)' in cast to 'GObject'
60
61 (process:2428): GLib-GObject-CRITICAL **: 14:12:19.660: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed
62
63 (process:2452): ayatana-indicator-sound-WARNING **: 14:12:19.678: volume-control-pulse.vala:746: unable to get pulse unix socket: GDBus.Error:org.freedes ____ktop.DBus.Error.ServiceUnknown: The name org.PulseAudio1 was not provided by any .service files
64 Failure: No such entity
65
66 (caja:2359): Gtk-WARNING **: 14:12:19.714: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
67
68 (mate-power-manager:2427): PowerManager-WARNING **: 14:12:19.720: Failed to get session for pid 2427: The name org.freedesktop.ConsoleKit was not provide ____d by any .service files
69
70 (mate-power-manager:2427): PowerManager-WARNING **: 14:12:19.787: could not map keysym 1008ffa8 to keycode
71 libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
72 (node:2808) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe( ____), or Buffer.from() methods instead.
73 (Use `exe --trace-deprecation ...` to show where the warning was created)
74 Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3800008 specified for 0x3800006 (Cantata Fi).
75 QCommandLineParser: option not defined: "allow-screencapture"
76 INFO:root:The HUD is disabled via org.mate.hud in gsettings.
77
78 ** (caja:2359): CRITICAL **: 14:12:41.938: caja_bookmark_get_location: assertion 'CAJA_IS_BOOKMARK (bookmark)' failed
79
80 (caja:2359): GLib-GIO-CRITICAL **: 14:12:41.938: g_file_get_uri: assertion 'G_IS_FILE (file)' failed
81 sys:1: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
82
83 ** (caja:2359): CRITICAL **: 14:12:44.108: caja_bookmark_get_location: assertion 'CAJA_IS_BOOKMARK (bookmark)' failed
84
85 (caja:2359): GLib-GIO-CRITICAL **: 14:12:44.108: g_file_get_uri: assertion 'G_IS_FILE (file)' failed
86
87 (caja:3571): Gtk-WARNING **: 14:12:48.616: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
88
89 (mate-panel:2318): Gtk-CRITICAL **: 14:21:13.872: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
90
91 (mate-panel:2318): Gtk-CRITICAL **: 14:22:43.503: gtk_drag_finish: assertion 'GDK_IS_DRAG_CONTEXT (context)' failed
92
93 (mate-panel:2318): Gtk-CRITICAL **: 14:22:43.503: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
94 Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2600007 (Authentica)
95 Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
96
97 (mate-panel:2318): Gtk-CRITICAL **: 14:26:20.867: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Any ideas about what could be causing the crashes are welcome, no matter how off-the-wall they may be. Thanks.