Bug 397314 - korganizer segfaults on exit
Summary: korganizer segfaults on exit
Status: RESOLVED DUPLICATE of bug 393059
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 5.7.3
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-08-09 12:50 UTC by Wouter M. Koolen
Modified: 2018-10-13 14:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wouter M. Koolen 2018-08-09 12:50:07 UTC
Application: korganizer (5.7.3)

Qt Version: 5.10.1
Frameworks Version: 5.47.0
Operating System: Linux 4.17.13 x86_64
Distribution: Debian GNU/Linux testing (buster)

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

Korganizer always segfaults on exit.

- Custom settings of the application:

I have setup a view filter that hides completed TODOs.

The crash can be reproduced every time.

-- 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 0x7f2df783e2c0 (LWP 11036))]

Thread 5 (Thread 0x7f2decf00700 (LWP 11041)):
#0  0x00007f2e0ced7739 in __GI___poll (fds=0x7f2de4003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2e04006439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e0400654c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e0d41a64b in QEventDispatcherGlib::processEvents (this=0x7f2de4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2e0d3c71fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f2e0d1fc316 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f2e0d200f90 in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:376
#7  0x00007f2e058edf2a in start_thread (arg=0x7f2decf00700) at pthread_create.c:463
#8  0x00007f2e0cee1edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f2ded701700 (LWP 11039)):
#0  0x00007f2e0ced7739 in __GI___poll (fds=0x7f2de002b460, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2e04006439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e0400654c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e0d41a64b in QEventDispatcherGlib::processEvents (this=0x7f2de0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2e0d3c71fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f2e0d1fc316 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f2e0d200f90 in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:376
#7  0x00007f2e058edf2a in start_thread (arg=0x7f2ded701700) at pthread_create.c:463
#8  0x00007f2e0cee1edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f2dee912700 (LWP 11038)):
#0  0x00007f2e0ced7739 in __GI___poll (fds=0x7f2de8004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2e04006439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e0400654c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e0d41a64b in QEventDispatcherGlib::processEvents (this=0x7f2de8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2e0d3c71fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f2e0d1fc316 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f2e0c5a4015 in QDBusConnectionManager::run (this=0x7f2e0c618d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f2e0d200f90 in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:376
#8  0x00007f2e058edf2a in start_thread (arg=0x7f2dee912700) at pthread_create.c:463
#9  0x00007f2e0cee1edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f2df51cb700 (LWP 11037)):
#0  0x00007f2e0ced7739 in __GI___poll (fds=0x7f2df51cac78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2e03b970f7 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f2e03b98d1a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f2df753e6e9 in QXcbEventReader::run (this=0x55ed13bac4e0) at qxcbconnection.h:408
#4  0x00007f2e0d200f90 in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:376
#5  0x00007f2e058edf2a in start_thread (arg=0x7f2df51cb700) at pthread_create.c:463
#6  0x00007f2e0cee1edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2df783e2c0 (LWP 11036)):
[KCrash Handler]
#6  0x00007f2e0bab8738 in QSharedPointer<PreNode>::data (this=0x8200000000) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:305
#7  0x00007f2e0bab6674 in QSharedPointer<PreNode>::operator-> (this=0x8200000000) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:310
#8  0x00007f2e0bab183b in greaterThan (node1=..., node2=...) at ./src/todo/incidencetreemodel.cpp:48
#9  0x00007f2e0babec9f in __gnu_cxx::__ops::_Val_comp_iter<bool (*)(QSharedPointer<PreNode> const&, QSharedPointer<PreNode> const&)>::operator()<QSharedPointer<PreNode>, QList<QSharedPointer<PreNode> >::iterator> (this=0x7fffcbdcbee0, __val=..., __it=...) at /usr/include/c++/8/bits/predefined_ops.h:215
#10 0x00007f2e0babdfd1 in std::__unguarded_linear_insert<QList<QSharedPointer<PreNode> >::iterator, __gnu_cxx::__ops::_Val_comp_iter<bool (*)(QSharedPointer<PreNode> const&, QSharedPointer<PreNode> const&)> > (__last=..., __comp=...) at /usr/include/c++/8/bits/stl_algo.h:1828
#11 0x00007f2e0babcdbf in std::__unguarded_insertion_sort<QList<QSharedPointer<PreNode> >::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QSharedPointer<PreNode> const&, QSharedPointer<PreNode> const&)> > (__first=..., __last=..., __comp=...) at /usr/include/c++/8/bits/stl_algo.h:1867
#12 0x00007f2e0babb1b4 in std::__final_insertion_sort<QList<QSharedPointer<PreNode> >::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QSharedPointer<PreNode> const&, QSharedPointer<PreNode> const&)> > (__first=..., __last=..., __comp=...) at /usr/include/c++/8/bits/stl_algo.h:1886
#13 0x00007f2e0bab8fae in std::__sort<QList<QSharedPointer<PreNode> >::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QSharedPointer<PreNode> const&, QSharedPointer<PreNode> const&)> > (__first=..., __last=..., __comp=...) at /usr/include/c++/8/bits/stl_algo.h:1971
#14 0x00007f2e0bab6d64 in std::sort<QList<QSharedPointer<PreNode> >::iterator, bool (*)(QSharedPointer<PreNode> const&, QSharedPointer<PreNode> const&)> (__first=..., __last=..., __comp=0x7f2e0bab180f <greaterThan(QSharedPointer<PreNode> const&, QSharedPointer<PreNode> const&)>) at /usr/include/c++/8/bits/stl_algo.h:4866
#15 0x00007f2e0bab1b41 in sortedPrenodes (nodes=...) at ./src/todo/incidencetreemodel.cpp:84
#16 0x00007f2e0bab2fd2 in IncidenceTreeModel::Private::onRowsInserted (this=0x55ed13da3770, parent=..., begin=1626, end=1755) at ./src/todo/incidencetreemodel.cpp:318
#17 0x00007f2e0baf9ea6 in IncidenceTreeModel::Private::qt_static_metacall (_o=0x55ed13da3770, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffcbdcc320) at ./obj-x86_64-linux-gnu/src/KF5EventViews_autogen/2PWPRRFRVL/moc_incidencetreemodel_p.cpp:118
#18 0x00007f2e0d3f21db in QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.cpp:3767
#19 0x00007f2e0d3f2817 in QMetaObject::activate (sender=sender@entry=0x55ed13cc4a30, m=m@entry=0x7f2e0d62b6c0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fffcbdcc320) at kernel/qobject.cpp:3629
#20 0x00007f2e0d36cc7e in QAbstractItemModel::rowsInserted (this=this@entry=0x55ed13cc4a30, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:602
#21 0x00007f2e0d374035 in QAbstractItemModel::endInsertRows (this=0x55ed13cc4a30) at itemmodels/qabstractitemmodel.cpp:2709
#22 0x00007f2e0d395465 in QSortFilterProxyModelPrivate::insert_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) () at itemmodels/qsortfilterproxymodel.cpp:765
#23 0x00007f2e0d3974a9 in QSortFilterProxyModelPrivate::source_items_inserted(QModelIndex const&, int, int, Qt::Orientation) () at itemmodels/qsortfilterproxymodel.cpp:876
#24 0x00007f2e0d3999dd in QSortFilterProxyModelPrivate::_q_sourceRowsInserted(QModelIndex const&, int, int) () at itemmodels/qsortfilterproxymodel.cpp:1507
#25 0x00007f2e0d39a619 in QSortFilterProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at global/qglobal.h:1019
#26 0x00007f2e0d3f21db in QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.cpp:3767
#27 0x00007f2e0d3f2817 in QMetaObject::activate (sender=sender@entry=0x55ed13cc4b50, m=m@entry=0x7f2e0d62b6c0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fffcbdcc740) at kernel/qobject.cpp:3629
#28 0x00007f2e0d36cc7e in QAbstractItemModel::rowsInserted (this=this@entry=0x55ed13cc4b50, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:602
#29 0x00007f2e0d374035 in QAbstractItemModel::endInsertRows (this=0x55ed13cc4b50) at itemmodels/qabstractitemmodel.cpp:2709
#30 0x00007f2e0d395465 in QSortFilterProxyModelPrivate::insert_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) () at itemmodels/qsortfilterproxymodel.cpp:765
#31 0x00007f2e0d3974a9 in QSortFilterProxyModelPrivate::source_items_inserted(QModelIndex const&, int, int, Qt::Orientation) () at itemmodels/qsortfilterproxymodel.cpp:876
#32 0x00007f2e0d3999dd in QSortFilterProxyModelPrivate::_q_sourceRowsInserted(QModelIndex const&, int, int) () at itemmodels/qsortfilterproxymodel.cpp:1507
#33 0x00007f2e0d39a619 in QSortFilterProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at global/qglobal.h:1019
#34 0x00007f2e0d3f21db in QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.cpp:3767
#35 0x00007f2e0d3f2817 in QMetaObject::activate (sender=sender@entry=0x55ed13cc4bd0, m=m@entry=0x7f2e0d62b6c0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fffcbdccb60) at kernel/qobject.cpp:3629
#36 0x00007f2e0d36cc7e in QAbstractItemModel::rowsInserted (this=this@entry=0x55ed13cc4bd0, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:602
#37 0x00007f2e0d374035 in QAbstractItemModel::endInsertRows (this=0x55ed13cc4bd0) at itemmodels/qabstractitemmodel.cpp:2709
#38 0x00007f2e0d395465 in QSortFilterProxyModelPrivate::insert_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) () at itemmodels/qsortfilterproxymodel.cpp:765
#39 0x00007f2e0d397d30 in QSortFilterProxyModelPrivate::handle_filter_changed(QVector<int>&, QVector<int>&, QModelIndex const&, Qt::Orientation) () at itemmodels/qsortfilterproxymodel.cpp:1191
#40 0x00007f2e0d3980bb in QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) () at itemmodels/qsortfilterproxymodel.cpp:1120
#41 0x00007f2e0d39895a in QSortFilterProxyModel::invalidateFilter() () at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:58
#42 0x00007f2e0d3f2330 in QtPrivate::QSlotObjectBase::call (a=0x7fffcbdccee0, r=0x55ed13cab000, this=0x55ed13cc4e70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:378
#43 QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.cpp:3750
#44 0x00007f2e10066e21 in CalendarView::~CalendarView (this=0x55ed13b75800, __in_chrg=<optimized out>) at ./src/calendarview.cpp:318
#45 0x00007f2e10066f96 in CalendarView::~CalendarView (this=0x55ed13b75800, __in_chrg=<optimized out>) at ./src/calendarview.cpp:325
#46 0x00007f2e10023189 in ActionManager::~ActionManager (this=0x55ed13e23590, __in_chrg=<optimized out>) at ./src/actionmanager.cpp:130
#47 0x00007f2e100231f0 in ActionManager::~ActionManager (this=0x55ed13e23590, __in_chrg=<optimized out>) at ./src/actionmanager.cpp:131
#48 0x000055ed1302398d in KOrganizer::~KOrganizer (this=0x55ed13bfd5f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./src/korganizer.cpp:69
#49 0x000055ed13023a5e in KOrganizer::~KOrganizer (this=0x55ed13bfd5f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./src/korganizer.cpp:72
#50 0x00007f2e0d3f2ad0 in QObject::event(QEvent*) () at kernel/qobject.cpp:1238
#51 0x00007f2e0dfc5a3b in QWidget::event (this=this@entry=0x55ed13bfd5f0, event=event@entry=0x55ed16413070) at kernel/qwidget.cpp:9343
#52 0x00007f2e0e0d8064 in QMainWindow::event (this=0x55ed13bfd5f0, event=0x55ed16413070) at widgets/qmainwindow.cpp:1342
#53 0x00007f2e0ec07247 in KMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#54 0x00007f2e0ec4c095 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#55 0x00007f2e0df86651 in QApplicationPrivate::notify_helper (this=this@entry=0x55ed13b90f70, receiver=receiver@entry=0x55ed13bfd5f0, e=e@entry=0x55ed16413070) at kernel/qapplication.cpp:3732
#56 0x00007f2e0df8deba in QApplication::notify (this=0x7fffcbdcd760, receiver=0x55ed13bfd5f0, e=0x55ed16413070) at kernel/qapplication.cpp:3491
#57 0x00007f2e0d3c86c9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at ../../include/QtCore/../../src/corelib/kernel/qobject.h:148
#58 0x00007f2e0d3cb10b in QCoreApplication::sendEvent (event=0x55ed16413070, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#59 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at kernel/qcoreapplication.cpp:1740
#60 0x00007f2e0d3cb588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1594
#61 0x00007f2e0d41b043 in postEventSourceDispatch (s=0x55ed13bcdbb0) at kernel/qeventdispatcher_glib.cpp:276
#62 0x00007f2e04006287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007f2e040064c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007f2e0400654c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007f2e0d41a633 in QEventDispatcherGlib::processEvents (this=0x55ed13bd0ef0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#66 0x00007f2df75caec1 in QPAEventDispatcherGlib::processEvents (this=0x55ed13bd0ef0, flags=...) at qeventdispatcher_glib.cpp:69
#67 0x00007f2e0d3c71fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#68 0x00007f2e0d3cf612 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#69 0x000055ed13022233 in main (argc=1, argv=0x7fffcbdcd8c8) at ./src/main.cpp:64

The reporter indicates this bug may be a duplicate of or related to bug 392980.

Reported using DrKonqi
Comment 1 Denis Kurz 2018-10-13 14:00:33 UTC

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