systemsettings crashes when clicking "Keyboard & Mouse"

Bug #551456 reported by Dima Ryazanov
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kcm-touchpad (Ubuntu)
Fix Released
High
Felix Geyer
Lucid
Fix Released
High
Felix Geyer

Bug Description

Binary package hint: kdebase-workspace

systemsettings always crashes when I click "Keyboard & Mouse". Here's the backtrace:

Thread 1 (Thread 0x7fd3df9dc800 (LWP 6540)):
[KCrash Handler]
#5 0x00007fd3cb4d3794 in ?? () from /usr/lib/kde4/kcm_touchpad.so
#6 0x00007fd3df01a0b1 in KCModule::qt_metacall (this=0xebb3e0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xf40310) at
./kcmodule.moc:89
#7 0x00007fd3cb4cfdb0 in ?? () from /usr/lib/kde4/kcm_touchpad.so
#8 0x00007fd3dd679d49 in QObject::event (this=0xebb3e0, e=0xf3ff60) at
kernel/qobject.cpp:1248
#9 0x00007fd3de2b1bdf in QWidget::event (this=0xebb3e0, event=0xf3ff60) at
kernel/qwidget.cpp:8455
#10 0x00007fd3de25c22c in QApplicationPrivate::notify_helper (this=0x9c9750,
receiver=0xebb3e0, e=0xf3ff60) at kernel/qapplication.cpp:4300
#11 0x00007fd3de2626fb in QApplication::notify (this=0x7fff0a90ac80,
receiver=0xebb3e0, e=0xf3ff60) at kernel/qapplication.cpp:4183
#12 0x00007fd3def67516 in KApplication::notify (this=0x7fff0a90ac80,
receiver=0xebb3e0, event=0xf3ff60) at ../../kdeui/kernel/kapplication.cpp:302
#13 0x00007fd3dd66a06c in QCoreApplication::notifyInternal
(this=0x7fff0a90ac80, receiver=0xebb3e0, event=0xf3ff60) at
kernel/qcoreapplication.cpp:704
#14 0x00007fd3dd66c7e7 in QCoreApplication::sendEvent (receiver=0x0,
event_type=<value optimized out>, data=0x9a2cb0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value
optimized out>, data=0x9a2cb0) at kernel/qcoreapplication.cpp:1345
#16 0x00007fd3dd6939d3 in QCoreApplication::sendPostedEvents (s=<value
optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#17 postEventSourceDispatch (s=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:276
#18 0x00007fd3da16d8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007fd3da171748 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007fd3da1718fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#21 0x00007fd3dd693513 in QEventDispatcherGlib::processEvents (this=0x9a27f0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#22 0x00007fd3de30c31e in QGuiEventDispatcherGlib::processEvents
(this=0x7fd3dd1e3e40, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007fd3dd668992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007fd3dd668d6c in QEventLoop::exec (this=0x7fff0a90abd0, flags=) at
kernel/qeventloop.cpp:201
#25 0x00007fd3dd66caab in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#26 0x00000000004110d9 in main (argc=<value optimized out>, argv=<value
optimized out>) at ../../../systemsettings/app/main.cpp:49

I could not find the debug package for the kcm_touchpad.so.

I reported this bug to KDE, but was told to file it here instead: https://bugs.kde.org/show_bug.cgi?id=232656

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: systemsettings 4:4.4.1-0ubuntu7
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
Uname: Linux 2.6.32-16-generic x86_64
NonfreeKernelModules: wl
Architecture: amd64
Date: Mon Mar 29 23:47:51 2010
InstallationMedia: Kubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: kdebase-workspace

Related branches

Revision history for this message
Dima Ryazanov (dima-gmail) wrote :
affects: kdebase-workspace (Ubuntu) → kcm-touchpad (Ubuntu)
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

If this is still an issue for you, could you please press the "install debugging symbols" button in the KDE crash handler, run through the wizard, and paste the new backtrace please? (Hit reload once it's done, to be sure)

Thanks!

Changed in kcm-touchpad (Ubuntu):
status: New → Incomplete
Revision history for this message
Dima Ryazanov (dima-gmail) wrote :

Ok, it installed "systemsettings-dbgsym" and "kcm-touchpad-dbgsym". The backtrace now looks completely different:

Thread 1 (Thread 0x7f1a84bb3760 (LWP 2544)):
[KCrash Handler]
#5 0x00007f1a74d47794 in qvariant_cast<int> (this=0x1496d10) at /usr/include/qt4/QtCore/qvariant.h:572
#6 KConfigGroup::readCheck<int> (this=0x1496d10) at /usr/include/kconfiggroup.h:720
#7 KConfigGroup::readEntry<int> (this=0x1496d10) at /usr/include/kconfiggroup.h:249
#8 TouchpadConfig::load (this=0x1496d10) at /build/buildd/kcm-touchpad-0.3.1/kcmtouchpad.cpp:212
#9 0x00000000015bf170 in ?? ()
#10 0x0000000000000000 in ?? ()

Revision history for this message
Dima Ryazanov (dima-gmail) wrote :

Seems like something went wrong there. I crashed it again, and now it looks more reasonable:

Thread 1 (Thread 0x7fbda74ec760 (LWP 2767)):
[KCrash Handler]
#5 0x00007fbd976808b4 in TouchpadConfig::load (this=0x1c18170) at /build/buildd/kcm-touchpad-0.3.1/kcmtouchpad.cpp:205
#6 0x00007fbda6b291b1 in KCModule::qt_metacall (this=0x1c18170, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1c913b0) at ./kcmodule.moc:89
#7 0x00007fbd9767cde0 in TouchpadConfig::qt_metacall (this=0x7fbda4cf7e40, _c=QMetaObject::InvokeMetaMethod, _id=-32, _a=0x7fbda4a5251d)
    at /build/buildd/kcm-touchpad-0.3.1/obj-x86_64-linux-gnu/kcmtouchpad.moc:113
#8 0x00007fbda518dd49 in QObject::event (this=0x1c18170, e=0x1c91360) at kernel/qobject.cpp:1248
#9 0x00007fbda5dc0bdf in QWidget::event (this=0x1c18170, event=0x1c91360) at kernel/qwidget.cpp:8455
#10 0x00007fbda5d6b22c in QApplicationPrivate::notify_helper (this=0x178aac0, receiver=0x1c18170, e=0x1c91360) at kernel/qapplication.cpp:4300
#11 0x00007fbda5d716fb in QApplication::notify (this=0x7fff3f361aa0, receiver=0x1c18170, e=0x1c91360) at kernel/qapplication.cpp:4183
#12 0x00007fbda6a76526 in KApplication::notify (this=0x7fff3f361aa0, receiver=0x1c18170, event=0x1c91360) at ../../kdeui/kernel/kapplication.cpp:302
#13 0x00007fbda517e06c in QCoreApplication::notifyInternal (this=0x7fff3f361aa0, receiver=0x1c18170, event=0x1c91360) at kernel/qcoreapplication.cpp:704
#14 0x00007fbda51807e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1762c30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1762c30) at kernel/qcoreapplication.cpp:1345
#16 0x00007fbda51a79d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#17 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#18 0x00007fbda1c808c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007fbda1c84748 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007fbda1c848fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007fbda51a7513 in QEventDispatcherGlib::processEvents (this=0x1762770, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#22 0x00007fbda5e1b31e in QGuiEventDispatcherGlib::processEvents (this=0x7fbda4cf7e40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007fbda517c992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007fbda517cd6c in QEventLoop::exec (this=0x7fff3f3619f0, flags=) at kernel/qeventloop.cpp:201
#25 0x00007fbda5180aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#26 0x00000000004110d9 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../systemsettings/app/main.cpp:49

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Could you also paste your ~/.kde/share/config/kcmtouchpadrc please?

Changed in kcm-touchpad (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Medium
Revision history for this message
Pedro Francisco (pedrogfrancisco) wrote :

I opened another bug report because I got confused with the fact there were two threads in my stacktrace, marked it as duplicate [ https://bugs.launchpad.net/ubuntu/+source/kcm-touchpad/+bug/563144 ] once I looked better, sorry for the noise.

Anyway, Kubuntu 32 bits version here, same crash and

LC_ALL=C cat ~/.kde/share/config/kcmtouchpadrc
cat: ~/.kde/share/config/kcmtouchpadrc: No such file or directory

Revision history for this message
Pedro Francisco (pedrogfrancisco) wrote :

Er... It's working now... I don't know why...

Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

I can confirm this bug too.
In my case, it only crash when I open it in an unprivilegied user account (different than the admin user who installed the system).
In the account of the admin user who installed the system, it does not crash.

Changed in kcm-touchpad (Ubuntu Lucid):
importance: Medium → High
tags: added: kubuntu
Changed in kcm-touchpad (Ubuntu Lucid):
milestone: none → ubuntu-10.04
Revision history for this message
Jonathan Riddell (jr) wrote :

No fix known for this currently, moving milestone to -updates for hopeful SRU

Changed in kcm-touchpad (Ubuntu Lucid):
milestone: ubuntu-10.04 → lucid-updates
Felix Geyer (debfx)
Changed in kcm-touchpad (Ubuntu Lucid):
assignee: nobody → Felix Geyer (debfx)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kcm-touchpad - 0.3.1-0ubuntu3

---------------
kcm-touchpad (0.3.1-0ubuntu3) lucid; urgency=low

  [ Felix Geyer ]
  * Add kubuntu_02_load_error_checking.diff (LP: #551456)
  * Add kubuntu_03_fix_high_sensitivity.diff
 -- Scott Kitterman <email address hidden> Sat, 24 Apr 2010 10:20:55 -0400

Changed in kcm-touchpad (Ubuntu Lucid):
status: Triaged → Fix Released
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

The situations that give rise to the crash will still make kcm-touchpad not work (interface will be disabled), but it shouldn't crash System Settings anymore.

Give Felix a high five. :)

Revision history for this message
Daniel Hahler (blueyed) wrote :

Thanks, Felix.

Has this been forwarded upstream?

Changed in kcm-touchpad (Ubuntu Lucid):
milestone: lucid-updates → none
Changed in kcm-touchpad (Ubuntu):
milestone: lucid-updates → none
Revision history for this message
Felix Geyer (debfx) wrote :

Forgot to do that, thanks for reminding me.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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