Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925019 - mate-base/caja doesn't start
Summary: mate-base/caja doesn't start
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: immolo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-19 23:00 UTC by Einstok Fair
Modified: 2024-03-04 02:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_925019.txt,8.76 KB, text/plain)
2024-02-22 08:58 UTC, Einstok Fair
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Einstok Fair 2024-02-19 23:00:02 UTC
$ caja

(caja:2245): GLib-GObject-CRITICAL **: 01:56:58.758: cannot register existing type 'GTask'

(caja:2245): GLib-GObject-CRITICAL **: 01:56:58.758: cannot register existing type 'GAsyncResult'

(caja:2245): GLib-GObject-CRITICAL **: 01:56:58.758: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(caja:2245): GLib-CRITICAL **: 01:56:58.758: g_once_init_leave: assertion 'result != 0' failed

(caja:2245): GLib-GObject-CRITICAL **: 01:56:58.758: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(caja:2245): GLib-CRITICAL **: 01:56:58.758: g_once_init_leave: assertion 'result != 0' failed

(caja:2245): GLib-GObject-CRITICAL **: 01:56:58.758: cannot retrieve class for invalid (unclassed) type '<invalid>'

(caja:2245): GLib-GObject-CRITICAL **: 01:56:58.758: cannot register existing type 'GInputStream'

(caja:2245): GLib-GObject-CRITICAL **: 01:56:58.758: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(caja:2245): GLib-CRITICAL **: 01:56:58.758: g_once_init_leave: assertion 'result != 0' failed

(caja:2245): GLib-GObject-CRITICAL **: 01:56:58.758: g_type_register_static: assertion 'parent_type > 0' failed

(caja:2245): GLib-GObject-CRITICAL **: 01:56:58.759: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(caja:2245): GLib-GObject-CRITICAL **: 01:56:58.759: cannot register existing type 'GSeekable'

(caja:2245): GLib-GObject-CRITICAL **: 01:56:58.759: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(caja:2245): GLib-CRITICAL **: 01:56:58.759: g_once_init_leave: assertion 'result != 0' failed

(caja:2245): GLib-GObject-CRITICAL **: 01:56:58.759: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(caja:2245): GLib-GObject-CRITICAL **: 01:56:58.759: cannot register existing type 'GPollableInputStream'

(hangs here).

Reproducible: Always



Expected Results:  
caja should start normally

# emerge -av1 dev-libs/glib  ~x11-libs/gtk+-2.24.33 ~x11-libs/gtk+-3.24.38 caja

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 9.54 s.

[ebuild   R    ] dev-libs/glib-2.76.4:2::gentoo  USE="dbus elf gtk-doc (mime) static-libs sysprof test xattr -debug (-selinux) -systemtap -utils" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] x11-libs/gtk+-3.24.38:3::gentoo  USE="X colord cups introspection sysprof wayland (-aqua) -broadway -cloudproviders -examples -gtk-doc -test -vim-syntax -xinerama" ABI_X86="(64) -32 (-x32)" 12 108 KiB
[ebuild   R    ] x11-libs/gtk+-2.24.33-r3:2::gentoo  USE="cups introspection (-aqua) -examples -test -vim-syntax -xinerama" ABI_X86="(64) -32 (-x32)" 12 366 KiB
[ebuild   R    ] mate-base/caja-1.26.3::gentoo  USE="introspection mate nls xmp" 0 KiB

Total: 4 packages (4 reinstalls), Size of downloads: 24 473 KiB

Would you like to merge these packages? [Yes/No]

$ find /usr/lib64 -iname libgobject-2.0* | xargs file | sort
/usr/lib64/libgobject-2.0.a:           current ar archive
/usr/lib64/libgobject-2.0.so.0.7600.4: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
/usr/lib64/libgobject-2.0.so.0:        symbolic link to libgobject-2.0.so.0.7600.4
/usr/lib64/libgobject-2.0.so:          symbolic link to libgobject-2.0.so.0

$ ls -1la /usr/lib64/libgobject-2.0.so.0.7600.4
-rwxr-xr-x 1 root root 392296 2024-02-20 01:28:36.565201202 +0300 /usr/lib64/libgobject-2.0.so.0.7600.4
Comment 1 Einstok Fair 2024-02-19 23:30:21 UTC
$ gdb /usr/bin/caja /var/lib/systemd/coredump/core.caja.1000.9172dd8f0f08493fb4e464c9cce6cf64.4370.1708384691000000
GNU gdb (Gentoo 12.1 vanilla) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/caja...
Reading symbols from /usr/lib/debug//usr/bin/caja.debug...
(No debugging symbols found in /usr/lib/debug//usr/bin/caja.debug)
[New LWP 4370]
[New LWP 4371]
[New LWP 4372]
[New LWP 4373]
bt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `caja'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0  0x00007f95f35a94f1 in g_logv () from /usr/lib64/libglib-2.0.so.0
[Current thread is 1 (Thread 0x7f95eff5ca00 (LWP 4370))]
(gdb) bt
#0  0x00007f95f35a94f1 in g_logv () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f95f35a977f in g_log () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f95f36c5f7d in check_type_name_I () at /usr/lib64/libgobject-2.0.so.0
#3  0x00007f95f36c624f in g_type_register_static () at /usr/lib64/libgobject-2.0.so.0
#4  0x00007f95f36c64a4 in g_type_register_static_simple () at /usr/lib64/libgobject-2.0.so.0
#5  0x00007f95f37a24bd in g_task_get_type_once () at /usr/lib64/libgio-2.0.so.0
#6  0x00007f95f37a289d in g_task_get_type () at /usr/lib64/libgio-2.0.so.0
#7  0x00007f95f380dab9 in _g_dbus_initialize.part.0 () at /usr/lib64/libgio-2.0.so.0
#8  0x00007f95f37fb4f3 in g_bus_get () at /usr/lib64/libgio-2.0.so.0
#9  0x00007f95f3807a5d in g_bus_own_name () at /usr/lib64/libgio-2.0.so.0
#10 0x0000558701ab00ef in caja_freedesktop_dbus_init ()
#11 0x00007f95f36c6fe1 in g_type_create_instance () at /usr/lib64/libgobject-2.0.so.0
#12 0x00007f95f36aaf10 in g_object_new_internal () at /usr/lib64/libgobject-2.0.so.0
#13 0x00007f95f36ac63c in g_object_new_with_properties () at /usr/lib64/libgobject-2.0.so.0
#14 0x00007f95f36ad241 in g_object_new () at /usr/lib64/libgobject-2.0.so.0
#15 0x0000558701ab0565 in caja_freedesktop_dbus_new ()
#16 0x0000558701aa39a6 in caja_application_startup ()
#17 0x00007f95f36a5649 in _g_closure_invoke_va () at /usr/lib64/libgobject-2.0.so.0
#18 0x00007f95f36bed5f in g_signal_emit_valist () at /usr/lib64/libgobject-2.0.so.0
#19 0x00007f95f36bef5f in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#20 0x00007f95f466e752 in g_application_register () at /usr/lib64/libgailutil-3.so.0
#21 0x0000558701aa4995 in caja_application_local_command_line ()
#22 0x00007f95f466ee70 in g_application_run () at /usr/lib64/libgailutil-3.so.0
#23 0x0000558701aa20b1 in main ()
Comment 2 Einstok Fair 2024-02-20 14:58:36 UTC
$ echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus


$ dbus-monitor | grep -E -A 5 "(serial=18$)|(serial=19$)|(serial=20$)|(serial=21$)"
error time=1708440423.156772 sender=org.freedesktop.DBus -> destination=:1.101 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=18
   string "The name org.gnome.SessionManager was not provided by any .service files"
method call time=1708440423.158325 sender=:1.101 -> destination=org.freedesktop.DBus serial=19 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.gnome.SessionManager"
method return time=1708440423.158335 sender=org.freedesktop.DBus -> destination=:1.101 serial=19 reply_serial=19
   string ":1.6"
method call time=1708440423.159810 sender=:1.101 -> destination=:1.6 serial=20 path=/org/gnome/SessionManager/Client48; interface=org.freedesktop.DBus.Properties; member=GetAll
   string "org.gnome.SessionManager.ClientPrivate"
error time=1708440423.159974 sender=:1.6 -> destination=:1.101 error_name=org.freedesktop.DBus.Error.UnknownMethod reply_serial=20
   string "Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist

https://github.com/mate-desktop/mate-session-manager/blob/master/mate-session/org.gnome.SessionManager.xml#L4

all these calls return, but why caja hangs after
[pid 39215] futex(0x7f3c9a930698, FUTEX_WAIT_PRIVATE, 341, NULLGetAll
is still unclear...
Comment 3 immolo 2024-02-21 08:36:04 UTC
Thanks for reporting, could you send over your emerge --info to help with debugging.
Comment 4 Einstok Fair 2024-02-22 08:58:03 UTC
Created attachment 885677 [details]
emerge --info
Comment 5 Greg Kubaryk 2024-02-22 23:08:20 UTC
You haven't synced in almost three months; might be worth considering an up to date system before filing a bug.