Bug 395742

Summary: KCharSelect crashes on startup
Product: [Applications] kcharselect Reporter: t.schmittlauch
Component: generalAssignee: Christoph Feck <cfeck>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 1.13   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description t.schmittlauch 2018-06-22 11:24:10 UTC
Application: kcharselect (1.13)
 (Compiled from sources)
Qt Version: 5.9.6
Frameworks Version: 5.46.0
Operating System: Linux 4.12.12-gentoo x86_64
Distribution: "Gentoo Base System release 2.4.1"

-- Information about the crash:
- What I was doing when the application crashed:

I just started KCharSelect via KRunner, nothing special so far.

My distribution: Gentoo
Qt-5.9.6
KCharSelect-17.12.3
kde-frameworks-5.46.0

The crash can be reproduced every time.

-- Backtrace:
Application: KCharSelect (kcharselect), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fab28603300 (LWP 18485))]

Thread 4 (Thread 0x7fab06aeb700 (LWP 18488)):
#0  0x00007fab22906d13 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fab06aeac20, expected=0, futex_word=0x55c9e879ee10) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fab06aeacd0, mutex=0x55c9e879edc0, cond=0x55c9e879ede8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x55c9e879ede8, mutex=0x55c9e879edc0, abstime=0x7fab06aeacd0) at pthread_cond_wait.c:667
#3  0x00007fab25879b58 in QWaitConditionPrivate::wait_relative (time=30000, this=0x55c9e879edc0) at thread/qwaitcondition_unix.cpp:133
#4  QWaitConditionPrivate::wait (time=30000, this=0x55c9e879edc0) at thread/qwaitcondition_unix.cpp:141
#5  QWaitCondition::wait (this=this@entry=0x55c9e8725ba0, mutex=mutex@entry=0x55c9e8798e60, time=30000) at thread/qwaitcondition_unix.cpp:215
#6  0x00007fab25874f08 in QThreadPoolThread::run (this=0x55c9e8725b90) at thread/qthreadpool.cpp:144
#7  0x00007fab25879432 in QThreadPrivate::start (arg=0x55c9e8725b90) at thread/qthread_unix.cpp:368
#8  0x00007fab228ff90a in start_thread (arg=0x7fab06aeb700) at pthread_create.c:465
#9  0x00007fab2510933f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fab08209700 (LWP 18487)):
#0  0x00007fab250fd9e4 in __GI___poll (fds=0x7fab00004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fab209339d6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fab00004db0, timeout=<optimized out>, context=0x7fab00000bf0) at /tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:4169
#2  g_main_context_iterate (context=context@entry=0x7fab00000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3863
#3  0x00007fab20933afc in g_main_context_iteration (context=0x7fab00000bf0, may_block=may_block@entry=1) at /tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3929
#4  0x00007fab25a9274b in QEventDispatcherGlib::processEvents (this=0x7fab00000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fab25a37582 in QEventLoop::exec (this=this@entry=0x7fab08208d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fab2587360e in QThread::exec (this=this@entry=0x7fab24953d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#7  0x00007fab246d10a5 in QDBusConnectionManager::run (this=0x7fab24953d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007fab25879432 in QThreadPrivate::start (arg=0x7fab24953d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9  0x00007fab228ff90a in start_thread (arg=0x7fab08209700) at pthread_create.c:465
#10 0x00007fab2510933f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fab161f8700 (LWP 18486)):
#0  0x00007fab250fd9e4 in __GI___poll (fds=0x7fab161f7c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fab1fff585f in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007fab1fff7409 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fab183511d9 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fab25879432 in QThreadPrivate::start (arg=0x55c9e8605950) at thread/qthread_unix.cpp:368
#5  0x00007fab228ff90a in start_thread (arg=0x7fab161f8700) at pthread_create.c:465
#6  0x00007fab2510933f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fab28603300 (LWP 18485)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007fab2503fb7d in __GI_abort () at abort.c:90
#8  0x00007fab25862bcf in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1690
#9  QMessageLogger::fatal (this=this@entry=0x7fffffd06530, msg=msg@entry=0x7fab25ae2748 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:796
#10 0x00007fab2585d89a in qt_assert_x (where=where@entry=0x7fab26cee16b "QVector<T>::operator[]", what=what@entry=0x7fab26ceadbe "index out of range", file=file@entry=0x7fab26ceaf10 "../../include/QtCore/../../src/corelib/tools/qvector.h", line=line@entry=431) at global/qglobal.cpp:3088
#11 0x00007fab26bc46bf in QVector<QHeaderViewPrivate::SectionItem>::operator[] (this=<optimized out>, i=12) at ../../include/QtCore/../../src/corelib/tools/qvector.h:431
#12 0x00007fab26bbddd8 in QHeaderViewPrivate::_q_layoutChanged (this=0x55c9e87570b0) at itemviews/qheaderview.cpp:2171
#13 0x00007fab26bac46b in QAbstractItemView::qt_static_metacall (_o=0x55c9e875cb30, _c=<optimized out>, _id=41, _a=0x7fffffd06730) at .moc/moc_qabstractitemview.cpp:435
#14 0x00007fab25a6746e in QMetaObject::activate (sender=0x55c9e87926b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffffd06730) at kernel/qobject.cpp:3767
#15 0x00007fab25a67bf7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fab25ea36a0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffffd06730) at kernel/qobject.cpp:3629
#16 0x00007fab259df736 in QAbstractItemModel::layoutChanged (this=<optimized out>, _t1=..., _t2=<optimized out>) at .moc/moc_qabstractitemmodel.cpp:582
#17 0x00007fab27580bd2 in KCharSelectItemModel::setColumnCount(int) [clone .part.128] () from /usr/lib64/libKF5WidgetsAddons.so.5
#18 0x00007fab27580fb1 in KCharSelectTablePrivate::_k_resizeCells() () from /usr/lib64/libKF5WidgetsAddons.so.5
#19 0x00007fab27581354 in KCharSelect::KCharSelectPrivate::_k_fontSelected() () from /usr/lib64/libKF5WidgetsAddons.so.5
#20 0x00007fab27586d39 in KCharSelect::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libKF5WidgetsAddons.so.5
#21 0x00007fab25a6746e in QMetaObject::activate (sender=sender@entry=0x55c9e8797260, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fffffd069e0) at kernel/qobject.cpp:3767
#22 0x00007fab25a67bf7 in QMetaObject::activate (sender=sender@entry=0x55c9e8797260, m=m@entry=0x7fab27060bc0 <QComboBox::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fffffd069e0) at kernel/qobject.cpp:3629
#23 0x00007fab26a50005 in QComboBox::currentIndexChanged (this=this@entry=0x55c9e8797260, _t1=...) at .moc/moc_qcombobox.cpp:513
#24 0x00007fab26a524ce in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=this@entry=0x55c9e86e0bd0, index=...) at widgets/qcombobox.cpp:1344
#25 0x00007fab26a53e4d in QComboBoxPrivate::setCurrentIndex (this=this@entry=0x55c9e86e0bd0, mi=...) at widgets/qcombobox.cpp:2158
#26 0x00007fab26a5406f in QComboBox::setCurrentIndex (this=this@entry=0x55c9e8797260, index=index@entry=53) at widgets/qcombobox.cpp:2120
#27 0x00007fab26a80e3a in QFontComboBoxPrivate::_q_updateModel (this=this@entry=0x55c9e86e0bd0) at widgets/qfontcombobox.cpp:360
#28 0x00007fab26a81583 in QFontComboBox::setCurrentFont (this=0x55c9e8797260, font=...) at widgets/qfontcombobox.cpp:518
#29 0x00007fab275813a9 in KCharSelect::setCurrentFont(QFont const&) () from /usr/lib64/libKF5WidgetsAddons.so.5
#30 0x000055c9e72f462b in KCharSelectDia::KCharSelectDia() ()
#31 0x000055c9e72f1cc1 in main ()

Possible duplicates by query: bug 392092, bug 377996, bug 364721.

Reported using DrKonqi
Comment 1 Christoph Feck 2018-06-22 11:44:03 UTC

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