Onboard crashes the entire desktop (Xorg crashes in _XkbSetMapChecks xkb.c:2387)

Bug #1809737 reported by Josh on 2018-12-25
40
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Onboard
Undecided
Unassigned
X.Org X server
New
Unknown
xorg-server (Ubuntu)
High
Unassigned

Bug Description

Onboard 1.4.1 crashes the entire Desktop if I selected any alternate character from pop-up

[bishop@fringe ~]$ ls /usr/share/xsessions/
xfce.desktop

[bishop@fringe ~]$ echo $XDG_CURRENT_DESKTOP
XFCE

[bishop@fringe ~]$ echo $XDG_SESSION_TYPE
x11

[bishop@fringe ~]$ cat /etc/*-release
Fedora release 29 (Twenty Nine)
NAME=Fedora
VERSION="29 (Twenty Nine)"
ID=fedora
VERSION_ID=29
VERSION_CODENAME=""
PLATFORM_ID="platform:f29"
PRETTY_NAME="Fedora 29 (Twenty Nine)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:29"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f29/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=29
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=29
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
Fedora release 29 (Twenty Nine)
Fedora release 29 (Twenty Nine)

Josh (hotspot12) on 2018-12-25
description: updated
Paweł Szymański (ineedmana) wrote :

I have the same problem. It happens when a character from outside of current layout is chosen. For instance I set `setxkbmap -layout pl`. When choosing "ć" from popup (a character that belongs to "pl" layout) everything is fine. The character gets into text. But choosing something else causes Fluxbox (1.3.7) to segfault (corrupted stack?) in standard library:

Program received signal SIGSEGV, Segmentation fault.
0x00007f73bdbfca31 in std::_Rb_tree_rebalance_for_erase (__z=0x5584f9fe63a0, __header=...) at /build/gcc/src/gcc/libstdc++-v3/src/c++98/tree.cc:144
144 /build/gcc/src/gcc/libstdc++-v3/src/c++98/tree.cc: No such file or directory.
(gdb) bt
#0 0x00007f73bdbfca31 in std::_Rb_tree_rebalance_for_erase (__z=0x5584f9fe63a0, __header=...) at /build/gcc/src/gcc/libstdc++-v3/src/c++98/tree.cc:144
#1 0x00005584f8818e08 in ?? ()
Backtrace stopped: Cannot access memory at address 0x7ffefd853048

handsome_feng (feng-kylin) wrote :

I can reproduce too.

Sebastien Bacher (seb128) wrote :

The Xserver segfault so likely an issue there, I reported it upstream on https://gitlab.freedesktop.org/xorg/xserver/issues/679

Changed in xorg-server (Ubuntu):
importance: Undecided → High
status: New → Triaged
Changed in xorg-server:
status: Unknown → New

Although this bug was reported against Fedora, it sounds like Seb has reproduced it with Ubuntu 19.04.

summary: - Onboard crashes the entire desktop
+ Onboard crashes the entire desktop (Xorg crashes in _XkbSetMapChecks)
tags: added: disco
Angelos Mylonas (amylonas) wrote :

Just a friendly bump.

This bug exists in Slackware too.

Stefan Kuczera (cass00) wrote :

Does anyone have a workaround?

Daniel van Vugt (vanvugt) wrote :
tags: added: bionic
summary: - Onboard crashes the entire desktop (Xorg crashes in _XkbSetMapChecks)
+ Onboard crashes the entire desktop (Xorg crashes in _XkbSetMapChecks
+ xkb.c:2387)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.