[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
** Changed in: gnome-desktop Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933022 Title: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-desktop/+bug/1933022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
Fixed in 40.2-1ubuntu1. ** Changed in: gnome-desktop3 (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933022 Title: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-desktop/+bug/1933022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
This bug was fixed in the package gnome-desktop3 - 3.38.5-1ubuntu2~21.04.2 --- gnome-desktop3 (3.38.5-1ubuntu2~21.04.2) hirsute; urgency=medium * d/p/xkbinfo-only-insert-new-layouts-skip-over-duplicate-ones.patch: Fix segfault when adding input sources while show-all-sources is "true" (LP: #1933022). -- Gunnar Hjalmarsson Mon, 05 Jul 2021 02:56:31 +0200 ** Changed in: gnome-desktop3 (Ubuntu Hirsute) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933022 Title: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-desktop/+bug/1933022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
Successfully carried out the steps in the test plan using version 3.38.5-1ubuntu2~21.04.2 of libgnome-desktop-3-19 from hirsute-proposed. ** Tags removed: verification-needed verification-needed-hirsute ** Tags added: verification-done verification-done-hirsute -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933022 Title: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-desktop/+bug/1933022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
Hello Shibasish, or anyone else affected, Accepted gnome-desktop3 into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome- desktop3/3.38.5-1ubuntu2~21.04.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: gnome-desktop3 (Ubuntu Hirsute) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-hirsute -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933022 Title: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-desktop/+bug/1933022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
** Changed in: gnome-desktop3 (Debian) Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933022 Title: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-desktop/+bug/1933022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
** Also affects: gnome-desktop3 (Ubuntu Hirsute) Importance: Undecided Status: New ** Changed in: gnome-desktop3 (Ubuntu Hirsute) Importance: Undecided => High ** Changed in: gnome-desktop3 (Ubuntu Hirsute) Status: New => In Progress ** Changed in: gnome-desktop3 (Ubuntu Hirsute) Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj) ** Description changed: + [Impact] + + If the dconf key show-all-sources is "true", any attempt to add new + input sources via Settings results in a segfault. It means that users + can't make use of the so-called "exotic" XKB keyboard layouts. + + The proposed upload includes a cherry picked upstream commit which fixes + the issue. + + [Test Plan] + + 1. Enable show-all-sources: + +gsettings set org.gnome.desktop.input-sources show-all-sources true + + 2. Select Settings -> Region & Language and click the + button to add +an input source. + + -> Find that g-c-c crashes. + + 3. Install the gnome-desktop3 binaries from hirsute-proposed. + + 4. Repeat step 2. + + -> Find that you are able to add an input source. + + [Where problems could occur] + + The change is a targeted fix to address the issue at hand. It was + committed upstream on April 22, and no reported regression. + + [Original description] + I've been facing the problems for about 9 months now. Back then I thought that maybe getting a new version would solve the problem, but turns out it didn't. Whenever I try to add some Input Sources from it just crashes. Reproducing it is very easy: running gnome-control-center, then going to Input Sources settings and clicking Add(+) would generate the crash. But the weird thing is that I've been unable to reproduce it in VM. And I also tried to reinstall most of the packages which, I think if changed/misconfigured would cause this but it didn't help. I also tried to use debsums to give some clues but didn't find any. After enough digging, this is what I can retrieve from gdb: - #0 g_str_hash (v=0x506) at ../../../glib/ghash.c:2333 - p = 0x506 - h = 5381 + p = 0x506 + h = 5381 #1 0x77c6e174 in g_hash_table_lookup_node (hash_return=, key=0x506, hash_table=0x563a6180 = {...}) at ../../../glib/ghash.c:472 - node_hash = - hash_value = - have_tombstone = 0 - step = 0 - node_index = - first_tombstone = 0 - node_hash = - __func__ = "g_hash_table_lookup_extended" + node_hash = + hash_value = + have_tombstone = 0 + step = 0 + node_index = + first_tombstone = 0 + node_hash = + __func__ = "g_hash_table_lookup_extended" #2 g_hash_table_lookup_extended (hash_table=0x563a6180 = {...}, lookup_key=lookup_key@entry=0x506, orig_key=orig_key@entry=0x0, value=value@entry=0x7fffcbb0) at ../../../glib/ghash.c:1548 - node_hash = - __func__ = "g_hash_table_lookup_extended" + node_hash = + __func__ = "g_hash_table_lookup_extended" #3 0x76f03013 in gnome_xkb_info_get_layout_info (self=, id=id@entry=0x506 , display_name=display_name@entry=0x7fffcc10, short_name=short_name@entry=0x0, xkb_layout=xkb_layout@entry=0x0, xkb_variant=xkb_variant@entry=0x0) at ../libgnome-desktop/gnome-xkb-info.c:1042 - priv = 0x56395600 - layout = 0x76262ba0 - __func__ = "gnome_xkb_info_get_layout_info" + priv = 0x56395600 + layout = 0x76262ba0 + __func__ = "gnome_xkb_info_get_layout_info" #4 0x555fe467 in input_source_row_new (self=self@entry=0x568d22b0, type=type@entry=0x556dcac3 "xkb", id=id@entry=0x506 ) at ../panels/keyboard/cc-input-chooser.c:236 - display_name = 0x0 - row = 0x0 - widget = + display_name = 0x0 + row = 0x0 + widget = #5 0x555fe81d in add_rows_to_table (self=self@entry=0x568d22b0, info=info@entry=0x56450320, list=0x55c82100 = {...}, list@entry=0x55c8bec0 = {...}, type=type@entry=0x556dcac3 "xkb", default_id=0x0) at ../panels/keyboard/cc-input-chooser.c:723 - table = 0x5677 = {[0x5657bb00 "cm+mmuock"] = 0x56ca91a0, [0x56506340 "us+3l"] = 0x56400920, [0x5656f6f0 "ph+capewell-dvorak"] = 0x56cb6f50, [0x5660caf0 "us+dvorak-l"] = 0x56ca9620, [0x5656cd40 "gb+mac_intl"] = 0x56cb6950, [0x5650de80 "gh+gillbt"] = 0x56cb61d0, [0x56571540 "apl+aplx"] = 0x56ca94a0, [0x565063a0 "us+3l-cros"] = 0x56cb64d0, [0x565062b0 "us+carpalx-full-intl"] = 0x56400aa0, [0x56506070 "us+sun_type6"] = 0x56cb6350, [0x56505f50 "us+drix"] = 0x56ca9320, [0x56506b40 "cm+dvorak"] = 0x56cb6dd0, [0x564faaf0 "us+dvp"] = 0x56cb6650, [0x564faa80 "us+dvorak-classic"] = 0x564004a0, [0x564fad30 "us+olpc2"] =
[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
Thanks, confirmed that setting show-all-sources to true triggers the segfault and that git patch indicated fixes the issue -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933022 Title: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-desktop/+bug/1933022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
So yeah, I finally found a way to reproduce it in any system up until version 40.0-1. Here's how: 1. Using gsettings or dconf editor, changing the /org/gnome/desktop /input-sources/show-all-sources key to true which is in org.gnome.desktop.input-sources schema and then going on to add(+) a new source causes the crash. 2. Alternatively using gui: installing gnome tweaks and then enabling "Show Extended Input Sources" from "Keyboard and Mouse" can generate the same segfault crash. But the good thing is that as you said, there is a fix upstream and apparently it's landed in version 40.1-1 as I've tested it in Fedora 34 vm I've found it working properly. So waiting to find the updated packages in impish-proposed and sorry! there was a miscommunication about the version number. I thought the fix had landed in 40.0-1 but rather it was the version the bug was found. And I have Pre-released updates turned on. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933022 Title: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-desktop/+bug/1933022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
The stack trace is different but that's to be expected in cases like this. That upstream fix landed after version 40.0 so no it won't be included in gnome-desktop3 version 40.0-1. And no release of Ubuntu has any version newer than 3.38.5 yet. ** Also affects: gnome-desktop via https://gitlab.gnome.org/GNOME/gnome-desktop/-/issues/190 Importance: Unknown Status: Unknown ** Changed in: gnome-desktop3 (Ubuntu) Status: Incomplete => New ** Changed in: gnome-desktop3 (Ubuntu) Status: New => Fix Committed ** Tags added: fixed-in-40.2 fixed-upstream -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933022 Title: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-desktop/+bug/1933022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
But seeing the version number seems like that I have the exact same version(40.0-1) installed. So doesn't that mean the patch should be applied already? But nonetheless I would want to try a candidate fix if I get one. And about the bug, I think this is somehow related to dconf database because when I had tried to add a source with a newly created account on the same machine, it did work, didn't crash (Exactly that's why I had been unable to reproduce it in vm). And noticing that I tried resetting few values to default on the dconf database related to ibus and input- sources( and losing some input settings along the way) the bug vanished. So yeah it's fixed for me but I would be following up and will try to analyze exactly which key or keys triggers the bug and will let you know if I find any. Furthermore, I don't know where but I can faintly remember that I saw something along the lines "Tried to access null vma" So that means it's a null pointer related bug too. ** Tags added: dconf gio -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933022 Title: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1933022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
Checking upstream it sounds like it could be https://gitlab.gnome.org/GNOME/gnome-desktop/-/issues/190 fixed by https://gitlab.gnome.org/GNOME/gnome-desktop/-/commit/aa7e3440 ... would you know how to rebuild a package with a patch or would you be able to try a ppa with a candidate fix? ** Package changed: gnome-control-center (Ubuntu) => gnome-desktop3 (Ubuntu) ** Changed in: gnome-desktop3 (Ubuntu) Importance: Undecided => High ** Changed in: gnome-desktop3 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933022 Title: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1933022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
There was a mention of a segfault following the fix from bug #1925792 , sounds like that could be a gnome-desktop issue ** Bug watch added: gitlab.gnome.org/GNOME/gnome-desktop/-/issues #190 https://gitlab.gnome.org/GNOME/gnome-desktop/-/issues/190 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933022 Title: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1933022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933022] Re: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources
I can't find any other reports of such a crash. Please report it to the developers at https://gitlab.gnome.org/GNOME/gnome-control- center/-/issues ** Tags added: impish -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933022 Title: gnome control-center crashed with sigsegv in g_str_hash() whenever I try to add input sources To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1933022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs