Bug 366113 - systemsettings crashes testing touchpad settings
Summary: systemsettings crashes testing touchpad settings
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_touchpad (show other bugs)
Version: 5.17.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 353233 357145 358372 373038 380433 381803 387105 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-26 06:30 UTC by Victor Tran
Modified: 2020-01-22 21:34 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.10.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Tran 2016-07-26 06:30:23 UTC
Application: systemsettings5 (5.7.2)

Qt Version: 5.7.0
Frameworks Version: 5.24.0
Operating System: Linux 4.6.4-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
In System Settings, under Input Devices > Touchpad, in the testing area, there is a folder that you can drag to test touchpad dragging. If you drag it onto itself, then try to start dragging it again, systemsettings crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6da7099800 (LWP 31892))]

Thread 8 (Thread 0x7f6d777fe700 (LWP 31978)):
#0  0x00007f6d9ee9e458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f6da34b3b66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f6da34af274 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f6da34b2d78 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f6d9ee98484 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f6da2dc56dd in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f6d77fff700 (LWP 31977)):
#0  0x00007f6d9ee9e458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f6da34b3b66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f6da34af274 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f6da34b2d78 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f6d9ee98484 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f6da2dc56dd in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f6d7cc25700 (LWP 31976)):
#0  0x00007f6d9ee9e458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f6da34b3b66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f6da34af274 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f6da34b2d78 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f6d9ee98484 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f6da2dc56dd in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f6d7d426700 (LWP 31975)):
#0  0x00007f6d9ee9e458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f6da34b3b66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f6da34af274 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f6da34b2d78 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f6d9ee98484 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f6da2dc56dd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f6d7ee4c700 (LWP 31974)):
#0  0x00007f6da2db872d in read () from /usr/lib/libc.so.6
#1  0x00007f6d9d1dcc80 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f6d9d199ab4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007f6d9d199f74 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f6d9d19a362 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0x00007f6d7f936726 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x00007f6d9d1c02b5 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0x00007f6d9ee98484 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f6da2dc56dd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f6d7f64d700 (LWP 31973)):
#0  0x00007f6da2db872d in read () from /usr/lib/libc.so.6
#1  0x00007f6d9d1dcc80 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f6d9d199ab4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007f6d9d199f74 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f6d9d19a0ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007f6d9d19a131 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0x00007f6d9d1c02b5 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0x00007f6d9ee98484 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f6da2dc56dd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f6d8b059700 (LWP 31899)):
#0  0x00007f6da2dbc6cd in poll () from /usr/lib/libc.so.6
#1  0x00007f6d9d199fd6 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f6d9d19a0ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f6da36e159b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f6da368b0da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f6da34ae0f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f6da3ff5e75 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007f6da34b2d78 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f6d9ee98484 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f6da2dc56dd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f6da7099800 (LWP 31892)):
[KCrash Handler]
#5  0x00007f6da4dddb40 in QStandardItemModel::mimeData(QList<QModelIndex> const&) const () from /usr/lib/libQt5Gui.so.5
#6  0x00007f6da54905bf in ?? () from /usr/lib/libQt5Widgets.so.5
#7  0x00007f6da548ff1f in QListView::startDrag(QFlags<Qt::DropAction>) () from /usr/lib/libQt5Widgets.so.5
#8  0x00007f6da5470316 in QAbstractItemView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#9  0x00007f6da548f807 in QListView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007f6da5262f18 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f6da534a62e in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007f6da5470e03 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007f6da368c9e1 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#14 0x00007f6da521be15 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007f6da522446d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f6da368cc80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#17 0x00007f6da5222b1d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
#18 0x00007f6da527cfc0 in ?? () from /usr/lib/libQt5Widgets.so.5
#19 0x00007f6da527f763 in ?? () from /usr/lib/libQt5Widgets.so.5
#20 0x00007f6da521be3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007f6da52235b1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f6da368cc80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#23 0x00007f6da4a8a0e3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#24 0x00007f6da4a8bc65 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#25 0x00007f6da4a69cbb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#26 0x00007f6d95b2d310 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#27 0x00007f6d9d199dd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f6d9d19a040 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007f6d9d19a0ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f6da36e157f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#31 0x00007f6da368b0da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#32 0x00007f6da36935cc in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#33 0x000000000040c0de in ?? ()
#34 0x00007f6da2cfe741 in __libc_start_main () from /usr/lib/libc.so.6
#35 0x000000000040c159 in _start ()

Possible duplicates by query: bug 358372, bug 357145, bug 353233.

Reported using DrKonqi
Comment 1 Rajeesh K V 2016-07-28 04:25:09 UTC

*** This bug has been marked as a duplicate of bug 346900 ***
Comment 2 Christoph Feck 2017-06-07 17:49:38 UTC
Not a duplicate. Bug 346900 is no segmentation fault, but a floating point exception (most likely divide by zero).
Comment 3 Christoph Feck 2017-06-07 17:50:30 UTC
*** Bug 373038 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2017-06-07 17:51:50 UTC
*** Bug 353233 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2017-06-07 17:52:27 UTC
*** Bug 358372 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2017-06-07 17:52:43 UTC
*** Bug 380433 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2017-06-22 16:31:55 UTC
Git commit 5c3b8c7afa4a00fccd820d1a34975b0791cda257 by Christoph Feck.
Committed on 22/06/2017 at 16:29.
Pushed by cfeck into branch 'Plasma/5.10'.

Fix crashes with 'Drag me' in touchpad test area
Related: bug 346900
FIXED-IN: 5.10.3

Differential Revision: https://phabricator.kde.org/D6334

M  +2    -8    kcms/touchpad/src/kcm/xlib/testarea.cpp
M  +1    -1    kcms/touchpad/src/kcm/xlib/ui/testarea.ui

https://commits.kde.org/plasma-desktop/5c3b8c7afa4a00fccd820d1a34975b0791cda257
Comment 8 Christoph Feck 2017-06-29 21:39:20 UTC
*** Bug 381803 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2017-11-24 00:05:14 UTC
*** Bug 357145 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2017-11-24 00:05:25 UTC
*** Bug 387105 has been marked as a duplicate of this bug. ***