Bug 206974 - KMail crashed in KMFolderMgr::findIdString() on startup
Summary: KMail crashed in KMFolderMgr::findIdString() on startup
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 207398 208775 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-10 14:47 UTC by Jonathan Thomas
Modified: 2009-09-29 19:18 UTC (History)
1 user (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 Jonathan Thomas 2009-09-10 14:47:18 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    Ubuntu Packages

Originally reported at https://launchpad.net/bugs/427073

The user reports a crash that occurred when he tried to start up KMail.

The crash had the following backtrace:

#0  0xb4f17af2 in KMFolderMgr::findIdString (this=0x0, folderId=@0xbfe34c44, 
    id=0, dir=0xc) at /usr/include/qt4/QtCore/qlist.h:90
No locals.
#1  0xb4fedef5 in KMKernel::findFolderById (this=0x91a5068, 
    idString=@0xbfe34c44) at ../../kmail/kmkernel.cpp:2297
	folder = <value optimized out>
#2  0xb50f2e95 in KMSearch::read (this=0x91dd470, location=@0xbfe34cac)
    at ../../kmail/kmfoldersearch.cpp:122
	config = {<KConfigBase> = {_vptr.KConfigBase = 0x948048}, 
  d_ptr = 0x9290fb0}
	group = {<KConfigBase> = {_vptr.KConfigBase = 0x948108}, d = {
    d = 0x9290620}}
	rootString = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 7168}, alloc = 0, size = 0, data = 0x804e282, 
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {
      _q_value = 541}, alloc = 0, size = 0, data = 0xcfc46e, clean = 0, 
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, d = 0xcfc45c, static codecForCStrings = 0x0}
#3  0xb50f3664 in KMFolderSearch::readSearch (this=0x9286c08)
    at ../../kmail/kmfoldersearch.cpp:522
No locals.
#4  0xb50f48da in KMFolderSearch::open (this=0x9286c08)
    at ../../kmail/kmfoldersearch.cpp:534
No locals.
#5  0xb4eec3b6 in FolderStorage::countUnread (this=0x9286c08)
    at ../../kmail/folderstorage.cpp:872
	unread = <value optimized out>
#6  0xb4ebb5f9 in KMFolder::updateIndicator (this=0x9235378)
    at ../../kmail/kmfolder.cpp:963
	count = <value optimized out>
#7  0xb4ebefa2 in KMFolder::setIgnoreNewMail (this=0x9235378, b=false)
    at ../../kmail/kmfolder.cpp:940
No locals.
#8  0xb4ec0e9b in KMFolder::readConfig (this=0x9235378, 
    configGroup=@0xbfe3502c) at ../../kmail/kmfolder.cpp:222
	defaultIdentity = 1973096893
	shortcut = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 7168}, alloc = 0, size = 0, data = 0x804e282, 
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {
      _q_value = 541}, alloc = 0, size = 0, data = 0xcfc46e, clean = 0, 
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, d = 0xcfbff4, static codecForCStrings = 0x0}
#9  0xb4ef0a87 in FolderStorage::readConfig (this=0x9286c08)
    at ../../kmail/folderstorage.cpp:963
	config = (class KConfig *) 0xbfe34fac
	group = {<KConfigBase> = {_vptr.KConfigBase = 0x948108}, d = {
    d = 0x91dc1d8}}
	type = 0
#10 0xb4ebc338 in KMFolder (this=0x9235378, aParent=0x926ae5c, 
    aFolderName=@0xbfe3523c, aFolderType=KMFolderTypeSearch, withIndex=true, 
    exportedSernums=true) at ../../kmail/kmfolder.cpp:149
	dirinfo = {d_ptr = 0x913a388}
#11 0xb4f152da in KMFolderDir::reload (this=0x926ae5c)
    at ../../kmail/kmfolderdir.cpp:313
	newFolder = (class KMFolder *) 0xcfbff4
	fname = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 7168}, alloc = 0, size = 0, data = 0x804e282, 
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {
      _q_value = 541}, alloc = 0, size = 0, data = 0xcfc46e, clean = 0, 
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, d = 0x92625d8, static codecForCStrings = 0x0}
	fileIsHidden = 60
	folderName = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 7168}, alloc = 0, size = 0, data = 0x804e282, 
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {
      _q_value = 541}, alloc = 0, size = 0, data = 0xcfc46e, clean = 0, 
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, d = 0x92625d8, static codecForCStrings = 0x0}
	folderType = KMFolderTypeSearch
	_container_ = {c = {{p = {static shared_null = {ref = {
            _q_value = 10765}, alloc = 0, begin = 0, end = 0, sharable = 1, 
          array = {0x0}}, d = 0x91ccf80}, d = 0x91ccf80}}, brk = 0, i = {
    i = 0x91ccf94}, e = {i = 0x91ccf98}}
	fldPath = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 7168}, alloc = 0, size = 0, data = 0x804e282, 
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {
      _q_value = 541}, alloc = 0, size = 0, data = 0xcfc46e, clean = 0, 
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, d = 0x924e6e8, static codecForCStrings = 0x0}
	dir = {d_ptr = 0x9153bb0}
	dirs = {q_hash = {{d = 0xcfc3a0, e = 0xcfc3a0}}}
	folderList = {{p = {static shared_null = {ref = {_q_value = 10765}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0xcfc3d4}, d = 0xcfc3d4}}
	__PRETTY_FUNCTION__ = "virtual bool KMFolderDir::reload()"
	fiList = {{p = {static shared_null = {ref = {_q_value = 10765}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0x91ccf80}, d = 0x91ccf80}}
	dirsWithoutFolder = {q_hash = {{d = 0xbe3710, e = 0xbe3710}}}
#12 0xb4f1a456 in KMFolderMgr::setBasePath (this=0x926ae50, 
    aBasePath=@0xbfe3549c) at ../../kmail/kmfoldermgr.cpp:164
	info = {d_ptr = 0x9136648}
#13 0xb4f1a8e9 in KMFolderMgr (this=0x926ae50, aBasePath=@0xbfe3549c, 
    dirType=KMSearchDir) at ../../kmail/kmfoldermgr.cpp:45
No locals.
#14 0xb5000127 in KMKernel::init (this=0x91a5068)
    at ../../kmail/kmkernel.cpp:1484
	dir = {d_ptr = 0x9178ad0}
	group = {<KConfigBase> = {_vptr.KConfigBase = 0x948108}, d = {
    d = 0x91c95a0}}
	standardFolderPath = {static null = {<No data fields>}, 
  static shared_null = {ref = {_q_value = 7168}, alloc = 0, size = 0, 
    data = 0x804e282, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
  static shared_empty = {ref = {_q_value = 541}, alloc = 0, size = 0, 
    data = 0xcfc46e, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x91e0a28, 
  static codecForCStrings = 0x0}
	__PRETTY_FUNCTION__ = "void KMKernel::init()"
	service = {d = 0x9133dd0}
	lsf = <value optimized out>
	cfg = (class KConfig *) 0x91684a8
	foldersPath = {static null = {<No data fields>}, 
  static shared_null = {ref = {_q_value = 7168}, alloc = 0, size = 0, 
    data = 0x804e282, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
  static shared_empty = {ref = {_q_value = 541}, alloc = 0, size = 0, 
    data = 0xcfc46e, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x91c9358, 
  static codecForCStrings = 0x0}
	appName = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 7168}, alloc = 0, size = 0, data = 0x804e282, 
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {
      _q_value = 541}, alloc = 0, size = 0, data = 0xcfc46e, clean = 0, 
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, d = 0x8d7faa8, static codecForCStrings = 0x0}
#15 0x05e9391b in KMailPart (this=0x9121838, parentWidget=0x8ec0a30, 
    parent=0x8ec0a30) at ../../kmail/kmail_part.cpp:73
No locals.
#16 0x05e94fb2 in KPluginFactory::createPartInstance<KMailPart> (
    parentWidget=0x8ec0a30, parent=0x8ec0a30, args=@0xbfe357c4)
    at /usr/include/kpluginfactory.h:467
No locals.
#17 0x008c9ea5 in KPluginFactory::create (this=0x912d448, 
    iface=0x2718e0 "KParts::ReadOnlyPart", parentWidget=0x8ec0a30, 
    parent=0x8ec0a30, args=@0xbfe357c4, keyword=@0xbfe357b4)
    at ../../kdecore/util/kpluginfactory.cpp:191
	current = <value optimized out>
	plugin = (
    const QPair<const QMetaObject*, QObject* (*)(QWidget*, QObject*, const QVariantList&)> &) @0x911ab40: {first = 0x5e98910, 
  second = 0x5e94f70 <QObject* KPluginFactory::createPartInstance<KMailPart>(QWidget*, QObject*, QList<QVariant> const&)>}
	_container_ = {c = {{p = {static shared_null = {ref = {
            _q_value = 10765}, alloc = 0, begin = 0, end = 0, sharable = 1, 
          array = {0x0}}, d = 0x9129638}, d = 0x9129638}}, brk = 0, i = {
    i = 0x912964c}, e = {i = 0x9129650}}
	d = (KPluginFactoryPrivate * const) 0x0
	obj = <value optimized out>
	candidates = {{p = {static shared_null = {ref = {_q_value = 10765}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0x9129638}, d = 0x9129638}}
#18 0x00d36a84 in Kontact::Core::createPart (this=0x8ec0a30, 
    libname=0x9114da8 "kmailpart") at /usr/include/kpluginfactory.h:491
	__PRETTY_FUNCTION__ = "KParts::ReadOnlyPart* Kontact::Core::createPart(const char*)"
	loader = {<> = {<No data fields>}, static staticMetaObject = {d = {
      superdata = 0xcfb334, stringdata = 0x911940 "KPluginLoader", 
      data = 0x911b00, extradata = 0x0}}, d_ptr = 0x9120d08}
	factory = (class KPluginFactory *) 0xc
	part = <value optimized out>
#19 0x00d377b7 in Kontact::Plugin::loadPart (this=0x9112408)
    at ../../kontactinterfaces/plugin.cpp:148
No locals.
#20 0x05c0f795 in KMailPlugin::createPart (this=0x9112408)
    at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:170
	part = <value optimized out>
#21 0x00d37713 in Kontact::Plugin::part (this=0x9112408)
    at ../../kontactinterfaces/plugin.cpp:187
No locals.
#22 0x006c168c in Kontact::MainWindow::selectPlugin (this=0x8ec0a30, 
    plugin=0x9112408) at ../../../kontact/src/mainwindow.cpp:754
	selectedPluginAction = <value optimized out>
	invisibleActions = {<QList<QString>> = {{p = {static shared_null = {
          ref = {_q_value = 10765}, alloc = 0, begin = 0, end = 0, 
          sharable = 1, array = {0x0}}, d = 0x9121150}, 
      d = 0x9121150}}, <No data fields>}
	navigatorToolBar = <value optimized out>
	focusWidget = <value optimized out>
	view = (struct QWidget *) 0x626c3a0
#23 0x006bc75c in Kontact::MainWindow::loadSettings (this=0x8ec0a30)
    at ../../../kontact/src/mainwindow.cpp:926
No locals.
#24 0x006c5c51 in Kontact::MainWindow::initObject (this=0x8ec0a30)
    at ../../../kontact/src/mainwindow.cpp:226
	offers = {{p = {static shared_null = {ref = {_q_value = 10765}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0x90ff8f8}, d = 0x90ff8f8}}
#25 0x006c60ed in MainWindow (this=0x8ec0a30)
    at ../../../kontact/src/mainwindow.cpp:162
No locals.
#26 0x0804be1e in KontactApp::newInstance (this=0xbfe36824)
    at ../../../kontact/src/main.cpp:134
	args = (KCmdLineArgs *) 0x8d92f70
	moduleName = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 7168}, alloc = 0, size = 0, data = 0x804e282, 
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {
      _q_value = 541}, alloc = 0, size = 0, data = 0xcfc46e, clean = 0, 
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, d = 0x8e95890, static codecForCStrings = 0x0}
	reminderclient = {_vptr.ReminderClient = 0x1}
#27 0x004a66f0 in KUniqueApplicationAdaptor::newInstance (this=0x8e39ed0, 
    asn_id=@0x8dea0e0, args=@0x8e9afa8)
    at ../../kdeui/kernel/kuniqueapplication.cpp:459
	ds = <incomplete type>
	ret = 12
#28 0x004a6e02 in KUniqueApplicationAdaptor::qt_metacall (this=0x8e39ed0, 
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfe35e4c)
    at ./kuniqueapplication_p.moc:75
	_r = <value optimized out>
#29 0x01d5a7b4 in ?? () from /usr/lib/libQtDBus.so.4
#30 0x01d5b95d in ?? () from /usr/lib/libQtDBus.so.4
#31 0x01d5c234 in ?? () from /usr/lib/libQtDBus.so.4
#32 0x01d5c4da in ?? () from /usr/lib/libQtDBus.so.4
#33 0x00c195ee in QObject::event () from /usr/lib/libQtCore.so.4
#34 0x00c08feb in QCoreApplication::event () from /usr/lib/libQtCore.so.4
#35 0x00e66996 in QApplication::event () from /usr/lib/libQtGui.so.4
#36 0x00e60f44 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#37 0x00e6866c in QApplication::notify () from /usr/lib/libQtGui.so.4
#38 0x0049ef7a in KApplication::notify (this=0xbfe36824, receiver=0xbfe36824, 
    event=0x8e997f0) at ../../kdeui/kernel/kapplication.cpp:302
No locals.
#39 0x00c096bb in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#40 0x00c0a2a2 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#41 0x00c0a46d in QCoreApplication::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#42 0x00c343ef in ?? () from /usr/lib/libQtCore.so.4
#43 0x020a8e58 in IA__g_main_context_dispatch (context=0x8da4b10)
    at /build/buildd/glib2.0-2.21.6/glib/gmain.c:1960
No locals.
#44 0x020ac700 in g_main_context_iterate (context=0x8da4b10, 
    block=<value optimized out>, dispatch=1, self=0x8da7e18)
    at /build/buildd/glib2.0-2.21.6/glib/gmain.c:2591
	max_priority = 0
	timeout = 0
	some_ready = 1
	nfds = <value optimized out>
	allocated_nfds = <value optimized out>
	fds = <value optimized out>
	__PRETTY_FUNCTION__ = "g_main_context_iterate"
#45 0x020ac833 in IA__g_main_context_iteration (context=0x8da4b10, 
    may_block=1) at /build/buildd/glib2.0-2.21.6/glib/gmain.c:2654
	retval = <value optimized out>
#46 0x00c3401c in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#47 0x00f01ad5 in ?? () from /usr/lib/libQtGui.so.4
#48 0x00c07c69 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#49 0x00c080ba in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#50 0x00c0a52f in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#51 0x00e60dc7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#52 0x0804b506 in main (argc=1, argv=0xbfe36a44)
    at ../../../kontact/src/main.cpp:218
	about = {d = 0x8d7f8c0}
	args = <value optimized out>
	app = {<KUniqueApplication> = {<KApplication> = {<> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x16c2f48, 
          stringdata = 0x625860 "KApplication", data = 0x625a00, 
          extradata = 0x0}}, static loadedByKdeinit = false, 
      static KApp = 0xbfe36824, d = 0x8deaf20}, static staticMetaObject = {
      d = {superdata = 0x698bc0, stringdata = 0x626120 "KUniqueApplication", 
        data = 0x626220, extradata = 0x0}}, d = 0x8e3a250}, 
  static staticMetaObject = {d = {superdata = 0x804e298, 
      stringdata = 0x804c500 "KontactApp", data = 0x804c5c0, 
      extradata = 0x0}}, mMainWindow = 0x0, mSessionRestored = false}
Comment 1 Christophe Marin 2009-09-28 15:04:14 UTC
*** Bug 208775 has been marked as a duplicate of this bug. ***
Comment 2 Jonathan Thomas 2009-09-29 19:13:10 UTC
*** Bug 207398 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Thomas 2009-09-29 19:18:45 UTC
This is a problem with the libindicate patches. The good news is that Aurelin Gateau fixed the problem, which is limited to Kubuntu Karmic.