Bug 230656 - crash when restarting kontact after crash
Summary: crash when restarting kontact after crash
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-14 07:32 UTC by Lothar Werzinger
Modified: 2018-09-04 18:24 UTC (History)
1 user (show)

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 Lothar Werzinger 2010-03-14 07:32:26 UTC
Application: kontact (4.4.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-16-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
kontact keeps crashing (3 times consecutive) when trying to restart it after it crashed deleting some mails.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  *__GI_fseek (fp=0x0, offset=37, whence=0) at fseek.c:40
#6  0x00007ff674292775 in KMMsgBase::syncIndexString (this=0x2f512c0) at ../../kmail/kmmsgbase.cpp:1229
#7  0x00007ff6743ff706 in KMFolderIndex::updateIndex (this=0x2f2d330, aboutToClose=<value optimized out>) at ../../kmail/kmfolderindex.cpp:73
#8  0x00007ff6742fbc0a in KMFolderMaildir::reallyDoClose (this=0x0) at ../../kmail/kmfoldermaildir.cpp:188
#9  0x00007ff67422b127 in FolderStorage::invalidateFolder (this=0x2f2d330) at ../../kmail/folderstorage.cpp:1033
#10 0x00007ff67422b1e0 in FolderStorage::readFolderIdsFile (this=0x2f2d330) at ../../kmail/folderstorage.cpp:1021
#11 0x00007ff674200e09 in KMFolder (this=0x2f2e2f0, aParent=0x2ee80b0, aFolderName=..., aFolderType=<value optimized out>, withIndex=<value optimized out>, exportedSernums=<value optimized out>)
    at ../../kmail/kmfolder.cpp:157
#12 0x00007ff67424b3a9 in KMFolderDir::reload (this=0x2ee80b0) at ../../kmail/kmfolderdir.cpp:313
#13 0x00007ff67424997f in KMFolderDir::addDirToParent (this=0x2e37f18, dirName=..., parentFolder=0x2ef8150) at ../../kmail/kmfolderdir.cpp:175
#14 0x00007ff67424b136 in KMFolderDir::reload (this=0x2e37f18) at ../../kmail/kmfolderdir.cpp:326
#15 0x00007ff674250100 in KMFolderMgr::setBasePath (this=0x2e37f00, aBasePath=<value optimized out>) at ../../kmail/kmfoldermgr.cpp:164
#16 0x00007ff67425052c in KMFolderMgr (this=0x2e37f00, aBasePath=..., dirType=KMStandardDir) at ../../kmail/kmfoldermgr.cpp:45
#17 0x00007ff674328348 in KMKernel::init (this=0x2ccbd50) at ../../kmail/kmkernel.cpp:1527
#18 0x00007ff6749bd258 in KMailPart (this=0x2bdae00, parentWidget=0x2603470, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at ../../kmail/kmail_part.cpp:73
#19 0x00007ff6749bdc9f in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x2603470, parent=0x2603470, args=...) at /usr/include/kpluginfactory.h:467
#20 0x00007ff68dc88dbc in KPluginFactory::create (this=0x2b8c7f0, iface=0x7ff68c0c1400 "KParts::ReadOnlyPart", parentWidget=<value optimized out>, parent=0x2603470, args=..., 
    keyword=<value optimized out>) at ../../kdecore/util/kpluginfactory.cpp:191
#21 0x00007ff68e93c56a in KPluginFactory::create<KParts::ReadOnlyPart> (this=0x2603470, libname=0x2b2e338 "kmailpart") at /usr/include/kpluginfactory.h:491
#22 KontactInterface::Core::createPart (this=0x2603470, libname=0x2b2e338 "kmailpart") at ../../kontactinterface/core.cpp:87
#23 0x00007ff67563c210 in KMailPlugin::createPart (this=0x0) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:179
#24 0x00007ff68e93e879 in KontactInterface::Plugin::part (this=0x0) at ../../kontactinterface/plugin.cpp:191
#25 0x00007ff68eef108f in Kontact::MainWindow::selectPlugin (this=0x2603470, plugin=0x2ac5a00) at ../../../kontact/src/mainwindow.cpp:778
#26 0x00007ff68eeebe6c in Kontact::MainWindow::loadSettings (this=0x2603470) at ../../../kontact/src/mainwindow.cpp:944
#27 0x00007ff68eef4110 in Kontact::MainWindow::initObject (this=0x2603470) at ../../../kontact/src/mainwindow.cpp:210
#28 0x00007ff68eef558c in MainWindow (this=0x2603470, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:146
#29 0x0000000000404804 in KontactApp::newInstance (this=0x7fffe3cbc940) at ../../../kontact/src/main.cpp:136
#30 0x00007ff68e15d696 in KUniqueApplicationAdaptor::newInstance (this=0x26d0f60, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:459
#31 0x00007ff68e15dcd6 in KUniqueApplicationAdaptor::qt_metacall (this=0x26d0f60, _c=QMetaObject::InvokeMetaMethod, _id=49468208, _a=0x7fffe3cbbb00) at ./kuniqueapplication_p.moc:81
#32 0x00007ff68abb7486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#33 0x00007ff68abb86ef in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x26d0f60, flags=337, msg=...) at qdbusintegrator.cpp:809
#34 0x00007ff68abb91cd in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1364
#35 0x00007ff68abb9468 in QDBusActivateObjectEvent::placeMetaCall (this=0x26d6990) at qdbusintegrator.cpp:1477
#36 0x00007ff68d778cc9 in QObject::event (this=0x7fffe3cbc940, e=0x26d6990) at kernel/qobject.cpp:1248
#37 0x00007ff68cb2659d in QApplication::event (this=0x7fffe3cbc940, e=0x26d6990) at kernel/qapplication.cpp:2353
#38 0x00007ff68cb2222c in QApplicationPrivate::notify_helper (this=0x26056d0, receiver=0x7fffe3cbc940, e=0x26d6990) at kernel/qapplication.cpp:4300
#39 0x00007ff68cb286fb in QApplication::notify (this=0x7fffe3cbc940, receiver=0x7fffe3cbc940, e=0x26d6990) at kernel/qapplication.cpp:4183
#40 0x00007ff68e156506 in KApplication::notify (this=0x7fffe3cbc940, receiver=0x7fffe3cbc940, event=0x26d6990) at ../../kdeui/kernel/kapplication.cpp:302
#41 0x00007ff68d768fdc in QCoreApplication::notifyInternal (this=0x7fffe3cbc940, receiver=0x7fffe3cbc940, event=0x26d6990) at kernel/qcoreapplication.cpp:704
#42 0x00007ff68d76b757 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x25d96a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x25d96a0) at kernel/qcoreapplication.cpp:1345
#44 0x00007ff68d792943 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#45 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#46 0x00007ff684cc8492 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#47 0x00007ff684ccc308 in ?? () from /lib/libglib-2.0.so.0
#48 0x00007ff684ccc4bc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#49 0x00007ff68d792483 in QEventDispatcherGlib::processEvents (this=0x25d8df0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#50 0x00007ff68cbd221e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007ff68d767902 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#52 0x00007ff68d767cdc in QEventLoop::exec (this=0x7fffe3cbc880, flags=) at kernel/qeventloop.cpp:201
#53 0x00007ff68d76ba1b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#54 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Nicolas L. 2010-04-29 08:58:03 UTC
is it still valid ?

is there some debug messages if you open kontact in konsole ?
Comment 2 Christophe Marin 2010-06-07 01:02:07 UTC
changing status
Comment 3 Andrew Crouthamel 2018-09-04 18:24:01 UTC
Hello! Sorry to be the bearer of bad news, but this version of Kmail has been unmaintained for many years so I am closing this bug. Please try using the latest version of Kmail to see if your issue persists. If it does, please submit a new bug in "kmail2". Thank you!