[kontact] [Bug 324118] New: Kontact crashes by closing akonadi first

FabiB fabydesu at gmail.com
Tue Aug 27 14:30:50 BST 2013


https://bugs.kde.org/show_bug.cgi?id=324118

            Bug ID: 324118
           Summary: Kontact crashes by closing akonadi first
    Classification: Unclassified
           Product: kontact
           Version: 4.11
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: fabydesu at gmail.com

Application: kontact (4.11)
KDE Platform Version: 4.11.00
Qt Version: 4.8.4
Operating System: Linux 3.11.0-2-lowlatency x86_64
Distribution: Kubuntu Saucy Salamander (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
1. run akonadi
2. run kontact
3. akonadictl stop && sleep 60
4. now press close on the kontactwindow (after that, you can see that kontact
is still running in you processmanager)
5. start kontact again (it will start with an almost empty window which just
says that akonadi is not running, but you can not click. it will just hung) but
dont enforce close of this windows
6. akonadictl start  # now we start akonadi again and the kontact window will
crash

- Unusual behavior I noticed:
There are some warnings on the terminal:
collection has not resource:  Collection ID: 15    remote ID:
"imap://hidden.email@googlemail@imap.googlemail.com/" 


"Cannot connect to agent instance with identifier 'akonadi_imap_resource_1',
error message: 'Could not get owner of name
'org.freedesktop.Akonadi.Resource.akonadi_imap_resource_1': no such name'"

kontact(29706)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x29ecea0 deleted
without having been removed from the factory first. This will leak standalone
popupmenus and could lead to crashes. 
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&,
DBusMenuLayoutItem&): Condition failed: menu

QProcess: Destroyed while process is still running.
ProcessControl: Application /usr/bin/akonadi_imap_resource stopped unexpectedly
( "Process crashed" )
Application '/usr/bin/akonadi_imap_resource' crashed. No restart!

kontact(29706)/libakonadi Akonadi::SessionPrivate::socketError: Socket error
occurred: "QLocalSocket: Remote closed" 
kontact(29706)/libakonadi Akonadi::SessionPrivate::socketError: Socket error
occurred: "QLocalSocket: Remote closed" 
kontact(29706)/libakonadi Akonadi::SessionPrivate::socketError: Socket error
occurred: "QLocalSocket: Remote closed"

The crash can be reproduced every time.

-- 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 0x7fa4e3a417c0 (LWP 31290))]

Thread 6 (Thread 0x7fa4c50b7700 (LWP 31291)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa4de829f2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa4de829f69 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa4daf50f6e in start_thread (arg=0x7fa4c50b7700) at
pthread_create.c:311
#4  0x00007fa4e0fb4e2d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7fa4847ac700 (LWP 31292)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa4de56a9fd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa4de859786 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa4daf50f6e in start_thread (arg=0x7fa4847ac700) at
pthread_create.c:311
#4  0x00007fa4e0fb4e2d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fa47616d700 (LWP 31295)):
#0  0x00007fa4e0fad243 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa4e16ddad1 in QProcessManager::run (this=0x7fa4e1a66540
<processManager()::processManager>) at io/qprocess_unix.cpp:245
#2  0x00007fa4e1600f2f in QThreadPrivate::start (arg=0x7fa4e1a66540
<processManager()::processManager>) at thread/qthread_unix.cpp:338
#3  0x00007fa4daf50f6e in start_thread (arg=0x7fa47616d700) at
pthread_create.c:311
#4  0x00007fa4e0fb4e2d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fa4752fd700 (LWP 31298)):
#0  0x00007fa4e0fa83dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa4daa785c4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa4daa786cc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa4e172da76 in QEventDispatcherGlib::processEvents
(this=0x7fa4680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fa4e16ff5ef in QEventLoop::processEvents
(this=this at entry=0x7fa4752fcd70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa4e16ff8e5 in QEventLoop::exec (this=this at entry=0x7fa4752fcd70,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa4e15fe88f in QThread::exec (this=this at entry=0x3003180) at
thread/qthread.cpp:542
#7  0x00007fa4e16e0d13 in QInotifyFileSystemWatcherEngine::run (this=0x3003180)
at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fa4e1600f2f in QThreadPrivate::start (arg=0x3003180) at
thread/qthread_unix.cpp:338
#9  0x00007fa4daf50f6e in start_thread (arg=0x7fa4752fd700) at
pthread_create.c:311
#10 0x00007fa4e0fb4e2d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fa46cb17700 (LWP 31301)):
#0  0x00007fa4e0fa83dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa4daa785c4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa4daa786cc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa4e172da76 in QEventDispatcherGlib::processEvents
(this=0x7fa45c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fa4e16ff5ef in QEventLoop::processEvents
(this=this at entry=0x7fa46cb16db0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa4e16ff8e5 in QEventLoop::exec (this=this at entry=0x7fa46cb16db0,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa4e15fe88f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:542
#7  0x00007fa4e1600f2f in QThreadPrivate::start (arg=0x295fac0) at
thread/qthread_unix.cpp:338
#8  0x00007fa4daf50f6e in start_thread (arg=0x7fa46cb17700) at
pthread_create.c:311
#9  0x00007fa4e0fb4e2d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fa4e3a417c0 (LWP 31290)):
[KCrash Handler]
#6  0x00007fa480a4a055 in MailCommon::FolderTreeWidget::selectedCollections
(this=0x2e8a540) at ../../mailcommon/folder/foldertreewidget.cpp:244
#7  0x00007fa480e1333b in KMMainWidget::updateFolderMenu (this=0x2e0b140) at
../../kmail/kmmainwidget.cpp:4132
#8  0x00007fa480e13e3c in KMMainWidget::slotUpdateActionsAfterMailChecking
(this=<optimized out>) at ../../kmail/kmmainwidget.cpp:426
#9  0x00007fa480e2298a in KMMainWidget::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
./kmmainwidget.moc:513
#10 0x00007fa4e1714a58 in QMetaObject::activate (sender=0x2e0b398, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#11 0x00007fa4e1718be1 in QObject::event (this=0x2e0b398, e=<optimized out>) at
kernel/qobject.cpp:1156
#12 0x00007fa4e20f1dfc in QApplicationPrivate::notify_helper
(this=this at entry=0x2644e40, receiver=receiver at entry=0x2e0b398,
e=e at entry=0x7fffbc6dd980) at kernel/qapplication.cpp:4567
#13 0x00007fa4e20f8470 in QApplication::notify (this=this at entry=0x7fffbc6de650,
receiver=receiver at entry=0x2e0b398, e=e at entry=0x7fffbc6dd980) at
kernel/qapplication.cpp:4353
#14 0x00007fa4e2dfb9aa in KApplication::notify (this=0x7fffbc6de650,
receiver=0x2e0b398, event=0x7fffbc6dd980) at
../../kdeui/kernel/kapplication.cpp:311
#15 0x00007fa4e17008bd in QCoreApplication::notifyInternal
(this=0x7fffbc6de650, receiver=0x2e0b398, event=0x7fffbc6dd980) at
kernel/qcoreapplication.cpp:946
#16 0x00007fa4e1730403 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#17 QTimerInfoList::activateTimers (this=0x2646260) at
kernel/qeventdispatcher_unix.cpp:622
#18 0x00007fa4e172d7a1 in timerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:186
#19 0x00007fa4daa782d6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fa4daa78628 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fa4daa786cc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fa4e172da55 in QEventDispatcherGlib::processEvents (this=0x25f7690,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#23 0x00007fa4e21939d6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007fa4e16ff5ef in QEventLoop::processEvents
(this=this at entry=0x7fffbc6ddc00, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007fa4e16ff8e5 in QEventLoop::exec (this=0x7fffbc6ddc00, flags=...) at
kernel/qeventloop.cpp:204
#26 0x00007fa4e1b8a303 in KJob::exec (this=this at entry=0x2e82d50) at
../../kdecore/jobs/kjob.cpp:210
#27 0x00007fa480dd0086 in KMKernel::cleanup (this=0x2d9e060) at
../../kmail/kmkernel.cpp:1349
#28 0x00007fa481145d35 in KMailPart::~KMailPart (this=this at entry=0x2c09de0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../kmail/kmail_part.cpp:119
#29 0x00007fa481145e09 in KMailPart::~KMailPart (this=0x2c09de0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../kmail/kmail_part.cpp:121
#30 0x00007fa4e36752fe in KontactInterface::Plugin::~Plugin (this=0x2c05510,
__vtt_parm=<optimized out>, __in_chrg=<optimized out>) at
../../kontactinterface/plugin.cpp:92
#31 0x00007fa4819aab5f in KMailPlugin::~KMailPlugin (this=0x2c05510,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#32 0x00007fa4819aab89 in KMailPlugin::~KMailPlugin (this=0x2c05510,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#33 0x00007fa4e323cfee in Kontact::MainWindow::~MainWindow
(this=this at entry=0x287a5f0, __in_chrg=<optimized out>, __vtt_parm=<optimized
out>) at ../../../kontact/src/mainwindow.cpp:296
#34 0x00007fa4e323d149 in Kontact::MainWindow::~MainWindow (this=0x287a5f0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../../kontact/src/mainwindow.cpp:298
#35 0x00007fa4e1718e08 in QObject::event (this=this at entry=0x287a5f0,
e=e at entry=0x40f0b30) at kernel/qobject.cpp:1175
#36 0x00007fa4e214136b in QWidget::event (this=this at entry=0x287a5f0,
event=event at entry=0x40f0b30) at kernel/qwidget.cpp:8845
#37 0x00007fa4e24fadb3 in QMainWindow::event (this=this at entry=0x287a5f0,
event=event at entry=0x40f0b30) at widgets/qmainwindow.cpp:1478
#38 0x00007fa4e2eafee1 in KMainWindow::event (this=this at entry=0x287a5f0,
ev=ev at entry=0x40f0b30) at ../../kdeui/widgets/kmainwindow.cpp:1084
#39 0x00007fa4e2ee7989 in KXmlGuiWindow::event (this=0x287a5f0, ev=0x40f0b30)
at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#40 0x00007fa4e20f1dfc in QApplicationPrivate::notify_helper
(this=this at entry=0x2644e40, receiver=receiver at entry=0x287a5f0,
e=e at entry=0x40f0b30) at kernel/qapplication.cpp:4567
#41 0x00007fa4e20f8470 in QApplication::notify (this=this at entry=0x7fffbc6de650,
receiver=receiver at entry=0x287a5f0, e=e at entry=0x40f0b30) at
kernel/qapplication.cpp:4353
#42 0x00007fa4e2dfb9aa in KApplication::notify (this=0x7fffbc6de650,
receiver=0x287a5f0, event=0x40f0b30) at ../../kdeui/kernel/kapplication.cpp:311
#43 0x00007fa4e17008bd in QCoreApplication::notifyInternal
(this=0x7fffbc6de650, receiver=receiver at entry=0x287a5f0,
event=event at entry=0x40f0b30) at kernel/qcoreapplication.cpp:946
#44 0x00007fa4e1703e1f in sendEvent (event=0x40f0b30, receiver=0x287a5f0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0x25f61d0) at
kernel/qcoreapplication.cpp:1570
#46 0x00007fa4e17042c3 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1463
#47 0x00007fa4e172e073 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#48 postEventSourceDispatch (s=0x26452e0) at
kernel/qeventdispatcher_glib.cpp:279
#49 0x00007fa4daa782d6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fa4daa78628 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fa4daa786cc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007fa4e172da55 in QEventDispatcherGlib::processEvents (this=0x25f7690,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#53 0x00007fa4e21939d6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007fa4e16ff5ef in QEventLoop::processEvents
(this=this at entry=0x7fffbc6de550, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007fa4e16ff8e5 in QEventLoop::exec (this=this at entry=0x7fffbc6de550,
flags=...) at kernel/qeventloop.cpp:204
#56 0x00007fa4e1704e5b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1218
#57 0x00007fa4e20f034c in QApplication::exec () at kernel/qapplication.cpp:3828
#58 0x0000000000403660 in main (argc=1, argv=0x7fffbc6de798) at
../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 306859.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list