[KDE/Mac] kmail crashing on OS X
"René J.V. Bertin"
rjvbertin at gmail.com
Mon Jul 28 14:21:02 UTC 2014
Hello,
On Jul 27, 2014, at 19:47, Mario Fux wrote:
> Am Sonntag, 27. Juli 2014, 10.27:30 schrieb René J.V. Bertin:
>
> Morning René
>
>> Since I started this thread, kmail has stopped working for me altogether;
>> it crashes immediately deep inside a Qt library called through libkdeui .
>> I could post a backtrace but before I try that, is anyone interested in
>> having a look?
>
> Would be great if you could do this and please include the kde-pim list. They
> might know best about their code.
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.
Terminal output up to the crash:
Process 39786 launched: '/Applications/MacPorts/KDE4/kmail.app/Contents/MacOS/kmail' (x86_64)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kmail2(39786)/kdepimlibs (mailtransport) MailTransport::TransportManagerPrivate::fillTypes: Found Akonadi type "Dummy MailTransport Resource"
kmail2(39786)/kdepimlibs (mailtransport) MailTransport::TransportManagerPrivate::fillTypes: Have SMTP, Sendmail, and 1 Akonadi types.
kmail2(39786)/kdepimlibs (mailtransport) MailTransport::Transport::Transport: "565302986"
kmail2(39786)/kdepimlibs (mailtransport) MailTransport::Transport::usrReadConfig: type 0
kmail2(39786)/kdepimlibs (mailtransport) MailTransport::Transport::Transport: "605203416"
kmail2(39786)/kdepimlibs (mailtransport) MailTransport::Transport::usrReadConfig: type 0
kmail2(39786)/kdepimlibs (mailtransport) MailTransport::Transport::Transport: "365489434"
kmail2(39786)/kdepimlibs (mailtransport) MailTransport::Transport::usrReadConfig: type 0
kmail2(39786)/kdepimlibs (mailtransport) MailTransport::TransportManager::loadPasswordsAsync:
kmail2(39786)/kdeui (Wallet) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet().
kmail2(39786)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/private/var/tmp/kdecache-bertin/ksycoca4"
kmail2(39786) KDirWatch::removeDir: doesn't know "/Users/bertin/Library/Preferences/KDE/share/apps/messageviewer/themes/"
kmail2(39786) KDirWatch::removeDir: doesn't know "/Volumes/Debian/MacPorts/share/apps/messageviewer/themes/"
kmail2(39786)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/pdf" , "KParts/ReadOnlyPart" : returning 1 offers
kmail2(39786)/kdepimlibs (mailtransport) MailTransport::TransportManagerPrivate::slotWalletOpened:
kmail2(39786)/nepomuk (library) Nepomuk2::Query::QueryServiceClient::query: Could not contact nepomuk query service.
kmail2(39786)/nepomuk (library) Nepomuk2::Query::QueryServiceClient::query: Could not contact nepomuk query service.
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"
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"
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"
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"
collection has not resource: Collection ID: 14 remote ID: "imap://rjvbertin@gmail.com@imap.googlemail.com/"
name: ""
url: KUrl("akonadi://?collection=14")
parent: 0 ""
resource: ""
rights: QFlags(0x1|0x2|0x4|0x8|0x10|0x20)
contents mime type: ()
isVirtual: false
CachePolicy:
inherit: true
interval: -1
timeout: -1
sync on demand: false
local parts: ()
CollectionStatistics:
count: -1
unread count: -1
size: -1
collection has not resource: Collection ID: 14 remote ID: "imap://rjvbertin@gmail.com@imap.googlemail.com/"
name: ""
url: KUrl("akonadi://?collection=14")
parent: 0 ""
resource: ""
rights: QFlags(0x1|0x2|0x4|0x8|0x10|0x20)
contents mime type: ()
isVirtual: false
CachePolicy:
inherit: true
interval: -1
timeout: -1
sync on demand: false
local parts: ()
CollectionStatistics:
count: -1
unread count: -1
size: -1
collection has not resource: Collection ID: 14 remote ID: "imap://rjvbertin@gmail.com@imap.googlemail.com/"
name: ""
url: KUrl("akonadi://?collection=14")
parent: 0 ""
resource: ""
rights: QFlags(0x1|0x2|0x4|0x8|0x10|0x20)
contents mime type: ()
isVirtual: false
CachePolicy:
inherit: true
interval: -1
timeout: -1
sync on demand: false
local parts: ()
CollectionStatistics:
count: -1
unread count: -1
size: -1
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"
collection has not resource: Collection ID: 14 remote ID: "imap://rjvbertin@gmail.com@imap.googlemail.com/"
name: ""
url: KUrl("akonadi://?collection=14")
parent: 0 ""
resource: ""
rights: QFlags(0x1|0x2|0x4|0x8|0x10|0x20)
contents mime type: ()
isVirtual: false
CachePolicy:
inherit: true
interval: -1
timeout: -1
sync on demand: false
local parts: ()
CollectionStatistics:
count: -1
unread count: -1
size: -1
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")
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")
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")
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")
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*")
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*")
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*")
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")
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")
kmail2(39786)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::instance: instance(): ... initialised
kmail2(39786)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= "Europe/Paris"
kmail2(39786)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readZoneTab: readZoneTab( "/usr/share/zoneinfo/zone.tab" )
Process 39786 stopped
* thread #1: tid = 0x2d03, 0x0000000102708dea QtGui`QWidgetPrivate::invalidateBuffer_resizeHelper(QPoint const&, QSize const&) + 474, stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
frame #0: 0x0000000102708dea QtGui`QWidgetPrivate::invalidateBuffer_resizeHelper(QPoint const&, QSize const&) + 474
Backtrace across all threads:
(lldb) bt all
* thread #1: tid = 0x2d03, 0x0000000102708dea QtGui`QWidgetPrivate::invalidateBuffer_resizeHelper(QPoint const&, QSize const&) + 474, stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
frame #0: 0x0000000102708dea QtGui`QWidgetPrivate::invalidateBuffer_resizeHelper(QPoint const&, QSize const&) + 474
frame #1: 0x00000001024b2ff2 QtGui`QWidgetPrivate::setGeometry_sys_helper(int, int, int, int, bool) + 962
frame #2: 0x00000001024b3d84 QtGui`QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 132
frame #3: 0x0000000102569fc3 QtGui`QWidget::resize(QSize const&) + 83
frame #4: 0x00000001024f769a QtGui`QMenuPrivate::QMacMenuPrivate::addAction(QMacMenuAction*, QMacMenuAction*, QMenuPrivate*) + 1658
frame #5: 0x000000010292b582 QtGui`QMenu::actionEvent(QActionEvent*) + 962
frame #6: 0x00000001025708e1 QtGui`QWidget::event(QEvent*) + 1553
frame #7: 0x000000010292e5fb QtGui`QMenu::event(QEvent*) + 107
frame #8: 0x0000000102515f3d QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
frame #9: 0x000000010251c8b8 QtGui`QApplication::notify(QObject*, QEvent*) + 232
frame #10: 0x0000000100119fca libkdeui.5.dylib`KApplication::notify(QObject*, QEvent*) + 58 at kapplication.cpp:315
frame #11: 0x0000000103359cac QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
frame #12: 0x000000010255f263 QtGui`QWidget::insertAction(QAction*, QAction*) + 211
frame #13: 0x00000001001e5de4 libkdeui.5.dylib`KMenu::addTitle(QIcon const&, QString const&, QAction*) + 308 at kmenu.cpp:193
frame #14: 0x00000001001e5e4e libkdeui.5.dylib`KMenu::addTitle(QString const&, QAction*) + 62 at kmenu.cpp:172
frame #15: 0x0000000100b948f0 libkmailprivate.4.dylib`KMail::MessageActions::updateMailingListActions(Akonadi::Item const&) + 336
frame #16: 0x0000000100b9580b libkmailprivate.4.dylib`KMail::MessageActions::updateActions() + 795
frame #17: 0x0000000100b95e31 libkmailprivate.4.dylib`KMail::MessageActions::setCurrentMessage(Akonadi::Item const&, QList<Akonadi::Item> const&) + 481
frame #18: 0x0000000100b51b8a libkmailprivate.4.dylib`KMMainWidget::itemsReceived(QList<Akonadi::Item> const&) + 282
frame #19: 0x0000000100b7826c libkmailprivate.4.dylib`KMMainWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 2716
frame #20: 0x000000010337236e QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1566
frame #21: 0x00000001019e0858 libakonadi-kde.4.dylib`Akonadi::ItemFetchJobPrivate::timeout() [inlined] Akonadi::ItemFetchJob::itemsReceived(QList<Akonadi::Item> const&) + 104 at moc_itemfetchjob.cpp:105
frame #22: 0x00000001019e0837 libakonadi-kde.4.dylib`Akonadi::ItemFetchJobPrivate::timeout() + 71 at itemfetchjob.cpp:73
frame #23: 0x00000001019e059e libakonadi-kde.4.dylib`Akonadi::ItemFetchJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 78 at moc_itemfetchjob.cpp:56
frame #24: 0x000000010337236e QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1566
frame #25: 0x00000001006ccea1 libkdecore.5.dylib`KJob::result(KJob*) + 49 at kjob.moc:207
frame #26: 0x00000001006cd0f8 libkdecore.5.dylib`KJob::emitResult() + 56 at kjob.cpp:318
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
frame #28: 0x00000001019f3204 libakonadi-kde.4.dylib`Akonadi::Job::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 308 at moc_job.cpp:70
frame #29: 0x000000010336e461 QtCore`QObject::event(QEvent*) + 1073
frame #30: 0x0000000102515f3d QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
frame #31: 0x000000010251cfbe QtGui`QApplication::notify(QObject*, QEvent*) + 2030
frame #32: 0x0000000100119fca libkdeui.5.dylib`KApplication::notify(QObject*, QEvent*) + 58 at kapplication.cpp:315
frame #33: 0x0000000103359cac QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
frame #34: 0x000000010335b260 QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 736
frame #35: 0x00007fff8043927d CoreFoundation`__CFRunLoopDoSources0 + 1021
frame #36: 0x00007fff804375c9 CoreFoundation`__CFRunLoopRun + 873
frame #37: 0x00007fff80436d8f CoreFoundation`CFRunLoopRunSpecific + 575
frame #38: 0x00007fff881e67ee HIToolbox`RunCurrentEventLoopInMode + 333
frame #39: 0x00007fff881e65f3 HIToolbox`ReceiveNextEventCommon + 310
frame #40: 0x00007fff881e64ac HIToolbox`BlockUntilNextEventMatchingListInMode + 59
frame #41: 0x00007fff825d1eb2 AppKit`_DPSNextEvent + 708
frame #42: 0x00007fff825d1801 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
frame #43: 0x00007fff8259768f AppKit`-[NSApplication run] + 395
frame #44: 0x00000001024cef68 QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1752
frame #45: 0x0000000103358bc4 QtCore`QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
frame #46: 0x0000000103358f74 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 324
frame #47: 0x000000010335b7ec QtCore`QCoreApplication::exec() + 188
frame #48: 0x000000010000b28b kmail`main + 2731
frame #49: 0x000000010000a758 kmail`start + 52
thread #2: tid = 0x3003, 0x00007fff85f11c0a libSystem.B.dylib`kevent + 10
frame #0: 0x00007fff85f11c0a libSystem.B.dylib`kevent + 10
frame #1: 0x00007fff85f13add libSystem.B.dylib`_dispatch_mgr_invoke + 154
frame #2: 0x00007fff85f137b4 libSystem.B.dylib`_dispatch_queue_invoke + 185
frame #3: 0x00007fff85f132de libSystem.B.dylib`_dispatch_worker_thread2 + 252
frame #4: 0x00007fff85f12c08 libSystem.B.dylib`_pthread_wqthread + 353
frame #5: 0x00007fff85f12aa5 libSystem.B.dylib`start_wqthread + 13
thread #3: tid = 0x3103, 0x00007fff85f12a2a libSystem.B.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff85f12a2a libSystem.B.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff85f12e3c libSystem.B.dylib`_pthread_wqthread + 917
frame #2: 0x00007fff85f12aa5 libSystem.B.dylib`start_wqthread + 13
thread #4: tid = 0x3203, 0x00007fff85f3c932 libSystem.B.dylib`select$DARWIN_EXTSN + 10
frame #0: 0x00007fff85f3c932 libSystem.B.dylib`select$DARWIN_EXTSN + 10
frame #1: 0x00007fff80459468 CoreFoundation`__CFSocketManager + 824
frame #2: 0x00007fff85f31fd6 libSystem.B.dylib`_pthread_start + 331
frame #3: 0x00007fff85f31e89 libSystem.B.dylib`thread_start + 13
thread #5: tid = 0x3303, 0x00007fff85f3c932 libSystem.B.dylib`select$DARWIN_EXTSN + 10
frame #0: 0x00007fff85f3c932 libSystem.B.dylib`select$DARWIN_EXTSN + 10
frame #1: 0x000000010338b2dd QtCore`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 141
frame #2: 0x000000010338f774 QtCore`QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 388
frame #3: 0x000000010338fc34 QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 308
frame #4: 0x0000000103358bc4 QtCore`QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
frame #5: 0x0000000103358f74 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 324
frame #6: 0x000000010323cd98 QtCore`QThread::exec() + 312
frame #7: 0x000000010323fa04 QtCore`QThreadPrivate::start(void*) + 356
frame #8: 0x00007fff85f31fd6 libSystem.B.dylib`_pthread_start + 331
frame #9: 0x00007fff85f31e89 libSystem.B.dylib`thread_start + 13
thread #6: tid = 0x3403, 0x00007fff85f33a6a libSystem.B.dylib`__semwait_signal + 10
frame #0: 0x00007fff85f33a6a libSystem.B.dylib`__semwait_signal + 10
frame #1: 0x00007fff85f37881 libSystem.B.dylib`_pthread_cond_wait + 1286
frame #2: 0x0000000103240a20 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 272
frame #3: 0x0000000103232768 QtCore`QThreadPoolThread::run() + 632
frame #4: 0x000000010323fa04 QtCore`QThreadPrivate::start(void*) + 356
frame #5: 0x00007fff85f31fd6 libSystem.B.dylib`_pthread_start + 331
frame #6: 0x00007fff85f31e89 libSystem.B.dylib`thread_start + 13
thread #7: tid = 0x3503, 0x00007fff85f12a2a libSystem.B.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff85f12a2a libSystem.B.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff85f12e3c libSystem.B.dylib`_pthread_wqthread + 917
frame #2: 0x00007fff85f12aa5 libSystem.B.dylib`start_wqthread + 13
thread #8: tid = 0x3603, 0x00007fff85f33a6a libSystem.B.dylib`__semwait_signal + 10
frame #0: 0x00007fff85f33a6a libSystem.B.dylib`__semwait_signal + 10
frame #1: 0x00007fff85f37881 libSystem.B.dylib`_pthread_cond_wait + 1286
frame #2: 0x0000000103240a20 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 272
frame #3: 0x0000000103232768 QtCore`QThreadPoolThread::run() + 632
frame #4: 0x000000010323fa04 QtCore`QThreadPrivate::start(void*) + 356
frame #5: 0x00007fff85f31fd6 libSystem.B.dylib`_pthread_start + 331
frame #6: 0x00007fff85f31e89 libSystem.B.dylib`thread_start + 13
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20140728/7506e889/attachment-0001.html>
More information about the kde-mac
mailing list