Bug 254794

Summary: Kontact repeatedly says: "Too many files are open"
Product: [Unmaintained] kmail Reporter: Christopher Yeleighton <giecrilj>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: alexmorgan66, zakiakhmad
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: the stack trace compressed
New crash information added by DrKonqi

Description Christopher Yeleighton 2010-10-20 21:10:30 UTC
Created attachment 52708 [details]
the stack trace compressed

Version:           1.13.5 (using KDE 4.4.4) 
OS:                Linux

I launched Kontact and I gave it my IMAP passwords.
I visited my first IMAP folder; it showed a new incomming message.  I did not read the message.
And then all hell broke loose.  Suddenly, I started getting lots of notification windows telling me that Kontact cannot create a file because too many files are open.  The notification windows were about #news folders I never visited.  The failing folders were in alphabetical order.  The notification windows would come up (and stay) quicker than I was able to close them so I decided to close Kontact’s main window.
Kontact crashed and DrKonqi was unable to reprot the crash because the stack trace is too long.  And it definitely is; I think a runaway recurrency protection would be quite appropriate.

Reproducible: Sometimes


Actual Results:  
 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#5  0x00007f5ac506dd1d in KMFolder::KMFolder (this=0x250ec00, aParent=0x98a2940, aFolderName=<value optimized out>, aFolderType=<value optimized out>, withIndex=<value optimized out>, 
    exportedSernums=<value optimized out>) at /usr/src/debug/kdepim-4.4.4/kmail/kmfolder.cpp:101
#6  0x00007f5ac50b20f1 in KMFolderDir::createFolder (this=0x98a2940, aFolderName=..., aSysFldr=false, aFolderType=KMFolderTypeMbox) at /usr/src/debug/kdepim-4.4.4/kmail/kmfolderdir.cpp:104
#7  0x00007f5ac5125ad3 in KMFolderImap::slotListResult (this=0x21ee540, subfolderNames=..., subfolderPaths=..., subfolderMimeTypes=..., subfolderAttributes=..., jobData=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.4/kmail/kmfolderimap.cpp:845
#8  0x00007f5ac5134666 in KMFolderImap::qt_metacall (this=0x21ee540, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fff73749990) at /usr/src/debug/kdepim-4.4.4/build/kmail/kmfolderimap.moc:182
#9  0x00007f5add5efa1f in QMetaObject::activate (sender=0x255f250, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff73749990) at kernel/qobject.cpp:3295
#10 0x00007f5ac50316c4 in KMail::ListJob::receivedFolders (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>, _t4=<value optimized out>, 
    _t5=<value optimized out>) at /usr/src/debug/kdepim-4.4.4/build/kmail/listjob.moc:97
#11 0x00007f5ac50335e4 in KMail::ListJob::slotListResult (this=0x255f250, job=0x1f591d0) at /usr/src/debug/kdepim-4.4.4/kmail/listjob.cpp:181
#12 0x00007f5ac5033703 in KMail::ListJob::qt_metacall (this=0x255f250, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff73749b60)
    at /usr/src/debug/kdepim-4.4.4/build/kmail/listjob.moc:83
#13 0x00007f5add5efa1f in QMetaObject::activate (sender=0x1f591d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff73749b60) at kernel/qobject.cpp:3295
#14 0x00007f5add99a3a2 in KJob::result (this=<value optimized out>, _t1=0x1f591d0) at /usr/src/debug/kdelibs-4.4.4/build/kdecore/kjob.moc:194
#15 0x00007f5add99a3e0 in KJob::emitResult (this=0x1f591d0) at /usr/src/debug/kdelibs-4.4.4/kdecore/jobs/kjob.cpp:312
#16 0x00007f5adaed43fd in KIO::SimpleJob::slotFinished (this=0x1f591d0) at /usr/src/debug/kdelibs-4.4.4/kio/kio/job.cpp:517
#17 0x00007f5adaed4885 in KIO::ListJob::slotFinished (this=0x1f591d0) at /usr/src/debug/kdelibs-4.4.4/kio/kio/job.cpp:2544
#18 0x00007f5adaee5779 in KIO::ListJob::qt_metacall (this=0x1f591d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff73749eb0)
    at /usr/src/debug/kdelibs-4.4.4/build/kio/jobclasses.moc:818
#19 0x00007f5add5efa1f in QMetaObject::activate (sender=0x1863cc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#20 0x00007f5adaf2d591 in KIO::SlaveInterface::dispatch (this=0x1863cc0, _cmd=<value optimized out>, rawdata=...) at /usr/src/debug/kdelibs-4.4.4/kio/kio/slaveinterface.cpp:175
#21 0x00007f5adae94863 in KIO::SlaveInterface::dispatch (this=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kio/kio/slaveinterface.cpp:91
#22 0x00007f5adae90076 in KIO::Slave::gotInput (this=0x1863cc0) at /usr/src/debug/kdelibs-4.4.4/kio/kio/slave.cpp:324
#23 0x00007f5adae9826c in KIO::Slave::qt_metacall (this=0x1863cc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7374a2c0)
    at /usr/src/debug/kdelibs-4.4.4/build/kio/slave.moc:82
#24 0x00007f5add5efa1f in QMetaObject::activate (sender=0x11155d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#25 0x00007f5adae98047 in KIO::ConnectionPrivate::dequeue (this=0x1844490) at /usr/src/debug/kdelibs-4.4.4/kio/kio/connection.cpp:82
#26 0x00007f5adae980fd in KIO::Connection::qt_metacall (this=0x11155d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x3bf5db0)
    at /usr/src/debug/kdelibs-4.4.4/build/kio/connection.moc:79
#27 0x00007f5add5ed509 in QObject::event (this=0x11155d0, e=0x9884a30) at kernel/qobject.cpp:1248
#28 0x00007f5adc9cd4d4 in QApplicationPrivate::notify_helper (this=0x6431d0, receiver=0x11155d0, e=0x9884a30) at kernel/qapplication.cpp:4302
#29 0x00007f5adc9d5aca in QApplication::notify (this=<value optimized out>, receiver=0x11155d0, e=0x9884a30) at kernel/qapplication.cpp:4185
#30 0x00007f5addebec06 in KApplication::notify (this=0x7fff7377c1e0, receiver=0x11155d0, event=0x9884a30) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#31 0x00007f5add5dbe4c in QCoreApplication::notifyInternal (this=0x7fff7377c1e0, receiver=0x11155d0, event=0x9884a30) at kernel/qcoreapplication.cpp:726
#32 0x00007f5add5df5ba in sendEvent (receiver=0x0, event_type=0, data=0x60db90) at kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60db90) at kernel/qcoreapplication.cpp:1367
#34 0x00007f5add604173 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#36 0x00007f5ad5104a93 in g_main_dispatch (context=0x63c920) at gmain.c:1960
#37 IA__g_main_context_dispatch (context=0x63c920) at gmain.c:2513
#38 0x00007f5ad5105270 in g_main_context_iterate (context=0x63c920, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#39 0x00007f5ad5105510 in IA__g_main_context_iteration (context=0x63c920, may_block=1) at gmain.c:2654
#40 0x00007f5add60467f in QEventDispatcherGlib::processEvents (this=0x613220, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#41 0x00007f5adca6e14e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f5add5db292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f5add5db495 in QEventLoop::exec (this=0x7fff7374ad00, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007f5adce697ee in QDialog::exec (this=0x26ddfc0) at dialogs/qdialog.cpp:546
#45 0x00007f5ade004b2d in KMessageBox::createKMessageBox (dialog=<value optimized out>, icon=<value optimized out>, text=..., strlist=<value optimized out>, ask=..., checkboxReturn=0x7fff7374b3df, 
    options=..., details=..., notifyType=QMessageBox::Information) at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:333
#46 0x00007f5ade021eb4 in KMessageBox::createKMessageBox (dialog=0x26ddfc0, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0x7fff7374b3df, options=..., details=...)
    at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:151
#47 0x00007f5ade0222f4 in KMessageBox::informationListWId (parent_id=0, text=..., strlist=..., caption=<value optimized out>, dontShowAgainName=..., options=...)
    at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:1000
#48 0x00007f5ade02246f in KMessageBox::informationList (parent=<value optimized out>, text=..., strlist=..., caption=..., dontShowAgainName=<value optimized out>, options=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:970
#49 0x00007f5ade0224c0 in KMessageBox::information (parent=<value optimized out>, text=<value optimized out>, caption=<value optimized out>, dontShowAgainName=<value optimized out>, 
    options=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:957
#50 0x00007f5ac506e1ce in KMFolder::KMFolder (this=0x202d7e0, aParent=0x9868de0, aFolderName=<value optimized out>, aFolderType=<value optimized out>, withIndex=<value optimized out>, 
    exportedSernums=<value optimized out>) at /usr/src/debug/kdepim-4.4.4/kmail/kmfolder.cpp:95
#51 0x00007f5ac50b20f1 in KMFolderDir::createFolder (this=0x9868de0, aFolderName=..., aSysFldr=false, aFolderType=KMFolderTypeMbox) at /usr/src/debug/kdepim-4.4.4/kmail/kmfolderdir.cpp:104
#52 0x00007f5ac5125ad3 in KMFolderImap::slotListResult (this=0x2493c90, subfolderNames=..., subfolderPaths=..., subfolderMimeTypes=..., subfolderAttributes=..., jobData=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.4/kmail/kmfolderimap.cpp:845
#53 0x00007f5ac5134666 in KMFolderImap::qt_metacall (this=0x2493c90, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fff7374bab0) at /usr/src/debug/kdepim-4.4.4/build/kmail/kmfolderimap.moc:182
#54 0x00007f5add5efa1f in QMetaObject::activate (sender=0x1f8f940, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7374bab0) at kernel/qobject.cpp:3295
#55 0x00007f5ac50316c4 in KMail::ListJob::receivedFolders (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>, _t4=<value optimized out>, 
    _t5=<value optimized out>) at /usr/src/debug/kdepim-4.4.4/build/kmail/listjob.moc:97
#56 0x00007f5ac50335e4 in KMail::ListJob::slotListResult (this=0x1f8f940, job=0x2412e40) at /usr/src/debug/kdepim-4.4.4/kmail/listjob.cpp:181
#57 0x00007f5ac5033703 in KMail::ListJob::qt_metacall (this=0x1f8f940, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7374bc80)
    at /usr/src/debug/kdepim-4.4.4/build/kmail/listjob.moc:83
#58 0x00007f5add5efa1f in QMetaObject::activate (sender=0x2412e40, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7374bc80) at kernel/qobject.cpp:3295
#59 0x00007f5add99a3a2 in KJob::result (this=<value optimized out>, _t1=0x2412e40) at /usr/src/debug/kdelibs-4.4.4/build/kdecore/kjob.moc:194
#60 0x00007f5add99a3e0 in KJob::emitResult (this=0x2412e40) at /usr/src/debug/kdelibs-4.4.4/kdecore/jobs/kjob.cpp:312
#61 0x00007f5adaed43fd in KIO::SimpleJob::slotFinished (this=0x2412e40) at /usr/src/debug/kdelibs-4.4.4/kio/kio/job.cpp:517
#62 0x00007f5adaed4885 in KIO::ListJob::slotFinished (this=0x2412e40) at /usr/src/debug/kdelibs-4.4.4/kio/kio/job.cpp:2544
#63 0x00007f5adaee5779 in KIO::ListJob::qt_metacall (this=0x2412e40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7374bfd0)
    at /usr/src/debug/kdelibs-4.4.4/build/kio/jobclasses.moc:818
#64 0x00007f5add5efa1f in QMetaObject::activate (sender=0x1863cc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#65 0x00007f5adaf2d591 in KIO::SlaveInterface::dispatch (this=0x1863cc0, _cmd=<value optimized out>, rawdata=...) at /usr/src/debug/kdelibs-4.4.4/kio/kio/slaveinterface.cpp:175
#66 0x00007f5adae94863 in KIO::SlaveInterface::dispatch (this=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kio/kio/slaveinterface.cpp:91
#67 0x00007f5adae90076 in KIO::Slave::gotInput (this=0x1863cc0) at /usr/src/debug/kdelibs-4.4.4/kio/kio/slave.cpp:324
#68 0x00007f5adae9826c in KIO::Slave::qt_metacall (this=0x1863cc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7374c3e0)
    at /usr/src/debug/kdelibs-4.4.4/build/kio/slave.moc:82
#69 0x00007f5add5efa1f in QMetaObject::activate (sender=0x11155d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#70 0x00007f5adae98047 in KIO::ConnectionPrivate::dequeue (this=0x1844490) at /usr/src/debug/kdelibs-4.4.4/kio/kio/connection.cpp:82
#71 0x00007f5adae980fd in KIO::Connection::qt_metacall (this=0x11155d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x46c0850)
    at /usr/src/debug/kdelibs-4.4.4/build/kio/connection.moc:79
#72 0x00007f5add5ed509 in QObject::event (this=0x11155d0, e=0x240fc50) at kernel/qobject.cpp:1248
#73 0x00007f5adc9cd4d4 in QApplicationPrivate::notify_helper (this=0x6431d0, receiver=0x11155d0, e=0x240fc50) at kernel/qapplication.cpp:4302
#74 0x00007f5adc9d5aca in QApplication::notify (this=<value optimized out>, receiver=0x11155d0, e=0x240fc50) at kernel/qapplication.cpp:4185
#75 0x00007f5addebec06 in KApplication::notify (this=0x7fff7377c1e0, receiver=0x11155d0, event=0x240fc50) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#76 0x00007f5add5dbe4c in QCoreApplication::notifyInternal (this=0x7fff7377c1e0, receiver=0x11155d0, event=0x240fc50) at kernel/qcoreapplication.cpp:726
#77 0x00007f5add5df5ba in sendEvent (receiver=0x0, event_type=0, data=0x60db90) at kernel/qcoreapplication.h:215
#78 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60db90) at kernel/qcoreapplication.cpp:1367
#79 0x00007f5add604173 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#80 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#81 0x00007f5ad5104a93 in g_main_dispatch (context=0x63c920) at gmain.c:1960
#82 IA__g_main_context_dispatch (context=0x63c920) at gmain.c:2513
#83 0x00007f5ad5105270 in g_main_context_iterate (context=0x63c920, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#84 0x00007f5ad5105510 in IA__g_main_context_iteration (context=0x63c920, may_block=1) at gmain.c:2654
#85 0x00007f5add60467f in QEventDispatcherGlib::processEvents (this=0x613220, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#86 0x00007f5adca6e14e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#87 0x00007f5add5db292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#88 0x00007f5add5db495 in QEventLoop::exec (this=0x7fff7374ce20, flags=...) at kernel/qeventloop.cpp:201
#89 0x00007f5adce697ee in QDialog::exec (this=0x20ae5a0) at dialogs/qdialog.cpp:546
#90 0x00007f5ade004b2d in KMessageBox::createKMessageBox (dialog=<value optimized out>, icon=<value optimized out>, text=..., strlist=<value optimized out>, ask=..., checkboxReturn=0x0, options=..., 
    details=..., notifyType=QMessageBox::Warning) at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:333
#91 0x00007f5ade021eb4 in KMessageBox::createKMessageBox (dialog=0x20ae5a0, icon=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=...)
    at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:151
#92 0x00007f5ade024073 in KMessageBox::sorryWId (parent_id=<value optimized out>, text=..., caption=..., options=...) at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:921
#93 0x00007f5ade024186 in KMessageBox::sorry (parent=<value optimized out>, text=..., caption=..., options=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:899
#94 0x00007f5ac511cb8f in KMFolderMbox::open (this=0x985a4e0, owner=<value optimized out>) at /usr/src/debug/kdepim-4.4.4/kmail/kmfoldermbox.cpp:131
#95 0x00007f5ac5246cf6 in KMFolderIndex::fillMessageDict (this=0x985a4e0) at /usr/src/debug/kdepim-4.4.4/kmail/kmfolderindex.cpp:486
#96 0x00007f5ac5093f77 in FolderStorage::invalidateFolder (this=0x985a4e0) at /usr/src/debug/kdepim-4.4.4/kmail/folderstorage.cpp:1033
#97 0x00007f5ac5094030 in FolderStorage::readFolderIdsFile (this=0x985a4e0) at /usr/src/debug/kdepim-4.4.4/kmail/folderstorage.cpp:1021
#98 0x00007f5ac506e079 in KMFolder::KMFolder (this=0x255bbe0, aParent=0x22282d0, aFolderName=<value optimized out>, aFolderType=<value optimized out>, withIndex=<value optimized out>, 
    exportedSernums=<value optimized out>) at /usr/src/debug/kdepim-4.4.4/kmail/kmfolder.cpp:157
#99 0x00007f5ac50b20f1 in KMFolderDir::createFolder (this=0x22282d0, aFolderName=..., aSysFldr=false, aFolderType=KMFolderTypeMbox) at /usr/src/debug/kdepim-4.4.4/kmail/kmfolderdir.cpp:104
#100 0x00007f5ac5125ad3 in KMFolderImap::slotListResult (this=0x216b3e0, subfolderNames=..., subfolderPaths=..., subfolderMimeTypes=..., subfolderAttributes=..., jobData=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.4/kmail/kmfolderimap.cpp:845
#101 0x00007f5ac5134666 in KMFolderImap::qt_metacall (this=0x216b3e0, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fff7374dd70) at /usr/src/debug/kdepim-4.4.4/build/kmail/kmfolderimap.moc:182
#102 0x00007f5add5efa1f in QMetaObject::activate (sender=0x2614ce0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7374dd70) at kernel/qobject.cpp:3295
#103 0x00007f5ac50316c4 in KMail::ListJob::receivedFolders (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>, _t4=<value optimized out>, 
    _t5=<value optimized out>) at /usr/src/debug/kdepim-4.4.4/build/kmail/listjob.moc:97
#104 0x00007f5ac50335e4 in KMail::ListJob::slotListResult (this=0x2614ce0, job=0x21510b0) at /usr/src/debug/kdepim-4.4.4/kmail/listjob.cpp:181
#105 0x00007f5ac5033703 in KMail::ListJob::qt_metacall (this=0x2614ce0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7374df40)
    at /usr/src/debug/kdepim-4.4.4/build/kmail/listjob.moc:83
#106 0x00007f5add5efa1f in QMetaObject::activate (sender=0x21510b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7374df40) at kernel/qobject.cpp:3295
#107 0x00007f5add99a3a2 in KJob::result (this=<value optimized out>, _t1=0x21510b0) at /usr/src/debug/kdelibs-4.4.4/build/kdecore/kjob.moc:194
#108 0x00007f5add99a3e0 in KJob::emitResult (this=0x21510b0) at /usr/src/debug/kdelibs-4.4.4/kdecore/jobs/kjob.cpp:312
#109 0x00007f5adaed43fd in KIO::SimpleJob::slotFinished (this=0x21510b0) at /usr/src/debug/kdelibs-4.4.4/kio/kio/job.cpp:517
#110 0x00007f5adaed4885 in KIO::ListJob::slotFinished (this=0x21510b0) at /usr/src/debug/kdelibs-4.4.4/kio/kio/job.cpp:2544
#111 0x00007f5adaee5779 in KIO::ListJob::qt_metacall (this=0x21510b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7374e290)
    at /usr/src/debug/kdelibs-4.4.4/build/kio/jobclasses.moc:818
#112 0x00007f5add5efa1f in QMetaObject::activate (sender=0x1863cc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#113 0x00007f5adaf2d591 in KIO::SlaveInterface::dispatch (this=0x1863cc0, _cmd=<value optimized out>, rawdata=...) at /usr/src/debug/kdelibs-4.4.4/kio/kio/slaveinterface.cpp:175
#114 0x00007f5adae94863 in KIO::SlaveInterface::dispatch (this=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kio/kio/slaveinterface.cpp:91
#115 0x00007f5adae90076 in KIO::Slave::gotInput (this=0x1863cc0) at /usr/src/debug/kdelibs-4.4.4/kio/kio/slave.cpp:324
#116 0x00007f5adae9826c in KIO::Slave::qt_metacall (this=0x1863cc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7374e6a0)
    at /usr/src/debug/kdelibs-4.4.4/build/kio/slave.moc:82
#117 0x00007f5add5efa1f in QMetaObject::activate (sender=0x11155d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#118 0x00007f5adae98047 in KIO::ConnectionPrivate::dequeue (this=0x1844490) at /usr/src/debug/kdelibs-4.4.4/kio/kio/connection.cpp:82
#119 0x00007f5adae980fd in KIO::Connection::qt_metacall (this=0x11155d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x26006f0)
    at /usr/src/debug/kdelibs-4.4.4/build/kio/connection.moc:79
#120 0x00007f5add5ed509 in QObject::event (this=0x11155d0, e=0x24a3020) at kernel/qobject.cpp:1248
#121 0x00007f5adc9cd4d4 in QApplicationPrivate::notify_helper (this=0x6431d0, receiver=0x11155d0, e=0x24a3020) at kernel/qapplication.cpp:4302
#122 0x00007f5adc9d5aca in QApplication::notify (this=<value optimized out>, receiver=0x11155d0, e=0x24a3020) at kernel/qapplication.cpp:4185
#123 0x00007f5addebec06 in KApplication::notify (this=0x7fff7377c1e0, receiver=0x11155d0, event=0x24a3020) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#124 0x00007f5add5dbe4c in QCoreApplication::notifyInternal (this=0x7fff7377c1e0, receiver=0x11155d0, event=0x24a3020) at kernel/qcoreapplication.cpp:726
#125 0x00007f5add5df5ba in sendEvent (receiver=0x0, event_type=0, data=0x60db90) at kernel/qcoreapplication.h:215
#126 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60db90) at kernel/qcoreapplication.cpp:1367
#127 0x00007f5add604173 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#128 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#129 0x00007f5ad5104a93 in g_main_dispatch (context=0x63c920) at gmain.c:1960
#130 IA__g_main_context_dispatch (context=0x63c920) at gmain.c:2513
#131 0x00007f5ad5105270 in g_main_context_iterate (context=0x63c920, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#132 0x00007f5ad5105510 in IA__g_main_context_iteration (context=0x63c920, may_block=1) at gmain.c:2654
#133 0x00007f5add60467f in QEventDispatcherGlib::processEvents (this=0x613220, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#134 0x00007f5adca6e14e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#135 0x00007f5add5db292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#136 0x00007f5add5db495 in QEventLoop::exec (this=0x7fff7374f0e0, flags=...) at kernel/qeventloop.cpp:201
#137 0x00007f5adce697ee in QDialog::exec (this=0x9486250) at dialogs/qdialog.cpp:546
#138 0x00007f5ade004b2d in KMessageBox::createKMessageBox (dialog=<value optimized out>, icon=<value optimized out>, text=..., strlist=<value optimized out>, ask=..., checkboxReturn=0x7fff7374f7bf, 
    options=..., details=..., notifyType=QMessageBox::Information) at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:333
#139 0x00007f5ade021eb4 in KMessageBox::createKMessageBox (dialog=0x9486250, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0x7fff7374f7bf, options=..., details=...)
    at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:151
#140 0x00007f5ade0222f4 in KMessageBox::informationListWId (parent_id=0, text=..., strlist=..., caption=<value optimized out>, dontShowAgainName=..., options=...)
    at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:1000
#141 0x00007f5ade02246f in KMessageBox::informationList (parent=<value optimized out>, text=..., strlist=..., caption=..., dontShowAgainName=<value optimized out>, options=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:970
#142 0x00007f5ade0224c0 in KMessageBox::information (parent=<value optimized out>, text=<value optimized out>, caption=<value optimized out>, dontShowAgainName=<value optimized out>, 
    options=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:957
#143 0x00007f5ac506e1ce in KMFolder::KMFolder (this=0x23af050, aParent=0x9a64320, aFolderName=<value optimized out>, aFolderType=<value optimized out>, withIndex=<value optimized out>, 
    exportedSernums=<value optimized out>) at /usr/src/debug/kdepim-4.4.4/kmail/kmfolder.cpp:95
#144 0x00007f5ac50b20f1 in KMFolderDir::createFolder (this=0x9a64320, aFolderName=..., aSysFldr=false, aFolderType=KMFolderTypeMbox) at /usr/src/debug/kdepim-4.4.4/kmail/kmfolderdir.cpp:104
#145 0x00007f5ac5125ad3 in KMFolderImap::slotListResult (this=0x2167ea0, subfolderNames=..., subfolderPaths=..., subfolderMimeTypes=..., subfolderAttributes=..., jobData=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.4/kmail/kmfolderimap.cpp:845
#146 0x00007f5ac5134666 in KMFolderImap::qt_metacall (this=0x2167ea0, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fff7374fe90) at /usr/src/debug/kdepim-4.4.4/build/kmail/kmfolderimap.moc:182
#147 0x00007f5add5efa1f in QMetaObject::activate (sender=0x243ad30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7374fe90) at kernel/qobject.cpp:3295
[cut]


OS: Linux (x86_64) release 2.6.34.7-0.4-desktop
Compiler: gcc
Comment 1 Christopher Yeleighton 2010-10-23 11:22:12 UTC
This bug is caused by my IMAP accound at SDF-EU.ORG.
The account is peculiar for having shared folders: 
#ftp/,#news.,#public/,#shared/
The shared folders are automatically configured, I did not type them in.
Comment 2 Christopher Yeleighton 2010-10-23 11:38:49 UTC
Some workaround: I instructed KMail to show only subscribed folders for the IMAP account.  This reduced the number of EMFILEs to 2 and Kontact did not crash.
Comment 3 Christopher Yeleighton 2010-10-23 11:42:39 UTC
Although it did suddenly lose all local mail and desktop icons.  This failure, however, was fortunately intermittent and did not come up after restart.
If anyone would like to verify, IMAP accounts at SDF-EU are free.
Comment 4 Zaki Akhmad 2010-12-31 07:49:49 UTC
Created attachment 55405 [details]
New crash information added by DrKonqi

kmail (1.13.5) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

I try to download my email on IMAP with KMail. But the KMail try to download and open all of my files at my home directory.

-- Backtrace (Reduced):
#7  0x00fcf16e in QList (this=0x91291c8, subfolderNames=..., subfolderPaths=..., subfolderMimeTypes=..., subfolderAttributes=..., jobData=...) at /usr/include/qt4/QtCore/qlist.h:118
#8  QListIterator (this=0x91291c8, subfolderNames=..., subfolderPaths=..., subfolderMimeTypes=..., subfolderAttributes=..., jobData=...) at /usr/include/qt4/QtCore/qlist.h:880
#9  KMFolderImap::slotListResult (this=0x91291c8, subfolderNames=..., subfolderPaths=..., subfolderMimeTypes=..., subfolderAttributes=..., jobData=...) at ../../kmail/kmfolderimap.cpp:832
#10 0x00fde135 in KMFolderImap::qt_metacall (this=0x91291c8, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0xbf93e558) at ./kmfolderimap.moc:182
[...]
[...]
#13 0x00e9e655 in KMail::ListJob::receivedFolders (this=0xa8a4208, _t1=..., _t2=..., _t3=..., _t4=..., _t5=...) at ./listjob.moc:97
Comment 5 Christophe Marin 2011-02-14 14:19:02 UTC
bug 160968 seems related except that the reporter's KMail isn't crashing.
Comment 6 Christophe Marin 2011-05-15 11:58:54 UTC
*** Bug 273306 has been marked as a duplicate of this bug. ***
Comment 7 Myriam Schweingruber 2012-08-19 11:06:59 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding