Bug 324979 - system settings shouldn't crash if touchpad module crashes
Summary: system settings shouldn't crash if touchpad module crashes
Status: RESOLVED INTENTIONAL
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_mouse (show other bugs)
Version: 4.11.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-17 01:55 UTC by Aaron Peterson
Modified: 2013-09-17 10:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Peterson 2013-09-17 01:55:33 UTC
This bug:Bug 285857 says the bug I am reporting for 4.11.1 is resolved downstream.

We need to make a new setting:  UNresolved, downstream  So it shows up when I search for the bug!


Application: systemsettings (4.11.00)
KDE Platform Version: 4.11.1
Qt Version: 4.8.4
Operating System: Linux 3.11.0-4-generic x86_64
Distribution: Ubuntu Saucy Salamander (development branch)

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcb8faeb7c0 (LWP 2448))]

Thread 4 (Thread 0x7fcb72be1700 (LWP 2449)):
#0  0x00007fcb8cad7b1d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fcb85a7c7f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb85a3d0ec in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb85a3d55b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcb85a3d6cc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcb8d25ea76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fcb8d2305ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fcb8d2308e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fcb8d12f88f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fcb8d211d13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007fcb8d131f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007fcb85f15f6e in start_thread (arg=0x7fcb72be1700) at pthread_create.c:311
#12 0x00007fcb8cae5e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fcb71f60700 (LWP 2450)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fcb8d1323e4 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fcb8d1258a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fcb8d131f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fcb85f15f6e in start_thread (arg=0x7fcb71f60700) at pthread_create.c:311
#5  0x00007fcb8cae5e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fcb7175f700 (LWP 2451)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fcb8d1323e4 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fcb8d1258a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fcb8d131f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fcb85f15f6e in start_thread (arg=0x7fcb7175f700) at pthread_create.c:311
#5  0x00007fcb8cae5e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fcb8faeb7c0 (LWP 2448)):
[KCrash Handler]
#5  0x00007fcb8d238110 in QMetaObject::cast(QObject*) const () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fcb8f1fc860 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /usr/lib/libkcmutils.so.4
#7  0x00007fcb8f201a9b in ?? () from /usr/lib/libkcmutils.so.4
#8  0x00007fcb8f2021b5 in KCModuleProxy::realModule() const () from /usr/lib/libkcmutils.so.4
#9  0x00007fcb8f2025b3 in KCModuleProxy::showEvent(QShowEvent*) () from /usr/lib/libkcmutils.so.4
#10 0x00007fcb8deed0b9 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007fcb8de9ddfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007fcb8dea4470 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007fcb8eba79aa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#14 0x00007fcb8d2318bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007fcb8deea80f in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007fcb8deea67a in QWidgetPrivate::showChildren(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007fcb8deea70f in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007fcb8deec4c4 in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007fcb8deea68e in QWidgetPrivate::showChildren(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007fcb8deea70f in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007fcb8deec4c4 in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007fcb8ded0342 in QStackedLayout::setCurrentIndex(int) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007fcb8ebd380e in ?? () from /usr/lib/libkdeui.so.5
#24 0x00007fcb8d245a58 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007fcb8e3e5c47 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007fcb8e3eb277 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007fcb8e3eba83 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007fcb8ebd634c in ?? () from /usr/lib/libkdeui.so.5
#29 0x00007fcb8e3bb990 in QListView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007fcb8e397e6a in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007fcb8deed191 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007fcb8e28e5ce in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007fcb8e39d6b3 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007fcb8d231a26 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00007fcb8de9dddc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007fcb8dea45ad in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007fcb8eba79aa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#38 0x00007fcb8d2318bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007fcb8dea3d63 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#40 0x00007fcb8df187db in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007fcb8df18079 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x00007fcb8df3f922 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#43 0x00007fcb85a3d2d6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fcb85a3d628 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fcb85a3d6cc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fcb8d25ea55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#47 0x00007fcb8df3f9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#48 0x00007fcb8d2305ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#49 0x00007fcb8d2308e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#50 0x00007fcb8d235e5b in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#51 0x000000000040aadb in ?? ()
#52 0x00007fcb8ca0dde5 in __libc_start_main (main=0x40a6d0, argc=1, ubp_av=0x7fffcb1a1708, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffcb1a16f8) at libc-start.c:260
#53 0x000000000040ab31 in _start ()

Report to https://bugs.kde.org/

Reproducible: Always

Steps to Reproduce:
1. I'm on virtualbox, using kubuntu 13.10beta1
2. I have it set up with apcio... and two cpus.. donno if that matters, and I have a few other hardware acceleration options enabled.
3. click on touchpad within the mouse module
Actual Results:  
crash

Expected Results:  
if it really is a downstream problem, there should be a message telling me that there is a known bug with synoptics drivers, and give me the contact information for them.

It should also not crash the whole program.

Handle crashes well.
Comment 1 Christoph Feck 2013-09-17 10:52:56 UTC
I know what you mean, but "resolved" means: KDE developers do not need to take any further actions, either because the bug is fixed, or has to be fixed elsewhere.

Regarding your other suggestions: The crashes should simply get fixed. No further code will be added to "handle" them, except what's already done by DrKonqi.