Version: Revision 799878 (using Devel) Installed from: Compiled sources OS: Linux Clicking on "security" in kmail settings dialog, make kmail crash. Backtrace: Application: KMail (kmail), signal SIGSEGV [?1034hUsing host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb45716d0 (LWP 20687)] [New Thread 0xb1655b90 (LWP 20723)] [KCrash handler] #6 Kleo::BackendConfigWidget::load (this=0x0) at /home/test/KDE4/kdesvn/kdepim/libkleo/ui/backendconfigwidget.cpp:247 #7 0xb72e1110 in SecurityPageCryptPlugTab::doLoadOther (this=0x9001d48) at /home/test/KDE4/kdesvn/kdepim/kmail/configuredialog.cpp:4798 #8 0xb7333ea0 in ConfigModuleTab::load (this=0x9001d48) at /home/test/KDE4/kdesvn/kdepim/kmail/configuredialog_p.cpp:443 #9 0xb7336858 in ConfigModuleWithTabs::load (this=0x8fd17d8) at /home/test/KDE4/kdesvn/kdepim/kmail/configuredialog_p.cpp:411 #10 0xb7312765 in SecurityPage (this=0x8fd17d8, instance=@0xbfd45908, parent=0x8fb4b98) at /home/test/KDE4/kdesvn/kdepim/kmail/configuredialog.cpp:3942 #11 0xb16572fe in create_kmail_config_security (parent=0x8fb4b98) at /home/test/KDE4/kdesvn/kdepim/kmail/kcm_kmail.cpp:93 #12 0xb6c4b4a1 in KCModuleLoader::loadModule (mod=@0x8fb4b80, report=KCModuleLoader::Inline, parent=0x8fb4b98, args=@0x8fb4b68) at /home/test/KDE4/kdesvn/kdelibs/kutils/kcmoduleloader.cpp:112 #13 0xb6c50fbd in KCModuleProxyPrivate::loadModule (this=0x8fb4b68) at /home/test/KDE4/kdesvn/kdelibs/kutils/kcmoduleproxy.cpp:107 #14 0xb6c520e3 in KCModuleProxy::realModule (this=0x8fb4b98) at /home/test/KDE4/kdesvn/kdelibs/kutils/kcmoduleproxy.cpp:83 #15 0xb6c52488 in KCModuleProxy::showEvent (this=0x8fb4b98, ev=0xbfd460b0) at /home/test/KDE4/kdesvn/kdelibs/kutils/kcmoduleproxy.cpp:194 #16 0xb5439eb8 in QWidget::event (this=0x8fb4b98, event=0xbfd460b0) at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7115 #17 0xb53e86dc in QApplicationPrivate::notify_helper (this=0x8bf0450, receiver=0x8fb4b98, e=0xbfd460b0) at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3766 #18 0xb53ef79a in QApplication::notify (this=0xbfd4747c, receiver=0x8fb4b98, e=0xbfd460b0) at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3733 #19 0xb674664d in KApplication::notify (this=0xbfd4747c, receiver=0x8fb4b98, event=0xbfd460b0) at /home/test/KDE4/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311 #20 0xb7e8a801 in QCoreApplication::notifyInternal (this=0xbfd4747c, receiver=0x8fb4b98, event=0xbfd460b0) at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583 #21 0xb543ad03 in QWidgetPrivate::show_helper (this=0x8fb4bb8) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:215 #22 0xb543b296 in QWidget::setVisible (this=0x8fb4b98, visible=true) at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:6372 #23 0xb541ff51 in QStackedLayout::setCurrentIndex (this=0x8fa4a18, index=2) at ../../include/QtGui/../../../../qt-copy/src/gui/kernel/qwidget.h:470 #24 0xb54200dd in QStackedLayout::setCurrentWidget (this=0x8fa4a18, widget=0x8fb4b98) at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qstackedlayout.cpp:369 #25 0xb577ad6c in QStackedWidget::setCurrentWidget (this=0x8fa4898, widget=0x8fb4b98) at /home/test/KDE4/kdesvn/qt-copy/src/gui/widgets/qstackedwidget.cpp:245 #26 0xb67789d7 in KPageViewPrivate::_k_pageSelected (this=0x8f98300, index=@0x8f0b8c8, previous=@0x8fae880) at /home/test/KDE4/kdesvn/kdelibs/kdeui/paged/kpageview.cpp:226 #27 0xb67793e7 in KPageView::qt_metacall (this=0x8d2b408, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd462f8) at /home/test/KDE4/kdesvn/build/kdelibs/kdeui/kpageview.moc:93 #28 0xb677ceda in KPageWidget::qt_metacall (this=0x8d2b408, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfd462f8) at /home/test/KDE4/kdesvn/build/kdelibs/kdeui/kpagewidget.moc:69 #29 0xb7e9c05b in QMetaObject::activate (sender=0x8fab130, from_signal_index=<value optimized out>, to_signal_index=5, argv=0xbfd462f8) at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3007 #30 0xb7e9c5b2 in QMetaObject::activate (sender=0x8fab130, m=0xb59ff170, local_signal_index=1, argv=0xbfd462f8) at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3080 #31 0xb587d349 in QItemSelectionModel::currentChanged (this=0x8fab130, _t1=@0x8f0b8c8, _t2=@0x8fae880) at .moc/release-shared/moc_qitemselectionmodel.cpp:151 #32 0xb587d4ed in QItemSelectionModel::setCurrentIndex (this=0x8fab130, index=@0x8f0b8c8, command={i = -1076599792}) at /home/test/KDE4/kdesvn/qt-copy/src/gui/itemviews/qitemselectionmodel.cpp:1087 #33 0xb5835b6e in QAbstractItemView::mousePressEvent (this=0x8d588b8, event=0xbfd46c4c) at /home/test/KDE4/kdesvn/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1467 #34 0xb543a05a in QWidget::event (this=0x8d588b8, event=0xbfd46c4c) at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:6916 #35 0xb57184d3 in QFrame::event (this=0x8d588b8, e=0xbfd46c4c) at /home/test/KDE4/kdesvn/qt-copy/src/gui/widgets/qframe.cpp:657 #36 0xb57a1e8f in QAbstractScrollArea::viewportEvent (this=0x8d588b8, e=0x0) at /home/test/KDE4/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:938 #37 0xb583b1bf in QAbstractItemView::viewportEvent (this=0x8d588b8, event=0xbfd46c4c) at /home/test/KDE4/kdesvn/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1426 #38 0xb57a4275 in QAbstractScrollAreaFilter::eventFilter (this=0x8fb1670, o=0x8f9cfe0, e=0xbfd46c4c) at /home/test/KDE4/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:102 #39 0xb7e89a0a in QCoreApplicationPrivate::sendThroughObjectEventFilters ( this=0x8bf0450, receiver=0x8f9cfe0, event=0xbfd46c4c) at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:694 #40 0xb53e86ba in QApplicationPrivate::notify_helper (this=0x8bf0450, receiver=0x8f9cfe0, e=0xbfd46c4c) at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3762 #41 0xb53f0055 in QApplication::notify (this=0xbfd4747c, receiver=0x8f9cfe0, e=0xbfd46c4c) at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3495 #42 0xb674664d in KApplication::notify (this=0xbfd4747c, receiver=0x8f9cfe0, event=0xbfd46c4c) at /home/test/KDE4/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311 #43 0xb7e8a801 in QCoreApplication::notifyInternal (this=0xbfd4747c, receiver=0x8f9cfe0, event=0xbfd46c4c) at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583 #44 0xb53ef353 in QApplicationPrivate::sendMouseEvent (receiver=0x8f9cfe0, event=0xbfd46c4c, alienWidget=0x8f9cfe0, nativeWidget=0x8f937b0, buttonDown=0xb5a0f6f0, lastMouseReceiver=@0xb5a0f6f4) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:218 #45 0xb544cea5 in QETWidget::translateMouseEvent (this=0x8f937b0, event=0xbfd4712c) at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:4177 #46 0xb544c365 in QApplication::x11ProcessEvent (this=0xbfd4747c, event=0xbfd4712c) at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3177 #47 0xb54719cc in x11EventSourceDispatch (s=0x8bf3050, callback=0, user_data=0x0) at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:148 #48 0xb4cd0f88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #49 0xb4cd44eb in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #50 0xb4cd4668 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #51 0xb7eb0dd8 in QEventDispatcherGlib::processEvents (this=0x8bcf228, flags= {i = -1076595992}) at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:325 #52 0xb5471185 in QGuiEventDispatcherGlib::processEvents (this=0x8bcf228, flags={i = -1076595944}) at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204 #53 0xb7e88f8a in QEventLoop::processEvents (this=0xbfd47380, flags= {i = -1076595880}) at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:149 #54 0xb7e8914a in QEventLoop::exec (this=0xbfd47380, flags={i = -1076595832}) at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:196 #55 0xb7e8b3ad in QCoreApplication::exec () at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845 #56 0xb53e8557 in QApplication::exec () at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3298 #57 0x0804ad36 in main (argc=-1214848056, argv=0x900fd00) at /home/test/KDE4/kdesvn/kdepim/kmail/main.cpp:132 #0 0xb7f2b424 in __kernel_vsyscall ()
SVN commit 800131 by osterfeld: return NULL only when built with ONLY_KLEO (as the created dialog has kde3support deps) BUG: 161179 M +4 -2 cryptobackendfactory.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=800131
Kmail still crashes with your patch applied : Application: KMail (kmail), signal SIGSEGV [Thread debugging using libthread_db enabled] [New Thread 0xb47209e0 (LWP 14533)] [KCrash handler] #6 Kleo::BackendConfigWidget::load (this=0x0) at /media/kde/src/KDE/kdepim/libkleo/ui/backendconfigwidget.cpp:247 #7 0xb756c1b0 in SecurityPageCryptPlugTab::doLoadOther (this=0x8af39a8) at /media/kde/src/KDE/kdepim/kmail/configuredialog.cpp:4798 #8 0xb75a67d0 in ConfigModuleTab::load (this=0x8af39a8) at /media/kde/src/KDE/kdepim/kmail/configuredialog_p.cpp:443 #9 0xb75a9208 in ConfigModuleWithTabs::load (this=0x8a84d60) at /media/kde/src/KDE/kdepim/kmail/configuredialog_p.cpp:411 #10 0xb75721ba in SecurityPage (this=0x8a84d60, instance=@0xbff85f58, parent=0x8abeea0) at /media/kde/src/KDE/kdepim/kmail/configuredialog.cpp:3942 #11 0xb15b907c in create_kmail_config_security (parent=0x8abeea0) at /media/kde/src/KDE/kdepim/kmail/kcm_kmail.cpp:93 #12 0xb6f0f3ac in KCModuleLoader::loadModule (mod=@0x8abee88, report=KCModuleLoader::Inline, parent=0x8abeea0, args=@0x8abee70) at /media/kde/src/KDE/kdelibs/kutils/kcmoduleloader.cpp:112 #13 0xb6f1484a in KCModuleProxyPrivate::loadModule (this=0x8abee70) at /media/kde/src/KDE/kdelibs/kutils/kcmoduleproxy.cpp:107 #14 0xb6f150b9 in KCModuleProxy::realModule (this=0x8abeea0) at /media/kde/src/KDE/kdelibs/kutils/kcmoduleproxy.cpp:83 #15 0xb6f154bf in KCModuleProxy::showEvent (this=0x8abeea0, ev=0xbff8675c) at /media/kde/src/KDE/kdelibs/kutils/kcmoduleproxy.cpp:194 #16 0xb562f99d in QWidget::event (this=0x8abeea0, event=0xbff8675c) at kernel/qwidget.cpp:7115 #17 0xb55d18fd in QApplicationPrivate::notify_helper (this=0x806b5a0, receiver=0x8abeea0, e=0xbff8675c) at kernel/qapplication.cpp:3766 #18 0xb55d34e6 in QApplication::notify (this=0xbff87cac, receiver=0x8abeea0, e=0xbff8675c) at kernel/qapplication.cpp:3733 #19 0xb6a17361 in KApplication::notify (this=0xbff87cac, receiver=0x8abeea0, event=0xbff8675c) at /media/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #20 0xb7f1563a in QCoreApplication::notifyInternal (this=0xbff87cac, receiver=0x8abeea0, event=0xbff8675c) at kernel/qcoreapplication.cpp:583 #21 0xb7f19179 in QCoreApplication::sendEvent (receiver=0x8abeea0, event=0xbff8675c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #22 0xb5632ade in QWidgetPrivate::show_helper (this=0x8abeec0) at kernel/qwidget.cpp:6163 #23 0xb563310d in QWidget::setVisible (this=0x8abeea0, visible=true) at kernel/qwidget.cpp:6372 #24 0xb56166cc in QWidget::show (this=0x8abeea0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:470 #25 0xb5615d51 in QStackedLayout::setCurrentIndex (this=0x8934610, index=2) at kernel/qstackedlayout.cpp:315 #26 0xb5615f0d in QStackedLayout::setCurrentWidget (this=0x8934610, widget=0x8abeea0) at kernel/qstackedlayout.cpp:369 #27 0xb5a0dbd6 in QStackedWidget::setCurrentWidget (this=0x88a1368, widget=0x8abeea0) at widgets/qstackedwidget.cpp:245 #28 0xb6a44aaf in KPageViewPrivate::_k_pageSelected (this=0x8a898a0, index=@0x8a5e358, previous=@0x8935720) at /media/kde/src/KDE/kdelibs/kdeui/paged/kpageview.cpp:226 #29 0xb6a45534 in KPageView::qt_metacall (this=0x8a8e788, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbff86a18) at /media/kde/build/KDE/kdelibs/kdeui/kpageview.moc:93 #30 0xb6a48eea in KPageWidget::qt_metacall (this=0x8a8e788, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbff86a18) at /media/kde/build/KDE/kdelibs/kdeui/kpagewidget.moc:69 #31 0xb7f2a4c7 in QMetaObject::activate (sender=0x8a6c950, from_signal_index=5, to_signal_index=5, argv=0xbff86a18) at kernel/qobject.cpp:3007 #32 0xb7f2a949 in QMetaObject::activate (sender=0x8a6c950, m=0xb5ccdd90, local_signal_index=1, argv=0xbff86a18) at kernel/qobject.cpp:3080 #33 0xb5b20fb3 in QItemSelectionModel::currentChanged (this=0x8a6c950, _t1=@0x8a5e358, _t2=@0x8935720) at .moc/debug-shared/moc_qitemselectionmodel.cpp:151 #34 0xb5b21aac in QItemSelectionModel::setCurrentIndex (this=0x8a6c950, index=@0x8a5e358, command=@0xbff86b4c) at itemviews/qitemselectionmodel.cpp:1087 #35 0xb5ad6bc7 in QAbstractItemView::mousePressEvent (this=0x8a60098, event=0xbff873c8) at itemviews/qabstractitemview.cpp:1467 #36 0xb562f087 in QWidget::event (this=0x8a60098, event=0xbff873c8) at kernel/qwidget.cpp:6916 #37 0xb599d1d4 in QFrame::event (this=0x8a60098, e=0xbff873c8) at widgets/qframe.cpp:657 #38 0xb5a34619 in QAbstractScrollArea::viewportEvent (this=0x8a60098, e=0xbff873c8) at widgets/qabstractscrollarea.cpp:938 #39 0xb5ad7457 in QAbstractItemView::viewportEvent (this=0x8a60098, event=0xbff873c8) at itemviews/qabstractitemview.cpp:1426 #40 0xb5a37106 in QAbstractScrollAreaPrivate::viewportEvent (this=0x8a768f0, event=0xbff873c8) at widgets/qabstractscrollarea_p.h:102 #41 0xb5a37138 in QAbstractScrollAreaFilter::eventFilter (this=0x8936258, o=0x8a7ee28, e=0xbff873c8) at widgets/qabstractscrollarea_p.h:113 #42 0xb7f139c8 in QCoreApplicationPrivate::sendThroughObjectEventFilters ( this=0x806b5a0, receiver=0x8a7ee28, event=0xbff873c8) at kernel/qcoreapplication.cpp:694 #43 0xb55d18d7 in QApplicationPrivate::notify_helper (this=0x806b5a0, receiver=0x8a7ee28, e=0xbff873c8) at kernel/qapplication.cpp:3762 #44 0xb55d23d1 in QApplication::notify (this=0xbff87cac, receiver=0x8a7ee28, e=0xbff873c8) at kernel/qapplication.cpp:3495 #45 0xb6a17361 in KApplication::notify (this=0xbff87cac, receiver=0x8a7ee28, event=0xbff873c8) at /media/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #46 0xb7f1563a in QCoreApplication::notifyInternal (this=0xbff87cac, receiver=0x8a7ee28, event=0xbff873c8) at kernel/qcoreapplication.cpp:583 #47 0xb55dd749 in QCoreApplication::sendSpontaneousEvent (receiver=0x8a7ee28, event=0xbff873c8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #48 0xb55d6246 in QApplicationPrivate::sendMouseEvent (receiver=0x8a7ee28, event=0xbff873c8, alienWidget=0x0, nativeWidget=0x8a7ee28, buttonDown=0xb5cdfee0, lastMouseReceiver=@0xb5cdfee4) at kernel/qapplication.cpp:2760 #49 0xb56500f3 in QETWidget::translateMouseEvent (this=0x8a7ee28, event=0xbff8796c) at kernel/qapplication_x11.cpp:4112 #50 0xb564d790 in QApplication::x11ProcessEvent (this=0xbff87cac, event=0xbff8796c) at kernel/qapplication_x11.cpp:3112 #51 0xb5679dc5 in x11EventSourceDispatch (s=0x806e440, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
The issue is now fixed (rev. 800153). Thank you :)