Bug 413978

Summary: KOrganizer sometimes crash when applying a new to-do without selecting any calendar.
Product: [Applications] korganizer Reporter: JerareYoshi <jeremy.strady>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description JerareYoshi 2019-11-09 14:31:38 UTC
Application: korganizer (5.12.2)

Qt Version: 5.13.1
Frameworks Version: 5.63.0
Operating System: Linux 5.3.7-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
KOrganizer sometimes crash when applying a new to-do without selecting any calendar in the calendar manager.

- Disable all calendars
- Create a new to-do
- Give it a title and a description in the General tab
- Click apply
- KOrganizer (sometime) crash

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd75c842cc0 (LWP 20993))]

Thread 7 (Thread 0x7fd73b5a7700 (LWP 21053)):
#0  0x00007fd75f1616a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd7518575db in ?? () from /usr/lib64/dri/r600_dri.so
#2  0x00007fd751857487 in ?? () from /usr/lib64/dri/r600_dri.so
#3  0x00007fd75f15af2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd760e424af in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fd7510a4700 (LWP 21052)):
#0  0x00007fd75f1616a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd7518575db in ?? () from /usr/lib64/dri/r600_dri.so
#2  0x00007fd751857487 in ?? () from /usr/lib64/dri/r600_dri.so
#3  0x00007fd75f15af2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd760e424af in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fd7537fe700 (LWP 21003)):
#0  0x00007fd760e37bdf in poll () from /lib64/libc.so.6
#1  0x00007fd75e740a5e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd75e740b2f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd7613f199b in QEventDispatcherGlib::processEvents (this=0x7fd740000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd76139a0db in QEventLoop::exec (this=this@entry=0x7fd7537fdd60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007fd7611d2021 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007fd7611d31a2 in QThreadPrivate::start (arg=0x564fd63bce60) at thread/qthread_unix.cpp:360
#7  0x00007fd75f15af2a in start_thread () from /lib64/libpthread.so.0
#8  0x00007fd760e424af in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fd753fff700 (LWP 20999)):
#0  0x00007fd760e37bdf in poll () from /lib64/libc.so.6
#1  0x00007fd75e740a5e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd75e740b2f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd7613f199b in QEventDispatcherGlib::processEvents (this=0x7fd748000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd76139a0db in QEventLoop::exec (this=this@entry=0x7fd753ffed60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007fd7611d2021 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007fd7611d31a2 in QThreadPrivate::start (arg=0x564fd62fa110) at thread/qthread_unix.cpp:360
#7  0x00007fd75f15af2a in start_thread () from /lib64/libpthread.so.0
#8  0x00007fd760e424af in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fd759946700 (LWP 20995)):
#0  0x00007fd760e3360c in read () from /lib64/libc.so.6
#1  0x00007fd75e6f270f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd75e73f36e in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd75e740a02 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd75e740b2f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fd7613f199b in QEventDispatcherGlib::processEvents (this=0x7fd74c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fd76139a0db in QEventLoop::exec (this=this@entry=0x7fd759945d30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007fd7611d2021 in QThread::exec (this=this@entry=0x7fd760b44d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007fd760ac24f6 in QDBusConnectionManager::run (this=0x7fd760b44d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#9  0x00007fd7611d31a2 in QThreadPrivate::start (arg=0x7fd760b44d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:360
#10 0x00007fd75f15af2a in start_thread () from /lib64/libpthread.so.0
#11 0x00007fd760e424af in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd75a7e2700 (LWP 20994)):
#0  0x00007fd760e37bdf in poll () from /lib64/libc.so.6
#1  0x00007fd75e6c3742 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fd75e6c43fa in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fd75a9e3f90 in QXcbEventQueue::run (this=0x564fd621cbf0) at qxcbeventqueue.cpp:228
#4  0x00007fd7611d31a2 in QThreadPrivate::start (arg=0x564fd621cbf0) at thread/qthread_unix.cpp:360
#5  0x00007fd75f15af2a in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd760e424af in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd75c842cc0 (LWP 20993)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x564fd73d3340, proxy_index=...) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:62
#7  0x00007fd76136b098 in QSortFilterProxyModel::mapToSource (proxyIndex=..., this=0x564fd73d3a20) at itemmodels/qsortfilterproxymodel.cpp:3061
#8  QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1200
#9  0x00007fd76136c22b in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x564fd73d3340, sourceParents=..., hint=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1578
#10 0x00007fd7613743ba in QSortFilterProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at itemmodels/qsortfilterproxymodel.h:189
#11 0x00007fd7613c64d8 in QMetaObject::activate (sender=0x564fd73d0630, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3809
#12 0x00007fd76133f696 in QAbstractItemModel::layoutAboutToBeChanged (this=this@entry=0x564fd73d0630, _t1=..., _t2=<optimized out>, _t2@entry=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:578
#13 0x00007fd7609dec58 in IncidenceEditorNG::AttendeeTableModel::setAttendees (this=0x564fd73d0630, attendees=...) at /usr/include/qt5/QtCore/qlist.h:159
#14 0x00007fd760a0126d in IncidenceEditorNG::IncidenceAttendee::load (this=0x564fd73ce470, incidence=...) at /usr/src/debug/incidenceeditor-19.08.2-1.1.x86_64/src/incidenceattendee.cpp:228
#15 0x00007fd7609efbab in IncidenceEditorNG::CombinedIncidenceEditor::load (this=this@entry=0x564fd73c2be0, incidence=...) at /usr/src/debug/incidenceeditor-19.08.2-1.1.x86_64/src/combinedincidenceeditor.cpp:98
#16 0x00007fd760a544e8 in IncidenceEditorNG::IncidenceDialogPrivate::handleItemSaveFinish (this=0x564fd729cc90, saveAction=IncidenceEditorNG::EditorItemManager::Create) at /usr/include/KF5/AkonadiCore/item.h:840
#17 0x00007fd760a561ac in IncidenceEditorNG::IncidenceDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/incidenceeditor-19.08.2-1.1.x86_64/build/src/KF5IncidenceEditor_autogen/include/moc_incidencedialog.cpp:156
#18 0x00007fd7613c64d8 in QMetaObject::activate (sender=0x564fd6a7da30, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3809
#19 0x00007fd7609eb9f8 in IncidenceEditorNG::EditorItemManager::itemSaveFinished (_t1=<optimized out>, this=0x564fd6a7da30) at /usr/src/debug/incidenceeditor-19.08.2-1.1.x86_64/build/src/KF5IncidenceEditor_autogen/include/moc_editoritemmanager.cpp:267
#20 IncidenceEditorNG::ItemEditorPrivate::itemFetchResult (this=0x564fd70bb7c0, job=<optimized out>) at /usr/src/debug/incidenceeditor-19.08.2-1.1.x86_64/src/editoritemmanager.cpp:143
#21 0x00007fd7609ed734 in IncidenceEditorNG::EditorItemManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/incidenceeditor-19.08.2-1.1.x86_64/build/src/KF5IncidenceEditor_autogen/include/moc_editoritemmanager.cpp:131
#22 0x00007fd7613c64d8 in QMetaObject::activate (sender=0x564fd74748c0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3809
#23 0x00007fd7623ac10c in KJob::result (this=this@entry=0x564fd74748c0, _t1=<optimized out>, _t1@entry=0x564fd74748c0, _t2=...) at /usr/src/debug/kcoreaddons-5.63.0-1.1.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:574
#24 0x00007fd7623acbe3 in KJob::finishJob (this=0x564fd74748c0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.63.0-1.1.x86_64/src/lib/jobs/kjob.cpp:107
#25 0x00007fd7613d3382 in QtPrivate::QSlotObjectBase::call (a=0x7ffe34576810, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#26 QSingleShotTimer::timerEvent (this=0x564fd726ec30) at kernel/qtimer.cpp:318
#27 0x00007fd7613c6e85 in QObject::event (this=0x564fd726ec30, e=<optimized out>) at kernel/qobject.cpp:1282
#28 0x00007fd761e39c62 in QApplicationPrivate::notify_helper (this=this@entry=0x564fd6205b50, receiver=receiver@entry=0x564fd726ec30, e=e@entry=0x7ffe34576b30) at kernel/qapplication.cpp:3703
#29 0x00007fd761e431e0 in QApplication::notify (this=0x7ffe34576e50, receiver=0x564fd726ec30, e=0x7ffe34576b30) at kernel/qapplication.cpp:3449
#30 0x00007fd76139b572 in QCoreApplication::notifyInternal2 (receiver=0x564fd726ec30, event=0x7ffe34576b30) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:143
#31 0x00007fd7613f0d60 in QTimerInfoList::activateTimers (this=0x564fd62d9a40) at kernel/qtimerinfo_unix.cpp:643
#32 0x00007fd7613f15d4 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#33 0x00007fd75e73ed3d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fd75e740af0 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fd75e740b2f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fd7613f1981 in QEventDispatcherGlib::processEvents (this=0x564fd62e6c70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#37 0x00007fd76139a0db in QEventLoop::exec (this=this@entry=0x7ffe34576d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#38 0x00007fd7613a1d42 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#39 0x0000564fd54dd187 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/korganizer-19.08.2-1.1.x86_64/src/main.cpp:64
[Inferior 1 (process 20993) detached]

Possible duplicates by query: bug 412439, bug 396884, bug 388331, bug 385197, bug 384693.

Reported using DrKonqi
Comment 1 Justin Zobel 2022-09-28 00:43:13 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-10-13 04:55:06 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-10-28 05:02:36 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!