Bug 354728

Summary: Korganizer crash wenn make a new event
Product: [Applications] kontact Reporter: Murzeau <emmanuel>
Component: calendarAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdenis, prozac
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Murzeau 2015-11-02 09:35:03 UTC
Application: kontact ()

Qt Version: 5.4.2
Operating System: Linux 4.2.0-16-generic i686
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed: Each time I want to make new Event, Korganizer or Kontakt crash. Calendar is so impossible to use

The crash can be reproduced every time.

-- Backtrace:
Application: kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xad8a77c0 (LWP 1535))]

Thread 5 (Thread 0xabe8cb40 (LWP 1541)):
#0  0xb773ebe8 in __kernel_vsyscall ()
#1  0xb29b125c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb6005cf6 in __pthread_cond_wait (cond=0xb5d9bd34, mutex=0xb5d9bd1c) at forward.c:149
#3  0xb50ff11a in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#4  0xb50ff16c in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#5  0xb29ac1aa in start_thread (arg=0xabe8cb40) at pthread_create.c:333
#6  0xb5ff8fde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 4 (Thread 0xaae7db40 (LWP 1546)):
#0  0xb773e946 in __vdso_clock_gettime ()
#1  0xb6006740 in __GI___clock_gettime (clock_id=1, tp=0xaae7cf64) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb6386378 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#3  0xb65160a2 in QTimerInfoList::updateCurrentTime() () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#4  0xb65165b4 in QTimerInfoList::timerWait(timespec&) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#5  0xb6517b99 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#6  0xb26ec3db in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb26ece24 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb26ed054 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb65187e4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#10 0xb64bb2b3 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#11 0xb64bb702 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#12 0xb62e423d in QThread::exec() () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#13 0xb62e4318 in QThread::run() () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#14 0xb62e965b in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#15 0xb29ac1aa in start_thread (arg=0xaae7db40) at pthread_create.c:333
#16 0xb5ff8fde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 3 (Thread 0xa9c11b40 (LWP 1549)):
#0  0xb773ebe8 in __kernel_vsyscall ()
#1  0xb29b125c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb6005cf6 in __pthread_cond_wait (cond=0xab5c5138, mutex=0xab5c5120) at forward.c:149
#3  0xb512dcec in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#4  0xb4dec4c6 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#5  0xb51162e2 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#6  0xb512d6f1 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#7  0xb29ac1aa in start_thread (arg=0xa9c11b40) at pthread_create.c:333
#8  0xb5ff8fde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 2 (Thread 0xa93f1b40 (LWP 1550)):
#0  0xb773ebe8 in __kernel_vsyscall ()
#1  0xb29b125c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb6005cf6 in __pthread_cond_wait (cond=0xab5c9734, mutex=0xab5c971c) at forward.c:149
#3  0xb512dcec in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#4  0xb4ded5f5 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#5  0xb51162e2 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#6  0xb512d6f1 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#7  0xb29ac1aa in start_thread (arg=0xa93f1b40) at pthread_create.c:333
#8  0xb5ff8fde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 1 (Thread 0xad8a77c0 (LWP 1535)):
[KCrash Handler]
#7  0xb2ec329a in Akonadi::Tag::operator= (this=0xbfaf6414, other=...) at ../../../../akonadi/src/core/tag.cpp:80
#8  0xb2ec33ff in Akonadi::Tag::Tag (this=0xbfaf6414, other=...) at ../../../../akonadi/src/core/tag.cpp:72
#9  0xb2f62537 in Akonadi::TagModelPrivate::tagForIndex (this=0xba6fee8, index=...) at ../../../../akonadi/src/core/models/tagmodel_p.cpp:105
#10 0xb2f6132c in Akonadi::TagModel::data (this=0xba68fe8, index=..., role=262) at ../../../../akonadi/src/core/models/tagmodel.cpp:91
#11 0xb1ba2a49 in Akonadi::TagWidget::updateView (this=0xba6dfd0) at ../../../../akonadi/src/widgets/tagwidget.cpp:102
#12 0xb1ba64ac in Akonadi::TagWidget::qt_static_metacall (_o=0xba6dfd0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfaf65a8) at moc_tagwidget.cpp:84
#13 0xb64f10e1 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#14 0xb64f15dd in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#15 0xb2f608a2 in Akonadi::TagModel::populated (this=0xba68fe8) at ./moc_tagmodel.cpp:199
#16 0xb2f621eb in Akonadi::TagModelPrivate::tagsFetchDone (this=0xba6fee8, job=0xba44448) at ../../../../akonadi/src/core/models/tagmodel_p.cpp:245
#17 0xb2f60b18 in Akonadi::TagModel::qt_static_metacall (_o=0xba68fe8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfaf67e4) at ./moc_tagmodel.cpp:103
#18 0xb64f10e1 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#19 0xb64f15dd in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#20 0xb747adc9 in KJob::finished (this=0xba44448, _t1=0xba44448) at ./moc_kjob.cpp:531
#21 0xb747bb9a in KJob::emitResult (this=0xba44448) at ../../../src/lib/jobs/kjob.cpp:292
#22 0xb2ef892e in Akonadi::JobPrivate::delayedEmitResult (this=<optimized out>) at ../../../../akonadi/src/core/jobs/job.cpp:153
#23 Akonadi::Job::qt_static_metacall (_o=0xba44448, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbb5a990) at ./moc_job.cpp:107
#24 0xb64edf50 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#25 0xb64f1d13 in QObject::event(QEvent*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#26 0xb6d78daa in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5
#27 0xb6d7e67f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5
#28 0xb64be0ff in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#29 0xb64c051d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#30 0xb64c0a57 in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#31 0xb65183d3 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#32 0xb26ecce9 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0xb26ecf89 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xb26ed054 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0xb65187c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#36 0xad4f6bc1 in ?? () from /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqxcb.so
#37 0xb64bb2b3 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#38 0xb64bb702 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#39 0xb64c37e5 in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#40 0xb67c9cf1 in QGuiApplication::exec() () from /usr/lib/i386-linux-gnu/sse2/libQt5Gui.so.5
#41 0xb6d74cb4 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5
#42 0x0804bd22 in main (argc=1, argv=0xbfaf6fc4) at ../../../kontact/src/main.cpp:220

Possible duplicates by query: bug 353797, bug 353482, bug 353326.

Reported using DrKonqi
Comment 1 eric 2016-02-09 15:01:25 UTC
More of the same issue:

Kaddressbook will crash immediately and at every restart after adding a new contact that has a birthday or anniversary. Adding a contact without a birthday or anniversary will not make kaddressbook crash.
See: https://bugs.kde.org/show_bug.cgi?id=358696

After adding this contact with a birthday or anniversary, korganizer will also crash when adding a new to-do or event.
See: https://bugs.kde.org/show_bug.cgi?id=353326
Comment 2 Denis Kurz 2017-01-17 11:22:07 UTC

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