Summary: | Disabling KMail component in Kontact will make crash when going to Kontact Settings | ||
---|---|---|---|
Product: | [Applications] kontact | Reporter: | Dario Andres <andresbajotierra> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | rdieter, whynot |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Dario Andres
2008-07-28 23:41:23 UTC
I can still reproduce this bug in KDE 4.1 final (in ArchLinux i686) I can also reproduce this bug using: Version 4.1.62 (KDE 4.1.62 (KDE 4.2 >= 20080814)) kdelibs4.2 svn rev.849324 kdebase4.2 svn rev.849337 ArchLinux 2.6.25-zen2-20080814 i686 The shell output contains: kontact(663)/kutils (KCMultiDialog) KCMultiDialog::addModule: "Composer" kontact(663)/kutils (KCMultiDialog) KCMultiDialog::addModule: adding KCM "Composer" withparent "Mail" kontact(663)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged: kontact(663)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged: foundmodule for page: "Identity" kontact(663)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module "Composer" from library "kcm_kmail" using symbol "kmail_config_composer" kontact(663)/kdecore (KLibLoader) kde4Factory: The library "/mnt/Data/DEVEL/kde/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function. kontact(663)/kdecore (KLibLoader) kde3Factory: The library "/mnt/Data/DEVEL/kde/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function. kontact(663)/kdecore (KLibLoader) kde4Factory: The library "/mnt/Data/DEVEL/kde/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function. kontact(663)/kdecore (KLibLoader) kde3Factory: The library "/mnt/Data/DEVEL/kde/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function. kontact: /home/kde-devel/kde/src/KDE/kdepim/kmail/kmkernel.cpp:2100: static KMKernel* KMKernel::self(): Assertion `mySelf' failed. Using KDE 4.1.2 (KDE 4.1.2) (KDEmod): I can still reproduce this bug. Using KDE 4.1.3 in ArchLinux i686: I can still reproduce this bug. #10 0xb1b13d1d in KMKernel::self () at /home/dario/Build/ABS/extra/kdepim/src/kdepim-4.1.3/kmail/kmkernel.cpp:2091 The line number of the bug changed since 4.1.2 Using: kdepimlibs svn rev.883274 kdepim svn rev. 883277 This bug is still present Updated backtrace: Application: Kontact (kontact), signal SIGABRT [?1034h[Thread debugging using libthread_db enabled] Thread 1 (Thread 0xb4c90700 (LWP 3517)): [KCrash Handler] #6 0xb7f24424 in __kernel_vsyscall () #7 0xb5706720 in raise () from /lib/libc.so.6 #8 0xb5708058 in abort () from /lib/libc.so.6 #9 0xb56ff65e in __assert_fail () from /lib/libc.so.6 #10 0xb11c90dc in KMKernel::self () at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmkernel.cpp:2112 #11 0xb13ecb8d in CustomTemplates (this=0x9052a98, parent=0x9051088, name=0x0) at /home/kde-devel/kde/src/KDE/kdepim/kmail/customtemplates.cpp:88 #12 0xb0fbb0cd in ComposerPageCustomTemplatesTab (this=0x9051088, parent=0x0) at /home/kde-devel/kde/src/KDE/kdepim/kmail/configuredialog.cpp:3091 #13 0xb0fcdc69 in ComposerPage (this=0x8faadc8, instance=@0xbf83c918, parent=0x8fa0998) at /home/kde-devel/kde/src/KDE/kdepim/kmail/configuredialog.cpp:2769 #14 0xb1a755be in create_kmail_config_composer (parent=0x8fa0998) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kcm_kmail.cpp:60 #15 0xb6cf6c51 in KCModuleLoader::loadModule (mod=@0x8fa11c0, report=KCModuleLoader::Inline, parent=0x8fa0998, args=@0x8fa11a8) at /home/kde-devel/kde/src/KDE/kdelibs/kutils/kcmoduleloader.cpp:112 #16 0xb6cfc74d in KCModuleProxyPrivate::loadModule (this=0x8fa11a8) at /home/kde-devel/kde/src/KDE/kdelibs/kutils/kcmoduleproxy.cpp:107 #17 0xb6cfd873 in KCModuleProxy::realModule (this=0x8fa0998) at /home/kde-devel/kde/src/KDE/kdelibs/kutils/kcmoduleproxy.cpp:83 #18 0xb6cfd8a8 in KCModuleProxy::minimumSizeHint (this=0x8fa0998) at /home/kde-devel/kde/src/KDE/kdelibs/kutils/kcmoduleproxy.cpp:346 #19 0xb6797f53 in KPageViewPrivate::_k_modelChanged (this=0x8e2c258) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/paged/kpageview.cpp:204 #20 0xb679810e in KPageView::qt_metacall (this=0x8e2be38, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf83ce18) at /home/kde-devel/kde/build/KDE/kdelibs/kdeui/kpageview.moc:92 #21 0xb679be1a in KPageWidget::qt_metacall (this=0x8e2be38, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbf83ce18) at /home/kde-devel/kde/build/KDE/kdelibs/kdeui/kpagewidget.moc:69 #22 0xb5a9181b in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #23 0xb5a91d72 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #24 0xb5ac7227 in QAbstractItemModel::layoutChanged () from /usr/lib/libQtCore.so.4 #25 0xb679e671 in KPageWidgetModel::addSubPage (this=0x8aaf640, parent=0x8e72f20, item=0x8fa1f90) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/paged/kpagewidgetmodel.cpp:452 #26 0xb679bfd1 in KPageWidget::addSubPage (this=0x8e2be38, parent=0x8e72f20, item=0x8fa1f90) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/paged/kpagewidget.cpp:107 #27 0xb67954a1 in KPageDialog::addSubPage (this=0x8e63d98, parent=0x8e72f20, item=0x8fa1f90) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/paged/kpagedialog.cpp:100 #28 0xb6cf887d in KCMultiDialog::addModule (this=0x8e63d98, moduleInfo=@0x8aacbd8, parentItem=0x8e72f20, args=@0x8b7aa24) at /home/kde-devel/kde/src/KDE/kdelibs/kutils/kcmultidialog.cpp:305 #29 0xb6d13081 in KSettings::DialogPrivate::createDialogFromServices (this=0x8b7a9a0) at /home/kde-devel/kde/src/KDE/kdelibs/kutils/ksettings/dialog.cpp:323 #30 0xb6d1547c in KSettings::Dialog::showEvent (this=0x8e63d98) at /home/kde-devel/kde/src/KDE/kdelibs/kutils/ksettings/dialog.cpp:120 #31 0xb5f71b98 in QWidget::event () from /usr/lib/libQtGui.so.4 #32 0xb5f1fb1c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #33 0xb5f25fea in QApplication::notify () from /usr/lib/libQtGui.so.4 #34 0xb67646cd in KApplication::notify (this=0xbf83e9ac, receiver=0x8e63d98, event=0xbf83d760) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 #35 0xb5a7ffc1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #36 0xb5f729e3 in QWidgetPrivate::show_helper () from /usr/lib/libQtGui.so.4 #37 0xb5f72f8e in QWidget::setVisible () from /usr/lib/libQtGui.so.4 #38 0xb632633a in QDialog::setVisible () from /usr/lib/libQtGui.so.4 #39 0xb76ff504 in Kontact::MainWindow::slotPreferences (this=0x89a2d88) at /usr/include/QtGui/qwidget.h:464 #40 0xb7708c58 in Kontact::MainWindow::qt_metacall (this=0x89a2d88, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbf83d98c) at /home/kde-devel/kde/build/KDE/kdepim/kontact/src/mainwindow.moc:113 #41 0xb5a9181b in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #42 0xb5a91af0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #43 0xb5f1a4e1 in QAction::triggered () from /usr/lib/libQtGui.so.4 #44 0xb5f1ae57 in QAction::activate () from /usr/lib/libQtGui.so.4 #45 0xb629c322 in ?? () from /usr/lib/libQtGui.so.4 #46 0x08b2a848 in ?? () #47 0x00000000 in ?? () I can still reproduce this bug using: Qt: 4.4.3 KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2)) kdelibs svn rev. 896338 / kdebase svn rev. 896338 kdepimlibs svn rev. 896398 kdepim svn rev. 896427 The assert is the same. The backtrace differs on which option inside KMail in the Kontact Settings Dialog do you click. Some shell output: kontact(20308) KServiceFactory::findServiceByDesktopPath: "findServiceByDesktopPath: kcm_mailtransport not found" kontact(20308)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged: kontact(20308)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged: found module for page: "Accounts" kontact(20308)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module "Composer" from library "kcm_kmail" usingsymbol "kmail_config_composer" kontact(20308)/kdecore (KLibLoader) kde4Factory: The library "/home/kde-devel/kde/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function. kontact(20308)/kdecore (KLibLoader) kde3Factory: The library "/home/kde-devel/kde/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function. kontact(20308)/kdecore (KLibLoader) kde4Factory: The library "/home/kde-devel/kde/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function. kontact(20308)/kdecore (KLibLoader) kde3Factory: The library "/home/kde-devel/kde/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function. kontact: /home/kde-devel/kde/src/KDE/kdepim/kmail/kmkernel.cpp:2110: static KMKernel* KMKernel::self(): Assertion `mySelf' failed. KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kontact path = <unknown> pid = 20308 sock_file=/home/kde-devel/.kde4/socket-emiDell/kdeinit4__1 Still reproducible here using: Qt: 4.4.3 + qt-copy-patches-889120 KDE: 4.1.87 (KDE 4.1.87 (KDE 4.2 >= 20090101)) kdelibs svn rev. 905454 / kdebase svn rev. 905455 kdepim svn rev. 905565 on ArchLinux x86_64 - Kernel 2.6.27.10 To reproduce the crash: after you have disabled the Mail component, accepted the dialog: in the Settings click any of the disabled KMail items. Kontact will crash (I suppose this is because the item you selected is trying to access to KMail configuration and as there is not a KMail instance (the KMail component is disabled)) I can't reproduce this exactly here using: Qt: 4.5.0-rc1 KDE: 4.2.63 (KDE 4.2.63 (KDE 4.3 >= 20090212)) kdelibs svn rev. 927117 / kdebase svn rev. 927117 kdepim svn rev. 928042 on ArchLinux i686 - Kernel 2.6.28.4 Amazingly, this bug still exists in KDE 4.4.2! |