Bug 334522

Summary: kontact crash trying to open popup notes
Product: [Applications] kontact Reporter: Darin McBride <Tanktalus>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED INTENTIONAL    
Severity: crash CC: montel
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Darin McBride 2014-05-08 16:42:46 UTC
Application: kontact (4.12.5)
KDE Platform Version: 4.12.5 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.13.9-gentoo x86_64
Distribution: "NAME=Gentoo"

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

I was running kontact, and clicked on the "Popup Notes" to save some notes.  If I run "knotes" when kontact isn't running, then that loads fine.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffb99948800 (LWP 27457))]

Thread 4 (Thread 0x7ffb7c867700 (LWP 27458)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffb943853fd in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7ffb94d3a140 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2495
#2  0x00007ffb94385509 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007ffb910e9f3a in start_thread (arg=0x7ffb7c867700) at pthread_create.c:308
#4  0x00007ffb96b849ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7ffb7bf66700 (LWP 27459)):
#0  0x00007ffb96b7ad2d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffb9028558f in g_main_context_poll (n_fds=1, fds=0x7ffb740029c0, timeout=-1, context=0x7ffb740009a0, priority=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmain.c:4007
#2  g_main_context_iterate (context=context@entry=0x7ffb740009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmain.c:3708
#3  0x00007ffb902856b4 in g_main_context_iteration (context=0x7ffb740009a0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmain.c:3774
#4  0x00007ffb98179f86 in QEventDispatcherGlib::processEvents (this=0x7ffb740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007ffb9813ebcf in QEventLoop::processEvents (this=this@entry=0x7ffb7bf65dd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ffb9813ee28 in QEventLoop::exec (this=this@entry=0x7ffb7bf65dd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ffb9800c334 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007ffb9800eab3 in QThreadPrivate::start (arg=0xb8a520) at thread/qthread_unix.cpp:338
#9  0x00007ffb910e9f3a in start_thread (arg=0x7ffb7bf66700) at pthread_create.c:308
#10 0x00007ffb96b849ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7ffb2d447700 (LWP 27462)):
#0  0x00007ffb96b7d413 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffb9811287b in QProcessManager::run (this=0x7ffb984b8ae0 <processManager()::processManager>) at io/qprocess_unix.cpp:247
#2  0x00007ffb9800eab3 in QThreadPrivate::start (arg=0x7ffb984b8ae0 <processManager()::processManager>) at thread/qthread_unix.cpp:338
#3  0x00007ffb910e9f3a in start_thread (arg=0x7ffb2d447700) at pthread_create.c:308
#4  0x00007ffb96b849ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ffb99948800 (LWP 27457)):
[KCrash Handler]
#6  0x00007ffb96acf4c5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007ffb96ad0948 in __GI_abort () at abort.c:90
#8  0x00007ffb98002e64 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=<optimized out>) at global/qglobal.cpp:2323
#9  0x00007ffb98002fd8 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7ffb981b8358 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff3246ed28) at global/qglobal.cpp:2369
#10 0x00007ffb9800316c in qFatal (msg=msg@entry=0x7ffb981b8358 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2552
#11 0x00007ffb980031b6 in qt_assert (assertion=assertion@entry=0x7ffb789d9230 "mJournals.value( uid ) == journal", file=file@entry=0x7ffb789d91d0 "/var/tmp/portage/kde-base/kdepimlibs-4.12.5/work/kdepimlibs-4.12.5/kcal/calendarlocal.cpp", line=line@entry=577) at global/qglobal.cpp:2018
#12 0x00007ffb7895d457 in KCal::CalendarLocal::Private::insertJournal (this=0xe6be80, journal=journal@entry=0xdd9b730) at /var/tmp/portage/kde-base/kdepimlibs-4.12.5/work/kdepimlibs-4.12.5/kcal/calendarlocal.cpp:577
#13 0x00007ffb7895d7fd in KCal::CalendarLocal::addJournal (this=0xcb9640, journal=0xdd9b730) at /var/tmp/portage/kde-base/kdepimlibs-4.12.5/work/kdepimlibs-4.12.5/kcal/calendarlocal.cpp:555
#14 0x00007ffb78e6a11d in addNote (j=<optimized out>, this=0xea8020) at /var/tmp/portage/kde-base/knotes-4.12.5/work/knotes-4.12.5/kontact/plugins/knotes/knotes_plugin.cpp:235
#15 qt_static_metacall (_a=0x7fff3246f060, _o=0xea8020, _c=<optimized out>, _id=<optimized out>) at /var/tmp/portage/kde-base/knotes-4.12.5/work/knotes-4.12.5_build/kontact/plugins/knotes/knotes_plugin.moc:53
#16 KNotesPlugin::qt_static_metacall (_o=0xea8020, _c=<optimized out>, _id=1, _a=0x7fff3246f060) at /var/tmp/portage/kde-base/knotes-4.12.5/work/knotes-4.12.5_build/kontact/plugins/knotes/knotes_plugin.moc:46
#17 0x00007ffb98158ecc in QMetaObject::activate (sender=sender@entry=0xd22270, m=m@entry=0x7ffb78e4cc00 <KNotesResourceManager::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff3246f060) at kernel/qobject.cpp:3547
#18 0x00007ffb78c2b88f in KNotesResourceManager::sigRegisteredNote (this=this@entry=0xd22270, _t1=_t1@entry=0xdd9b730) at /var/tmp/portage/kde-base/knotes-4.12.5/work/knotes-4.12.5_build/knotes/resourcemanager.moc:103
#19 0x00007ffb78c2b9f5 in KNotesResourceManager::registerNote (this=0xd22270, resource=resource@entry=0xd06b00, journal=journal@entry=0xdd9b730) at /var/tmp/portage/kde-base/knotes-4.12.5/work/knotes-4.12.5/knotes/resource/resourcemanager.cpp:111
#20 0x00007ffb78c2dd81 in ResourceLocal::load (this=0xd06b00) at /var/tmp/portage/kde-base/knotes-4.12.5/work/knotes-4.12.5/knotes/resource/resourcelocal.cpp:88
#21 0x00007ffb78c2c6ff in KNotesResourceManager::load (this=0xd22270) at /var/tmp/portage/kde-base/knotes-4.12.5/work/knotes-4.12.5/knotes/resource/resourcemanager.cpp:75
#22 0x00007ffb78e72e6a in KNotesPart::KNotesPart (this=0xdd73ec0, manager=0xd22270, parent=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/knotes-4.12.5/work/knotes-4.12.5/kontact/plugins/knotes/knotes_part.cpp:205
#23 0x00007ffb78e6975d in KNotesPlugin::createPart (this=0xea8020) at /var/tmp/portage/kde-base/knotes-4.12.5/work/knotes-4.12.5/kontact/plugins/knotes/knotes_plugin.cpp:113
#24 0x00007ffb99597189 in KontactInterface::Plugin::part (this=0xea8020) at /var/tmp/portage/kde-base/kdepimlibs-4.12.5/work/kdepimlibs-4.12.5/kontactinterface/plugin.cpp:193
#25 0x00007ffb99152a6d in Kontact::MainWindow::selectPlugin (this=0xcab3a0, plugin=0x6b41) at /var/tmp/portage/kde-base/kontact-4.12.5/work/kontact-4.12.5/kontact/src/mainwindow.cpp:815
#26 0x00007ffb98158ecc in QMetaObject::activate (sender=sender@entry=0xb7b740, m=m@entry=0x7ffb9936ab20 <Kontact::SidePaneBase::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff3246f6f0) at kernel/qobject.cpp:3547
#27 0x00007ffb9915b1be in pluginSelected (_t1=0xea8020, this=0xb7b740) at /var/tmp/portage/kde-base/kontact-4.12.5/work/kontact-4.12.5_build/kontact/src/sidepanebase.moc:103
#28 Kontact::SidePaneBase::qt_static_metacall (_o=0xb7b740, _c=<optimized out>, _id=0, _a=0x7fff3246f890) at /var/tmp/portage/kde-base/kontact-4.12.5/work/kontact-4.12.5_build/kontact/src/sidepanebase.moc:53
#29 0x00007ffb98158ecc in QMetaObject::activate (sender=sender@entry=0xb752c0, m=m@entry=0x7ffb9936b140 <Kontact::Navigator::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff3246f890) at kernel/qobject.cpp:3547
#30 0x00007ffb9915b9c2 in pluginActivated (_t1=0xea8020, this=0xb752c0) at /var/tmp/portage/kde-base/kontact-4.12.5/work/kontact-4.12.5_build/kontact/src/iconsidepane.moc:109
#31 Kontact::Navigator::slotCurrentChanged (this=this@entry=0xb752c0, current=...) at /var/tmp/portage/kde-base/kontact-4.12.5/work/kontact-4.12.5/kontact/src/iconsidepane.cpp:477
#32 0x00007ffb9915bcf5 in Kontact::Navigator::qt_static_metacall (_o=0xb752c0, _c=<optimized out>, _id=1, _a=0x7fff3246fa90) at /var/tmp/portage/kde-base/kontact-4.12.5/work/kontact-4.12.5_build/kontact/src/iconsidepane.moc:58
#33 0x00007ffb98158ecc in QMetaObject::activate (sender=sender@entry=0xd0d2e0, m=m@entry=0x7ffb97f64080 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff3246fa90) at kernel/qobject.cpp:3547
#34 0x00007ffb9799187a in QItemSelectionModel::currentChanged (this=this@entry=0xd0d2e0, _t1=..., _t2=...) at .moc/debug-shared/moc_qitemselectionmodel.cpp:172
#35 0x00007ffb97991971 in QItemSelectionModel::setCurrentIndex (this=0xd0d2e0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
#36 0x00007ffb97932f60 in QAbstractItemView::mousePressEvent (this=0xb752c0, event=<optimized out>) at itemviews/qabstractitemview.cpp:1682
#37 0x00007ffb973849c3 in QWidget::event (this=this@entry=0xb752c0, event=event@entry=0x7fff32470b00) at kernel/qwidget.cpp:8372
#38 0x00007ffb977e57fc in QFrame::event (this=0xb752c0, e=0x7fff32470b00) at widgets/qframe.cpp:557
#39 0x00007ffb9793c61b in QAbstractItemView::viewportEvent (this=0xb752c0, event=0x7fff32470b00) at itemviews/qabstractitemview.cpp:1644
#40 0x00007ffb98140f85 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0xb7d300, receiver=receiver@entry=0xcfdb70, event=event@entry=0x7fff32470b00) at kernel/qcoreapplication.cpp:1059
#41 0x00007ffb97324e91 in QApplicationPrivate::notify_helper (this=this@entry=0xb7d300, receiver=receiver@entry=0xcfdb70, e=e@entry=0x7fff32470b00) at kernel/qapplication.cpp:4558
#42 0x00007ffb97329ed5 in QApplication::notify (this=this@entry=0x7fff32471970, receiver=receiver@entry=0xcfdb70, e=e@entry=0x7fff32470b00) at kernel/qapplication.cpp:4105
#43 0x00007ffb98c913c6 in KApplication::notify (this=0x7fff32471970, receiver=0xcfdb70, event=0x7fff32470b00) at /var/tmp/portage/kde-base/kdelibs-4.12.5/work/kdelibs-4.12.5/kdeui/kernel/kapplication.cpp:311
#44 0x00007ffb98140dac in QCoreApplication::notifyInternal (this=0x7fff32471970, receiver=receiver@entry=0xcfdb70, event=event@entry=0x7fff32470b00) at kernel/qcoreapplication.cpp:949
#45 0x00007ffb9732de92 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#46 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xcfdb70, event=event@entry=0x7fff32470b00, alienWidget=alienWidget@entry=0xcfdb70, nativeWidget=nativeWidget@entry=0xb7b740, buttonDown=buttonDown@entry=0x7ffb97f82bc0 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#47 0x00007ffb973b8b15 in QETWidget::translateMouseEvent (this=this@entry=0xb7b740, event=event@entry=0x7fff32471340) at kernel/qapplication_x11.cpp:4517
#48 0x00007ffb973b6bd1 in QApplication::x11ProcessEvent (this=0x7fff32471970, event=event@entry=0x7fff32471340) at kernel/qapplication_x11.cpp:3640
#49 0x00007ffb973e71e2 in x11EventSourceDispatch (s=s@entry=0xb7d770, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#50 0x00007ffb9028526e in g_main_dispatch (context=0xb7d640) at /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmain.c:3066
#51 g_main_context_dispatch (context=context@entry=0xb7d640) at /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmain.c:3642
#52 0x00007ffb902855f8 in g_main_context_iterate (context=context@entry=0xb7d640, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmain.c:3713
#53 0x00007ffb902856b4 in g_main_context_iteration (context=0xb7d640, may_block=1) at /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmain.c:3774
#54 0x00007ffb98179fa6 in QEventDispatcherGlib::processEvents (this=0xb3fb00, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#55 0x00007ffb973e72fe in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007ffb9813ebcf in QEventLoop::processEvents (this=this@entry=0x7fff324717a0, flags=...) at kernel/qeventloop.cpp:149
#57 0x00007ffb9813ee28 in QEventLoop::exec (this=this@entry=0x7fff324717a0, flags=...) at kernel/qeventloop.cpp:204
#58 0x00007ffb98145618 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#59 0x00007ffb97324dec in QApplication::exec () at kernel/qapplication.cpp:3823
#60 0x0000000000403a11 in main (argc=1, argv=0x7fff32471ac8) at /var/tmp/portage/kde-base/kontact-4.12.5/work/kontact-4.12.5/kontact/src/main.cpp:219

Possible duplicates by query: bug 330637, bug 329162, bug 324432, bug 321758, bug 320329.

Reported using DrKonqi
Comment 1 Laurent Montel 2014-05-17 12:30:59 UTC
knotes doesn't use kcal in 4.13.
So I can't fix it.
I close as wontfix