Summary: | kontact crashed while clicking on email | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | S. Burmeister <sven.burmeister> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | sknauss, tokoe, winter |
Priority: | NOR | ||
Version: | 4.8 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
S. Burmeister
2011-01-21 22:28:36 UTC
Is the crash reproducible ? with one mail in particular ? Any updates? This happens from time to time when kmail2 is busy creating folders' indexes while one continues to other folders or starts filtering etc. Just got this after reading a few messages then marking the folder as read. Not sure if it's related (gdb) bt #0 0x00007f771f7f4d05 in __GI_raise (sig=11) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007f7721b795f9 in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kdelibs-4.7.42_20110922/kdeui/util/kcrash.cpp:346 #2 <signal handler called> #3 0x00007f77220d340b in KMime::Headers::Base::is (this=0x2b106c0, t=0x7f77220efefc "To") at /kde/src/kdepimlibs/kmime/kmime_headers.cpp:209 #4 0x00007f77220cc59f in KMime::Content::headerByType (this=0x297bbe0, type=0x7f77220efefc "To") at /kde/src/kdepimlibs/kmime/kmime_content.cpp:669 #5 0x00007f77220e912d in KMime::Message::headerByType (this=0x297bbe0, type=0x7f77220efefc "To") at /kde/src/kdepimlibs/kmime/kmime_message.cpp:83 #6 0x00007f77220e9fc4 in KMime::Content::header<KMime::Headers::To> (this=0x297bbe0, create=true) at /kde/src/kdepimlibs/kmime/kmime_content.h:794 #7 0x00007f77220e9749 in KMime::Message::to (this=0x297bbe0, create=true) at /kde/src/kdepimlibs/kmime/kmime_message.cpp:159 #8 0x00007f771c0a25a3 in MessageList::StorageModel::initializeMessageItem (this=0x3097af0, mi=0x3049770, row=65, bUseReceiver=false) at /kde/src/kdepim/messagelist/storagemodel.cpp:236 #9 0x00007f771c04cc05 in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill (this=0x9e46b0, job=0x2d7efe0, tStart=00:42:21.618) at /kde/src/kdepim/messagelist/core/model.cpp:2728 #10 0x00007f771c04eb27 in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob (this=0x9e46b0, job=0x2d7efe0, tStart=00:42:21.618) at /kde/src/kdepim/messagelist/core/model.cpp:3377 #11 0x00007f771c04f576 in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0x9e46b0) at /kde/src/kdepim/messagelist/core/model.cpp:3764 #12 0x00007f771c04ff73 in MessageList::Core::ModelPrivate::viewItemJobStep (this=0x9e46b0) at /kde/src/kdepim/messagelist/core/model.cpp:3979 #13 0x00007f771c05210d in MessageList::Core::Model::qt_metacall (this=0x95ce40, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff0b10a8e0) at /kde/build/kdepim/messagelist/model.moc:90 #14 0x00007f7720e813fa in QMetaObject::activate (sender=0x9e46e8, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3287 Still valid in master (gdb) bt #0 0x00007f9f48d57d95 in raise () from /lib64/libc.so.6 #1 0x00007f9f4b061c78 in KCrash::defaultCrashHandler (sig=11) at /kde/src/kdelibs/kdeui/util/kcrash.cpp:346 #2 <signal handler called> #3 0x00007f9f4b3efeff in KMime::Headers::Base::is (this=0x16840250, t=0x7f9f4b40c9fc "To") at /kde/src/pim/kdepimlibs/kmime/kmime_headers.cpp:209 #4 0x00007f9f4b3e8fbf in KMime::Content::headerByType (this=0x16aae420, type=0x7f9f4b40c9fc "To") at /kde/src/pim/kdepimlibs/kmime/kmime_content.cpp:676 #5 0x00007f9f4b405bdd in KMime::Message::headerByType (this=0x16aae420, type=0x7f9f4b40c9fc "To") at /kde/src/pim/kdepimlibs/kmime/kmime_message.cpp:83 #6 0x00007f9f4b406a74 in KMime::Content::header<KMime::Headers::To> (this=0x16aae420, create=true) at /kde/src/pim/kdepimlibs/kmime/kmime_content.h:794 #7 0x00007f9f4b4061f9 in KMime::Message::to (this=0x16aae420, create=true) at /kde/src/pim/kdepimlibs/kmime/kmime_message.cpp:159 #8 0x00007f9f45913657 in MessageList::StorageModel::initializeMessageItem (this=0x14a1ad10, mi=0x157e2cf0, row=687, bUseReceiver=false) at /kde/src/pim/kdepim/messagelist/storagemodel.cpp:236 #9 0x00007f9f458bd5f5 in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill (this=0x8b2d90, job=0x16e85510, tStart=...) at /kde/src/pim/kdepim/messagelist/core/model.cpp:2737 #10 0x00007f9f458bf50b in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob (this=0x8b2d90, job=0x16e85510, tStart=...) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3388 #11 0x00007f9f458bff5a in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0x8b2d90) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3775 #12 0x00007f9f458c0941 in MessageList::Core::ModelPrivate::viewItemJobStep (this=0x8b2d90) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3991 #13 0x00007f9f458b7ebd in MessageList::Core::Model::setStorageModel (this=0x8b3c00, storageModel=0x14a1ad10, preSelectionMode=MessageList::Core::PreSelectLastSelected) at /kde/src/pim/kdepim/messagelist/core/model.cpp:890 #14 0x00007f9f458e3c91 in MessageList::Core::View::setStorageModel (this=0x8f20b0, storageModel=0x14a1ad10, preSelectionMode=MessageList::Core::PreSelectLastSelected) at /kde/src/pim/kdepim/messagelist/core/view.cpp:220 #15 0x00007f9f458f3818 in MessageList::Core::Widget::setStorageModel (this=0x8f34a0, storageModel=0x14a1ad10, preSelectionMode=MessageList::Core::PreSelectLastSelected) at /kde/src/pim/kdepim/messagelist/core/widgetbase.cpp:408 #16 0x00007f9f4590f0f5 in MessageList::Pane::setCurrentFolder (this=0x8a9a60, preSelectionMode=MessageList::Core::PreSelectLastSelected, overrideLabel=...) at /kde/src/pim/kdepim/messagelist/pane.cpp:604 #17 0x00007f9f4a8ae86b in KMMainWidget::slotShowSelectedFolderInPane (this=0x5e4e10) at /kde/src/pim/kdepim/kmail/kmmainwidget.cpp:597 #18 0x00007f9f4a8abc10 in KMMainWidget::qt_static_metacall (_o=0x5e4e10, _c=QMetaObject::InvokeMetaMethod, _id=53, _a=0x1878ee90) at /kde/build/pim/kdepim/kmail/kmmainwidget.moc:380 #19 0x00007f9f49769f36 in QObject::event (this=0x5e4e10, e=<optimized out>) at kernel/qobject.cpp:1203 #20 0x00007f9f49cd4cbb in QWidget::event (this=0x5e4e10, event=0x170527b0) at kernel/qwidget.cpp:8809 #21 0x00007f9f49c84b74 in notify_helper (e=0x170527b0, receiver=0x5e4e10, this=0x576510) at kernel/qapplication.cpp:4518 #22 QApplicationPrivate::notify_helper (this=0x576510, receiver=0x5e4e10, e=0x170527b0) at kernel/qapplication.cpp:4490 #23 0x00007f9f49c899f3 in QApplication::notify (this=0x7fff364759e0, receiver=0x5e4e10, e=0x170527b0) at kernel/qapplication.cpp:4379 #24 0x00007f9f4afe2d9b in KApplication::notify (this=0x7fff364759e0, receiver=0x5e4e10, event=0x170527b0) at /kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311 #25 0x00007f9f49750edc in QCoreApplication::notifyInternal (this=0x7fff364759e0, receiver=0x5e4e10, event=0x170527b0) at kernel/qcoreapplication.cpp:876 #26 0x00007f9f4975477a in sendEvent (event=0x170527b0, receiver=0x5e4e10) at kernel/qcoreapplication.h:231 #27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x40b740) at kernel/qcoreapplication.cpp:1500 #28 0x00007f9f49782d80 in QEventDispatcherUNIX::processEvents (this=0x40b000, flags=...) at kernel/qeventdispatcher_unix.cpp:913 ---Type <return> to continue, or q <return> to quit--- #29 0x00007f9f49d28c48 in QEventDispatcherX11::processEvents (this=0x40b000, flags=...) at kernel/qeventdispatcher_x11.cpp:152 #30 0x00007f9f4974fcc2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #31 0x00007f9f4974ff17 in QEventLoop::exec (this=0x7fff364758c0, flags=...) at kernel/qeventloop.cpp:204 #32 0x00007f9f49754a75 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148 #33 0x0000000000403416 in main (argc=1, argv=0x7fff36475b78) at /kde/src/pim/kdepim/kmail/main.cpp:145 I made the following commit. Might help with this crash but I don't know. Please test with the next release. I will backport to 4.7.4 ------------------------------------------------------------------------- Git commit f48cfb60e73f91791d03110fdea90f779d5235cf by Allen Winter. Committed on 29/11/2011 at 04:05. Pushed by winterz into branch 'master'. use the safer qstricmp() or qstrnicmp() functions in place of strcasecmp() and strncasecmp(), respectively. Not sure if it's related to your commit but I just got this: kmail was trying to load a message (the 'please wait' message was displayed) and I selected a different directory #3 0x00007fb3b6f2bea3 in __memcpy_sse2 () from /lib64/libc.so.6 #4 0x00007fb3b7823496 in QString::append (this=0x7fff7c125ca0, str=...) at /usr/include/bits/string3.h:52 #5 0x00007fb3b9565fe3 in QString::operator+= (this=0x7fff7c125ca0, s=...) at /usr/include/QtCore/qstring.h:274 #6 0x00007fb3b955e534 in KMime::Types::addr_spec_as_string (as=..., pretty=false) at /kde/src/pim/kdepimlibs/kmime/kmime_header_parsing.cpp:94 #7 0x00007fb3b955e5da in KMime::Types::AddrSpec::asString (this=0x12a6bd38) at /kde/src/pim/kdepimlibs/kmime/kmime_header_parsing.cpp:101 #8 0x00007fb3b955e674 in KMime::Types::Mailbox::address (this=0x12a6bd30) at /kde/src/pim/kdepimlibs/kmime/kmime_header_parsing.cpp:116 #9 0x00007fb3b955ea0e in KMime::Types::Mailbox::prettyAddress (this=0x12a6bd30, quoting=KMime::Types::Mailbox::QuoteNever) at /kde/src/pim/kdepimlibs/kmime/kmime_header_parsing.cpp:177 #10 0x00007fb3b955e9bc in KMime::Types::Mailbox::prettyAddress (this=0x12a6bd30) at /kde/src/pim/kdepimlibs/kmime/kmime_header_parsing.cpp:171 #11 0x00007fb3b9576ad4 in KMime::Headers::Generics::AddressList::prettyAddresses (this=0x13a46c50) at /kde/src/pim/kdepimlibs/kmime/kmime_headers.cpp:631 #12 0x00007fb3b9576394 in KMime::Headers::Generics::AddressList::asUnicodeString (this=0x13a46c50) at /kde/src/pim/kdepimlibs/kmime/kmime_headers.cpp:570 #13 0x00007fb3b3a93d24 in MessageList::StorageModel::initializeMessageItem (this=0x1844e410, mi=0x189b3ce0, row=235, bUseReceiver=false) at /kde/src/pim/kdepim/messagelist/storagemodel.cpp:236 #14 0x00007fb3b3a3bf65 in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill (this=0xabc2f0, job= 0x17361330, tStart=...) at /kde/src/pim/kdepim/messagelist/core/model.cpp:2736 #15 0x00007fb3b3a3de67 in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob (this=0xabc2f0, job=0x17361330, tStart= ...) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3385 #16 0x00007fb3b3a40177 in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0xabc2f0) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3772 #17 0x00007fb3b3a40c0f in MessageList::Core::ModelPrivate::viewItemJobStep (this=0xabc2f0) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3988 #18 0x00007fb3b3a3683d in MessageList::Core::Model::setStorageModel (this=0x9afd00, storageModel=0x1844e410, preSelectionMode= MessageList::Core::PreSelectLastSelected) at /kde/src/pim/kdepim/messagelist/core/model.cpp:890 #19 0x00007fb3b3a64191 in MessageList::Core::View::setStorageModel (this=0xa39730, storageModel=0x1844e410, preSelectionMode= MessageList::Core::PreSelectLastSelected) at /kde/src/pim/kdepim/messagelist/core/view.cpp:220 #20 0x00007fb3b3a73d18 in MessageList::Core::Widget::setStorageModel (this=0xa61590, storageModel=0x1844e410, preSelectionMode= MessageList::Core::PreSelectLastSelected) at /kde/src/pim/kdepim/messagelist/core/widgetbase.cpp:408 #21 0x00007fb3b3a8f5f5 in MessageList::Pane::setCurrentFolder (this=0xa69bd0, preSelectionMode= MessageList::Core::PreSelectLastSelected, overrideLabel=...) at /kde/src/pim/kdepim/messagelist/pane.cpp:604 #22 0x00007fb3b8a3137b in KMMainWidget::slotShowSelectedFolderInPane (this=0x923f60) at /kde/src/pim/kdepim/kmail/kmmainwidget.cpp:599 #23 0x00007fb3b8a2e6e8 in KMMainWidget::qt_static_metacall (_o=0x923f60, _c=QMetaObject::InvokeMetaMethod, _id=53, _a=0x18849430) at /kde/build/pim/kdepim/kmail/kmmainwidget.moc:382 I commited b2dd6557a457a26fbb071493d88133b66128ebbb to master that might help fix this. I can't know for sure since I was unable to reproduce. WIll also backport the fix for the 4.74. release. so please retest in the next release and see if my commit helps at all. sorry, it didn't change :( #3 0x00007f35bd470a57 in QString::at (this=0xd86fd30, i=0) at /usr/include/QtCore/qstring.h:699 #4 0x00007f35bd47c3dd in KMime::Types::addr_spec_as_string (as=..., pretty=false) at /kde/src/pim/kdepimlibs/kmime/kmime_header_parsing.cpp:75 #5 0x00007f35bd47c6ce in KMime::Types::AddrSpec::asString (this=0xd86fd30) at /kde/src/pim/kdepimlibs/kmime/kmime_header_parsing.cpp:101 #6 0x00007f35bd4979a5 in KMime::Headers::Generics::SingleIdent::identifier (this=0xd86fcb0) at /kde/src/pim/kdepimlibs/kmime/kmime_headers.cpp:1095 #7 0x00007f35b79b34aa in MessageList::StorageModel::fillMessageItemThreadingData (this=0xd8fe570, mi=0xe1458e0, row=40, subset= MessageList::Core::StorageModel::PerfectThreadingReferencesAndSubject) at /kde/src/pim/kdepim/messagelist/storagemodel.cpp:296 #8 0x00007f35b795b1dc in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill (this=0xa71d60, job=0xe1132a0, tStart=...) at /kde/src/pim/kdepim/messagelist/core/model.cpp:2783 #9 0x00007f35b795ce67 in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob (this=0xa71d60, job=0xe1132a0, tStart=...) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3385 #10 0x00007f35b795f177 in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0xa71d60) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3772 #11 0x00007f35b795fc0f in MessageList::Core::ModelPrivate::viewItemJobStep (this=0xa71d60) at /kde/src/pim/kdepim/messagelist/core/model.cpp:3988 you found another code-path where crashes can happen. I just made commit b2dd6557a457a26fbb071493d88133b66128ebbb in master that might help. please try again. also backported that commit to 4.7 Short feedback: looks better now, thanks! I didn't see any kmime related crash this week No news for over a year now, so I think the bug is fixed. |