Bug 378283 - KOrganizer crashed when creating new event
Summary: KOrganizer crashed when creating new event
Status: RESOLVED UPSTREAM
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 5.4.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-03-30 16:01 UTC by Dennis Schridde
Modified: 2018-01-31 17:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (13.35 KB, text/plain)
2017-11-20 14:06 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2017-03-30 16:01:45 UTC
Application: korganizer (5.4.3)

Qt Version: 5.7.1
Frameworks Version: 5.32.0
Operating System: Linux 4.8.0-44-generic x86_64
Distribution: KDE neon LTS User Edition 5.8

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

I created a new event with bi-weekly recurrence, reminders 1h and 1d before, and several participants. Upon clicking OK, KOrganizer crashed.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb238828a00 (LWP 22265))]

Thread 10 (Thread 0x7fb216e11700 (LWP 307)):
#0  0x00007fb26779d69d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb2423baf61 in pa_read () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#2  0x00007fb24a8b2a2e in pa_mainloop_prepare () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fb24a8b34a0 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fb24a8b3560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fb24a8c17a9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fb2423e9078 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#7  0x00007fb25fa0c6ba in start_thread (arg=0x7fb216e11700) at pthread_create.c:333
#8  0x00007fb2677ad82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fb207098700 (LWP 32692)):
#0  0x00007fb26779d69d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb2423baf61 in pa_read () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#2  0x00007fb24a8b2a2e in pa_mainloop_prepare () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fb24a8b34a0 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fb24a8b3560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fb24a8c17a9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fb2423e9078 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#7  0x00007fb25fa0c6ba in start_thread (arg=0x7fb207098700) at pthread_create.c:333
#8  0x00007fb2677ad82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fb1fbffe700 (LWP 32623)):
#0  0x00007fb24a8b30e5 in pa_mainloop_dispatch () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#1  0x00007fb24a8b34bc in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007fb24a8b3560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fb24a8c17a9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fb2423e9078 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#5  0x00007fb25fa0c6ba in start_thread (arg=0x7fb1fbffe700) at pthread_create.c:333
#6  0x00007fb2677ad82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fb1fade3700 (LWP 28343)):
#0  0x00007fb2677bbc76 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7fb1fade2920) at ../sysdeps/unix/clock_gettime.c:115
#1  0x00007fb26815c241 in qt_clock_gettime (ts=0x7fb1fade2920, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:109
#2  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:164
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:173
#4  0x00007fb2682d53d9 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fb1b8000db0) at kernel/qtimerinfo_unix.cpp:91
#5  0x00007fb2682d5945 in QTimerInfoList::timerWait (this=0x7fb1b8000db0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#6  0x00007fb2682d6d0e in timerSourcePrepareHelper (timeout=0x7fb1fade29f4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#7  timerSourcePrepare (source=<optimized out>, timeout=0x7fb1fade29f4) at kernel/qeventdispatcher_glib.cpp:165
#8  0x00007fb25dcb291d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fb25dcb32bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fb25dcb349c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fb2682d775b in QEventDispatcherGlib::processEvents (this=0x7fb1b8000c00, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#12 0x00007fb2682820ba in QEventLoop::exec (this=this@entry=0x7fb1fade2bc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#13 0x00007fb2680b1f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#14 0x00007fb2680b6b48 in QThreadPrivate::start (arg=0x22cfba0) at thread/qthread_unix.cpp:368
#15 0x00007fb25fa0c6ba in start_thread (arg=0x7fb1fade3700) at pthread_create.c:333
#16 0x00007fb2677ad82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fb20524d700 (LWP 28266)):
#0  0x00007fb2677a1b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb25dcb338c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb25dcb349c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb2682d775b in QEventDispatcherGlib::processEvents (this=0x7fb1b0021230, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fb2682820ba in QEventLoop::exec (this=this@entry=0x7fb20524cbc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fb2680b1f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007fb2680b6b48 in QThreadPrivate::start (arg=0x1cf6940) at thread/qthread_unix.cpp:368
#7  0x00007fb25fa0c6ba in start_thread (arg=0x7fb20524d700) at pthread_create.c:333
#8  0x00007fb2677ad82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fb2115c3700 (LWP 28203)):
#0  0x00007ffc35ffe939 in ?? ()
#1  0x00007ffc35ffebd6 in clock_gettime ()
#2  0x00007fb2677bbc86 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7fb2115c2920) at ../sysdeps/unix/clock_gettime.c:115
#3  0x00007fb26815c241 in qt_clock_gettime (ts=0x7fb2115c2920, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:109
#4  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:164
#5  qt_gettime () at tools/qelapsedtimer_unix.cpp:173
#6  0x00007fb2682d53d9 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fb1e0000940) at kernel/qtimerinfo_unix.cpp:91
#7  0x00007fb2682d5945 in QTimerInfoList::timerWait (this=0x7fb1e0000940, tm=...) at kernel/qtimerinfo_unix.cpp:388
#8  0x00007fb2682d6d0e in timerSourcePrepareHelper (timeout=0x7fb2115c29f4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#9  timerSourcePrepare (source=<optimized out>, timeout=0x7fb2115c29f4) at kernel/qeventdispatcher_glib.cpp:165
#10 0x00007fb25dcb291d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fb25dcb32bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fb25dcb349c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fb2682d775b in QEventDispatcherGlib::processEvents (this=0x7fb1e0000c00, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#14 0x00007fb2682820ba in QEventLoop::exec (this=this@entry=0x7fb2115c2bc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#15 0x00007fb2680b1f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#16 0x00007fb2680b6b48 in QThreadPrivate::start (arg=0x21db510) at thread/qthread_unix.cpp:368
#17 0x00007fb25fa0c6ba in start_thread (arg=0x7fb2115c3700) at pthread_create.c:333
#18 0x00007fb2677ad82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fb22d153700 (LWP 22270)):
#0  0x00007fb25dcf7a79 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb25dcb3372 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb25dcb349c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb2682d775b in QEventDispatcherGlib::processEvents (this=0x7fb2240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fb2682820ba in QEventLoop::exec (this=this@entry=0x7fb22d152bc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fb2680b1f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007fb2680b6b48 in QThreadPrivate::start (arg=0x1453880) at thread/qthread_unix.cpp:368
#7  0x00007fb25fa0c6ba in start_thread (arg=0x7fb22d153700) at pthread_create.c:333
#8  0x00007fb2677ad82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fb22d954700 (LWP 22268)):
#0  0x00007fb25dcb2961 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb25dcb32bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb25dcb349c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb2682d775b in QEventDispatcherGlib::processEvents (this=0x7fb2200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fb2682820ba in QEventLoop::exec (this=this@entry=0x7fb22d953bc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fb2680b1f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007fb2680b6b48 in QThreadPrivate::start (arg=0x13a5b30) at thread/qthread_unix.cpp:368
#7  0x00007fb25fa0c6ba in start_thread (arg=0x7fb22d954700) at pthread_create.c:333
#8  0x00007fb2677ad82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fb22eb65700 (LWP 22267)):
#0  0x00007fb2680adf69 in std::__atomic_base<QMutexData*>::compare_exchange_strong (__m2=<optimized out>, __m1=std::memory_order_acquire, __p2=<optimized out>, __p1=@0x7fb22eb64968: 0x0, this=0x11b0520) at /usr/include/c++/5/bits/atomic_base.h:752
#1  std::atomic<QMutexData*>::compare_exchange_strong (__m=std::memory_order_acquire, __p2=<optimized out>, __p1=@0x7fb22eb64968: 0x0, this=0x11b0520) at /usr/include/c++/5/atomic:475
#2  QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*> (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, _q_value=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:290
#3  QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, this=0x11b0520) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:259
#4  QBasicMutex::fastTryLock (current=<synthetic pointer>, this=0x11b0520) at thread/qmutex.h:89
#5  QMutex::lock (this=this@entry=0x11b0520) at thread/qmutex.cpp:225
#6  0x00007fb2682d7029 in QMutexLocker::QMutexLocker (m=0x11b0520, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:137
#7  QThreadData::canWaitLocked (this=0x11b04f0) at ../../include/QtCore/5.7.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:253
#8  postEventSourcePrepare (timeout=<synthetic pointer>, s=0x7fb2280012d0) at kernel/qeventdispatcher_glib.cpp:259
#9  postEventSourceCheck (source=0x7fb2280012d0) at kernel/qeventdispatcher_glib.cpp:269
#10 0x00007fb25dcb2dc1 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fb25dcb3330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fb25dcb349c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fb2682d775b in QEventDispatcherGlib::processEvents (this=0x7fb2280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#14 0x00007fb2682820ba in QEventLoop::exec (this=this@entry=0x7fb22eb64b90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#15 0x00007fb2680b1f64 in QThread::exec (this=this@entry=0x7fb26b8c7d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#16 0x00007fb26b853735 in QDBusConnectionManager::run (this=0x7fb26b8c7d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#17 0x00007fb2680b6b48 in QThreadPrivate::start (arg=0x7fb26b8c7d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#18 0x00007fb25fa0c6ba in start_thread (arg=0x7fb22eb65700) at pthread_create.c:333
#19 0x00007fb2677ad82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fb238828a00 (LWP 22265)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::proxy_to_source (proxy_index=..., this=0x23f52b0) at itemmodels/qsortfilterproxymodel.cpp:384
#7  QSortFilterProxyModel::mapToSource (proxyIndex=..., this=0x23f4eb0) at itemmodels/qsortfilterproxymodel.cpp:2758
#8  QSortFilterProxyModelPrivate::store_persistent_indexes (this=this@entry=0x23f52b0) at itemmodels/qsortfilterproxymodel.cpp:1024
#9  0x00007fb26824e503 in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x23f52b0, sourceParents=..., hint=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1354
#10 0x00007fb268252f23 in QSortFilterProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:206
#11 0x00007fb2682aee89 in QMetaObject::activate (sender=sender@entry=0x23f4ad0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffc35ff8cf0) at kernel/qobject.cpp:3740
#12 0x00007fb2682af837 in QMetaObject::activate (sender=sender@entry=0x23f4ad0, m=m@entry=0x7fb2684c8d80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffc35ff8cf0) at kernel/qobject.cpp:3602
#13 0x00007fb268324bc6 in QAbstractItemModel::layoutAboutToBeChanged (this=this@entry=0x23f4ad0, _t1=..., _t2=_t2@entry=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:587
#14 0x00007fb266c11f7b in IncidenceEditorNG::AttendeeTableModel::setAttendees (this=0x23f4ad0, attendees=...) at /workspace/build/src/attendeetablemodel.cpp:231
#15 0x00007fb266c33ec4 in IncidenceEditorNG::IncidenceAttendee::load (this=0x23f4270, incidence=...) at /workspace/build/src/incidenceattendee.cpp:213
#16 0x00007fb266c26b9d in IncidenceEditorNG::CombinedIncidenceEditor::load (this=<optimized out>, incidence=...) at /workspace/build/src/combinedincidenceeditor.cpp:97
#17 0x00007fb266c8dae6 in IncidenceEditorNG::IncidenceDialogPrivate::handleItemSaveFinish (this=0x18d39f0, saveAction=IncidenceEditorNG::EditorItemManager::Create) at /workspace/build/src/incidencedialog.cpp:512
#18 0x00007fb266c901c7 in IncidenceEditorNG::IncidenceDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/src/moc_incidencedialog.cpp:149
#19 0x00007fb2682aee89 in QMetaObject::activate (sender=sender@entry=0x226a780, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc35ff9120) at kernel/qobject.cpp:3740
#20 0x00007fb2682af837 in QMetaObject::activate (sender=sender@entry=0x226a780, m=m@entry=0x7fb266eddd40 <IncidenceEditorNG::EditorItemManager::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc35ff9120) at kernel/qobject.cpp:3602
#21 0x00007fb266c21b74 in IncidenceEditorNG::EditorItemManager::itemSaveFinished (_t1=IncidenceEditorNG::EditorItemManager::Create, this=0x226a780) at /workspace/build/obj-x86_64-linux-gnu/src/moc_editoritemmanager.cpp:261
#22 IncidenceEditorNG::ItemEditorPrivate::itemFetchResult (this=0x2175810, job=<optimized out>) at /workspace/build/src/editoritemmanager.cpp:137
#23 0x00007fb266c23d00 in IncidenceEditorNG::EditorItemManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/src/moc_editoritemmanager.cpp:128
#24 0x00007fb2682aee89 in QMetaObject::activate (sender=sender@entry=0x1e70560, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc35ff9310) at kernel/qobject.cpp:3740
#25 0x00007fb2682af837 in QMetaObject::activate (sender=sender@entry=0x1e70560, m=m@entry=0x7fb269547500 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc35ff9310) at kernel/qobject.cpp:3602
#26 0x00007fb2692f41f2 in KJob::result (this=this@entry=0x1e70560, _t1=_t1@entry=0x1e70560) at /workspace/build/obj-x86_64-linux-gnu/src/lib/moc_kjob.cpp:568
#27 0x00007fb2692f5b31 in KJob::finishJob (this=0x1e70560, emitResult=emitResult@entry=true) at /workspace/build/src/lib/jobs/kjob.cpp:109
#28 0x00007fb2692f5b4a in KJob::emitResult (this=<optimized out>) at /workspace/build/src/lib/jobs/kjob.cpp:293
#29 0x00007fb263ad5ed9 in Akonadi::JobPrivate::delayedEmitResult (this=<optimized out>) at /workspace/build/src/core/jobs/job.cpp:175
#30 0x00007fb263ad6c99 in Akonadi::Job::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/src/core/moc_job.cpp:108
#31 0x00007fb2682afd99 in QObject::event (this=0x1e70560, e=<optimized out>) at kernel/qobject.cpp:1263
#32 0x00007fb268db2ecc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1e70560, e=0x1b233e0) at kernel/qapplication.cpp:3799
#33 0x00007fb268dba8c6 in QApplication::notify (this=0x7ffc35ff99f0, receiver=0x1e70560, e=0x1b233e0) at kernel/qapplication.cpp:3556
#34 0x00007fb2682840c8 in QCoreApplication::notifyInternal2 (receiver=0x1e70560, event=event@entry=0x1b233e0) at kernel/qcoreapplication.cpp:988
#35 0x00007fb26828678b in QCoreApplication::sendEvent (event=0x1b233e0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xfe0600) at kernel/qcoreapplication.cpp:1649
#37 0x00007fb268286bf8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#38 0x00007fb2682d7333 in postEventSourceDispatch (s=0x1026120) at kernel/qeventdispatcher_glib.cpp:276
#39 0x00007fb25dcb3197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fb25dcb33f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fb25dcb349c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fb2682d773f in QEventDispatcherGlib::processEvents (this=0x102dd20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#43 0x00007fb2682820ba in QEventLoop::exec (this=this@entry=0x7ffc35ff98d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#44 0x00007fb26828a6cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#45 0x00007fb2685bf24c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1633
#46 0x00007fb268db2e25 in QApplication::exec () at kernel/qapplication.cpp:2975
#47 0x0000000000408684 in main (argc=1, argv=0x7ffc35ff9b78) at /workspace/build/src/main.cpp:64

Possible duplicates by query: bug 373729, bug 371759, bug 362817, bug 362308.

Reported using DrKonqi
Comment 1 Dennis Schridde 2017-11-20 14:06:25 UTC
Created attachment 108979 [details]
New crash information added by DrKonqi

korganizer (5.6.3) using Qt 5.7.1

- What I was doing when the application crashed:

I created an event without recurrence, with several participants. Upon clicking "Apply", KOrganizer crashed.

-- Backtrace (Reduced):
#6  QSortFilterProxyModelPrivate::proxy_to_source (proxy_index=..., this=0x39140a0) at itemmodels/qsortfilterproxymodel.cpp:384
#7  QSortFilterProxyModel::mapToSource (proxyIndex=..., this=0x3913d10) at itemmodels/qsortfilterproxymodel.cpp:2758
#8  QSortFilterProxyModelPrivate::store_persistent_indexes (this=this@entry=0x39140a0) at itemmodels/qsortfilterproxymodel.cpp:1024
#9  0x00007f3a3a149503 in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x39140a0, sourceParents=..., hint=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1354
#10 0x00007f3a3a14df23 in QSortFilterProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:206
Comment 2 Denis Kurz 2018-01-31 15:45:30 UTC
Thank you for reporting!

We have several bug reports involving QSortFilterProxyModels:

https://bugs.kde.org/show_bug.cgi?id=360817
https://bugs.kde.org/show_bug.cgi?id=361895
https://bugs.kde.org/show_bug.cgi?id=362308
https://bugs.kde.org/show_bug.cgi?id=363805
https://bugs.kde.org/show_bug.cgi?id=378283

There are other reports outside KDE PIM, too, that involve Qt <5.8 and QSortFilterProxyModels. As far as I can see, they all involved Qt before version 5.8. I think the crashes were caused by these Qt bugs:

https://bugreports.qt.io/browse/QTBUG-44611
https://bugreports.qt.io/browse/QTBUG-32981

I am not entirely sure if those Qt bugs are actually the culprit, so I won't mark the above bugs as duplicates of each other.

If this crash still happens with a Qt version greater than 5.8, please drop a note and this bug is reopened. You should include a more recent trace and Qt/Kontact versions then.
Comment 3 Dennis Schridde 2018-01-31 17:04:15 UTC
KDE neon User LTS is still at Qt 5.7.1 (5.7.1+dfsg-3+16.04+build16).  I filed a request to update KDE neon User LTS to Qt 5.9+, but in case that will be declined: Would it be possible to work-around the issue in KDE?  KDE neon can probably more easily ship patched KDE applications than new minor (i.e. not-just-bugfix) versions of Qt libraries.