Bug 291583 - Kontact crash on Startup
Summary: Kontact crash on Startup
Status: RESOLVED DUPLICATE of bug 287856
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-15 13:59 UTC by christian tacke
Modified: 2012-01-16 10:03 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 christian tacke 2012-01-15 13:59:10 UTC
Application: kontact (4.7.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.1.7-1.fc16.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I started Kontact via Launcher and after 10 seconds DrKonqi told me about it crashing. I've IMAP and POP accounts. Normally it doesn't do it.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fb6c451f840 (LWP 13912))]

Thread 3 (Thread 0x7fb6b86b8700 (LWP 13913)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000030769b86ec in WTF::TCMalloc_PageHeap::scavengerThread (this=0x307737cc20) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00000030769b8819 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x000000363be07d90 in start_thread (arg=0x7fb6b86b8700) at pthread_create.c:309
#4  0x000000363baef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fb6b7d9f700 (LWP 13914)):
#0  0x000000363bae6af3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000363d644f88 in g_main_context_poll (n_fds=1, fds=0x7fb6b00013e0, priority=<optimized out>, timeout=5593, context=0x7fb6b00009a0) at gmain.c:3386
#2  g_main_context_iterate (context=0x7fb6b00009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x000000363d64544c in g_main_context_iteration (context=0x7fb6b00009a0, may_block=1) at gmain.c:3136
#4  0x0000003642ba7db6 in QEventDispatcherGlib::processEvents (this=0x7fb6b00008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003642b78172 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003642b783c7 in QEventLoop::exec (this=0x7fb6b7d9ed40, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003642a78b27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x0000003642a7bb6b in QThreadPrivate::start (arg=0x1807e50) at thread/qthread_unix.cpp:298
#9  0x000000363be07d90 in start_thread (arg=0x7fb6b7d9f700) at pthread_create.c:309
#10 0x000000363baef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fb6c451f840 (LWP 13912)):
[KCrash Handler]
#6  0x00000039fec315cb in QTextLine::cursorToX (this=0x7fff8efe9cb0, cursorPos=0x7fff8efe9cf8, edge=QTextLine::Leading) at text/qtextlayout.cpp:2511
#7  0x00000039fec0e81c in cursorToX (edge=QTextLine::Leading, cursorPos=0, this=0x7fff8efe9cb0) at ../../src/gui/text/qtextlayout.h:230
#8  QTextControlPrivate::rectForPosition (this=0x1fd23a0, position=<optimized out>) at text/qtextcontrol.cpp:1368
#9  0x00000039fec11d08 in QTextControl::ensureCursorVisible (this=0x1fd2380) at text/qtextcontrol.cpp:2950
#10 0x00000039fec153e3 in QTextControl::setTextCursor (this=0x1fd2380, cursor=...) at text/qtextcontrol.cpp:833
#11 0x000000307808de37 in Message::KMeditor::replaceSignature (this=0x1fc46d0, oldSig=..., newSig=...) at /usr/src/debug/kdepim-4.7.4/messagecomposer/kmeditor.cpp:667
#12 0x000000307807d299 in Message::ComposerViewBase::identityChanged (this=0x1f577b0, ident=..., oldIdent=...) at /usr/src/debug/kdepim-4.7.4/messagecomposer/composerviewbase.cpp:1179
#13 0x0000003078570335 in KMComposeWin::slotIdentityChanged (this=0x1f54400, uoid=1325042035, initalChange=true) at /usr/src/debug/kdepim-4.7.4/kmail/kmcomposewin.cpp:2895
#14 0x00000030785711db in KMComposeWin::setMsg (this=0x1f54400, newMsg=..., mayAutoSign=false, allowDecryption=<optimized out>, isModified=false) at /usr/src/debug/kdepim-4.7.4/kmail/kmcomposewin.cpp:1529
#15 0x00000030784f7583 in KMKernel::recoverDeadLetters (this=<optimized out>) at /usr/src/debug/kdepim-4.7.4/kmail/kmkernel.cpp:1097
#16 0x00007fb6b5733ccd in KMailPart::KMailPart (this=0x1b76a50, parentWidget=0x17c7d00, parent=0x17c7d00, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.7.4/kmail/kmail_part.cpp:81
#17 0x00007fb6b573517f in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x17c7d00, parent=0x17c7d00, args=...) at /usr/include/kde4/kpluginfactory.h:483
#18 0x0000003a0082cc59 in KPluginFactory::create (this=0x1b74da0, iface=0x3a06243f00 "KParts::ReadOnlyPart", parentWidget=0x17c7d00, parent=0x17c7d00, args=..., keyword=<optimized out>) at /usr/src/debug/kdelibs-4.7.4/kdecore/util/kpluginfactory.cpp:203
#19 0x0000003a1140edc6 in create<KParts::ReadOnlyPart> (args=..., parent=0x17c7d00, this=<optimized out>) at /usr/include/kde4/kpluginfactory.h:507
#20 KontactInterface::Core::createPart (this=0x17c7d00, libname=0x1bedfe8 "kmailpart") at /usr/src/debug/kdepimlibs-4.7.4/kontactinterface/core.cpp:87
#21 0x00007fb6b5f8f7b0 in KMailPlugin::createPart (this=0x1658c10) at /usr/src/debug/kdepim-4.7.4/kontact/plugins/kmail/kmail_plugin.cpp:183
#22 0x0000003a11411739 in KontactInterface::Plugin::part (this=0x1658c10) at /usr/src/debug/kdepimlibs-4.7.4/kontactinterface/plugin.cpp:191
#23 0x0000003077820030 in Kontact::MainWindow::selectPlugin (this=0x17c7d00, plugin=0x1658c10) at /usr/src/debug/kdepim-4.7.4/kontact/src/mainwindow.cpp:793
#24 0x000000307781c7e4 in Kontact::MainWindow::loadSettings (this=0x17c7d00) at /usr/src/debug/kdepim-4.7.4/kontact/src/mainwindow.cpp:959
#25 0x000000307781eba1 in Kontact::MainWindow::initObject (this=0x17c7d00) at /usr/src/debug/kdepim-4.7.4/kontact/src/mainwindow.cpp:239
#26 0x000000307781f08d in Kontact::MainWindow::MainWindow (this=0x17c7d00, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.7.4/kontact/src/mainwindow.cpp:152
#27 0x0000000000404304 in KontactApp::newInstance (this=0x7fff8efec570) at /usr/src/debug/kdepim-4.7.4/kontact/src/main.cpp:134
#28 0x0000003a01a56a82 in KUniqueApplicationAdaptor::newInstance (this=0x179bd60, asn_id=<optimized out>, args=...) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kuniqueapplication.cpp:442
#29 0x0000003a01a56b04 in qt_static_metacall (_a=0x7fff8efeb800, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.7.4/x86_64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:58
#30 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff8efeb800) at /usr/src/debug/kdelibs-4.7.4/x86_64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:52
#31 0x0000003a01a56c4b in KUniqueApplicationAdaptor::qt_metacall (this=0x179bd60, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff8efeb800) at /usr/src/debug/kdelibs-4.7.4/x86_64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:102
#32 0x0000003648a22d8b in QDBusConnectionPrivate::deliverCall (this=0x162d5f0, object=0x179bd60, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:947
#33 0x0000003648a23e0d in QDBusConnectionPrivate::activateCall (this=0x162d5f0, object=0x179bd60, flags=337, msg=...) at qdbusintegrator.cpp:850
#34 0x0000003648a2482b in QDBusConnectionPrivate::activateObject (this=0x162d5f0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#35 0x0000003648a2491b in QDBusActivateObjectEvent::placeMetaCall (this=0x1653390) at qdbusintegrator.cpp:1537
#36 0x0000003642b91f06 in QObject::event (this=0x7fff8efec570, e=<optimized out>) at kernel/qobject.cpp:1195
#37 0x00000039fe9cd6f4 in QApplication::event (this=0x7fff8efec570, e=0x1653390) at kernel/qapplication.cpp:2532
#38 0x00000039fe9c9994 in notify_helper (e=0x1653390, receiver=0x7fff8efec570, this=0x1643be0) at kernel/qapplication.cpp:4550
#39 QApplicationPrivate::notify_helper (this=0x1643be0, receiver=0x7fff8efec570, e=0x1653390) at kernel/qapplication.cpp:4522
#40 0x00000039fe9ce813 in QApplication::notify (this=0x7fff8efec570, receiver=0x7fff8efec570, e=0x1653390) at kernel/qapplication.cpp:4411
#41 0x0000003a01a50766 in KApplication::notify (this=0x7fff8efec570, receiver=0x7fff8efec570, event=0x1653390) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#42 0x0000003642b7903c in QCoreApplication::notifyInternal (this=0x7fff8efec570, receiver=0x7fff8efec570, event=0x1653390) at kernel/qcoreapplication.cpp:876
#43 0x0000003642b7caca in sendEvent (event=0x1653390, receiver=0x7fff8efec570) at kernel/qcoreapplication.h:231
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1610070) at kernel/qcoreapplication.cpp:1500
#45 0x0000003642ba7923 in sendPostedEvents () at kernel/qcoreapplication.h:236
#46 postEventSourceDispatch (s=0x16490f0) at kernel/qeventdispatcher_glib.cpp:279
#47 0x000000363d644a7d in g_main_dispatch (context=0x1649000) at gmain.c:2425
#48 g_main_context_dispatch (context=0x1649000) at gmain.c:2995
#49 0x000000363d645278 in g_main_context_iterate (context=0x1649000, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#50 0x000000363d64544c in g_main_context_iteration (context=0x1649000, may_block=1) at gmain.c:3136
#51 0x0000003642ba7d4f in QEventDispatcherGlib::processEvents (this=0x1611530, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#52 0x00000039fea6c61e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#53 0x0000003642b78172 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#54 0x0000003642b783c7 in QEventLoop::exec (this=0x7fff8efec500, flags=...) at kernel/qeventloop.cpp:204
#55 0x0000003642b7cdc5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#56 0x00000000004037b9 in main (argc=1, argv=0x7fff8efecb98) at /usr/src/debug/kdepim-4.7.4/kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 287856.

Possible duplicates by query: bug 290651, bug 289037, bug 288466.

Reported using DrKonqi
Comment 1 christian tacke 2012-01-15 14:36:15 UTC
Deleting everything in ~/.kde/share/apps/kmail2/autosave did the trick. It's now working again. I did this after I noticed, that kmail opened many windows at once.
Comment 2 Christophe Marin 2012-01-16 10:03:39 UTC

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