<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br>On Jul 27, 2014, at 19:47, Mario Fux wrote:<br><br><blockquote type="cite">Am Sonntag, 27. Juli 2014, 10.27:30 schrieb René J.V. Bertin:<br><br>Morning René<br><br><blockquote type="cite">Since I started this thread, kmail has stopped working for me altogether;<br></blockquote><blockquote type="cite">it crashes immediately deep inside a Qt library called through libkdeui .<br></blockquote><blockquote type="cite">I could post a backtrace but before I try that, is anyone interested in<br></blockquote><blockquote type="cite">having a look?<br></blockquote><br>Would be great if you could do this and please include the kde-pim list. They <br>might know best about their code.<br></blockquote><br></div><div><br></div><div>So here's a transcript of launching kmail through lldb on OS X 10.6.8 . I tried on 10.9 too, something similar happens (or even identical, though I do recall seeing "dynamic cast error 2" messages, as well as messages about an invalid fd just before the crash). The big difference on my 10.9 VM is that kmail starts fine and will open message that it has already seen (though theoretically not stored for offline use as I disabled that). It crashes whenever I try to open a new, unread message. It seems that the saved state on my 10.6.8 set-up provokes the crash immediately.</div><div><br></div><div>Terminal output up to the crash:</div><div><br></div><div><font class="Apple-style-span" face="Monaco" size="2">Process 39786 launched: '/Applications/MacPorts/KDE4/kmail.app/Contents/MacOS/kmail' (x86_64)<br>QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.<br>kmail2(39786)/kdepimlibs (mailtransport) MailTransport::TransportManagerPrivate::fillTypes: Found Akonadi type "Dummy MailTransport Resource"<br>kmail2(39786)/kdepimlibs (mailtransport) MailTransport::TransportManagerPrivate::fillTypes: Have SMTP, Sendmail, and 1 Akonadi types.<br>kmail2(39786)/kdepimlibs (mailtransport) MailTransport::Transport::Transport: "565302986"<br>kmail2(39786)/kdepimlibs (mailtransport) MailTransport::Transport::usrReadConfig: type 0<br>kmail2(39786)/kdepimlibs (mailtransport) MailTransport::Transport::Transport: "605203416"<br>kmail2(39786)/kdepimlibs (mailtransport) MailTransport::Transport::usrReadConfig: type 0<br>kmail2(39786)/kdepimlibs (mailtransport) MailTransport::Transport::Transport: "365489434"<br>kmail2(39786)/kdepimlibs (mailtransport) MailTransport::Transport::usrReadConfig: type 0<br>kmail2(39786)/kdepimlibs (mailtransport) MailTransport::TransportManager::loadPasswordsAsync:<br>kmail2(39786)/kdeui (Wallet) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet().<br>kmail2(39786)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/private/var/tmp/kdecache-bertin/ksycoca4"<br>kmail2(39786) KDirWatch::removeDir: doesn't know "/Users/bertin/Library/Preferences/KDE/share/apps/messageviewer/themes/"<br>kmail2(39786) KDirWatch::removeDir: doesn't know "/Volumes/Debian/MacPorts/share/apps/messageviewer/themes/"<br>kmail2(39786)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/pdf" , "KParts/ReadOnlyPart" : returning 1 offers<br>kmail2(39786)/kdepimlibs (mailtransport) MailTransport::TransportManagerPrivate::slotWalletOpened:<br>kmail2(39786)/nepomuk (library) Nepomuk2::Query::QueryServiceClient::query: Could not contact nepomuk query service.<br>kmail2(39786)/nepomuk (library) Nepomuk2::Query::QueryServiceClient::query: Could not contact nepomuk query service.<br>kmail2(39786)/nepomuk (library) Nepomuk2::ResourceWatcher::slotWatchFinished: Failed to connect to watch service "The name org.kde.NepomukStorage was not provided by any .service files"<br>kmail2(39786)/nepomuk (library) Nepomuk2::ResourceWatcher::slotWatchFinished: Failed to connect to watch service "The name org.kde.NepomukStorage was not provided by any .service files"<br>kmail2(39786)/nepomuk (library) Nepomuk2::ResourceWatcher::slotWatchFinished: Failed to connect to watch service "The name org.kde.NepomukStorage was not provided by any .service files"<br>kmail2(39786)/nepomuk (library) Nepomuk2::ResourceWatcher::slotWatchFinished: Failed to connect to watch service "The name org.kde.NepomukStorage was not provided by any .service files"<br> collection has not resource: Collection ID: 14 remote ID: "<a href="imap://rjvbertin@gmail.com@imap.googlemail.com/">imap://rjvbertin@gmail.com@imap.googlemail.com/</a>"<br> name: ""<br> url: KUrl("<a href="akonadi://?collection=14">akonadi://?collection=14</a>")<br> parent: 0 ""<br> resource: ""<br> rights: QFlags(0x1|0x2|0x4|0x8|0x10|0x20)<br> contents mime type: ()<br> isVirtual: false<br> CachePolicy:<br> inherit: true<br> interval: -1<br> timeout: -1<br> sync on demand: false<br> local parts: ()<br> CollectionStatistics:<br> count: -1<br> unread count: -1<br> size: -1<br> collection has not resource: Collection ID: 14 remote ID: "<a href="imap://rjvbertin@gmail.com@imap.googlemail.com/">imap://rjvbertin@gmail.com@imap.googlemail.com/</a>"<br> name: ""<br> url: KUrl("<a href="akonadi://?collection=14">akonadi://?collection=14</a>")<br> parent: 0 ""<br> resource: ""<br> rights: QFlags(0x1|0x2|0x4|0x8|0x10|0x20)<br> contents mime type: ()<br> isVirtual: false<br> CachePolicy:<br> inherit: true<br> interval: -1<br> timeout: -1<br> sync on demand: false<br> local parts: ()<br> CollectionStatistics:<br> count: -1<br> unread count: -1<br> size: -1<br> collection has not resource: Collection ID: 14 remote ID: "<a href="imap://rjvbertin@gmail.com@imap.googlemail.com/">imap://rjvbertin@gmail.com@imap.googlemail.com/</a>"<br> name: ""<br> url: KUrl("<a href="akonadi://?collection=14">akonadi://?collection=14</a>")<br> parent: 0 ""<br> resource: ""<br> rights: QFlags(0x1|0x2|0x4|0x8|0x10|0x20)<br> contents mime type: ()<br> isVirtual: false<br> CachePolicy:<br> inherit: true<br> interval: -1<br> timeout: -1<br> sync on demand: false<br> local parts: ()<br> CollectionStatistics:<br> count: -1<br> unread count: -1<br> size: -1<br>kmail2(39786)/nepomuk (library) Nepomuk2::ResourceWatcher::slotWatchFinished: Failed to connect to watch service "The name org.kde.NepomukStorage was not provided by any .service files"<br> collection has not resource: Collection ID: 14 remote ID: "<a href="imap://rjvbertin@gmail.com@imap.googlemail.com/">imap://rjvbertin@gmail.com@imap.googlemail.com/</a>"<br> name: ""<br> url: KUrl("<a href="akonadi://?collection=14">akonadi://?collection=14</a>")<br> parent: 0 ""<br> resource: ""<br> rights: QFlags(0x1|0x2|0x4|0x8|0x10|0x20)<br> contents mime type: ()<br> isVirtual: false<br> CachePolicy:<br> inherit: true<br> interval: -1<br> timeout: -1<br> sync on demand: false<br> local parts: ()<br> CollectionStatistics:<br> count: -1<br> unread count: -1<br> size: -1<br>kmail2(39786)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/Volumes/Debian/MacPorts/share/apps/akonadi/plugins/serializer/akonadi_serializer_addressee.desktop" for ("text/vcard", "text/directory") @ ("legacy", "default", "KABC::Addressee")<br>kmail2(39786)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/Volumes/Debian/MacPorts/share/apps/akonadi/plugins/serializer/akonadi_serializer_bookmark.desktop" for ("application/x-xbel") @ ("legacy", "default", "KBookmark")<br>kmail2(39786)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/Volumes/Debian/MacPorts/share/apps/akonadi/plugins/serializer/akonadi_serializer_contactgroup.desktop" for ("application/x-vnd.kde.contactgroup") @ ("legacy", "default", "KABC::ContactGroup")<br>kmail2(39786)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/Volumes/Debian/MacPorts/share/apps/akonadi/plugins/serializer/akonadi_serializer_kalarm.desktop" for ("application/x-vnd.kde.alarm", "application/x-vnd.kde.alarm.active", "application/x-vnd.kde.alarm.archived", "application/x-vnd.kde.alarm.template") @ ("default", "KAlarmCal::KAEvent")<br>kmail2(39786)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/Volumes/Debian/MacPorts/share/apps/akonadi/plugins/serializer/akonadi_serializer_kcal.desktop" for ("text/calendar", "application/x-vnd.akonadi.note", "application/x-vnd.kde.notes") @ ("legacy", "KCal::Incidence*")<br>kmail2(39786)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/Volumes/Debian/MacPorts/share/apps/akonadi/plugins/serializer/akonadi_serializer_kcalcore.desktop" for ("text/calendar", "application/x-vnd.akonadi.note", "application/x-vnd.kde.notes") @ ("default", "KCalCore::Incidence*")<br>kmail2(39786)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/Volumes/Debian/MacPorts/share/apps/akonadi/plugins/serializer/akonadi_serializer_mail.desktop" for ("message/rfc822", "message/news", "text/x-vnd.akonadi.note") @ ("legacy", "default", "KMime::Message*")<br>kmail2(39786)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/Volumes/Debian/MacPorts/share/apps/akonadi/plugins/serializer/akonadi_serializer_microblog.desktop" for ("application/x-vnd.kde.microblog") @ ("legacy", "default", "Microblog::StatusItem")<br>kmail2(39786)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/Volumes/Debian/MacPorts/share/apps/akonadi/plugins/serializer/akonadi_serializer_socialfeeditem.desktop" for ("text/x-vnd.akonadi.socialfeeditem") @ ("Akonadi::SocialFeedItem")<br>kmail2(39786)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::instance: instance(): ... initialised<br>kmail2(39786)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= "Europe/Paris"<br>kmail2(39786)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readZoneTab: readZoneTab( "/usr/share/zoneinfo/zone.tab" )<br>Process 39786 stopped<br>* thread #1: tid = 0x2d03, 0x0000000102708dea QtGui`QWidgetPrivate::invalidateBuffer_resizeHelper(QPoint const&, QSize const&) + 474, stop reason = EXC_BAD_ACCESS (code=1, address=0x8)<br> frame #0: 0x0000000102708dea QtGui`QWidgetPrivate::invalidateBuffer_resizeHelper(QPoint const&, QSize const&) + 474</font></div><div><br></div><div>Backtrace across all threads:</div><div><br></div><div><font class="Apple-style-span" face="Monaco" size="2">(lldb) bt all<br>* thread #1: tid = 0x2d03, 0x0000000102708dea QtGui`QWidgetPrivate::invalidateBuffer_resizeHelper(QPoint const&, QSize const&) + 474, stop reason = EXC_BAD_ACCESS (code=1, address=0x8)<br> frame #0: 0x0000000102708dea QtGui`QWidgetPrivate::invalidateBuffer_resizeHelper(QPoint const&, QSize const&) + 474<br> frame #1: 0x00000001024b2ff2 QtGui`QWidgetPrivate::setGeometry_sys_helper(int, int, int, int, bool) + 962<br> frame #2: 0x00000001024b3d84 QtGui`QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 132<br> frame #3: 0x0000000102569fc3 QtGui`QWidget::resize(QSize const&) + 83<br> frame #4: 0x00000001024f769a QtGui`QMenuPrivate::QMacMenuPrivate::addAction(QMacMenuAction*, QMacMenuAction*, QMenuPrivate*) + 1658<br> frame #5: 0x000000010292b582 QtGui`QMenu::actionEvent(QActionEvent*) + 962<br> frame #6: 0x00000001025708e1 QtGui`QWidget::event(QEvent*) + 1553<br> frame #7: 0x000000010292e5fb QtGui`QMenu::event(QEvent*) + 107<br> frame #8: 0x0000000102515f3d QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189<br> frame #9: 0x000000010251c8b8 QtGui`QApplication::notify(QObject*, QEvent*) + 232<br> frame #10: 0x0000000100119fca libkdeui.5.dylib`KApplication::notify(QObject*, QEvent*) + 58 at kapplication.cpp:315<br> frame #11: 0x0000000103359cac QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 124<br> frame #12: 0x000000010255f263 QtGui`QWidget::insertAction(QAction*, QAction*) + 211<br> frame #13: 0x00000001001e5de4 libkdeui.5.dylib`KMenu::addTitle(QIcon const&, QString const&, QAction*) + 308 at kmenu.cpp:193<br> frame #14: 0x00000001001e5e4e libkdeui.5.dylib`KMenu::addTitle(QString const&, QAction*) + 62 at kmenu.cpp:172<br> frame #15: 0x0000000100b948f0 libkmailprivate.4.dylib`KMail::MessageActions::updateMailingListActions(Akonadi::Item const&) + 336<br> frame #16: 0x0000000100b9580b libkmailprivate.4.dylib`KMail::MessageActions::updateActions() + 795<br> frame #17: 0x0000000100b95e31 libkmailprivate.4.dylib`KMail::MessageActions::setCurrentMessage(Akonadi::Item const&, QList<Akonadi::Item> const&) + 481<br> frame #18: 0x0000000100b51b8a libkmailprivate.4.dylib`KMMainWidget::itemsReceived(QList<Akonadi::Item> const&) + 282<br> frame #19: 0x0000000100b7826c libkmailprivate.4.dylib`KMMainWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 2716<br> frame #20: 0x000000010337236e QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1566<br> frame #21: 0x00000001019e0858 libakonadi-kde.4.dylib`Akonadi::ItemFetchJobPrivate::timeout() [inlined] Akonadi::ItemFetchJob::itemsReceived(QList<Akonadi::Item> const&) + 104 at moc_itemfetchjob.cpp:105<br> frame #22: 0x00000001019e0837 libakonadi-kde.4.dylib`Akonadi::ItemFetchJobPrivate::timeout() + 71 at itemfetchjob.cpp:73<br> frame #23: 0x00000001019e059e libakonadi-kde.4.dylib`Akonadi::ItemFetchJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 78 at moc_itemfetchjob.cpp:56<br> frame #24: 0x000000010337236e QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1566<br> frame #25: 0x00000001006ccea1 libkdecore.5.dylib`KJob::result(KJob*) + 49 at kjob.moc:207<br> frame #26: 0x00000001006cd0f8 libkdecore.5.dylib`KJob::emitResult() + 56 at kjob.cpp:318<br> frame #27: 0x00000001019f3211 libakonadi-kde.4.dylib`Akonadi::Job::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [inlined] Akonadi::Job::d_func() + 321 at job.cpp:157<br> frame #28: 0x00000001019f3204 libakonadi-kde.4.dylib`Akonadi::Job::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 308 at moc_job.cpp:70<br> frame #29: 0x000000010336e461 QtCore`QObject::event(QEvent*) + 1073<br> frame #30: 0x0000000102515f3d QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189<br> frame #31: 0x000000010251cfbe QtGui`QApplication::notify(QObject*, QEvent*) + 2030<br> frame #32: 0x0000000100119fca libkdeui.5.dylib`KApplication::notify(QObject*, QEvent*) + 58 at kapplication.cpp:315<br> frame #33: 0x0000000103359cac QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 124<br> frame #34: 0x000000010335b260 QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 736<br> frame #35: 0x00007fff8043927d CoreFoundation`__CFRunLoopDoSources0 + 1021<br> frame #36: 0x00007fff804375c9 CoreFoundation`__CFRunLoopRun + 873<br> frame #37: 0x00007fff80436d8f CoreFoundation`CFRunLoopRunSpecific + 575<br> frame #38: 0x00007fff881e67ee HIToolbox`RunCurrentEventLoopInMode + 333<br> frame #39: 0x00007fff881e65f3 HIToolbox`ReceiveNextEventCommon + 310<br> frame #40: 0x00007fff881e64ac HIToolbox`BlockUntilNextEventMatchingListInMode + 59<br> frame #41: 0x00007fff825d1eb2 AppKit`_DPSNextEvent + 708<br> frame #42: 0x00007fff825d1801 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155<br> frame #43: 0x00007fff8259768f AppKit`-[NSApplication run] + 395<br> frame #44: 0x00000001024cef68 QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1752<br> frame #45: 0x0000000103358bc4 QtCore`QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68<br> frame #46: 0x0000000103358f74 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 324<br> frame #47: 0x000000010335b7ec QtCore`QCoreApplication::exec() + 188<br> frame #48: 0x000000010000b28b kmail`main + 2731<br> frame #49: 0x000000010000a758 kmail`start + 52<br><br> thread #2: tid = 0x3003, 0x00007fff85f11c0a libSystem.B.dylib`kevent + 10<br> frame #0: 0x00007fff85f11c0a libSystem.B.dylib`kevent + 10<br> frame #1: 0x00007fff85f13add libSystem.B.dylib`_dispatch_mgr_invoke + 154<br> frame #2: 0x00007fff85f137b4 libSystem.B.dylib`_dispatch_queue_invoke + 185<br> frame #3: 0x00007fff85f132de libSystem.B.dylib`_dispatch_worker_thread2 + 252<br> frame #4: 0x00007fff85f12c08 libSystem.B.dylib`_pthread_wqthread + 353<br> frame #5: 0x00007fff85f12aa5 libSystem.B.dylib`start_wqthread + 13<br><br> thread #3: tid = 0x3103, 0x00007fff85f12a2a libSystem.B.dylib`__workq_kernreturn + 10<br> frame #0: 0x00007fff85f12a2a libSystem.B.dylib`__workq_kernreturn + 10<br> frame #1: 0x00007fff85f12e3c libSystem.B.dylib`_pthread_wqthread + 917<br> frame #2: 0x00007fff85f12aa5 libSystem.B.dylib`start_wqthread + 13<br><br> thread #4: tid = 0x3203, 0x00007fff85f3c932 libSystem.B.dylib`select$DARWIN_EXTSN + 10<br> frame #0: 0x00007fff85f3c932 libSystem.B.dylib`select$DARWIN_EXTSN + 10<br> frame #1: 0x00007fff80459468 CoreFoundation`__CFSocketManager + 824<br> frame #2: 0x00007fff85f31fd6 libSystem.B.dylib`_pthread_start + 331<br> frame #3: 0x00007fff85f31e89 libSystem.B.dylib`thread_start + 13<br><br> thread #5: tid = 0x3303, 0x00007fff85f3c932 libSystem.B.dylib`select$DARWIN_EXTSN + 10<br> frame #0: 0x00007fff85f3c932 libSystem.B.dylib`select$DARWIN_EXTSN + 10<br> frame #1: 0x000000010338b2dd QtCore`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 141<br> frame #2: 0x000000010338f774 QtCore`QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 388<br> frame #3: 0x000000010338fc34 QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 308<br> frame #4: 0x0000000103358bc4 QtCore`QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68<br> frame #5: 0x0000000103358f74 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 324<br> frame #6: 0x000000010323cd98 QtCore`QThread::exec() + 312<br> frame #7: 0x000000010323fa04 QtCore`QThreadPrivate::start(void*) + 356<br> frame #8: 0x00007fff85f31fd6 libSystem.B.dylib`_pthread_start + 331<br> frame #9: 0x00007fff85f31e89 libSystem.B.dylib`thread_start + 13<br><br> thread #6: tid = 0x3403, 0x00007fff85f33a6a libSystem.B.dylib`__semwait_signal + 10<br> frame #0: 0x00007fff85f33a6a libSystem.B.dylib`__semwait_signal + 10<br> frame #1: 0x00007fff85f37881 libSystem.B.dylib`_pthread_cond_wait + 1286<br> frame #2: 0x0000000103240a20 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 272<br> frame #3: 0x0000000103232768 QtCore`QThreadPoolThread::run() + 632<br> frame #4: 0x000000010323fa04 QtCore`QThreadPrivate::start(void*) + 356<br> frame #5: 0x00007fff85f31fd6 libSystem.B.dylib`_pthread_start + 331<br> frame #6: 0x00007fff85f31e89 libSystem.B.dylib`thread_start + 13<br><br> thread #7: tid = 0x3503, 0x00007fff85f12a2a libSystem.B.dylib`__workq_kernreturn + 10<br> frame #0: 0x00007fff85f12a2a libSystem.B.dylib`__workq_kernreturn + 10<br> frame #1: 0x00007fff85f12e3c libSystem.B.dylib`_pthread_wqthread + 917<br> frame #2: 0x00007fff85f12aa5 libSystem.B.dylib`start_wqthread + 13<br><br> thread #8: tid = 0x3603, 0x00007fff85f33a6a libSystem.B.dylib`__semwait_signal + 10<br> frame #0: 0x00007fff85f33a6a libSystem.B.dylib`__semwait_signal + 10<br> frame #1: 0x00007fff85f37881 libSystem.B.dylib`_pthread_cond_wait + 1286<br> frame #2: 0x0000000103240a20 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 272<br> frame #3: 0x0000000103232768 QtCore`QThreadPoolThread::run() + 632<br> frame #4: 0x000000010323fa04 QtCore`QThreadPrivate::start(void*) + 356<br> frame #5: 0x00007fff85f31fd6 libSystem.B.dylib`_pthread_start + 331<br> frame #6: 0x00007fff85f31e89 libSystem.B.dylib`thread_start + 13</font></div><div><br></div></body></html>