Application: kmail (1.13.7) KDE Platform Version: 4.6.3 (4.6.3) Qt Version: 4.7.3 Operating System: Linux 2.6.37.6-0.5-default i686 Distribution: "openSUSE 11.4 (i586)" -- Information about the crash: - What I was doing when the application crashed: I pushed the button OK of window of KMail Settings and KMail was crashed. -- Backtrace: Application: KMail (kmail), signal: Segmentation fault [KCrash Handler] #7 0xb6fe2ec3 in QString (this=0xbff1e5c4, name=...) at /usr/include/QtCore/qstring.h:728 #8 CTemplates::CTemplates (this=0xbff1e5c4, name=...) at /usr/src/debug/kdepim-4.4.11.1/build/kmail/customtemplates_kfg.cpp:10 #9 0xb6f2b898 in CustomTemplates::save (this=0x8997f50) at /usr/src/debug/kdepim-4.4.11.1/kmail/customtemplates.cpp:257 #10 0xb6b92b8e in ComposerPageCustomTemplatesTab::save (this=0x8997c90) at /usr/src/debug/kdepim-4.4.11.1/kmail/configuredialog.cpp:2972 #11 0xb6bc0ea6 in ConfigModuleWithTabs::save (this=0x88eda58) at /usr/src/debug/kdepim-4.4.11.1/kmail/configuredialog_p.cpp:169 #12 0xb415e7da in KCModuleProxy::save (this=0x81bb1b8) at /usr/src/debug/kdelibs-4.6.3/kutils/kcmoduleproxy.cpp:279 #13 0xb415eac5 in moduleSave (this=0x831ac58, currentProxy=0x81bb1b8) at /usr/src/debug/kdelibs-4.6.3/kutils/kcmultidialog.cpp:287 #14 KCMultiDialogPrivate::resolveChanges (this=0x831ac58, currentProxy=0x81bb1b8) at /usr/src/debug/kdelibs-4.6.3/kutils/kcmultidialog.cpp:68 #15 0xb4164bad in KCMultiDialogPrivate::_k_slotCurrentPageChanged (this=0x831ac58, current=0x8aa3e80, previous=0x8430628) at /usr/src/debug/kdelibs-4.6.3/kutils/kcmultidialog.cpp:99 #16 0xb4165989 in KCMultiDialog::qt_metacall (this=0x81e8930, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbff1e944) at /usr/src/debug/kdelibs-4.6.3/build/kutils/kcmultidialog.moc:98 #17 0xb6b9998e in ConfigureDialog::qt_metacall (this=0x81e8930, _c=QMetaObject::InvokeMetaMethod, _id=82, _a=0xbff1e944) at /usr/src/debug/kdepim-4.4.11.1/build/kmail/configuredialog.moc:72 #18 0xb5ef107d in QMetaObject::metacall (object=0x81e8930, cl=QMetaObject::InvokeMetaMethod, idx=82, argv=0xbff1e944) at kernel/qmetaobject.cpp:237 #19 0xb5f004cc in QMetaObject::activate (sender=0x81e8930, m=0xb781f640, local_signal_index=0, argv=0xbff1e944) at kernel/qobject.cpp:3278 #20 0xb755b51d in KPageDialog::currentPageChanged (this=0x81e8930, _t1=0x8aa3e80, _t2=0x8430628) at /usr/src/debug/kdelibs-4.6.3/build/kdeui/kpagedialog.moc:88 #21 0xb76c89e0 in KPageDialog::qt_metacall (this=0x81e8930, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbff1ead4) at /usr/src/debug/kdelibs-4.6.3/build/kdeui/kpagedialog.moc:75 #22 0xb4165842 in KCMultiDialog::qt_metacall (this=0x81e8930, _c=QMetaObject::InvokeMetaMethod, _id=73, _a=0xbff1ead4) at /usr/src/debug/kdelibs-4.6.3/build/kutils/kcmultidialog.moc:86 #23 0xb6b9998e in ConfigureDialog::qt_metacall (this=0x81e8930, _c=QMetaObject::InvokeMetaMethod, _id=73, _a=0xbff1ead4) at /usr/src/debug/kdepim-4.4.11.1/build/kmail/configuredialog.moc:72 #24 0xb5ef107d in QMetaObject::metacall (object=0x81e8930, cl=QMetaObject::InvokeMetaMethod, idx=73, argv=0xbff1ead4) at kernel/qmetaobject.cpp:237 #25 0xb5f004cc in QMetaObject::activate (sender=0x83072a0, m=0xb781f6d0, local_signal_index=0, argv=0xbff1ead4) at kernel/qobject.cpp:3278 #26 0xb755d1ed in KPageWidget::currentPageChanged (this=0x83072a0, _t1=0x8aa3e80, _t2=0x8430628) at /usr/src/debug/kdelibs-4.6.3/build/kdeui/kpagewidget.moc:96 #27 0xb755d9e8 in KPageWidgetPrivate::_k_slotCurrentPageChanged (this=0x832d2e8, current=..., before=...) at /usr/src/debug/kdelibs-4.6.3/kdeui/paged/kpagewidget.cpp:43 #28 0xb7636054 in KPageWidget::qt_metacall (this=0x83072a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbff1ec24) at /usr/src/debug/kdelibs-4.6.3/build/kdeui/kpagewidget.moc:84 #29 0xb5ef107d in QMetaObject::metacall (object=0x83072a0, cl=QMetaObject::InvokeMetaMethod, idx=35, argv=0xbff1ec24) at kernel/qmetaobject.cpp:237 #30 0xb5f004cc in QMetaObject::activate (sender=0x83072a0, m=0xb781f660, local_signal_index=0, argv=0xbff1ec24) at kernel/qobject.cpp:3278 #31 0xb755c16d in KPageView::currentPageChanged (this=0x83072a0, _t1=..., _t2=...) at /usr/src/debug/kdelibs-4.6.3/build/kdeui/kpageview.moc:140 #32 0xb7635d5e in KPageViewPrivate::_k_pageSelected (this=0x832d2e8, index=..., previous=...) at /usr/src/debug/kdelibs-4.6.3/kdeui/paged/kpageview.cpp:244 #33 0xb7635f55 in KPageView::qt_metacall (this=0x83072a0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbff1edf4) at /usr/src/debug/kdelibs-4.6.3/build/kdeui/kpageview.moc:100 #34 0xb7636012 in KPageWidget::qt_metacall (this=0x83072a0, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbff1edf4) at /usr/src/debug/kdelibs-4.6.3/build/kdeui/kpagewidget.moc:76 #35 0xb5ef107d in QMetaObject::metacall (object=0x83072a0, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbff1edf4) at kernel/qmetaobject.cpp:237 #36 0xb5f004cc in QMetaObject::activate (sender=0x8616bc8, m=0xb6accecc, local_signal_index=0, argv=0xbff1edf4) at kernel/qobject.cpp:3278 #37 0xb676465d in QItemSelectionModel::selectionChanged (this=0x8616bc8, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:152 #38 0xb676b0fc in QItemSelectionModel::emitSelectionChanged (this=0x8616bc8, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1594 #39 0xb676b9cc in QItemSelectionModel::select (this=0x8616bc8, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1101 #40 0xb750a5c6 in KDEPrivate::SelectionModel::select (this=0x8616bc8, selection=..., command=...) at /usr/src/debug/kdelibs-4.6.3/kdeui/paged/kpageview_p.cpp:619 #41 0xb6731a77 in QListView::setSelection (this=0xbff1f024, rect=..., command=) at itemviews/qlistview.cpp:1385 #42 0xb67095d4 in QAbstractItemView::mousePressEvent (this=0x8323df0, event=0xbff1fa14) at itemviews/qabstractitemview.cpp:1674 #43 0xb61c1ab4 in QWidget::event (this=0x8323df0, event=0xbff1fa14) at kernel/qwidget.cpp:8255 #44 0xb65d10f5 in QFrame::event (this=0x8323df0, e=0xbff1fa14) at widgets/qframe.cpp:557 #45 0xb6662b91 in QAbstractScrollArea::viewportEvent (this=0x8323df0, e=0xbff1fa14) at widgets/qabstractscrollarea.cpp:1043 #46 0xb6706e74 in QAbstractItemView::viewportEvent (this=0x8323df0, event=0xbff1fa14) at itemviews/qabstractitemview.cpp:1628 #47 0xb6665486 in viewportEvent (this=0x8171108, o=0x88250f8, e=0xbff1fa14) at widgets/qabstractscrollarea_p.h:100 #48 QAbstractScrollAreaFilter::eventFilter (this=0x8171108, o=0x88250f8, e=0xbff1fa14) at widgets/qabstractscrollarea_p.h:116 #49 0xb5eea926 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80a1d70, receiver=0x88250f8, event=0xbff1fa14) at kernel/qcoreapplication.cpp:846 #50 0xb6166654 in QApplicationPrivate::notify_helper (this=0x80a1d70, receiver=0x88250f8, e=0xbff1fa14) at kernel/qapplication.cpp:4458 #51 0xb616ff80 in QApplication::notify (this=0xbff1f72c, receiver=0x88250f8, e=0xbff1fa14) at kernel/qapplication.cpp:4023 #52 0xb754c901 in KApplication::notify (this=0xbff2031c, receiver=0x88250f8, event=0xbff1fa14) at /usr/src/debug/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:311 #53 0xb5eea78e in QCoreApplication::notifyInternal (this=0xbff2031c, receiver=0x88250f8, event=0xbff1fa14) at kernel/qcoreapplication.cpp:731 #54 0xb616772c in sendSpontaneousEvent (receiver=0x88250f8, event=0xbff1fa14, alienWidget=0x88250f8, nativeWidget=0x81e8930, buttonDown=0xb6adbc00, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:218 #55 QApplicationPrivate::sendMouseEvent (receiver=0x88250f8, event=0xbff1fa14, alienWidget=0x88250f8, nativeWidget=0x81e8930, buttonDown=0xb6adbc00, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120 #56 0xb61f3bb0 in QETWidget::translateMouseEvent (this=0x81e8930, event=0xbff1ff2c) at kernel/qapplication_x11.cpp:4461 #57 0xb61f2cbe in QApplication::x11ProcessEvent (this=0xbff2031c, event=0xbff1ff2c) at kernel/qapplication_x11.cpp:3465 #58 0xb621d5e0 in x11EventSourceDispatch (s=0x80a0fa8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #59 0xb3dca509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #60 0xb3dcad10 in ?? () from /lib/libglib-2.0.so.0 #61 0xb3dcafce in g_main_context_iteration () from /lib/libglib-2.0.so.0 #62 0xb5f18f7b in QEventDispatcherGlib::processEvents (this=0x8055f28, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #63 0xb621d1da in QGuiEventDispatcherGlib::processEvents (this=0x8055f28, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #64 0xb5ee9a6d in QEventLoop::processEvents (this=0xbff201e4, flags=...) at kernel/qeventloop.cpp:149 #65 0xb5ee9c99 in QEventLoop::exec (this=0xbff201e4, flags=...) at kernel/qeventloop.cpp:201 #66 0xb5eee740 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008 #67 0xb61643d4 in QApplication::exec () at kernel/qapplication.cpp:3736 #68 0x0804a9b3 in main (argc=) at /usr/src/debug/kdepim-4.4.11.1/kmail/main.cpp:158 Reported using DrKonqi
Created attachment 61675 [details] New crash information added by DrKonqi kontact (4.7 pre) on KDE Platform 4.6.90 (4.7 RC1) "release 2" using Qt 4.7.3 - What I was doing when the application crashed: Deleted three custom templates for replys and forwarding and applied the changes. -- Backtrace (Reduced): #6 QString (this=0x7fff071dc240, name=...) at /usr/include/QtCore/qstring.h:728 #7 CTemplates::CTemplates (this=0x7fff071dc240, name=...) at /usr/src/debug/kdepim-4.6.90/build/templateparser/customtemplates_kfg.cpp:10 #8 0x00007f0d543ca6ed in CustomTemplates::save (this=0x2054d70) at /usr/src/debug/kdepim-4.6.90/templateparser/customtemplates.cpp:252 #9 0x00007f0d553b4479 in ConfigModuleWithTabs::save (this=0x1e10b30) at /usr/src/debug/kdepim-4.6.90/kmail/configuredialog_p.cpp:73 #10 0x00007f0d6bdd2a67 in KCModuleProxy::save (this=<value optimized out>) at /usr/src/debug/kdelibs-4.6.90/kutils/kcmoduleproxy.cpp:279
Created attachment 61677 [details] full GDB log with backtrace I reproduced this bug while having kmail launched from within GDB with --nofork and --nocrashhandler. It is always reproducible by clicking either "Apply" or "OK". The deletion of a template is not recognised and it is still there on the next start of kmail.
Created attachment 61678 [details] valgrind log of this crash I reproduced this bug now with Valgrind and it seems, that an instability occurs when the Settings Window is opened, thus has nothing to do with the Custom Templates. I added some comments on what happened in the Valgrind log: $> grep -n "<---" kmail_settingsapply_crash.valgrindlog 119:<--- At this point KMail was fully loaded. ---> 121:<--- clicking on Settings->Configure KMail ---> 87363:<--- At this point the Configure Window was open ---> 87366:<--- clicking on "EMail Editor"->"Custom Templates" and deleting three of them ----> 87372:<--- CRASH ---> Hope this helps.
It's in kmail1 or kmail2?
After I have updated KDE to v4.7 kmail works OK. Now I test kmail and then I'll write to you about results. Thank you. > Date: Fri, 5 Aug 2011 10:42:35 +0000 > From: montel@kde.org > To: jackpatry@hotmail.com > Subject: [Bug 272996] KMail crashed after enter OK of the window of KMail Settings. Templates of answer was been made in that moment. > > https://bugs.kde.org/show_bug.cgi?id=272996 > > > Laurent Montel <montel@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |montel@kde.org > > > > > --- Comment #4 from Laurent Montel <montel kde org> 2011-08-05 10:42:35 --- > It's in kmail1 or kmail2? > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug.
After I have updated KDE to v4.7 kmail works OK. This bug isn't confirmed now. Thanks. I have another problem on my notebook with openSUSE 11.4 64-bit and KDE 4.7.1 on clear system. After start of kmail on startup the next error message comes on: "Failed to fetch the resource collection". Startup in console: "KDE Faled to request resource "akonadi_maildir_resource_0"". Under root kmail starts in console with command "dbus-launch kmail" OK. I find many same questions in internet. It's for info only. The current bug 272996 is not confirmed in new version. Fixed.