Bug 132060 - Crash while simply selecting mail for viewing
Summary: Crash while simply selecting mail for viewing
Status: RESOLVED DUPLICATE of bug 116372
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: SVN (3.5 branch)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-08 14:34 UTC by Michael Seiwert
Modified: 2007-09-14 12:17 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 Michael Seiwert 2006-08-08 14:34:29 UTC
Version:           1.9.4 (KDE_3_5_BRANCH) (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 3.3.5 20050117 (prerelease) (SUSE Linux) 
OS:                Linux

This crash is not reproducible for me. It just crashed while selecting mail for reading. Have'nt checked for duplicates yet, did'nt wan't the backtrace to get lost.
Comment 1 Michael Seiwert 2006-08-08 14:34:37 UTC
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1114369504 (LWP 7616)]
[New Thread 1128479664 (LWP 7620)]
[Thread debugging using libthread_db enabled]
[New Thread 1114369504 (LWP 7616)]
[New Thread 1128479664 (LWP 7620)]
[Thread debugging using libthread_db enabled]
[New Thread 1114369504 (LWP 7616)]
[New Thread 1128479664 (LWP 7620)]
[New Thread 1126378416 (LWP 7619)]
[New Thread 1124277168 (LWP 7618)]
[New Thread 1122175920 (LWP 7617)]
[KCrash handler]
#9  0xffffe410 in ?? ()
#10 0xbfffdc48 in ?? ()
#11 0x00000006 in ?? ()
#12 0x00001dc0 in ?? ()
#13 0x425c82c1 in raise () from /lib/tls/libc.so.6
#14 0x425c9b75 in abort () from /lib/tls/libc.so.6
#15 0x4254dd95 in std::set_unexpected () from /usr/lib/libstdc++.so.5
#16 0x4254ddd2 in std::terminate () from /usr/lib/libstdc++.so.5
#17 0x4254e2b6 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.5
#18 0x402de57e in KMReaderWin::setMsg (this=0x82afa00, aMsg=0x87e8fb8, 
    force=false)
    at /home/mseiwert/src/svn/kde35/branches/KDE/3.5/kdepim/kmail/kmreaderwin.cpp:1169
#19 0x40438c19 in KMMainWidget::slotMsgSelected (this=0x8251310, msg=0x87e8fb8)
    at /home/mseiwert/src/svn/kde35/branches/KDE/3.5/kdepim/kmail/kmmainwidget.cpp:1900
#20 0x4042f08c in KMMainWidget::qt_invoke (this=0x8251310, _id=55, 
    _o=0xbfffdf30) at kmmainwidget.moc:479
#21 0x41da27de in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x402a0ba8 in KMHeaders::selected (this=0x82530e0, t0=0x87e8fb8)
    at kmheaders.moc:250
#23 0x4029a6aa in KMHeaders::highlightMessage (this=0x82530e0, lvi=0x881b358, 
    markitread=false)
    at /home/mseiwert/src/svn/kde35/branches/KDE/3.5/kdepim/kmail/kmheaders.cpp:2013
#24 0x4029b537 in KMHeaders::highlightMessage (this=0x82530e0, i=0x881b358)
    at /home/mseiwert/src/svn/kde35/branches/KDE/3.5/kdepim/kmail/kmheaders.cpp:2262
#25 0x402a0efc in KMHeaders::qt_invoke (this=0x82530e0, _id=107, _o=0xbfffe090)
    at kmheaders.moc:295
#26 0x41da27de in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x4210f315 in QListView::currentChanged ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x41e8de15 in QListView::setCurrentItem ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x41e90d72 in QListView::contentsMousePressEventEx ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x41e91884 in QListView::contentsMousePressEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x4174f8f3 in KListView::contentsMousePressEvent ()
   from /opt/kde35/lib/libkdeui.so.4
#32 0x4029adf3 in KMHeaders::contentsMousePressEvent (this=0x82530e0, 
    e=0xbfffe390)
    at /home/mseiwert/src/svn/kde35/branches/KDE/3.5/kdepim/kmail/kmheaders.cpp:2174
#33 0x41ec2318 in QScrollView::viewportMousePressEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x41ec3688 in QScrollView::eventFilter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x41e918f8 in QListView::eventFilter () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x402929df in KMHeaders::eventFilter (this=0x82530e0, o=0x82ca290, 
    e=0xbfffe980)
    at /home/mseiwert/src/svn/kde35/branches/KDE/3.5/kdepim/kmail/kmheaders.cpp:240
#37 0x41da307e in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x41da3160 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x41dd89ec in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0x41d3f3ff in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#41 0x41d4171e in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0x419cebba in KApplication::notify () from /opt/kde35/lib/libkdecore.so.4
#43 0x41cdbfb2 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#44 0x41cdae6d in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#45 0x41ceb9e8 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#46 0x41d57231 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#47 0x41d57076 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#48 0x41d40eaf in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#49 0x0804aac3 in main (argc=7, argv=0xbffff104)
    at /home/mseiwert/src/svn/kde35/branches/KDE/3.5/kdepim/kmail/main.cpp:110
Comment 2 Tobias Ussing 2006-08-09 15:17:14 UTC
I currently have 5 emails in my inbox from an order of a new harddisk, two of these mails consistently crash kmail.

I've tried to get something usable from the debug, but i can't find anything interesting.

The backtrace from dr konqi is mostly empty(i should have almost everything kde installed with debug in it, i'll recheck that).

With the kdebugdialog i had it save kio_file, kmail and kio_imap4 to 3 seperate files.(since i saw hanging kio_files after the crash).

No kio_imap4 output was generated, kio_file just reported:
kio_file: Starting 2149
kio_file: Starting 2150
kio_file: Starting 2152
kio_file: Starting 2151
kio_file: Done
kio_file: Done
kio_file: Done
kio_file: Starting 14895
kio_file: Starting 14896
kio_file: Starting 14894
kio_file: Done
kio_file: Done
kio_file: Done

which confirms that one is hanging(but that may not be relevant at all).

And the info from kmail seemed useless as well:
kmail: KMKernel::KMKernel
kmail: No Qt-native utf-7 codec found; registering QUtf7Codec from libkdenetwork
kmail: [void KMKernel::init()] foldersPath (from config): '/home/tobias/Mail'
kmail: instantating KPIM::IdentityManager
kmail: pPopFilter set
kmail: KMailApplication::newInstance()
kmail: KMKernel::openReader called
kmail: slotListNamespaces - waiting for connection
kmail: slotListNamespaces - waiting for connection
kmail: Initting systray
kmail: Setting systray mMode to 0
kmail: slotListNamespaces - waiting for connection
kmail: slotListNamespaces - waiting for connection
kmail: Deleting information about folder 1
kmail: Deleting information about folder 2
kmail: slotListNamespaces
kmail: slotListNamespaces
kmail: slotCheckNamespace -
kmail: delimiterForNamespace user.
kmail: KMFolderImap::slotListResult - pass listing to inbox
kmail: INBOX in namespace INBOX.:true
kmail: checkFolders - INBOX ignored
kmail: slotCheckNamespace - INBOX
kmail: delimiterForNamespace
kmail: slotCheckNamespace -
kmail: delimiterForNamespace user.
kmail: capabilities:(imap4,imap4rev1,acl,quota,literal+,mailbox-referrals,namespace,uidplus,id,no_atomic_rename,unselect,children,multiappend,binary,sort,thread=orderedsubject,thread=references,annotatemore,idle,auth=ntlm,auth=login,auth=plain,auth=digest-md5,auth=cram-md5,sasl-ir,listext,list-subscribed,x-netscape)
kmail: slotCheckNamespace - INBOX
kmail: delimiterForNamespace
kmail: capabilities:(imap4,imap4rev1,acl,quota,literal+,mailbox-referrals,namespace,uidplus,id,no_atomic_rename,unselect,children,multiappend,binary,sort,thread=orderedsubject,thread=references,annotatemore,idle,auth=ntlm,auth=login,auth=plain,auth=digest-md5,auth=cram-md5,sasl-ir,listext,list-subscribed,x-netscape)
kmail: processNextCheck, remaining 1
kmail: for host mail.seriesdb.com current connections=0 and limit is 0
kmail: connection limit reached: false
kmail: processing next mail check for tobias
kmail: check mail started - connections for host mail.seriesdb.com now is 1
kmail: KMFolderImap::checkValidity of: /INBOX/
kmail: KMFolderImap::slotCheckValidityResult of: INBOX
kmail: connections to server mail.seriesdb.com now 0
kmail: processNextCheck, remaining 0
kmail: account tobias finished check
kmail: ImapJob::slotGetMessageResult - retrieved part HEADER
kmail: (664909, last 0) [Spam] Pakkenummer på pakke - på vej til dig internet@itbutikken.dk, readyToShow false
kmail: [const QTextCodec* KMReaderWin::overrideCodec() const]  mOverrideEncoding == ''
kmail: setImapStatus path=/INBOX/;UID=15645 to: \SEEN
kmail: ImapAccountBase::constructParts - created id 0 of type MULTIPART/ALTERNATIVE
kmail: ImapAccountBase::constructParts - created id 1 of type TEXT/PLAIN
kmail: ImapAccountBase::constructParts - created id 2 of type TEXT/HTML
kmail: Falling back to normal mode
kmail: ImapJob::slotGetMessageResult - retrieved part TEXT
kmail: ISubject::notify 1
kmail: KMReaderWin::update - message
kmail: [const QTextCodec* KMReaderWin::overrideCodec() const]  mOverrideEncoding == ''
kmail: parseMsg(KMMessage* aMsg == aMsg )
kmail: + Multipart/Alternative
kmail:  + Text/Plain
kmail:  + Text/HTML
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: Multipart/Alternative
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: text/html
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: text/plain
kmail: partNode::findType() is looking at Multipart/Alternative
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Text/HTML
kmail: Multiple / No addressees matched email address; Count is 0
kmail: ObjectTreeParser::parseObjectTree( node OK, showOnlyOneMimePart: FALSE )
kmail: BodyPartFormatterFactory: found 4 plugins.
kmail: BodyPartFormatterFactory: overwriting previously registered formatter for "application/octet-stream"
kmail: BodyPartFormatterFactory: instantiating new Subtype Registry for "text"
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Text/HTML
kmail: partNode::findType() is looking at Text/Plain
kmail: ObjectTreeParser::parseObjectTree( node OK, showOnlyOneMimePart: FALSE )
kmail: [const QTextCodec* KMReaderWin::overrideCodec() const]  mOverrideEncoding == ''
kmail: KMReaderWin  -  finished parsing and displaying of message.
kmail: Removing folder from internal store INBOX
kmail: ImapJob::slotGetMessageResult - retrieved part HEADER
kmail: (664908, last 0) [Spam] [SpamSA] Ordre hos ITbutikken internet@itbutikken.dk, readyToShow false
kmail: [const QTextCodec* KMReaderWin::overrideCodec() const]  mOverrideEncoding == ''
kmail: ImapAccountBase::constructParts - created id 0 of type MULTIPART/ALTERNATIVE
kmail: ImapAccountBase::constructParts - created id 1 of type TEXT/PLAIN
kmail: ImapAccountBase::constructParts - created id 2 of type TEXT/HTML
kmail: Falling back to normal mode
kmail: ImapJob::slotGetMessageResult - retrieved part TEXT
kmail: ISubject::notify 1
kmail: KMReaderWin::update - message
kmail: [const QTextCodec* KMReaderWin::overrideCodec() const]  mOverrideEncoding == ''
kmail: parseMsg(KMMessage* aMsg == aMsg )
kmail: + Multipart/Alternative
kmail:  + Text/Plain
kmail:  + Text/HTML
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: Multipart/Alternative
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: text/html
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: text/plain
kmail: partNode::findType() is looking at Multipart/Alternative
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Text/HTML
kmail: Multiple / No addressees matched email address; Count is 0


In the above i simply opened kmail, switched to the imap folder i wanted(it automagicly selected one of the working emails, by chance), and then changed to one of the emails that consistently crash.


Personally i can't see anything usefull in any of my output, but maybe someone else can.

If someone want i can forward the 5 emails to them with full headers(i would rather not post them here as they contain address information, and if i edit it i might remove the bug).


   SVN: At revision 571366.

I've been trying to come with some good debug information in the last hour, but so far i've not been able to get any generated, but the crash has been consistent in some 10-20 tries.
Comment 3 Tobias Ussing 2006-08-09 15:29:57 UTC
ah, turns out i had, for instance, libkdenetwork without debug flag.. i will be rectifying that error now.
Comment 4 Tobias Ussing 2006-08-09 16:16:43 UTC
Oh, and besides for the emails i currenlty have stored... This one:
http://mail.kde.org/pipermail/kde-cvs-announce/2006/000025.html
was consistent at making kmail crash as well(i went in with mutt and erased the email. It looked aok in mutt):
Comment 5 Andreas Kling 2006-08-21 16:19:58 UTC

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