Closed vdcow closed 2 years ago
If I build with #297 cinnamon-settings seems to work fine - what sort of error is it?
@mtwebster It crashes with the following backtrace
Thread 1 "cinnamon-settin" received signal SIGSEGV, Segmentation fault.
0x00007fffef6a04b1 in xkl_engine_constructor (type=<optimized out>, n_construct_properties=<optimized out>, construct_properties=<optimized out>) at xklavier.c:669
669 xkl_engine_priv(engine, root_window) = RootWindow(display, scr);
(gdb) bt
#0 0x00007fffef6a04b1 in xkl_engine_constructor (type=<optimized out>, n_construct_properties=<optimized out>, construct_properties=<optimized out>)
at xklavier.c:669
#1 0x00007ffff7712279 in g_object_new_with_custom_constructor (n_params=1, params=0x7fffffffb9e0, class=0x5555566b9c60) at ../gobject/gobject.c:1919
#2 g_object_new_internal (class=class@entry=0x5555566b9c60, params=params@entry=0x7fffffffb9e0, n_params=n_params@entry=1) at ../gobject/gobject.c:2009
#3 0x00007ffff7713acd in g_object_new_valist (object_type=<optimized out>, first_property_name=first_property_name@entry=0x7fffef6ab3bf "display",
var_args=var_args@entry=0x7fffffffbcb0) at ../gobject/gobject.c:2355
#4 0x00007ffff7713fc9 in g_object_new (object_type=<optimized out>, first_property_name=first_property_name@entry=0x7fffef6ab3bf "display")
at ../gobject/gobject.c:1824
#5 0x00007fffef69fefe in xkl_engine_get_instance (display=0x555555d39810) at xklavier.c:230
#6 0x00007fffed54ce74 in setup_xkb_tabs (dialog=0x5555566e1230) at ../panels/region/cinnamon-region-panel-xkb.c:119
#7 0x00007fffed54d345 in cc_region_panel_init (self=0x5555565909d0) at ../panels/region/cc-region-panel.c:92
<not relevant part of backtrace>
I am able to open the keyboard settings (I am still running my build including both PRs). Is there anything else I have to do to reproduce this?
Is your own build crashing or the released binary? Or both?
I am able to open the keyboard settings (I am still running my build including both PRs). Is there anything else I have to do to reproduce this?
Is your own build crashing or the released binary? Or both?
It is my build (I am Cinnamon maintainer in Alt Linux). It is vanilla 5.4.6 + your patches.
Sorry, I have found the issue - I tested the build under the Gnome + Wayland. It works in Cinnamon. Sorry, for noise.
Issue After the update to libgnomekbd 3.28 cinnamon-control-center build fails with the following error
This happens because of the following change
https://gitlab.gnome.org/GNOME/libgnomekbd/-/commit/b85937388ed9aa2a69d5ec842bc94a45e49480fa
Note that existing pull-request https://github.com/linuxmint/cinnamon-control-center/pull/297 fixes the build but doesn't fix the compatibility - cinnamon-settings crashes when loading Keyboard module.