Bug 211246 - Kleopatra crashed while changing openpgp server settings
Summary: Kleopatra crashed while changing openpgp server settings
Status: RESOLVED WORKSFORME
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Andre Heinecke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-20 20:52 UTC by Vasile Jureschi
Modified: 2021-01-12 04:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.27 KB, text/plain)
2011-02-22 10:24 UTC, Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasile Jureschi 2009-10-20 20:52:45 UTC
Application that crashed: kleopatra
Version of the application: 2.0.9
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I was trying to add a OpenPGP server in the settings window and Kleopatra crashed when I clicked ok. The sequence of operations was add the default server twice, remove one instance and then click ok.

 -- Backtrace:
Application: Kleopatra (kleopatra), signal: Segmentation fault
[Current thread is 1 (Thread 0xb78a9700 (LWP 372))]

Thread 2 (Thread 0xa6d62b70 (LWP 20485)):
#0  0x00b78e06 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x02baebf3 in QTimerInfoList::getTime (this=0xa83638c, t=...) at kernel/qeventdispatcher_unix.cpp:339
#2  0x02baede1 in QTimerInfoList::updateCurrentTime (this=0xa83638c) at kernel/qeventdispatcher_unix.cpp:297
#3  0x02baf88c in QTimerInfoList::timerWait (this=0xa83638c, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#4  0x02bad210 in timerSourcePrepare (source=0xa836358, timeout=0xa6d620dc) at kernel/qeventdispatcher_glib.cpp:141
#5  0x082c0f80 in IA__g_main_context_prepare (context=0x9d37b00, priority=0xa6d6215c) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2280
#6  0x082c1341 in g_main_context_iterate (context=0x9d37b00, block=<value optimized out>, dispatch=1, self=0xa83bc38) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2571
#7  0x082c1853 in IA__g_main_context_iteration (context=0x9d37b00, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#8  0x02bad067 in QEventDispatcherGlib::processEvents (this=0xa835608, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#9  0x02b80c79 in QEventLoop::processEvents (this=0xa6d622a4, flags=) at kernel/qeventloop.cpp:149
#10 0x02b810ca in QEventLoop::exec (this=0xa6d622a4, flags=...) at kernel/qeventloop.cpp:201
#11 0x02a8eb73 in QThread::exec (this=0xa837720) at thread/qthread.cpp:487
#12 0x02b636ab in QInotifyFileSystemWatcherEngine::run (this=0xa837720) at io/qfilesystemwatcher_inotify.cpp:214
#13 0x02a91e32 in QThreadPrivate::start (arg=0xa837720) at thread/qthread_unix.cpp:188
#14 0x006d480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x007b47ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb78a9700 (LWP 372)):
[KCrash Handler]
#6  0x02b7a3c0 in QVector<QVector<QPersistentModelIndexData*> >::count (this=0xa8, data=0xa86b110) at ../../include/QtCore/../../src/corelib/tools/qvector.h:240
#7  QAbstractItemModelPrivate::removePersistentIndexData (this=0xa8, data=0xa86b110) at kernel/qabstractitemmodel.cpp:481
#8  0x02b7a730 in QPersistentModelIndexData::destroy (data=0xa86b110) at kernel/qabstractitemmodel.cpp:83
#9  0x02b7a885 in ~QPersistentModelIndex (this=0xa84e120, __in_chrg=<value optimized out>) at kernel/qabstractitemmodel.cpp:155
#10 0x08e22d31 in QItemSelectionModelPrivate::~QItemSelectionModelPrivate() () from /usr/lib/libQtGui.so.4
#11 0x02b9986a in ~QObject (this=0x9afbf58, __in_chrg=<value optimized out>) at kernel/qobject.cpp:857
#12 0x08e19607 in ~QItemSelectionModel (this=0x9afbf58, __in_chrg=<value optimized out>) at itemviews/qitemselectionmodel.cpp:932
#13 0x02b9146f in QObjectPrivate::deleteChildren (this=0x9af3970) at kernel/qobject.cpp:1847
#14 0x088c785b in ~QWidget (this=0x9af3958, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#15 0x08c7b961 in ~QFrame (this=0x9af3958, __in_chrg=<value optimized out>) at widgets/qframe.cpp:243
#16 0x08d1a5fa in ~QAbstractScrollArea (this=0x9af3958, __in_chrg=<value optimized out>) at widgets/qabstractscrollarea.cpp:497
#17 0x08dbfb91 in ~QAbstractItemView (this=0x9af3958, __in_chrg=<value optimized out>) at itemviews/qabstractitemview.cpp:496
#18 0x08dfe005 in ~QTreeView (this=0x9af3958, __in_chrg=<value optimized out>) at itemviews/qtreeview.cpp:208
#19 0x02b9146f in QObjectPrivate::deleteChildren (this=0x9af2c10) at kernel/qobject.cpp:1847
#20 0x088c785b in ~QWidget (this=0x9aeafa0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#21 0x005b1648 in ~DirectoryServicesWidget (this=0x9aeafa0, __in_chrg=<value optimized out>) at ../../libkleo/ui/directoryserviceswidget.cpp:538
#22 0x02b9146f in QObjectPrivate::deleteChildren (this=0x9af2a20) at kernel/qobject.cpp:1847
#23 0x088c785b in ~QWidget (this=0xa80d8e8, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#24 0x0100071e in ~KCModule (this=0xa80d8e8, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kcmodule.cpp:132
#25 0x04af3c82 in ~DirectoryServicesConfigurationPage (this=0xa80d8e8, __in_chrg=<value optimized out>) at ../../../kleopatra/conf/dirservconfigpage.h:55
#26 0x00b9fabc in KCModuleProxy::deleteClient (this=0xa8025e0) at ../../kutils/kcmoduleproxy.cpp:213
#27 0x00b9e74e in KCMultiDialogPrivate::_k_dialogClosed (this=0x9d8bb38) at ../../kutils/kcmultidialog.cpp:98
#28 0x00b9ec66 in KCMultiDialog::qt_metacall (this=0xa059998, _c=QMetaObject::InvokeMetaMethod, _id=84, _a=0xbfdd498c) at ./kcmultidialog.moc:92
#29 0x02b98263 in QMetaObject::activate (sender=0xa059998, from_signal_index=52, to_signal_index=52, argv=0x0) at kernel/qobject.cpp:3113
#30 0x02b98ec2 in QMetaObject::activate (sender=0xa059998, m=0x827846c, local_signal_index=16, argv=0x0) at kernel/qobject.cpp:3187
#31 0x00eab2c7 in KDialog::finished (this=0xa059998) at ./kdialog.moc:295
#32 0x00eab343 in KDialog::hideEvent (this=0xa059998, event=0xa8) at ../../kdeui/dialogs/kdialog.cpp:961
#33 0x0818b0d8 in ConfigureDialog::hideEvent (this=0xa059998, e=0xbfdd4e84) at ../../kleopatra/conf/configuredialog.cpp:85
#34 0x088cbb9b in QWidget::event (this=0xa059998, event=0xbfdd4e84) at kernel/qwidget.cpp:7752
#35 0x08876f54 in QApplicationPrivate::notify_helper (this=0x9ab6860, receiver=0xa059998, e=0xbfdd4e84) at kernel/qapplication.cpp:4056
#36 0x0887e5ca in QApplication::notify (this=0xbfdd7480, receiver=0xa059998, e=0xbfdd4e84) at kernel/qapplication.cpp:4021
#37 0x00f46bfa in KApplication::notify (this=0xbfdd7480, receiver=0xa059998, event=0xbfdd4e84) at ../../kdeui/kernel/kapplication.cpp:302
#38 0x02b826cb in QCoreApplication::notifyInternal (this=0xbfdd7480, receiver=0xa059998, event=0xbfdd4e84) at kernel/qcoreapplication.cpp:610
#39 0x088ca9ca in QCoreApplication::sendEvent (this=0xa85aed0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#40 QWidgetPrivate::hide_helper (this=0xa85aed0) at kernel/qwidget.cpp:6842
#41 0x088d2f50 in QWidget::setVisible (this=0xa059998, visible=false) at kernel/qwidget.cpp:7012
#42 0x08d64bff in QDialog::setVisible (this=0xa059998, visible=false) at dialogs/qdialog.cpp:758
#43 0x08d63be6 in QWidget::hide (this=0xa059998, r=1) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:477
#44 QDialog::done (this=0xa059998, r=1) at dialogs/qdialog.cpp:535
#45 0x08d6283c in QDialog::accept (this=0xa059998) at dialogs/qdialog.cpp:556
#46 0x00b9c790 in KCMultiDialog::slotOkClicked (this=0xa059998) at ../../kutils/kcmultidialog.cpp:228
#47 0x00b9ed0b in KCMultiDialog::qt_metacall (this=0xa059998, _c=QMetaObject::InvokeMetaMethod, _id=80, _a=0xbfdd509c) at ./kcmultidialog.moc:88
#48 0x02b98263 in QMetaObject::activate (sender=0xa059998, from_signal_index=45, to_signal_index=45, argv=0x0) at kernel/qobject.cpp:3113
#49 0x02b98ec2 in QMetaObject::activate (sender=0xa059998, m=0x827846c, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3187
#50 0x00eab4d7 in KDialog::okClicked (this=0xa059998) at ./kdialog.moc:252
#51 0x00eadde8 in KDialog::slotButtonClicked (this=0xa059998, button=4) at ../../kdeui/dialogs/kdialog.cpp:853
#52 0x00eb0319 in KDialog::qt_metacall (this=0xa059998, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfdd52d8) at ./kdialog.moc:184
#53 0x00f77c6a in KPageDialog::qt_metacall (this=0xa059998, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfdd52d8) at ./kpagedialog.moc:64
#54 0x00b9ec3a in KCMultiDialog::qt_metacall (this=0xa059998, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfdd52d8) at ./kcmultidialog.moc:78
#55 0x02b98263 in QMetaObject::activate (sender=0x9d8bb88, from_signal_index=4, to_signal_index=4, argv=0xbfdd52d8) at kernel/qobject.cpp:3113
#56 0x02b98ec2 in QMetaObject::activate (sender=0x9d8bb88, m=0x2c72878, local_signal_index=0, argv=0xbfdd52d8) at kernel/qobject.cpp:3187
#57 0x02b9ae73 in QSignalMapper::mapped (this=0x9d8bb88, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:95
#58 0x02b9b70d in QSignalMapper::map (this=0x9d8bb88, sender=0xa828088) at kernel/qsignalmapper.cpp:266
#59 0x02b9b8ee in QSignalMapper::map (this=0x9d8bb88) at kernel/qsignalmapper.cpp:257
#60 0x02b9c12b in QSignalMapper::qt_metacall (this=0x9d8bb88, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfdd54a8) at .moc/release-shared/moc_qsignalmapper.cpp:81
#61 0x02b98263 in QMetaObject::activate (sender=0xa828088, from_signal_index=29, to_signal_index=30, argv=0xbfdd54a8) at kernel/qobject.cpp:3113
#62 0x02b986d8 in QMetaObject::activate (sender=0xa828088, m=0x90ea0a4, from_local_signal_index=2, to_local_signal_index=3, argv=0xbfdd54a8) at kernel/qobject.cpp:3207
#63 0x08f03cc1 in QAbstractButton::clicked (this=0xa828088, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#64 0x08c2c549 in QAbstractButtonPrivate::emitClicked (this=0xa8050c0) at widgets/qabstractbutton.cpp:543
#65 0x08c2e1a4 in QAbstractButtonPrivate::click (this=0xa8050c0) at widgets/qabstractbutton.cpp:536
#66 0x08c2e431 in QAbstractButton::mouseReleaseEvent (this=0xa828088, e=0xbfdd5aa0) at widgets/qabstractbutton.cpp:1115
#67 0x088cc012 in QWidget::event (this=0xa828088, event=0xbfdd5aa0) at kernel/qwidget.cpp:7549
#68 0x08c2c3ee in QAbstractButton::event (this=0xa828088, e=0xffffffff) at widgets/qabstractbutton.cpp:1077
#69 0x08cd666d in QPushButton::event (this=0xa828088, e=0xbfdd5aa0) at widgets/qpushbutton.cpp:662
#70 0x08876f54 in QApplicationPrivate::notify_helper (this=0x9ab6860, receiver=0xa828088, e=0xbfdd5aa0) at kernel/qapplication.cpp:4056
#71 0x0887f033 in QApplication::notify (this=0xbfdd7480, receiver=0xa828088, e=0xbfdd5aa0) at kernel/qapplication.cpp:3758
#72 0x00f46bfa in KApplication::notify (this=0xbfdd7480, receiver=0xa828088, event=0xbfdd5aa0) at ../../kdeui/kernel/kapplication.cpp:302
#73 0x02b826cb in QCoreApplication::notifyInternal (this=0xbfdd7480, receiver=0xa828088, event=0xbfdd5aa0) at kernel/qcoreapplication.cpp:610
#74 0x0887df6e in QCoreApplication::sendSpontaneousEvent (receiver=0xa828088, event=0xbfdd5aa0, alienWidget=0xa828088, nativeWidget=0xa059998, buttonDown=0x90f1aa0, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#75 QApplicationPrivate::sendMouseEvent (receiver=0xa828088, event=0xbfdd5aa0, alienWidget=0xa828088, nativeWidget=0xa059998, buttonDown=0x90f1aa0, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#76 0x088ec7c0 in QETWidget::translateMouseEvent (this=0xa059998, event=0xbfdd70ec) at kernel/qapplication_x11.cpp:4409
#77 0x088ebc4b in QApplication::x11ProcessEvent (this=0xbfdd7480, event=0xbfdd70ec) at kernel/qapplication_x11.cpp:3428
#78 0x08918502 in x11EventSourceDispatch (s=0x9ab95a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#79 0x082bde78 in g_main_dispatch (context=0x9ab8890) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960
#80 IA__g_main_context_dispatch (context=0x9ab8890) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513
#81 0x082c1720 in g_main_context_iterate (context=0x9ab8890, block=<value optimized out>, dispatch=1, self=0x9ab6378) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#82 0x082c1853 in IA__g_main_context_iteration (context=0x9ab8890, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#83 0x02bad02c in QEventDispatcherGlib::processEvents (this=0x9a97ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#84 0x08917be5 in QGuiEventDispatcherGlib::processEvents (this=0x9a97ad0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#85 0x02b80c79 in QEventLoop::processEvents (this=0xbfdd73e4, flags=) at kernel/qeventloop.cpp:149
#86 0x02b810ca in QEventLoop::exec (this=0xbfdd73e4, flags=...) at kernel/qeventloop.cpp:201
#87 0x02b8353f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#88 0x08876dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#89 0x081af12d in main (argc=1, argv=0xbfdd7774) at ../../kleopatra/main.cpp:249

Reported using DrKonqi
Comment 1 Frank 2011-02-22 10:24:48 UTC
Created attachment 57437 [details]
New crash information added by DrKonqi

kleopatra (2.0.12) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.1

- What I was doing when the application crashed:

Adding a default server twice, then remove one entry and click ok.

-- Backtrace (Reduced):
#6  count (this=0x0, data=0x1f08ff0) at ../../src/corelib/tools/qvector.h:246
#7  QAbstractItemModelPrivate::removePersistentIndexData (this=0x0, data=0x1f08ff0) at kernel/qabstractitemmodel.cpp:550
#8  0x0000003575353119 in QPersistentModelIndexData::destroy (data=<value optimized out>) at kernel/qabstractitemmodel.cpp:83
#9  0x000000357535325f in QPersistentModelIndex::~QPersistentModelIndex (this=0x1d4af98, __in_chrg=<value optimized out>) at kernel/qabstractitemmodel.cpp:155
#10 0x00000035726c982f in QAbstractItemViewPrivate::~QAbstractItemViewPrivate (this=0x1d4acb0, __in_chrg=<value optimized out>) at itemviews/qabstractitemview.cpp:113
Comment 2 Andre Heinecke 2013-05-08 09:05:02 UTC
I can reproduce this.
From the debug output i take it that there is a problem how the Item model is used in this dialog.

kleopatra(26855)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_clientChanged:
QAbstractItemModel::endInsertRows:  Invalid index ( 2 , 2 ) in model Model(0x214b0b0) 
QAbstractItemModel::endInsertRows:  Invalid index ( 2 , 7 ) in model Model(0x214b0b0) 
QAbstractItemModel::endInsertRows:  Invalid index ( 2 , 0 ) in model Model(0x214b0b0) 
ASSERT: "p" in file kernel/qabstractitemmodel.cpp, line 82
KCrash: crashing... crashRecursionCounter = 2
Comment 3 Justin Zobel 2020-12-13 03:40:48 UTC
Thank you for the crash reports.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 4 Bug Janitor Service 2020-12-28 04:34:23 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-01-12 04:33:58 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!