Bug 340344 - Akonadi crash while trying to quit it (after "gmail too many simult. connections" and catatonic "Retrieving Folder Contents"
Summary: Akonadi crash while trying to quit it (after "gmail too many simult. connecti...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources macOS
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-10-25 23:54 UTC by RJVB
Modified: 2017-01-07 22:01 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 RJVB 2014-10-25 23:54:27 UTC
Application: kontact (4.13.3)
KDE Platform Version: 4.14.2 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Darwin 10.8.0 x86_64
Distribution (Platform): MacPorts Packages

-- Information about the crash:
- Unusual behaviour I noticed:
Kontact had gone into its catatonic "Retrieving Folder Contents" state once more, possibly induced this time by a "Gmail too many simultaneous connections" issue which I had overlooked because the window had been opened somewhere behind all other windows.

- What I was doing when the application crashed:

I was trying to get Kontact to quit. As often happens on OS X (but which may correspond to a stray kontact process hanging around on Linux, killable only through `killall -1 kontact`), the process didn't quit completely after I triggered the Quit menu. Instead, it hung around windowless, with just the Application menu in the global menubar to give it another Quit command. I think I gave 2, and then kontact crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#4  0x00000001202740c8 in KMMainWidget::itemsFetchDone (this=0x11c5c3820, job=<value temporarily unavailable, due to optimizations>) at qwidget.h:497
#5  0x0000000120344cd6 in KMMainWidget::qt_static_metacall (_o=<value temporarily unavailable, due to optimizations>, _c=<value temporarily unavailable, due to optimizations>, 
    _id=<value temporarily unavailable, due to optimizations>, _a=0x7fff5fbf9a90) at moc_kmmainwidget.cpp:539
#6  0x0000000104e6c2fe in QMetaObject::activate (sender=0x1263f8d70, m=<value temporarily unavailable, due to optimizations>, 
    local_signal_index=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>) at kernel/qobject.cpp:3622
#7  0x000000010485415c in KJob::isAutoDelete () at /Volumes/Debian/Users/bertin/work/src/new/KDE/kdelibs/kdelibs4-4.14.0/kdecore/jobs/kjob.h:207
#8  0x000000010485415c in KJob::emitResult (this=0x1263f8d70) at kjob.moc:320
#9  0x0000000105db35f3 in ~QString [inlined] () at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdepimlibs4/kdepimlibs4/work/kdepimlibs-4.13.3/akonadi/job.cpp:64
#10 ~QString [inlined] () at /Volumes/Debian/MP6/Library/Frameworks/QtCore.framework/Versions/4/Headers/qstring.h:880
#11 0x0000000105db35f3 in Akonadi::JobPrivate::handleResponse (this=<value temporarily unavailable, due to optimizations>, tag=<value temporarily unavailable, due to optimizations>, 
    data=@0x7fff5fbf9cf0) at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdepimlibs4/kdepimlibs4/work/kdepimlibs-4.13.3/akonadi/job.cpp:65
#12 0x0000000105e0512d in ~QByteArray [inlined] () at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdepimlibs4/kdepimlibs4/work/kdepimlibs-4.13.3/akonadi/session.cpp:236
#13 ~QByteArray [inlined] () at /Volumes/Debian/MP6/Library/Frameworks/QtCore.framework/Versions/4/Headers/qbytearray.h:401
#14 0x0000000105e0512d in Akonadi::SessionPrivate::dataReceived (this=0x1219f2cb0) at qbytearray.h:236
#15 0x0000000104e6c2fe in QMetaObject::activate (sender=0x11efc12a0, m=<value temporarily unavailable, due to optimizations>, 
    local_signal_index=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>) at kernel/qobject.cpp:3622
#16 0x0000000104e6c2fe in QMetaObject::activate (sender=0x11efc25f8, m=<value temporarily unavailable, due to optimizations>, 
    local_signal_index=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>) at kernel/qobject.cpp:3622
#17 0x0000000102c7fb71 in ~QScopedValueRollback [inlined] () at socket/qabstractsocket.cpp:654
#18 0x0000000102c7fb71 in ~QScopedValueRollback [inlined] ()
    at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensource-src-4.8.6/src/corelib/tools/qscopedvaluerollback.h:63
#19 0x0000000102c7fb71 in QAbstractSocketPrivate::canReadNotification (this=0x11ef5ee70) at socket/qabstractsocket.cpp:654
#20 0x0000000102c8a749 in QReadNotifier::event (this=<value temporarily unavailable, due to optimizations>, e=<value temporarily unavailable, due to optimizations>)
    at socket/qnativesocketengine.cpp:1151
#21 0x00000001038830fd in QApplicationPrivate::notify_helper (this=0x1089136f0, receiver=0x124778bd0, e=0x7fff5fbfa6b0) at kernel/qapplication.cpp:4565
#22 0x000000010388a17e in QApplication::notify (this=0x7fff5fbfe588, receiver=<value temporarily unavailable, due to optimizations>, e=0x7fff5fbfa6b0) at kernel/qapplication.cpp:3947
#23 0x000000010325b827 in KApplication::notify (this=0x7fff5fbfe588, receiver=0x124778bd0, event=0x7fff5fbfa6b0)
    at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdelibs4/kdelibs4/work/kdelibs4-4.14.2/kdeui/kernel/kapplication.cpp:321
#24 0x0000000104e52fac in QCoreApplication::notifyInternal (this=0x7fff5fbfe588, receiver=0x124778bd0, event=0x7fff5fbfa6b0) at kernel/qcoreapplication.cpp:953
#25 0x000000010383be54 in qt_mac_socket_callback ()
#26 0x00007fff80461bba in __CFSocketDoCallback ()
#27 0x00007fff804615bb in __CFSocketPerformV0 ()
#28 0x00007fff804393d1 in __CFRunLoopDoSources0 ()
#29 0x00007fff804375c9 in __CFRunLoopRun ()
#30 0x00007fff80436d8f in CFRunLoopRunSpecific ()
#31 0x00007fff8274e8dd in _NSUnhighlightCarbonMenu ()
#32 0x00007fff829d0cf4 in -[NSMenu _internalPerformActionForItemAtIndex:] ()
#33 0x00007fff828829e9 in -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] ()
#34 0x00007fff8272d99c in NSSLMMenuEventHandler ()
#35 0x00007fff881bf7f7 in DispatchEventToHandlers ()
#36 0x00007fff881bed46 in SendEventToEventTargetInternal ()
#37 0x00007fff881dca81 in SendEventToEventTarget ()
#38 0x00007fff8820bc35 in SendHICommandEvent ()
#39 0x00007fff88238a0a in SendMenuCommandWithContextAndModifiers ()
#40 0x00007fff882389c2 in SendMenuItemSelectedEvent ()
#41 0x00007fff882388d2 in FinishMenuSelection ()
#42 0x00007fff88219c27 in MenuSelectCore ()
#43 0x00007fff8821937c in _HandleMenuSelection2 ()
#44 0x00007fff825fe851 in _NSHandleCarbonMenuEvent ()
#45 0x00007fff825d2362 in _DPSNextEvent ()
#46 0x00007fff825d1801 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#47 0x000000010383c441 in QEventDispatcherMac::processEvents ()
#48 0x0000000104e51ec4 in QEventLoop::processEvents (this=<value temporarily unavailable, due to optimizations>, flags=@0x7fff5fbfc440) at kernel/qeventloop.cpp:149
#49 0x0000000104e52274 in QEventLoop::exec (this=0x7fff5fbfc4a0, flags=@0x7fff5fbfc498) at kernel/qeventloop.cpp:204
#50 0x0000000104854387 in KJob::exec (this=0x124f1a400) at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdelibs4/kdelibs4/work/kdelibs4-4.14.2/kdecore/jobs/kjob.cpp:210
#51 0x0000000120237bbc in KMKernel::cleanup (this=0x1219c2d60) at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdepim4/kdepim4/work/kdepim-4.13.3/kmail/kmkernel.cpp:1309
#52 0x00000001201f6f71 in KMailPart::~KMailPart (this=0x1089f4e90, vtt=0x1201fb890)
    at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdepim4/kdepim4/work/kdepim-4.13.3/kmail/kmail_part.cpp:119
#53 0x00000001201f6e19 in KMailPart::~KMailPart () at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdepim4/kdepim4/work/kdepim-4.13.3/kmail/kmail_part.cpp:64
#54 0x00000001000e489f in KontactInterface::Plugin::~Plugin (this=0x1075b7fc0, __vtt_parm=<value temporarily unavailable, due to optimizations>)
    at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdepimlibs4/kdepimlibs4/work/kdepimlibs-4.13.3/kontactinterface/plugin.cpp:92
#55 0x00000001201453ef in KMailPlugin::~KMailPlugin ()
    at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdepim4/kdepim4/work/kdepim-4.13.3/kontact/plugins/kmail/kmail_plugin.cpp:167
#56 0x0000000120145372 in KMailPlugin::~KMailPlugin ()
    at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdepim4/kdepim4/work/kdepim-4.13.3/kontact/plugins/kmail/kmail_plugin.cpp:167
#57 0x000000010273564a in Kontact::MainWindow::~MainWindow (this=0x11c523590, vtt=0x1027568c0)
    at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdepim4/kdepim4/work/kdepim-4.13.3/kontact/src/mainwindow.cpp:296
#58 0x0000000102735309 in Kontact::MainWindow::~MainWindow ()
    at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdepim4/kdepim4/work/kdepim-4.13.3/kontact/src/mainwindow.cpp:1232
#59 0x00000001027352c2 in Kontact::MainWindow::~MainWindow ()
    at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdepim4/kdepim4/work/kdepim-4.13.3/kontact/src/mainwindow.cpp:1232
#60 0x0000000104e67526 in QObject::event (this=0x11c523590, e=<value temporarily unavailable, due to optimizations>) at kernel/qobject.cpp:1203
#61 0x00000001038dd4de in QWidget::event (this=0x11c523590, event=0x13395cff0) at kernel/qwidget.cpp:8859
#62 0x0000000103c7193b in QMainWindow::event (this=0x11c523590, event=0x13395cff0) at widgets/qmainwindow.cpp:1478
#63 0x00000001033294e0 in KMainWindow::event (this=0x11c523590, ev=0x13395cff0)
    at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdelibs4/kdelibs4/work/kdelibs4-4.14.2/kdeui/widgets/kmainwindow.cpp:1084
#64 0x0000000103374cce in KXmlGuiWindow::event (this=0x11c523590, ev=0x13395cff0)
    at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdelibs4/kdelibs4/work/kdelibs4-4.14.2/kdeui/xmlgui/kxmlguiwindow.cpp:126
#65 0x00000001038830fd in QApplicationPrivate::notify_helper (this=0x1089136f0, receiver=0x11c523590, e=0x13395cff0) at kernel/qapplication.cpp:4565
#66 0x0000000103889a78 in QApplication::notify (this=0x7fff5fbfe588, receiver=0x11c523590, e=0x13395cff0) at kernel/qapplication.cpp:4426
#67 0x000000010325b827 in KApplication::notify (this=0x7fff5fbfe588, receiver=0x11c523590, event=0x13395cff0)
    at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdelibs4/kdelibs4/work/kdelibs4-4.14.2/kdeui/kernel/kapplication.cpp:321
#68 0x0000000104e52fac in QCoreApplication::notifyInternal (this=0x7fff5fbfe588, receiver=0x11c523590, event=0x13395cff0) at kernel/qcoreapplication.cpp:953
#69 0x0000000104e54560 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x108900b60) at kernel/qcoreapplication.cpp:1577
#70 0x00007fff804393d1 in __CFRunLoopDoSources0 ()
#71 0x00007fff804375c9 in __CFRunLoopRun ()
#72 0x00007fff80436d8f in CFRunLoopRunSpecific ()
#73 0x00007fff881e67ee in RunCurrentEventLoopInMode ()
#74 0x00007fff881e6551 in ReceiveNextEventCommon ()
#75 0x00007fff881e64ac in BlockUntilNextEventMatchingListInMode ()
#76 0x00007fff825d1eb2 in _DPSNextEvent ()
#77 0x00007fff825d1801 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#78 0x00007fff8259768f in -[NSApplication run] ()
#79 0x000000010383c8a8 in QEventDispatcherMac::processEvents ()
#80 0x0000000104e51ec4 in QEventLoop::processEvents (this=<value temporarily unavailable, due to optimizations>, flags=@0x7fff5fbfe4b0) at kernel/qeventloop.cpp:149
#81 0x0000000104e52274 in QEventLoop::exec (this=0x7fff5fbfe500, flags=@0x7fff5fbfe510) at kernel/qeventloop.cpp:204
#82 0x0000000104e54aec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#83 0x000000010000a642 in main (argc=<value temporarily unavailable, due to optimizations>, argv=0x7fff5fbfe8e8)
    at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdepim4/kdepim4/work/kdepim-4.13.3/kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:27: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:01:58 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.