[issue240] kleopatra: segfault when reimporting deleted certificates

Bernhard Herzog aegypten-issues at intevation.de
Fri Aug 6 18:22:53 CEST 2004


New submission from Bernhard Herzog <bh at intevation.de>:

segfault when reimporting deleted certificates.  To reproduce:

 - switch to hierarchical view
 - select a root certificate and all its children.  Export them all into a pem
   so that we can reimport them later.
 - select the root certificate alone
 - Contextmenu: Delete
 - Confirm that you want to delete that root cert and all its children.
   After that the certificates are gone.
 - now import the pem you exported earlier
   -> sefault after clicking OK in the dialog with the import result.

Traceback:

[New Thread 1024 (LWP 22579)]
0x41729a59 in wait4 () from /lib/libc.so.6
#0  0x41729a59 in wait4 () from /lib/libc.so.6
#1  0x417a0e48 in __check_rhosts_file () from /lib/libc.so.6
#2  0x415eb453 in waitpid () from /lib/libpthread.so.0
#3  0x40acb5dd in KCrash::defaultCrashHandler (sig=11) at kcrash.cpp:246
#4  0x415e8f54 in pthread_sighandler () from /lib/libpthread.so.0
#5  0x416b26b8 in sigaction () from /lib/libc.so.6
#6  0x400c34c4 in Kleo::KeyListViewItem::KeyListViewItem (this=0x8194220, 
    parent=0x815d890, key=@0x815b850) at keylistview.cpp:357
#7  0x400c2ad1 in Kleo::KeyListView::doHierarchicalInsert (this=0x8125bd0, 
    key=@0x815b850) at keylistview.cpp:238
#8  0x400c286d in Kleo::KeyListView::slotUpdateTimeout (this=0x8125bd0)
    at keylistview.cpp:213
#9  0x400c7918 in Kleo::KeyListView::flushKeys (this=0x8125bd0)
    at keylistview.h:199
#10 0x08065ee2 in CertManager::updateStatusBarLabels (this=0x8100b60)
    at certmanager.cpp:440
#11 0x08065dbd in CertManager::disconnectJobFromStatusBarProgress (
    this=0x8100b60, err=@0xbfffed84) at certmanager.cpp:428
#12 0x08066d32 in CertManager::slotKeyListResult (this=0x8100b60, 
    res=@0xbfffed84) at certmanager.cpp:583
#13 0x0806b7d5 in CertManager::qt_invoke (this=0x8100b60, _id=83, 
    _o=0xbfffed30) at certmanager.moc:266
#14 0x40f1432a in QObject::activate_signal (this=0x816f730, clist=0x819db58, 
    o=0xbfffed30) at kernel/qobject.cpp:2333
#15 0x40099252 in Kleo::KeyListJob::result (this=0x816f730, t0=@0xbfffed84)
    at keylistjob.moc:113
#16 0x400aba43 in Kleo::QGpgMEKeyListJob::doOperationDoneEvent (this=0x816f730)
    at qgpgmekeylistjob.cpp:101
#17 0x400ab05d in Kleo::QGpgMEJob::doSlotOperationDoneEvent (this=0x816f758, 
    context=0x8130ef0, e=@0xbfffef80) at qgpgmejob.cpp:135
#18 0x400ac388 in Kleo::QGpgMEKeyListJob::slotOperationDoneEvent (
    this=0x816f730, context=0x8130ef0, e=@0xbfffef80) at qgpgmekeylistjob.h:63
#19 0x400abc7a in Kleo::QGpgMEKeyListJob::qt_invoke (this=0x816f730, _id=4, 
    _o=0xbfffeeac) at qgpgmekeylistjob.moc:95
#20 0x40f1432a in QObject::activate_signal (this=0x8145240, clist=0x8146488, 
    o=0xbfffeeac) at kernel/qobject.cpp:2333
#21 0x401d91f1 in QGpgME::EventLoopInteractor::operationDoneEventSignal (
    this=0x8145240, t0=0x8130ef0, t1=@0xbfffef80)
    at eventloopinteractor.moc:153
#22 0x401d8d00 in QGpgME::EventLoopInteractor::operationDoneEvent (
    this=0x8145240, context=0x8130ef0, e=@0xbfffef80)
    at eventloopinteractor.cpp:96
#23 0x40209011 in GpgME::EventLoopInteractor::Private::eventIOCb (
    data=0x8130ef0, type=GPGME_EVENT_DONE, type_data=0xbffff058)
    at eventloopinteractor.cpp:125
#24 0x40220eaf in _gpgme_wait_user_event_cb (data=0x819aae0, 
    type=GPGME_EVENT_DONE, type_data=0xbffff058) at wait-user.c:123
#25 0x4022cd0a in gpgsm_io_event (engine=0x819f638, type=GPGME_EVENT_DONE, 
    type_data=0xbffff058) at engine-gpgsm.c:1557
#26 0x40227b89 in _gpgme_engine_io_event (engine=0x8198398, 
    type=GPGME_EVENT_DONE, type_data=0xbffff058) at engine.c:485
#27 0x40220d62 in _gpgme_user_io_cb_handler (data=0x8175168, fd=19)
    at wait-user.c:70
#28 0x40209377 in GpgME::EventLoopInteractor::actOn (this=0x8145268, fd=19, 
    dir=Read) at eventloopinteractor.cpp:180
#29 0x401d8c65 in QGpgME::EventLoopInteractor::slotReadActivity (
    this=0x8145240, socket=19) at eventloopinteractor.cpp:84
#30 0x401d9329 in QGpgME::EventLoopInteractor::qt_invoke (this=0x8145240, 
    _id=3, _o=0xbffff194) at eventloopinteractor.moc:166
#31 0x40f1432a in QObject::activate_signal (this=0x81bce98, clist=0x81a6ab0, 
    o=0xbffff194) at kernel/qobject.cpp:2333
#32 0x40f146f3 in QObject::activate_signal (this=0x81bce98, signal=2, param=19)
    at kernel/qobject.cpp:2426
#33 0x412659da in QSocketNotifier::activated (this=0x81bce98, t0=19)
    at .moc/debug-shared-mt/moc_qsocketnotifier.cpp:85
#34 0x40f328a2 in QSocketNotifier::event (this=0x81bce98, e=0xbffff408)
    at kernel/qsocketnotifier.cpp:271
#35 0x40eadcd5 in QApplication::internalNotify (this=0xbffff674, 
    receiver=0x81bce98, e=0xbffff408) at kernel/qapplication.cpp:2582
#36 0x40eacdbb in QApplication::notify (this=0xbffff674, receiver=0x81bce98, 
    e=0xbffff408) at kernel/qapplication.cpp:2305
#37 0x40a3e5b9 in KApplication::notify (this=0xbffff674, receiver=0x81bce98, 
    event=0xbffff408) at kapplication.cpp:507
#38 0x4125bd94 in QApplication::sendEvent (receiver=0x81bce98, 
    event=0xbffff408) at .moc/debug-shared-mt/../../kernel/qapplication.h:492
#39 0x40e9c6e2 in QEventLoop::activateSocketNotifiers (this=0x80cd8c0)
    at kernel/qeventloop_unix.cpp:579
#40 0x40e56a3c in QEventLoop::processEvents (this=0x80cd8c0, flags=4)
    at kernel/qeventloop_x11.cpp:340
#41 0x40ec4290 in QEventLoop::enterLoop (this=0x80cd8c0)
    at kernel/qeventloop.cpp:198
#42 0x40ec41c9 in QEventLoop::exec (this=0x80cd8c0)
    at kernel/qeventloop.cpp:145
#43 0x40eade8d in QApplication::exec (this=0xbffff674)
    at kernel/qapplication.cpp:2705
#44 0x080637f9 in main (argc=1, argv=0xbffff7e4) at main.cpp:83

----------
messages: 1265
nosy: bh
priority: bug
status: unread
title: kleopatra: segfault when reimporting deleted certificates
topic: certmanager
______________________________________________________
Aegypten issue tracker <aegypten-issues at intevation.de>
<https://intevation.de/roundup/aegypten/issue240>
______________________________________________________



More information about the Gpa-dev mailing list