Bug 336571 - knotes crashed kontact
Summary: knotes crashed kontact
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.13.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-22 10:00 UTC by horst.fiedler
Modified: 2017-01-07 22:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description horst.fiedler 2014-06-22 10:00:54 UTC
Application: kontact (4.13.1)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-29-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed: deselecting unused knotes folder
 
- Unusual behavior I noticed: after kde update notes are not displayed. Looking into settings showed that there are 3 folders ("notes", "notes" and "Notizen"), only the last folder holding my notes, others empty, all three deselected. After selecting all   my old notes are visible, and one unwanted. After delecting all except "Notizen" kontact crashed.
 
- Custom settings of the application: Not custom but noteable:
$ ls -al .kde/share/config/knotes*
-rw------- 1 horst fiedler  22 Jun 19 16:00 .kde/share/config/knotes-migratorrc
-rw------- 1 horst fiedler 134 Mär 21 08:53 .kde/share/config/knotesrc

migratorrc has a recent date, content:
$ cat .kde/share/config/knotes-migratorrc
[Migration]
Version=2

Attention: libsqlite3-0_3.8.4.3-3_amd64.deb and sqlite3_3.8.4.3-3_amd64.deb
are installed manually as suggested by kubuntu blog as otherwise digikam was completly unusable by using sqlite 3.7 and works fine now.

The crash can be reproduced sometimes.

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

Thread 6 (Thread 0x7f997302f700 (LWP 3232)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f998eaf181d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f998eaf1859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f998b1f0182 in start_thread (arg=0x7f997302f700) at pthread_create.c:312
#4  0x00007f99912f330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f9932714700 (LWP 3233)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f998e83220d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f998eb20fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f998b1f0182 in start_thread (arg=0x7f9932714700) at pthread_create.c:312
#4  0x00007f99912f330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f9921e8f700 (LWP 3237)):
#0  0x00007f998ad5262a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f998ad52989 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f998ad10699 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f998ad10f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f998ad110ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9991a727be in QEventDispatcherGlib::processEvents (this=0x7f991c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f9991a440af in QEventLoop::processEvents (this=this@entry=0x7f9921e8ede0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f9991a443a5 in QEventLoop::exec (this=this@entry=0x7f9921e8ede0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f9991940c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#9  0x00007f999194332f in QThreadPrivate::start (arg=0x23db9e0) at thread/qthread_unix.cpp:349
#10 0x00007f998b1f0182 in start_thread (arg=0x7f9921e8f700) at pthread_create.c:312
#11 0x00007f99912f330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f991bb87700 (LWP 3243)):
#0  0x00007fff94180983 in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9919d4f700 (LWP 3585)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9929455ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f9929456039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f998b1f0182 in start_thread (arg=0x7f9919d4f700) at pthread_create.c:312
#4  0x00007f99912f330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f9993da4800 (LWP 3231)):
[KCrash Handler]
#6  ref (this=0x7) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QSharedDataPointer (o=..., this=0x7fff94069910) at /usr/include/qt4/QtCore/qshareddata.h:93
#8  assignEntityPrivate (one=..., other=...) at ../../akonadi/entity.cpp:49
#9  0x00007f99901fd6c5 in Akonadi::Entity::Entity (this=0x7fff94069970, other=...) at ../../akonadi/entity.cpp:55
#10 0x00007f992aeac16d in KNotesIconViewItem::item (this=<optimized out>) at ../../../../kontact/plugins/knotes/knotesiconview.cpp:263
#11 0x00007f992aea8416 in KNotesPart::slotCollectionChanged (this=0x2fb4c70, col=..., set=...) at ../../../../kontact/plugins/knotes/knotes_part.cpp:807
#12 0x00007f992aeb2975 in KNotesPart::qt_static_metacall (_o=0x7fff94069970, _c=101038120, _id=50053048, _a=0x2fbbfb8) at moc_knotes_part.cpp:133
#13 0x00007f9991a5987a in QMetaObject::activate (sender=0x50b68e0, m=m@entry=0x7f9990615fe0 <Akonadi::Monitor::staticMetaObject>, local_signal_index=local_signal_index@entry=14, argv=argv@entry=0x7fff94069b40) at kernel/qobject.cpp:3539
#14 0x00007f99902c70aa in Akonadi::Monitor::collectionChanged (this=<optimized out>, _t1=..., _t2=...) at ./moc_monitor.cpp:329
#15 0x00007f99902d05bc in Akonadi::MonitorPrivate::emitCollectionNotification (this=this@entry=0x50dfa70, msg=..., col=..., par=..., dest=...) at ../../akonadi/monitor_p.cpp:926
#16 0x00007f99902d1429 in Akonadi::MonitorPrivate::emitNotification (this=0x50dfa70, msg=...) at ../../akonadi/monitor_p.cpp:494
#17 0x00007f99902cda51 in Akonadi::MonitorPrivate::flushPipeline (this=this@entry=0x50dfa70) at ../../akonadi/monitor_p.cpp:706
#18 0x00007f99902cdc29 in Akonadi::MonitorPrivate::dataAvailable (this=0x50dfa70) at ../../akonadi/monitor_p.cpp:715
#19 0x00007f9991a5987a in QMetaObject::activate (sender=sender@entry=0x50da770, m=m@entry=0x7f9990613c80 <Akonadi::EntityCacheBase::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#20 0x00007f9990274090 in Akonadi::EntityCacheBase::dataAvailable (this=this@entry=0x50da770) at ./moc_entitycache_p.cpp:101
#21 0x00007f99902342ec in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0x50da770, job=<optimized out>) at ../../akonadi/entitycache_p.h:213
#22 0x00007f9991a5987a in QMetaObject::activate (sender=sender@entry=0x6601400, m=m@entry=0x7f9992262600 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff9406a060) at kernel/qobject.cpp:3539
#23 0x00007f9991ed2622 in KJob::result (this=this@entry=0x6601400, _t1=_t1@entry=0x6601400) at ./kjob.moc:207
#24 0x00007f9991ed2660 in KJob::emitResult (this=0x6601400) at ../../kdecore/jobs/kjob.cpp:318
#25 0x00007f9991a5dc1e in QObject::event (this=0x6601400, e=<optimized out>) at kernel/qobject.cpp:1194
#26 0x00007f9992441e2c in QApplicationPrivate::notify_helper (this=this@entry=0x2136e40, receiver=receiver@entry=0x6601400, e=e@entry=0x5809f50) at kernel/qapplication.cpp:4567
#27 0x00007f99924484a0 in QApplication::notify (this=this@entry=0x7fff9406a790, receiver=receiver@entry=0x6601400, e=e@entry=0x5809f50) at kernel/qapplication.cpp:4353
#28 0x00007f9993151d1a in KApplication::notify (this=0x7fff9406a790, receiver=0x6601400, event=0x5809f50) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f9991a454dd in QCoreApplication::notifyInternal (this=0x7fff9406a790, receiver=receiver@entry=0x6601400, event=event@entry=0x5809f50) at kernel/qcoreapplication.cpp:953
#30 0x00007f9991a48b3d in sendEvent (event=0x5809f50, receiver=0x6601400) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x20f02b0) at kernel/qcoreapplication.cpp:1577
#32 0x00007f9991a48fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#33 0x00007f9991a72f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#34 postEventSourceDispatch (s=0x2133000) at kernel/qeventdispatcher_glib.cpp:287
#35 0x00007f998ad10e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f998ad11048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f998ad110ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f9991a727a1 in QEventDispatcherGlib::processEvents (this=0x20f1bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#39 0x00007f99924e3bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f9991a440af in QEventLoop::processEvents (this=this@entry=0x7fff9406a690, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f9991a443a5 in QEventLoop::exec (this=this@entry=0x7fff9406a690, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007f9991a49b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#43 0x00007f999244037c in QApplication::exec () at kernel/qapplication.cpp:3828
#44 0x0000000000403660 in main (argc=1, argv=0x7fff9406a8d8) at ../../../kontact/src/main.cpp:219

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

Possible duplicates by query: bug 334779, bug 331678, bug 331499, bug 330269, bug 329805.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:33:25 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:42:19 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.