Bug 381443

Summary: Crash when searching for "smaller than"
Product: [Applications] kcharselect Reporter: Louis Moureaux <m_louis30>
Component: generalAssignee: Christoph Feck <cfeck>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 1.13   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Louis Moureaux 2017-06-20 13:57:46 UTC
Application: kcharselect (1.13)

Qt Version: 5.9.0
Frameworks Version: 5.35.0
Operating System: Linux 4.8.0-34-generic x86_64
Distribution: KDE neon User Edition 5.10

-- Information about the crash:
- What I was doing when the application crashed:
I was typing "smaller than" in the search bar and got to "sma". Kcharselect crashed when typing the "l".

The crash can be reproduced every time.

-- Backtrace:
Application: KCharSelect (kcharselect), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f94e7cb58c0 (LWP 30991))]

Thread 4 (Thread 0x7f94c6283700 (LWP 30994)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f94e55e13a6 in QWaitConditionPrivate::wait_relative (time=30000, this=0x1412b10) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=30000, this=0x1412b10) at thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x13d8df0, mutex=mutex@entry=0x1412860, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f94e55dcbea in QThreadPoolThread::run (this=0x13d8de0) at thread/qthreadpool.cpp:133
#5  0x00007f94e55e0509 in QThreadPrivate::start (arg=0x13d8de0) at thread/qthread_unix.cpp:368
#6  0x00007f94e2fba6ba in start_thread (arg=0x7f94c6283700) at pthread_create.c:333
#7  0x00007f94e4eee3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f94cecd1700 (LWP 30993)):
#0  0x00007f94e4ede24d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f94e11ec6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f94e11a8e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f94e11a9330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f94e11a949c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f94e5802adb in QEventDispatcherGlib::processEvents (this=0x7f94c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f94e57ac30a in QEventLoop::exec (this=this@entry=0x7f94cecd0cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f94e55dbaf4 in QThread::exec (this=this@entry=0x7f94e7e31da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#8  0x00007f94e7dbbb75 in QDBusConnectionManager::run (this=0x7f94e7e31da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#9  0x00007f94e55e0509 in QThreadPrivate::start (arg=0x7f94e7e31da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#10 0x00007f94e2fba6ba in start_thread (arg=0x7f94cecd1700) at pthread_create.c:333
#11 0x00007f94e4eee3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f94d85bd700 (LWP 30992)):
#0  0x00007f94e4ee270d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f94e0ac1c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f94e0ac38d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f94dab151f9 in QXcbEventReader::run (this=0x12875e0) at qxcbconnection.cpp:1322
#4  0x00007f94e55e0509 in QThreadPrivate::start (arg=0x12875e0) at thread/qthread_unix.cpp:368
#5  0x00007f94e2fba6ba in start_thread (arg=0x7f94d85bd700) at pthread_create.c:333
#6  0x00007f94e4eee3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f94e7cb58c0 (LWP 30991)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x177bbbf7) at /usr/include/c++/5/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=0x177bbbf7) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:102
#9  QWeakPointer<QObject>::data (this=0x1e0b398) at ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:565
#10 QPointer<QAbstractItemView>::data (this=0x1e0b398) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:86
#11 QPointer<QAbstractItemView>::operator QAbstractItemView* (this=0x1e0b398) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:92
#12 QAccessibleTableCell::rect (this=0x1e0b380) at accessible/itemviews.cpp:1054
#13 0x00007f94e65e2f0c in QAccessibleTableCell::state (this=0x1e0b380) at accessible/itemviews.cpp:1016
#14 0x00007f94dab93b86 in AtSpiAdaptor::notify (this=0x1780030, event=<optimized out>) at atspiadaptor.cpp:1065
#15 0x00007f94e662f089 in QTableView::selectionChanged (this=0x140f1e0, selected=..., deselected=...) at itemviews/qtableview.cpp:3344
#16 0x00007f94e65fbc41 in QAbstractItemView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qabstractitemview.cpp:414
#17 0x00007f94e57da0c9 in QMetaObject::activate (sender=sender@entry=0x1352ce0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc7ef85280) at kernel/qobject.cpp:3766
#18 0x00007f94e57da9d7 in QMetaObject::activate (sender=sender@entry=0x1352ce0, m=m@entry=0x7f94e5a67ee0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc7ef85280) at kernel/qobject.cpp:3628
#19 0x00007f94e575d727 in QItemSelectionModel::selectionChanged (this=this@entry=0x1352ce0, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:480
#20 0x00007f94e57621eb in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x1352ce0, newSelection=..., oldSelection=...) at itemmodels/qitemselectionmodel.cpp:1839
#21 0x00007f94e5765112 in QItemSelectionModel::select (this=0x1352ce0, selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1326
#22 0x00007f94e575f66c in QItemSelectionModel::select (this=this@entry=0x1352ce0, index=..., command=command@entry=...) at itemmodels/qitemselectionmodel.cpp:1187
#23 0x00007f94e575db74 in QItemSelectionModel::setCurrentIndex (this=0x1352ce0, index=..., command=...) at itemmodels/qitemselectionmodel.cpp:1401
#24 0x00007f94e65f5689 in QAbstractItemView::setCurrentIndex (this=<optimized out>, index=...) at itemviews/qabstractitemview.cpp:1085
#25 0x00007f94e6da11e8 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#26 0x00007f94e6da3f1c in KCharSelect::KCharSelectPrivate::_k_search() () from /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#27 0x00007f94e6da40e8 in KCharSelect::KCharSelectPrivate::_k_searchEditChanged() () from /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#28 0x00007f94e6da7bf1 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#29 0x00007f94e57da0c9 in QMetaObject::activate (sender=0x131d130, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc7ef857f0) at kernel/qobject.cpp:3766
#30 0x00007f94e57da9d7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f94e688a240 <QLineEdit::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc7ef857f0) at kernel/qobject.cpp:3628
#31 0x00007f94e64db272 in QLineEdit::textChanged (this=<optimized out>, _t1=...) at .moc/moc_qlineedit.cpp:431
#32 0x00007f94e64e17f9 in QLineEdit::qt_static_metacall (_o=0x131d130, _c=<optimized out>, _id=<optimized out>, _a=0x7ffc7ef85990) at .moc/moc_qlineedit.cpp:250
#33 0x00007f94e57da0c9 in QMetaObject::activate (sender=sender@entry=0x1321f50, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc7ef85990) at kernel/qobject.cpp:3766
#34 0x00007f94e57da9d7 in QMetaObject::activate (sender=sender@entry=0x1321f50, m=m@entry=0x7f94e6892500 <QWidgetLineControl::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc7ef85990) at kernel/qobject.cpp:3628
#35 0x00007f94e655a275 in QWidgetLineControl::textChanged (this=this@entry=0x1321f50, _t1=...) at .moc/moc_qwidgetlinecontrol_p.cpp:258
#36 0x00007f94e655d6b6 in QWidgetLineControl::finishChange (this=this@entry=0x1321f50, validateFromState=6, update=update@entry=false, edited=edited@entry=true) at widgets/qwidgetlinecontrol.cpp:733
#37 0x00007f94e655f785 in QWidgetLineControl::insert (this=this@entry=0x1321f50, newText=...) at widgets/qwidgetlinecontrol.cpp:268
#38 0x00007f94e6560a35 in QWidgetLineControl::processKeyEvent (this=0x1321f50, event=event@entry=0x7ffc7ef86040) at widgets/qwidgetlinecontrol.cpp:1933
#39 0x00007f94e64db3ca in QLineEdit::keyPressEvent (this=0x131d130, event=0x7ffc7ef86040) at widgets/qlineedit.cpp:1702
#40 0x00007f94e63eee47 in QWidget::event (this=this@entry=0x131d130, event=event@entry=0x7ffc7ef86040) at kernel/qwidget.cpp:8829
#41 0x00007f94e64e0fb9 in QLineEdit::event (this=0x131d130, e=0x7ffc7ef86040) at widgets/qlineedit.cpp:1465
#42 0x00007f94e63ad3fc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x131d130, e=0x7ffc7ef86040) at kernel/qapplication.cpp:3717
#43 0x00007f94e63b6736 in QApplication::notify (this=0x7ffc7ef86490, receiver=0x131d130, e=0x7ffc7ef86040) at kernel/qapplication.cpp:3111
#44 0x00007f94e57ae128 in QCoreApplication::notifyInternal2 (receiver=0x131d130, event=0x7ffc7ef86040) at kernel/qcoreapplication.cpp:1018
#45 0x00007f94e640ae7b in QWidgetWindow::event (this=0x15fb9f0, event=0x7ffc7ef86040) at kernel/qwidgetwindow.cpp:232
#46 0x00007f94e63ad3fc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x15fb9f0, e=0x7ffc7ef86040) at kernel/qapplication.cpp:3717
#47 0x00007f94e63b4e07 in QApplication::notify (this=0x7ffc7ef86490, receiver=0x15fb9f0, e=0x7ffc7ef86040) at kernel/qapplication.cpp:3476
#48 0x00007f94e57ae128 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x15fb9f0, event=event@entry=0x7ffc7ef86040) at kernel/qcoreapplication.cpp:1018
#49 0x00007f94e5e34158 in QCoreApplication::sendSpontaneousEvent (event=0x7ffc7ef86040, receiver=0x15fb9f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#50 QGuiApplicationPrivate::processKeyEvent (e=0x17b2820) at kernel/qguiapplication.cpp:2062
#51 0x00007f94e5e394f5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x17b2820) at kernel/qguiapplication.cpp:1726
#52 0x00007f94e5e13ceb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:938
#53 0x00007f94dab73990 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:77
#54 0x00007f94e11a9197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f94e11a93f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f94e11a949c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f94e5802abf in QEventDispatcherGlib::processEvents (this=0x12c5420, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#58 0x00007f94e57ac30a in QEventLoop::exec (this=this@entry=0x7ffc7ef86350, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#59 0x00007f94e57b4db4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291
#60 0x00000000004076d0 in ?? ()
#61 0x00007f94e4e07830 in __libc_start_main (main=0x406eb0, argc=3, argv=0x7ffc7ef865c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc7ef865b8) at ../csu/libc-start.c:291
#62 0x0000000000407749 in _start ()

Possible duplicates by query: bug 372712.

Reported using DrKonqi
Comment 1 Christoph Feck 2017-06-20 14:49:32 UTC

*** This bug has been marked as a duplicate of bug 374933 ***