Bug 308740

Summary: plasma crashed after closing lionmail configuration dialog
Product: [Frameworks and Libraries] Akonadi Reporter: Serge Ratke <wuseldusel>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: 4.9   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Serge Ratke 2012-10-21 08:16:04 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.9.2 (Compiled from sources)
Qt Version: 4.8.3
Operating System: Linux 3.6.2-gentoo x86_64
Distribution (Platform): Gentoo Packages

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

created an instance of -- what i think is -- a lionmail plasmoid (i have it installed, though it isn't named lionmail, hence the uncertainty). went to configure the inboxes that i want it to show. clicked ok, and boom ... plasma crashed.

-- Backtrace:
Application: Plasma-Desktop-Umgebung (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd158fe0780 (LWP 2335))]

Thread 3 (Thread 0x7fd1378d7700 (LWP 2338)):
#0  0x00007fd157845d2d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fd1534d809f in read (__nbytes=16, __buf=0x7fd1378d6c40, __fd=<optimized out>) at /usr/include/bits/unistd.h:45
#2  g_wakeup_acknowledge (wakeup=0x7fd130001fb0) at gwakeup.c:212
#3  0x00007fd15349d5f4 in g_main_context_check (context=0x7fd1280009a0, max_priority=2147483647, fds=0x7fd1280029b0, n_fds=1) at gmain.c:2980
#4  0x00007fd15349da26 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7fd1280009a0, self=<optimized out>) at gmain.c:3143
#5  g_main_context_iterate (context=0x7fd1280009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3083
#6  0x00007fd15349dbb4 in g_main_context_iteration (context=0x7fd1280009a0, may_block=1) at gmain.c:3207
#7  0x00007fd157c07ba6 in QEventDispatcherGlib::processEvents (this=0x7fd1280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007fd157bd7822 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007fd157bd7a77 in QEventLoop::exec (this=0x7fd1378d6db0, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007fd157ad6137 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#11 0x00007fd157bb72ff in QInotifyFileSystemWatcherEngine::run (this=0x17ffab0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007fd157ad919c in QThreadPrivate::start (arg=0x17ffab0) at thread/qthread_unix.cpp:338
#13 0x00007fd15783eec6 in start_thread (arg=0x7fd1378d7700) at pthread_create.c:305
#14 0x00007fd1565bd8ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fd13665c700 (LWP 2339)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd14b3b8ff2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fd14b68ce20 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fd14b3b9029 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fd15783eec6 in start_thread (arg=0x7fd13665c700) at pthread_create.c:305
#4  0x00007fd1565bd8ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fd158fe0780 (LWP 2335)):
[KCrash Handler]
#6  0x00007fd13f3ccc76 in QSharedDataPointer (o=..., this=0x7fff142cc770) at /usr/include/qt4/QtCore/qshareddata.h:93
#7  assignEntityPrivate (one=..., other=...) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/entity.cpp:49
#8  0x00007fd13f3ccd2e in Akonadi::Entity::operator= (this=0x4571350, other=...) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/entity.cpp:116
#9  0x00007fd13f458fc3 in operator= (this=0x4571350) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/collection.h:75
#10 Akonadi::EntityTreeModelPrivate::rootFetchJobDone (this=0x4571300, job=0x30d68f0) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/entitytreemodel_p.cpp:1308
#11 0x00007fd157beca91 in QMetaObject::activate (sender=0x30d68f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff142cc920) at kernel/qobject.cpp:3547
#12 0x00007fd15807bc72 in KJob::result (this=<optimized out>, _t1=0x30d68f0) at /var/tmp/portage/kde-base/kdelibs-4.9.2/work/kdelibs-4.9.2_build/kdecore/kjob.moc:208
#13 0x00007fd15807bcb0 in KJob::emitResult (this=0x30d68f0) at /var/tmp/portage/kde-base/kdelibs-4.9.2/work/kdelibs-4.9.2/kdecore/jobs/kjob.cpp:318
#14 0x00007fd157bf1c56 in QObject::event (this=0x30d68f0, e=<optimized out>) at kernel/qobject.cpp:1195
#15 0x00007fd156d61c54 in notify_helper (e=0x395b320, receiver=0x30d68f0, this=0xfaf1d0) at kernel/qapplication.cpp:4557
#16 QApplicationPrivate::notify_helper (this=0xfaf1d0, receiver=0x30d68f0, e=0x395b320) at kernel/qapplication.cpp:4529
#17 0x00007fd156d66a23 in QApplication::notify (this=0xfa9fd0, receiver=0x30d68f0, e=0x395b320) at kernel/qapplication.cpp:4418
#18 0x00007fd1589cb3c6 in KApplication::notify (this=0xfa9fd0, receiver=0x30d68f0, event=0x395b320) at /var/tmp/portage/kde-base/kdelibs-4.9.2/work/kdelibs-4.9.2/kdeui/kernel/kapplication.cpp:311
#19 0x00007fd157bd8cec in QCoreApplication::notifyInternal (this=0xfa9fd0, receiver=0x30d68f0, event=0x395b320) at kernel/qcoreapplication.cpp:915
#20 0x00007fd157bdc59a in sendEvent (event=0x395b320, receiver=0x30d68f0) at kernel/qcoreapplication.h:231
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xeb02b0) at kernel/qcoreapplication.cpp:1539
#22 0x00007fd157c07713 in sendPostedEvents () at kernel/qcoreapplication.h:236
#23 postEventSourceDispatch (s=0xf909d0) at kernel/qeventdispatcher_glib.cpp:279
#24 0x00007fd15349d7a3 in g_main_dispatch (context=0xfaea40) at gmain.c:2539
#25 g_main_context_dispatch (context=0xfaea40) at gmain.c:3075
#26 0x00007fd15349daf0 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0xfaea40, self=<optimized out>) at gmain.c:3146
#27 g_main_context_iterate (context=0xfaea40, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3083
#28 0x00007fd15349dbb4 in g_main_context_iteration (context=0xfaea40, may_block=1) at gmain.c:3207
#29 0x00007fd157c07b3f in QEventDispatcherGlib::processEvents (this=0xf92e70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007fd156e046ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007fd157bd7822 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007fd157bd7a77 in QEventLoop::exec (this=0x7fff142cd240, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007fd157bdc895 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#34 0x00007fd147ce8ec3 in kdemain (argc=1, argv=0xee3bb0) at /var/tmp/portage/kde-base/plasma-workspace-4.9.2/work/plasma-workspace-4.9.2/plasma/desktop/shell/main.cpp:120
#35 0x00000000004087c4 in launch (argc=1, _name=0xf133c8 "/usr/bin/plasma-desktop", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b186 "0") at /var/tmp/portage/kde-base/kdelibs-4.9.2/work/kdelibs-4.9.2/kinit/kinit.cpp:734
#36 0x00000000004098a6 in handle_launcher_request (sock=7, who=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.9.2/work/kdelibs-4.9.2/kinit/kinit.cpp:1226
#37 0x0000000000409de3 in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.9.2/work/kdelibs-4.9.2/kinit/kinit.cpp:1419
#38 0x00000000004057be in main (argc=2, argv=0x7fff142ce240, envp=0x7fff142ce510) at /var/tmp/portage/kde-base/kdelibs-4.9.2/work/kdelibs-4.9.2/kinit/kinit.cpp:1907

Possible duplicates by query: bug 306555, bug 298831.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 20:32:01 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:15:59 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.