Problem with gnome-settings it doesn't open

I have problems with gnome-settings. It doesn’t open when I press the icon. This is the error that is logged in the syslog log:

Blockquote
==> /var/log/syslog <==
2023-07-16T12:11:36.526727+02:00 eusalud zeitgeist-datah[2439]: zeitgeist-datahub.vala:207: Error during inserting events: GDBus.Error:org.gnome.zeitgeist.EngineError.InvalidArgument: Incomplete event: interpretation, manifestation and actor are required
==> /var/log/user.log <==
2023-07-16T12:11:36.526727+02:00 eusalud zeitgeist-datah[2439]: zeitgeist-datahub.vala:207: Error during inserting events: GDBus.Error:org.gnome.zeitgeist.EngineError.InvalidArgument: Incomplete event: interpretation, manifestation and actor are required
==> /var/log/syslog <==
2023-07-16T12:11:36.571420+02:00 eusalud systemd[1845]: Started app-gnome-org.gnome.Settings-6019.scope - Application launched by gnome-shell.
2023-07-16T12:11:37.414457+02:00 eusalud kernel: [ 710.529045] gnome-control-c[6019]: segfault at 626d7973 ip b6b99ecb sp bf90d7d0 error 6 in libX11.so.6.4.0[b6b6e000+8f000] likely on CPU 0 (core 0, socket 0)
2023-07-16T12:11:37.414472+02:00 eusalud kernel: [ 710.529058] Code: 0c 8b 74 24 20 8b 7c 24 28 8b 6c 24 24 8b 46 6c 8d 14 38 39 56 70 72 37 f7 c7 03 00 00 00 75 6f 89 fa 89 e9 89 46 64 c1 ea 02 <88> 08 66 89 50 02 01 7e 6c 83 46 60 01 75 07 83 86 48 09 00 00 01
2023-07-16T12:11:37.414501+02:00 eusalud gnome-control-c[6019]: invalid cast from ‘GdkWaylandToplevel’ to ‘GdkX11Surface’
==> /var/log/kern.log <==
2023-07-16T12:11:37.414457+02:00 eusalud kernel: [ 710.529045] gnome-control-c[6019]: segfault at 626d7973 ip b6b99ecb sp bf90d7d0 error 6 in libX11.so.6.4.0[b6b6e000+8f000] likely on CPU 0 (core 0, socket 0)
2023-07-16T12:11:37.414472+02:00 eusalud kernel: [ 710.529058] Code: 0c 8b 74 24 20 8b 7c 24 28 8b 6c 24 24 8b 46 6c 8d 14 38 39 56 70 72 37 f7 c7 03 00 00 00 75 6f 89 fa 89 e9 89 46 64 c1 ea 02 <88> 08 66 89 50 02 01 7e 6c 83 46 60 01 75 07 83 86 48 09 00 00 01
==> /var/log/user.log <==
2023-07-16T12:11:37.414501+02:00 eusalud gnome-control-c[6019]: invalid cast from ‘GdkWaylandToplevel’ to ‘GdkX11Surface’
==> /var/log/syslog <==
2023-07-16T12:11:37.415433+02:00 eusalud gnome-control-c[6019]: invalid cast from ‘GdkWaylandDisplay’ to ‘GdkX11Display’
==> /var/log/user.log <==
2023-07-16T12:11:37.415433+02:00 eusalud gnome-control-c[6019]: invalid cast from ‘GdkWaylandDisplay’ to ‘GdkX11Display’
==> /var/log/syslog <==
2023-07-16T12:11:37.440296+02:00 eusalud systemd[1845]: app-gnome-org.gnome.Settings-6019.scope: Consumed 1.076s CPU time.
<

I would appreciate your help to fix it.
__
jemoro

Ouch. Can you install debug symbols and run the app in gdb to get a backtrace?

$ gdb gnome-control-center
(gdb) backtrace
....
(gdb) quit

I did what you told me and it opens but I don’t know if it was the reason for the solution.

Thanks a lot.
__
Ernesto

No, the command was supposed to investigate the problem, not solve anything.

Settings probably started with a different panel which isn’t affected by the issue.

Where do I look at the gdb log? I have no experience with this. Could you give me any specific instructions on what I should do?

Gah, sorry. I forgot the run command :man_facepalming:

You run gdb with gdb gnome-control-center. You start Settings with run and reproduce the crash. After the crash, you type backtrace.

Here you are:

Blockquote
Starting program: /usr/bin/gnome-control-center
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/i386-linux-gnu/libthread_db.so.1”.
[New Thread 0xaff85b40 (LWP 31853)]
[New Thread 0xaf5ffb40 (LWP 31854)]
(gnome-control-center:31850): Gtk-WARNING **: 21:50:26.460: cannot open display:
[Thread 0xaf5ffb40 (LWP 31854) exited]
[Thread 0xaff85b40 (LWP 31853) exited]
[Inferior 1 (process 31850) exited with code 01]

No, that didn’t reproduce the crash, that was running the app outside a graphical session (or in some way that prevents it from establishing a connection to the display system)

The problem has been solved, the configuration opens.

Thank you anyway

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.