Onboard crashes on Keyboard remove/connect

Bug #1917295 reported by RunningX
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Onboard
New
Undecided
Unassigned

Bug Description

Every time i connect or disconnect my Keyboard, onboard crashes
Start Onboard via console show me on connect or diconnect:

[1] 22094 segmentation fault (core dumped) onboard

It works great over month till this happend at one point.

Manjaro plasma KDE 5.21 on Surface Go2

Revision history for this message
Ulrik Haugen (qha) wrote :

I get a problem with the same symptom on a fresh install of Debian 12 (bookworm) with Sawfish and Xfce on a Surface pro 3. Running onboard with faulthandler and then disconnecting the type cover (keyboard and trackpad) produces this:

% python3 -X faulthandler /usr/bin/onboard
Fatal Python error: Segmentation fault

Thread 0x00007f94151a46c0 (most recent call first):
  File "/usr/lib/python3/dist-packages/Onboard/HardwareSensorTracker.py", line 255 in _run
  File "/usr/lib/python3.11/threading.py", line 975 in run
  File "/usr/lib/python3.11/threading.py", line 1038 in _bootstrap_inner
  File "/usr/lib/python3.11/threading.py", line 995 in _bootstrap

Current thread 0x00007f941a5f1740 (most recent call first):
  File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 1689 in main
  File "/usr/lib/python3/dist-packages/Onboard/OnboardGtk.py", line 151 in __init__
  File "/usr/bin/onboard", line 36 in <module>

Extension modules: gi._gi, cairo._cairo, gi._gi_cairo, _dbus_bindings, _dbus_glib_bindings, Onboard.osk, pypredict.lm (total: 7)
zsh: segmentation fault (core dumped) python3 -X faulthandler /usr/bin/onboard

% apt-cache show onboard
Package: onboard
Source: onboard (1.4.1-5)
Version: 1.4.1-5+b7
Installed-Size: 1903
Maintainer: Debian+Ubuntu MATE Packaging Team <email address hidden>
Architecture: amd64
Replaces: gnome-shell-extension-onboard
Depends: gir1.2-gdkpixbuf-2.0, gir1.2-glib-2.0, gir1.2-gtk-3.0, gir1.2-pango-1.0 (>= 1.29.3), iso-codes, librsvg2-common, onboard-common (<< 1.4.1-5.1), onboard-common (>= 1.4.1-5), python3-cairo, python3-dbus, python3-gi-cairo, dconf-gsettings-backend | gsettings-backend, python3 (<< 3.12), python3 (>= 3.11~), python3:any, libc6 (>= 2.29), libcairo2 (>= 1.10.0), libcanberra0 (>= 0.2), libdconf1 (>= 0.14.0), libgcc-s1 (>= 3.0), libglib2.0-0 (>= 2.31.8), libgtk-3-0 (>= 3.9.10), libhunspell-1.7-0, libstdc++6 (>= 11), libudev1 (>= 183), libx11-6, libxi6 (>= 2:1.2.99.4), libxkbfile1 (>= 1:1.1.0), libxtst6
Recommends: gir1.2-ayatanaappindicator3-0.1, gir1.2-atspi-2.0, onboard-data (>= 1.4.1-5), xdg-utils
Suggests: mousetweaks (>= 3.3.90)
Breaks: gnome-shell-extension-onboard
Description-en: Simple On-screen Keyboard
 On-screen Keyboard with macros, easy layout creation and word suggestion.
 .
 This on-screen keyboard can be useful for tablet PC users, as well as
 for mobility impaired users.
Description-md5: 992df5dcbe49f556b8ff95ed642f02e7
Homepage: https://launchpad.net/onboard
Tag: uitoolkit::gtk
Section: gnome
Priority: optional
Filename: pool/main/o/onboard/onboard_1.4.1-5+b7_amd64.deb
Size: 356528
MD5sum: b8ac74b52086fb41f9cad3e583851181
SHA256: 93ec4fd7c5a2e206578781d2f23c304e107c0bb0d6d9ae8b4dbbb9feb7d616f8

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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