Bug 233463 - Kontact takes 100% CPU and keeps invisible on start
Summary: Kontact takes 100% CPU and keeps invisible on start
Status: RESOLVED DUPLICATE of bug 226282
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.4.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-06 10:53 UTC by Patrick Cornelissen
Modified: 2010-08-13 23:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Cornelissen 2010-04-06 10:53:22 UTC
Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-19-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
I am using the ubuntu 10.04 version of kontact. When I start Kontact I see the akonadi server starting and after that kontact grabs one CPU at 100% and the window doesn't appear. It's still reacting on simple kills (Signal 15)...

The problem the problem started with another symptom, suddenly after a reboot kontact could not connect to the imap servers, because the imap(-s) kio slaves died all the time. Then I removed my KDE directory and reconfigured kontact. After I have configured the kolab server settings via kolabwizard I ended up with the above behavior even on the old  version...

It's strange i can't get kontact to give me a decent log so I can track down what's happening

The crash can be reproduced every time.

 -- Backtrace:
Application: Kontact (kontact), signal: Aborted
[KCrash Handler]
#5  0x00007f5b16a8ba75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f5b16a8f5c0 in *__GI_abort () at abort.c:92
#7  0x00007f5b17df6844 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2250
#8  0x00007f5b17df6a22 in qt_message (msgType=QtFatalMsg, msg=0x7f5b18a384a8 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7fff7f126e90)
    at global/qglobal.cpp:2296
#9  0x00007f5b17df6bd5 in qFatal (msg=0xaa8 <Address 0xaa8 out of bounds>) at global/qglobal.cpp:2479
#10 0x00007f5b189b528f in operator-> () at ../../kdeui/widgets/kmainwindow.cpp:215
#11 operator* () at ../../kdeui/widgets/kmainwindow.cpp:215
#12 KMainWindow::memberList () at ../../kdeui/widgets/kmainwindow.cpp:1195
#13 0x00007f5af6f6d5db in KMKernel::dumpDeadLetters (this=<value optimized out>) at ../../kmail/kmkernel.cpp:1912
#14 0x00007f5b1894f642 in KCrash::defaultCrashHandler (sig=11) at ../../kdeui/util/kcrash.cpp:244
#15 <signal handler called>
#16 0x00007f5b177c7dd7 in QAccessible::updateAccessibility (o=<value optimized out>, who=0, reason=QAccessible::ObjectHide) at accessible/qaccessible_unix.cpp:99
#17 0x00007f5b17300d38 in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7540
#18 0x00007f5b17300ea4 in QWidgetPrivate::hide_helper (this=0x184f720) at kernel/qwidget.cpp:7283
#19 0x00007f5b173099c0 in QWidget::setVisible (this=0x183d6b0, visible=<value optimized out>) at kernel/qwidget.cpp:7455
#20 0x00007f5b17307264 in QWidget::hide (this=0x184f720, mode=QWidgetPrivate::CloseNoEvent) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:489
#21 QWidgetPrivate::close_helper (this=0x184f720, mode=QWidgetPrivate::CloseNoEvent) at kernel/qwidget.cpp:7573
#22 0x00007f5b17309583 in ~QWidget (this=0x183d6b0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1421
#23 0x00007f5b18dad68e in ~ControlProgressIndicator (this=0x16aa990, __in_chrg=<value optimized out>) at ../../akonadi/control.cpp:39
#24 0x00007f5b18dab73c in ~Private (this=0x1849e50, __in_chrg=<value optimized out>) at ../../akonadi/control.cpp:89
#25 ~Control (this=0x1849e50, __in_chrg=<value optimized out>) at ../../akonadi/control.cpp:194
#26 0x00007f5b18dad6e3 in ~StaticControl (this=0x16aa990, __in_chrg=<value optimized out>) at ../../akonadi/control.cpp:62
#27 0x00007f5b16a91262 in __run_exit_handlers (status=-1) at exit.c:78
#28 *__GI_exit (status=-1) at exit.c:100
#29 0x00007f5af703224a in kmsignalHandler (sigId=15) at ../../kmail/kmstartup.cpp:59
#30 <signal handler called>
#31 0x00007f5b16ad45ba in *__GI___libc_malloc (bytes=64) at malloc.c:3682
#32 0x00007f5b16ea526d in operator new(unsigned long) () from /usr/lib/libstdc++.so.6
#33 0x00007f5b182e536c in KTimeZoneBackend (this=0x3415a60) at ../../kdecore/date/ktimezone.cpp:400
#34 0x00007f5b182e53f4 in KTimeZone (this=0x3415b40) at ../../kdecore/date/ktimezone.cpp:534
#35 0x00007f5b182d91de in KDateTimeSpecPrivate (this=0x7fff7f127ff0, spec=...) at ../../kdecore/date/kdatetime.cpp:107
#36 Spec (this=0x7fff7f127ff0, spec=...) at ../../kdecore/date/kdatetime.cpp:134
#37 0x00007f5b13f7b881 in Constraint (this=0x3532fc0, interval=..., type=54614608) at ../../kcal/recurrencerule.cpp:178
#38 KCal::RecurrenceRule::Private::datesForInterval (this=0x3532fc0, interval=..., type=54614608) at ../../kcal/recurrencerule.cpp:1972
#39 0x00007f5b13f80ed8 in KCal::RecurrenceRule::recursOn (this=0x3532fa0, qd=<value optimized out>, timeSpec=<value optimized out>) at ../../kcal/recurrencerule.cpp:1498
#40 0x00007f5b13f88c63 in KCal::Recurrence::recursOn (this=0x352c230, qd=..., timeSpec=...) at ../../kcal/recurrence.cpp:359
#41 0x00007f5b13f9631c in KCal::CalendarLocal::rawEventsForDate (this=<value optimized out>, date=..., timespec=..., sortField=<value optimized out>, sortDirection=<value optimized out>)
    at ../../kcal/calendarlocal.cpp:456
#42 0x00007f5af19f3cad in KCal::ResourceKolab::rawEventsForDate (this=<value optimized out>, date=..., timespec=..., sortField=54614832, sortDirection=383606368)
    at ../../../../kresources/kolab/kcal/resourcekolab.cpp:750
#43 0x00007f5b13ff10e6 in KCal::CalendarResources::rawEventsForDate (this=0x15e5cb0, date=<value optimized out>, timeSpec=<value optimized out>, sortField=<value optimized out>, 
    sortDirection=<value optimized out>) at ../../kcal/calendarresources.cpp:635
#44 0x00007f5b13f8dc9d in KCal::Calendar::events (this=0x40, date=..., timeSpec=..., sortField=54614832, sortDirection=383606368) at ../../kcal/calendar.cpp:401
#45 0x00007f5af8748a78 in SummaryEventInfo::eventsForDate (date=..., calendar=<value optimized out>) at ../../../../kontact/plugins/korganizer/summaryeventinfo.cpp:105
#46 0x00007f5af8746b24 in ApptSummaryWidget::updateView (this=0x227fc20) at ../../../../kontact/plugins/korganizer/apptsummarywidget.cpp:127
#47 0x00007f5af8747dc5 in ApptSummaryWidget::configUpdated (this=0x227fc20) at ../../../../kontact/plugins/korganizer/apptsummarywidget.cpp:92
#48 0x00007f5af874801f in ApptSummaryWidget (this=0x227fc20, plugin=<value optimized out>, parent=<value optimized out>) at ../../../../kontact/plugins/korganizer/apptsummarywidget.cpp:71
#49 0x00007f5af8742a34 in KOrganizerPlugin::createSummaryWidget (this=0x18244e0, parent=0x22509d0) at ../../../../kontact/plugins/korganizer/korganizerplugin.cpp:96
#50 0x00007f5af7834148 in SummaryViewPart::updateWidgets (this=0x223e310) at ../../../../kontact/plugins/summary/summaryview_part.cpp:160
#51 0x00007f5af7835398 in SummaryViewPart::initGUI (this=0x223e310, core=<value optimized out>) at ../../../../kontact/plugins/summary/summaryview_part.cpp:514
#52 0x00007f5af7835506 in SummaryViewPart (this=0x223e310, core=0x185fe70, aboutData=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>, 
    __vtt_parm=<value optimized out>) at ../../../../kontact/plugins/summary/summaryview_part.cpp:65
#53 0x00007f5af7831214 in SummaryView::createPart (this=0x1811ba0) at ../../../../kontact/plugins/summary/summaryview_plugin.cpp:109
#54 0x00007f5b190c3879 in KontactInterface::Plugin::part (this=0x7f5b16dd5e40) at ../../kontactinterface/plugin.cpp:191
#55 0x00007f5b1967608f in Kontact::MainWindow::selectPlugin (this=0x185fe70, plugin=0x1811ba0) at ../../../kontact/src/mainwindow.cpp:778
#56 0x00007f5b19671aa5 in Kontact::MainWindow::selectPlugin (this=0x185fe70, pluginName=...) at ../../../kontact/src/mainwindow.cpp:924
#57 0x00007f5b19670e99 in Kontact::MainWindow::loadSettings (this=0x185fe70) at ../../../kontact/src/mainwindow.cpp:946
#58 0x00007f5b19679110 in Kontact::MainWindow::initObject (this=0x185fe70) at ../../../kontact/src/mainwindow.cpp:210
#59 0x00007f5b1967a58c in MainWindow (this=0x185fe70, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:146
#60 0x0000000000404804 in KontactApp::newInstance (this=0x7fff7f12b5a0) at ../../../kontact/src/main.cpp:136
#61 0x00007f5b188e26b6 in KUniqueApplicationAdaptor::newInstance (this=0x184d800, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:454
#62 0x00007f5b188e2cf6 in KUniqueApplicationAdaptor::qt_metacall (this=0x184d800, _c=QMetaObject::InvokeMetaMethod, _id=81, _a=0x7fff7f12a690) at ./kuniqueapplication_p.moc:81
#63 0x00007f5b1533f486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#64 0x00007f5b153406ef in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x184d800, flags=337, msg=...) at qdbusintegrator.cpp:809
#65 0x00007f5b153411cd in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1364
#66 0x00007f5b15341468 in QDBusActivateObjectEvent::placeMetaCall (this=0x18b9ee0) at qdbusintegrator.cpp:1477
#67 0x00007f5b17f02d49 in QObject::event (this=0x7fff7f12b5a0, e=0x18b9ee0) at kernel/qobject.cpp:1248
#68 0x00007f5b172b059d in QApplication::event (this=0x7fff7f12b5a0, e=0x18b9ee0) at kernel/qapplication.cpp:2353
#69 0x00007f5b172ac22c in QApplicationPrivate::notify_helper (this=0x15800b0, receiver=0x7fff7f12b5a0, e=0x18b9ee0) at kernel/qapplication.cpp:4300
#70 0x00007f5b172b26fb in QApplication::notify (this=0x7fff7f12b5a0, receiver=0x7fff7f12b5a0, e=0x18b9ee0) at kernel/qapplication.cpp:4183
#71 0x00007f5b188db526 in KApplication::notify (this=0x7fff7f12b5a0, receiver=0x7fff7f12b5a0, event=0x18b9ee0) at ../../kdeui/kernel/kapplication.cpp:302
#72 0x00007f5b17ef306c in QCoreApplication::notifyInternal (this=0x7fff7f12b5a0, receiver=0x7fff7f12b5a0, event=0x18b9ee0) at kernel/qcoreapplication.cpp:704
#73 0x00007f5b17ef57e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1556240) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#74 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1556240) at kernel/qcoreapplication.cpp:1345
#75 0x00007f5b17f1c9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#76 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#77 0x00007f5b0f6648c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#78 0x00007f5b0f668748 in ?? () from /lib/libglib-2.0.so.0
#79 0x00007f5b0f6688fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#80 0x00007f5b17f1c513 in QEventDispatcherGlib::processEvents (this=0x1555990, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#81 0x00007f5b1735c31e in QGuiEventDispatcherGlib::processEvents (this=0x7f5b16dd5e40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#82 0x00007f5b17ef1992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#83 0x00007f5b17ef1d6c in QEventLoop::exec (this=0x184e040, flags=) at kernel/qeventloop.cpp:201
#84 0x00007f5b18dac425 in Akonadi::Control::Private::exec (this=0x1804840) at ../../akonadi/control.cpp:137
#85 0x00007f5b18dacb95 in Akonadi::Control::start (parent=0x0) at ../../akonadi/control.cpp:233
#86 0x0000000000403e72 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:204

Possible duplicates by query: bug 233320, bug 231111, bug 226426, bug 226282.

Reported using DrKonqi
Comment 1 Patrick Cornelissen 2010-04-06 11:46:39 UTC
I have removed my .kde directory and deleted all other cache/config files related to akonadi, kontact, kmail and I was able to start kontact again after I started kolabwizard. Now it's syncing the inbox Let's hope it works again... ;-) (I'll let you know whether it works after everything has been synced)
Comment 2 Patrick Cornelissen 2010-04-06 15:25:10 UTC
It works now with the new packaged (4:4.4.2-0ubuntu1) after I cleaned the KDE dirs. But this shouldn't happen in the first place, so please don't stop investigating. Stability and weird crashes is the most common annoyance we have with kontact and we use it in the whole company...
Comment 3 Nicolas L. 2010-08-13 23:29:21 UTC

*** This bug has been marked as a duplicate of bug 226282 ***