[Bug 226847] New: Kmail crashes when redefining a saved IMAP search

KDE-Bugzilla at nowak-at.net KDE-Bugzilla at nowak-at.net
Sun Feb 14 16:31:05 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=226847

           Summary: Kmail crashes when redefining a saved IMAP search
           Product: kontact
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: KDE-Bugzilla at nowak-at.net


Application that crashed: kontact
Version of the application: 4.3.5
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.12-174.2.3.fc12.x86_64 x86_64

What I was doing when the application crashed:
Seems to be duplicate to bug #184615 (I did the same actions in my case).

[Copied from bug #184615]: I had a saved search on an IMAP folder. I clicked
Find Messages in the search folder's context menu, and entered a new search
(with the aim of redefining the search for the folder), at which point kmail
crashed. 

Thereafter, any time the search folder was selected in the folder list, kmail
crashed again. Evidently the search folder configuration got corrupted in such
a way that kmail could no longer handle it gracefully.

This bug is reproduceable every time.


 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#5  QString (this=0x0) at /usr/include/QtCore/qstring.h:711
#6  KIO::Slave::slaveProtocol (this=0x0) at
/usr/src/debug/kdelibs-4.3.5/kio/kio/slave.cpp:189
#7  0x0000003c5f38c5df in KIO::SchedulerPrivate::assignJobToSlave
(this=0x14b6950, slave=0x0, job=0x18b1150) at
/usr/src/debug/kdelibs-4.3.5/kio/kio/scheduler.cpp:958
#8  0x00007f9c4f98fcaa in KMail::SearchJob::searchCompleteFolder
(this=0x1adaef0) at /usr/src/debug/kdepim-4.3.5/kmail/searchjob.cpp:95
#9  0x00007f9c4f7d9b3f in KMFolderImap::search (this=0x188de30,
pattern=0x1a0cc60) at /usr/src/debug/kdepim-4.3.5/kmail/kmfolderimap.cpp:2412
#10 0x00007f9c4f9010f7 in KMSearch::slotProcessNextBatch (this=0x1a17cf0) at
/usr/src/debug/kdepim-4.3.5/kmail/kmfoldersearch.cpp:272
#11 0x00007f9c4f905640 in KMSearch::qt_metacall (this=0x1a17cf0,
_c=InvokeMetaMethod, _id=3, _a=0x7fff26af9320) at
/usr/src/debug/kdepim-4.3.5/x86_64-redhat-linux-gnu/kmail/kmfoldersearch.moc:79
#12 0x0000003c5c55408c in QMetaObject::activate (sender=0x1a1d4c0,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0x0) at kernel/qobject.cpp:3112
#13 0x0000003c5c54e08e in QObject::event (this=0x1a1d4c0, e=0x7fff26af9920) at
kernel/qobject.cpp:1074
#14 0x0000003c5d98f65c in QApplicationPrivate::notify_helper (this=0x124a850,
receiver=0x1a1d4c0, e=0x7fff26af9920) at kernel/qapplication.cpp:4065
#15 0x0000003c5d9968ce in QApplication::notify (this=<value optimized out>,
receiver=0x1a1d4c0, e=0x7fff26af9920) at kernel/qapplication.cpp:4030
#16 0x0000003c5e5f68e6 in KApplication::notify (this=0x7fff26afc8e0,
receiver=0x1a1d4c0, event=0x7fff26af9920) at
/usr/src/debug/kdelibs-4.3.5/kdeui/kernel/kapplication.cpp:302
#17 0x0000003c5c53ee6c in QCoreApplication::notifyInternal
(this=0x7fff26afc8e0, receiver=0x1a1d4c0, event=0x7fff26af9920) at
kernel/qcoreapplication.cpp:610
#18 0x0000003c5c5698d2 in sendEvent (this=0x12501e0) at
kernel/qcoreapplication.h:213
#19 QTimerInfoList::activateTimers (this=0x12501e0) at
kernel/qeventdispatcher_unix.cpp:580
#20 0x0000003c5c56729d in timerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:165
#21 0x0000003745c3920e in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#22 0x0000003745c3cbf8 in ?? () from /lib64/libglib-2.0.so.0
#23 0x0000003745c3cd1a in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#24 0x0000003c5c5671e6 in QEventDispatcherGlib::processEvents (this=0x121b910,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#25 0x0000003c5da21ffe in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#26 0x0000003c5c53d772 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x0000003c5c53db44 in QEventLoop::exec (this=0x7fff26af9ce0, flags=...) at
kernel/qeventloop.cpp:201
#28 0x0000003c5e672d82 in KWallet::Wallet::openWallet (name=<value optimized
out>, w=<value optimized out>, ot=Synchronous) at
/usr/src/debug/kdelibs-4.3.5/kdeui/util/kwallet.cpp:252
#29 0x00007f9c4f823424 in KMKernel::wallet (this=0x162aff0) at
/usr/src/debug/kdepim-4.3.5/kmail/kmkernel.cpp:2326
#30 0x00007f9c4f7b37d1 in KMail::NetworkAccount::readPassword (this=0x1927cf0)
at /usr/src/debug/kdepim-4.3.5/kmail/networkaccount.cpp:338
#31 0x00007f9c4f761dca in KMail::AccountManager::readPasswords (this=<value
optimized out>) at /usr/src/debug/kdepim-4.3.5/kmail/accountmanager.cpp:438
#32 0x00007f9c4f7b17bd in KMail::NetworkAccount::passwd (this=<value optimized
out>) at /usr/src/debug/kdepim-4.3.5/kmail/networkaccount.cpp:95
#33 0x00007f9c4f7bba38 in KMail::ImapAccountBase::makeConnection
(this=0x193da20) at /usr/src/debug/kdepim-4.3.5/kmail/imapaccountbase.cpp:303
#34 0x00007f9c4f7ea147 in KMFolderImap::listDirectory (this=0x1805d30) at
/usr/src/debug/kdepim-4.3.5/kmail/kmfolderimap.cpp:745
#35 0x00007f9c4f6d2b69 in KMail::FolderView::slotFolderExpanded (this=<value
optimized out>, item=<value optimized out>) at
/usr/src/debug/kdepim-4.3.5/kmail/folderview.cpp:2452
#36 0x00007f9c4f6dc26b in KMail::FolderView::qt_metacall (this=0x1979a50,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff26afa3c0)
    at
/usr/src/debug/kdepim-4.3.5/x86_64-redhat-linux-gnu/kmail/folderview.moc:222
#37 0x00007f9c4f6dfc60 in KMail::MainFolderView::qt_metacall (this=0x1979a50,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff26afa3c0)
    at
/usr/src/debug/kdepim-4.3.5/x86_64-redhat-linux-gnu/kmail/mainfolderview.moc:64
#38 0x0000003c5c55408c in QMetaObject::activate (sender=0x1979a50,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0x7fff26afa3c0) at kernel/qobject.cpp:3112
#39 0x0000003c5decf232 in QTreeWidget::itemExpanded (this=<value optimized
out>, _t1=0x19e5740) at .moc/release-shared/moc_qtreewidget.cpp:236
#40 0x0000003c5dedbee3 in QTreeWidget::qt_metacall (this=0x1979a50,
_c=InvokeMetaMethod, _id=21, _a=0x7fff26afa5b0) at
.moc/release-shared/moc_qtreewidget.cpp:149
#41 0x00007f9c5f1e5aa0 in KPIM::TreeWidget::qt_metacall (this=0x1979a50,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff26afa5b0)
    at
/usr/src/debug/kdepim-4.3.5/x86_64-redhat-linux-gnu/libkdepim/moc_treewidget.cpp:68
#42 0x00007f9c5f239740 in KPIM::FolderTreeWidget::qt_metacall (this=0x1979a50,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff26afa5b0)
    at
/usr/src/debug/kdepim-4.3.5/x86_64-redhat-linux-gnu/libkdepim/foldertreewidget.moc:68
#43 0x00007f9c4f6dc200 in KMail::FolderView::qt_metacall (this=0x1979a50,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff26afa5b0)
    at
/usr/src/debug/kdepim-4.3.5/x86_64-redhat-linux-gnu/kmail/folderview.moc:188
#44 0x00007f9c4f6dfc60 in KMail::MainFolderView::qt_metacall (this=0x1979a50,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff26afa5b0)
    at
/usr/src/debug/kdepim-4.3.5/x86_64-redhat-linux-gnu/kmail/mainfolderview.moc:64
#45 0x0000003c5c55408c in QMetaObject::activate (sender=0x1979a50,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0x7fff26afa5b0) at kernel/qobject.cpp:3112
#46 0x0000003c5de91892 in QTreeView::expanded (this=<value optimized out>,
_t1=<value optimized out>) at .moc/release-shared/moc_qtreeview.cpp:213
#47 0x0000003c5dea4283 in QTreeView::expand (this=0x1979a50, index=...) at
itemviews/qtreeview.cpp:752
#48 0x0000003c5ded6edb in QTreeWidget::setItemExpanded (this=0x1979a50,
item=0x19e5740, expand=<value optimized out>) at itemviews/qtreewidget.cpp:3120
#49 0x00007f9c4f6d5aa4 in setExpanded (this=0x1979a50) at
/usr/include/QtGui/qtreewidget.h:409
#50 KMail::FolderView::restoreItemStates (this=0x1979a50) at
/usr/src/debug/kdepim-4.3.5/kmail/folderview.cpp:388
#51 0x00007f9c4f6dbfd7 in KMail::FolderView::reload (this=0x1979a50,
openFoldersForUpdate=false) at
/usr/src/debug/kdepim-4.3.5/kmail/folderview.cpp:665
#52 0x00007f9c4f8e6a7b in KMMainWidget::readConfig (this=0x19543f0) at
/usr/src/debug/kdepim-4.3.5/kmail/kmmainwidget.cpp:601
#53 0x00007f9c4f8f77ad in KMMainWidget::KMMainWidget (this=0x19543f0,
parent=<value optimized out>, aGUIClient=<value optimized out>,
actionCollection=<value optimized out>, config=0x123eed0)
    at /usr/src/debug/kdepim-4.3.5/kmail/kmmainwidget.cpp:233
#54 0x00007f9c4fe6b896 in KMailPart::KMailPart (this=0x160d200,
parentWidget=<value optimized out>, parent=<value optimized out>,
__in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdepim-4.3.5/kmail/kmail_part.cpp:112
#55 0x00007f9c4fe6cc9f in KPluginFactory::createPartInstance<KMailPart>
(parentWidget=0x13da5e0, parent=0x13da5e0, args=...) at
/usr/include/kde4/kpluginfactory.h:467
#56 0x0000003c5cbcf25e in KPluginFactory::create (this=0x1603490,
iface=0x3c604385e0 "KParts::ReadOnlyPart", parentWidget=<value optimized out>,
parent=0x13da5e0, args=<value optimized out>, 
    keyword=<value optimized out>) at
/usr/src/debug/kdelibs-4.3.5/kdecore/util/kpluginfactory.cpp:191
#57 0x00007f9c5f4b07bb in create<KParts::ReadOnlyPart> (this=0x13da5e0,
libname=0x15c8b48 "kmailpart") at /usr/include/kde4/kpluginfactory.h:491
#58 Kontact::Core::createPart (this=0x13da5e0, libname=0x15c8b48 "kmailpart")
at /usr/src/debug/kdepim-4.3.5/kontactinterfaces/core.cpp:87
#59 0x00007f9c50b44120 in KMailPlugin::createPart (this=0x12dd700) at
/usr/src/debug/kdepim-4.3.5/kontact/plugins/kmail/kmail_plugin.cpp:170
#60 0x00007f9c5f4b12d9 in Kontact::Plugin::part (this=0x12dd700) at
/usr/src/debug/kdepim-4.3.5/kontactinterfaces/plugin.cpp:187
#61 0x00007f9c5f6d397f in Kontact::MainWindow::selectPlugin (this=0x13da5e0,
plugin=0x12dd700) at /usr/src/debug/kdepim-4.3.5/kontact/src/mainwindow.cpp:754
#62 0x00007f9c5f6cf30c in Kontact::MainWindow::loadSettings (this=0x13da5e0) at
/usr/src/debug/kdepim-4.3.5/kontact/src/mainwindow.cpp:926
#63 0x00007f9c5f6d7bc0 in Kontact::MainWindow::initObject (this=0x13da5e0) at
/usr/src/debug/kdepim-4.3.5/kontact/src/mainwindow.cpp:226
#64 0x00007f9c5f6d806c in Kontact::MainWindow::MainWindow (this=0x13da5e0,
__in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdepim-4.3.5/kontact/src/mainwindow.cpp:162
#65 0x0000000000404624 in KontactApp::newInstance (this=0x7fff26afc8e0) at
/usr/src/debug/kdepim-4.3.5/kontact/src/main.cpp:134
#66 0x0000003c5e5fc7e6 in KUniqueApplicationAdaptor::newInstance
(this=0x12d9c80, asn_id=<value optimized out>, args=...) at
/usr/src/debug/kdelibs-4.3.5/kdeui/kernel/kuniqueapplication.cpp:459
#67 0x0000003c5e5fcd92 in KUniqueApplicationAdaptor::qt_metacall
(this=0x12d9c80, _c=InvokeMetaMethod, _id=0, _a=0x7fff26afbc10)
    at
/usr/src/debug/kdelibs-4.3.5/x86_64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:75
#68 0x0000003c5c022e84 in QDBusConnectionPrivate::deliverCall (this=<value
optimized out>, object=<value optimized out>, msg=<value optimized out>,
metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:891
#69 0x0000003c5c023ff9 in QDBusConnectionPrivate::activateCall (this=<value
optimized out>, object=0x12d9c80, flags=337, msg=...) at
qdbusintegrator.cpp:796
#70 0x0000003c5c0248b7 in QDBusConnectionPrivate::activateObject (this=<value
optimized out>, node=..., msg=<value optimized out>, pathStartPos=<value
optimized out>) at qdbusintegrator.cpp:1347
#71 0x0000003c5c024b28 in QDBusActivateObjectEvent::placeMetaCall
(this=0x1356c90) at qdbusintegrator.cpp:1464
#72 0x0000003c5c54e401 in QObject::event (this=0x7fff26afc8e0, e=0x1356c90) at
kernel/qobject.cpp:1110
#73 0x0000003c5d99923d in QApplication::event (this=0x7fff26afc8e0,
e=0x1356c90) at kernel/qapplication.cpp:2317
#74 0x0000003c5d98f65c in QApplicationPrivate::notify_helper (this=0x124a850,
receiver=0x7fff26afc8e0, e=0x1356c90) at kernel/qapplication.cpp:4065
#75 0x0000003c5d9968ce in QApplication::notify (this=<value optimized out>,
receiver=0x7fff26afc8e0, e=0x1356c90) at kernel/qapplication.cpp:4030
#76 0x0000003c5e5f68e6 in KApplication::notify (this=0x7fff26afc8e0,
receiver=0x7fff26afc8e0, event=0x1356c90) at
/usr/src/debug/kdelibs-4.3.5/kdeui/kernel/kapplication.cpp:302
#77 0x0000003c5c53ee6c in QCoreApplication::notifyInternal
(this=0x7fff26afc8e0, receiver=0x7fff26afc8e0, event=0x1356c90) at
kernel/qcoreapplication.cpp:610
#78 0x0000003c5c53fa42 in sendEvent (receiver=0x0, event_type=<value optimized
out>, data=0x121bcb0) at kernel/qcoreapplication.h:213
#79 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value
optimized out>, data=0x121bcb0) at kernel/qcoreapplication.cpp:1247
#80 0x0000003c5c567573 in sendPostedEvents (s=<value optimized out>) at
kernel/qcoreapplication.h:218
#81 postEventSourceDispatch (s=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:210
#82 0x0000003745c3920e in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#83 0x0000003745c3cbf8 in ?? () from /lib64/libglib-2.0.so.0
#84 0x0000003745c3cd1a in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#85 0x0000003c5c5671e6 in QEventDispatcherGlib::processEvents (this=0x121b910,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#86 0x0000003c5da21ffe in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#87 0x0000003c5c53d772 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#88 0x0000003c5c53db44 in QEventLoop::exec (this=0x7fff26afc820, flags=...) at
kernel/qeventloop.cpp:201
#89 0x0000003c5c53fcd9 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#90 0x0000000000403d17 in main (argc=<value optimized out>, argv=<value
optimized out>) at /usr/src/debug/kdepim-4.3.5/kontact/src/main.cpp:218

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list