Bug 245362 - crash after removal dictionary servers
Summary: crash after removal dictionary servers
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.5
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-21 21:55 UTC by Marcin Gryszkalis
Modified: 2012-08-19 10:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.69 KB, text/plain)
2011-08-30 22:39 UTC, Graham Cobb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Gryszkalis 2010-07-21 21:55:00 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo-ines i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I have LDAP 3 servers in crypto configuration, after removing 2 of them (select + "delete" button) kmai crashed.


The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0xb56670a5 in QVector<QVector<QPersistentModelIndexData*> >::count (this=0x0, data=0xe2bf6d8) at src/corelib/tools/qvector.h:245
#7  QAbstractItemModelPrivate::removePersistentIndexData (this=0x0, data=0xe2bf6d8) at kernel/qabstractitemmodel.cpp:550
#8  0xb5667403 in QPersistentModelIndexData::destroy (data=0xe2bf6d8) at kernel/qabstractitemmodel.cpp:83
#9  0xb56674fb in ~QPersistentModelIndex (this=0xbd6a6bc, __in_chrg=<value optimized out>) at kernel/qabstractitemmodel.cpp:155
#10 0xb5197fec in QItemSelectionModelPrivate::~QItemSelectionModelPrivate() () from /usr/lib/qt4/libQtGui.so.4
#11 0xb56875a3 in QScopedPointerDeleter<QObjectData>::cleanup (this=0xba1fd70, __in_chrg=<value optimized out>) at src/corelib/tools/qscopedpointer.h:62
#12 ~QScopedPointer (this=0xba1fd70, __in_chrg=<value optimized out>) at src/corelib/tools/qscopedpointer.h:100
#13 ~QObject (this=0xba1fd70, __in_chrg=<value optimized out>) at kernel/qobject.cpp:992
#14 0xb518dfb0 in ~QItemSelectionModel (this=0xba1fd70, __in_chrg=<value optimized out>) at itemviews/qitemselectionmodel.cpp:976
#15 0xb568069b in QObjectPrivate::deleteChildren (this=0xae0af28) at kernel/qobject.cpp:1978
#16 0xb4c42ab8 in ~QWidget (this=0xbe68518, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#17 0xb5003172 in ~QFrame (this=0xbe68518, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#18 0xb50959bd in ~QAbstractScrollArea (this=0xbe68518, __in_chrg=<value optimized out>) at widgets/qabstractscrollarea.cpp:524
#19 0xb513213a in ~QAbstractItemView (this=0xbe68518, __in_chrg=<value optimized out>) at itemviews/qabstractitemview.cpp:598
#20 0xb517318a in ~QTreeView (this=0xbe68518, __in_chrg=<value optimized out>) at itemviews/qtreeview.cpp:208
#21 0xb568069b in QObjectPrivate::deleteChildren (this=0xadb1b08) at kernel/qobject.cpp:1978
#22 0xb4c42ab8 in ~QWidget (this=0xabd39e0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#23 0xb3a263ba in ~DirectoryServicesWidget (this=0xabd39e0, __in_chrg=<value optimized out>) at /usr/src/debug/kde-base/libkleo-4.4.5/libkleo-4.4.5/libkleo/ui/directoryserviceswidget.cpp:538
#24 0xb568069b in QObjectPrivate::deleteChildren (this=0xada1768) at kernel/qobject.cpp:1978
#25 0xb4c42ab8 in ~QWidget (this=0xbfc3e400, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#26 0xb50d9179 in ~QDialog (this=0xbfc3e400, __in_chrg=<value optimized out>) at dialogs/qdialog.cpp:328
#27 0xb764ca6c in ~KDialog (this=0xbfc3e400, __in_chrg=<value optimized out>) at /usr/src/debug/kde-base/kdelibs-4.4.5/kdelibs-4.4.5/kdeui/dialogs/kdialog.cpp:205
#28 0xb3a1d518 in Kleo::CryptoConfigEntryLDAPURL::slotOpenDialog (this=0xc244380) at /usr/src/debug/kde-base/libkleo-4.4.5/libkleo-4.4.5/libkleo/ui/cryptoconfigmodule.cpp:874
#29 0xb3a1f6a2 in Kleo::CryptoConfigEntryLDAPURL::qt_metacall (this=0xc244380, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfc3e568)
    at /usr/src/debug/kde-base/libkleo-4.4.5/libkleo-4.4.5_build/libkleo/cryptoconfigmodule_p.moc:584
#30 0xb5676be2 in QMetaObject::metacall (object=0xc244380, cl=4294967295, idx=6, argv=0xbfc3e568) at kernel/qmetaobject.cpp:237
#31 0xb5684868 in QMetaObject::activate (sender=0xbb43c30, m=0xb54b4884, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3285
#32 0xb52ab7b0 in QAbstractButton::clicked (this=0xbb43c30, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#33 0xb4fb7970 in QAbstractButtonPrivate::emitClicked (this=0xc2450b8) at widgets/qabstractbutton.cpp:546
#34 0xb4fb86d1 in QAbstractButtonPrivate::click (this=0xc2450b8) at widgets/qabstractbutton.cpp:539
#35 0xb4fb8924 in QAbstractButton::mouseReleaseEvent (this=0xbb43c30, e=0xbfc3ed44) at widgets/qabstractbutton.cpp:1121
#36 0xb4c3b43a in QWidget::event (this=0xbb43c30, event=0xbfc3ed44) at kernel/qwidget.cpp:7998
#37 0xb4fb7846 in QAbstractButton::event (this=0xbb43c30, e=0x0) at widgets/qabstractbutton.cpp:1080
#38 0xb5058195 in QPushButton::event (this=0xbb43c30, e=0xbfc3ed44) at widgets/qpushbutton.cpp:679
#39 0xb4be303d in QApplicationPrivate::notify_helper (this=0x9244418, receiver=0xbb43c30, e=0xbfc3ed44) at kernel/qapplication.cpp:4300
#40 0xb4bea18c in QApplication::notify (this=0xbfc40624, receiver=0xbb43c30, e=0xbfc3ed44) at kernel/qapplication.cpp:3865
#41 0xb76e4ca6 in KApplication::notify (this=0xbfc40624, receiver=0xbb43c30, event=0xbfc3ed44) at /usr/src/debug/kde-base/kdelibs-4.4.5/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#42 0xb5671ebf in QCoreApplication::notifyInternal (this=0xbfc40624, receiver=0xbb43c30, event=0xbfc3ed44) at kernel/qcoreapplication.cpp:704
#43 0xb4be8831 in QCoreApplication::sendEvent (receiver=0xbb43c30, event=0xbfc3ed44, alienWidget=0xbb43c30, nativeWidget=0xbfc3f498, buttonDown=0xb54bd018, lastMouseReceiver=..., spontaneous=true)
    at src/corelib/kernel/qcoreapplication.h:215
#44 QApplicationPrivate::sendMouseEvent (receiver=0xbb43c30, event=0xbfc3ed44, alienWidget=0xbb43c30, nativeWidget=0xbfc3f498, buttonDown=0xb54bd018, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#45 0xb4c6c7a2 in QETWidget::translateMouseEvent (this=0xbfc3f498, event=0xbfc3f190) at kernel/qapplication_x11.cpp:4368
#46 0xb4c6b89a in QApplication::x11ProcessEvent (this=0xbfc40624, event=0xbfc3f190) at kernel/qapplication_x11.cpp:3379
#47 0xb4c965ca in x11EventSourceDispatch (s=0x92471e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0xb3531801 in g_main_dispatch (context=0x9246490) at gmain.c:1960
#49 0xb3532b00 in IA__g_main_context_dispatch (context=0x9246490) at gmain.c:2513
#50 0xb3532f5b in g_main_context_iterate (context=0x9246490, block=1, dispatch=1, self=0x91353c0) at gmain.c:2591
#51 0xb3533144 in IA__g_main_context_iteration (context=0x9246490, may_block=1) at gmain.c:2654
#52 0xb569b024 in QEventDispatcherGlib::processEvents (this=0x910fa20, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#53 0xb4c96190 in QGuiEventDispatcherGlib::processEvents (this=0x910fa20, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0xb56706ff in QEventLoop::processEvents (this=0xbfc3f440, flags=) at kernel/qeventloop.cpp:149
#55 0xb5670b09 in QEventLoop::exec (this=0xbfc3f440, flags=...) at kernel/qeventloop.cpp:201
#56 0xb50d9e4c in QDialog::exec (this=0xbfc3f498) at dialogs/qdialog.cpp:546
#57 0xb3a95635 in Kleo::BackendConfigWidget::slotConfigureButtonClicked (this=0xbc0ff70) at /usr/src/debug/kde-base/libkleo-4.4.5/libkleo-4.4.5/libkleo/ui/backendconfigwidget.cpp:311
#58 0xb3a95a50 in Kleo::BackendConfigWidget::qt_metacall (this=0xbc0ff70, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfc3f608)
    at /usr/src/debug/kde-base/libkleo-4.4.5/libkleo-4.4.5_build/libkleo/backendconfigwidget.moc:83
#59 0xb5676be2 in QMetaObject::metacall (object=0xbc0ff70, cl=4294967295, idx=30, argv=0xbfc3f608) at kernel/qmetaobject.cpp:237
#60 0xb5684868 in QMetaObject::activate (sender=0xbc22828, m=0xb54b4884, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3285
#61 0xb52ab7b0 in QAbstractButton::clicked (this=0xbc22828, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#62 0xb4fb7970 in QAbstractButtonPrivate::emitClicked (this=0xbc245c0) at widgets/qabstractbutton.cpp:546
#63 0xb4fb86d1 in QAbstractButtonPrivate::click (this=0xbc245c0) at widgets/qabstractbutton.cpp:539
#64 0xb4fb8924 in QAbstractButton::mouseReleaseEvent (this=0xbc22828, e=0xbfc3fde4) at widgets/qabstractbutton.cpp:1121
#65 0xb4c3b43a in QWidget::event (this=0xbc22828, event=0xbfc3fde4) at kernel/qwidget.cpp:7998
#66 0xb4fb7846 in QAbstractButton::event (this=0xbc22828, e=0x0) at widgets/qabstractbutton.cpp:1080
#67 0xb5058195 in QPushButton::event (this=0xbc22828, e=0xbfc3fde4) at widgets/qpushbutton.cpp:679
#68 0xb4be303d in QApplicationPrivate::notify_helper (this=0x9244418, receiver=0xbc22828, e=0xbfc3fde4) at kernel/qapplication.cpp:4300
#69 0xb4bea18c in QApplication::notify (this=0xbfc40624, receiver=0xbc22828, e=0xbfc3fde4) at kernel/qapplication.cpp:3865
#70 0xb76e4ca6 in KApplication::notify (this=0xbfc40624, receiver=0xbc22828, event=0xbfc3fde4) at /usr/src/debug/kde-base/kdelibs-4.4.5/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#71 0xb5671ebf in QCoreApplication::notifyInternal (this=0xbfc40624, receiver=0xbc22828, event=0xbfc3fde4) at kernel/qcoreapplication.cpp:704
#72 0xb4be8831 in QCoreApplication::sendEvent (receiver=0xbc22828, event=0xbfc3fde4, alienWidget=0xbc22828, nativeWidget=0xb868b78, buttonDown=0xb54bd018, lastMouseReceiver=..., spontaneous=true)
    at src/corelib/kernel/qcoreapplication.h:215
#73 QApplicationPrivate::sendMouseEvent (receiver=0xbc22828, event=0xbfc3fde4, alienWidget=0xbc22828, nativeWidget=0xb868b78, buttonDown=0xb54bd018, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#74 0xb4c6c7a2 in QETWidget::translateMouseEvent (this=0xb868b78, event=0xbfc40230) at kernel/qapplication_x11.cpp:4368
#75 0xb4c6b89a in QApplication::x11ProcessEvent (this=0xbfc40624, event=0xbfc40230) at kernel/qapplication_x11.cpp:3379
#76 0xb4c965ca in x11EventSourceDispatch (s=0x92471e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#77 0xb3531801 in g_main_dispatch (context=0x9246490) at gmain.c:1960
#78 0xb3532b00 in IA__g_main_context_dispatch (context=0x9246490) at gmain.c:2513
#79 0xb3532f5b in g_main_context_iterate (context=0x9246490, block=1, dispatch=1, self=0x91353c0) at gmain.c:2591
#80 0xb3533144 in IA__g_main_context_iteration (context=0x9246490, may_block=1) at gmain.c:2654
#81 0xb569b024 in QEventDispatcherGlib::processEvents (this=0x910fa20, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#82 0xb4c96190 in QGuiEventDispatcherGlib::processEvents (this=0x910fa20, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#83 0xb56706ff in QEventLoop::processEvents (this=0xbfc404e4, flags=) at kernel/qeventloop.cpp:149
#84 0xb5670b09 in QEventLoop::exec (this=0xbfc404e4, flags=...) at kernel/qeventloop.cpp:201
#85 0xb56748e2 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#86 0xb4be30d2 in QApplication::exec () at kernel/qapplication.cpp:3579
#87 0x0804b41b in main (argc=1, argv=0xbfc40744) at /usr/src/debug/kde-base/kmail-4.4.5/kmail-4.4.5/kmail/main.cpp:156

Reported using DrKonqi
Comment 1 Graham Cobb 2011-08-30 22:39:14 UTC
Created attachment 63245 [details]
New crash information added by DrKonqi

kontact (4.4.11) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

- What I was doing when the application crashed:

I was following the instructions in https://bugs.kde.org/show_bug.cgi?id=265780#c1 to change my PGP key server.  I had added a new server and then deleted the original server.

-- Backtrace (Reduced):
#4  count (this=0x0, data=0x172f45d0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:246
#5  QAbstractItemModelPrivate::removePersistentIndexData (this=0x0, data=0x172f45d0) at kernel/qabstractitemmodel.cpp:550
#6  0x00007f31f79d4539 in QPersistentModelIndexData::destroy (data=0x172f45d0) at kernel/qabstractitemmodel.cpp:83
#7  0x00007f31f79d467f in ~QPersistentModelIndex (this=0x170bfb68, __in_chrg=<value optimized out>) at kernel/qabstractitemmodel.cpp:155
#8  QPersistentModelIndex::~QPersistentModelIndex (this=0x170bfb68, __in_chrg=<value optimized out>) at kernel/qabstractitemmodel.cpp:152
Comment 2 Myriam Schweingruber 2012-08-19 10:52:41 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding