https://bugs.kde.org/show_bug.cgi?id=461373

            Bug ID: 461373
           Summary: Kgpg hangs when generating key during intial run
    Classification: Applications
           Product: kgpg
           Version: 22.08.2
          Platform: OpenSUSE
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: k...@opensource.sf-tec.de
          Reporter: jrton...@gmail.com
  Target Milestone: ---

Application: kgpg (22.08.2)

Qt Version: 5.15.6
Frameworks Version: 5.99.0
Operating System: Linux 6.0.5-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.26.2 [KCrashBackend]

-- Information about the crash:
Kgpg keeps hanging and asking for a  keyphrase when failing to generate the
initial key.

The crash can be reproduced every time.

-- Backtrace:
Application: KGpg (kgpg), signal: Segmentation fault

[KCrash Handler]
#4  0x0000000000000030 in ?? ()
#5  0x00007fefe5900136 in QMainWindowLayout::statusBar (this=<optimized out>)
at widgets/qmainwindowlayout.cpp:2363
#6  0x00007fefe58fae39 in QMainWindow::statusBar
(this=this@entry=0x561d65d7e560) at widgets/qmainwindow.cpp:586
#7  0x0000561d64ad9af2 in KeysManager::changeMessage (keep=false, msg=...,
this=0x561d65d7e560) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/keysmanager.cpp:558
#8  KeysManager::slotGenerateKeyDone (this=0x561d65d7e560, job=0x561d6623f0c0)
at /usr/src/debug/kgpg-22.08.2-1.1.x86_64/keysmanager.cpp:568
#9  0x00007fefe4b1305d in QtPrivate::QSlotObjectBase::call (a=0x7ffef1dc7d20,
r=0x561d65d7e560, this=0x561d6623f600) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x561d6623f0c0, signal_index=6,
argv=0x7ffef1dc7d20) at kernel/qobject.cpp:3919
#11 0x00007fefe4b0c4df in QMetaObject::activate
(sender=sender@entry=0x561d6623f0c0, m=<optimized out>,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffef1dc7d20)
at kernel/qobject.cpp:3979
#12 0x00007fefe6160be5 in KJob::result (this=this@entry=0x561d6623f0c0,
_t1=<optimized out>, _t1@entry=0x561d6623f0c0, _t2=...) at
/usr/src/debug/kcoreaddons-5.99.0-1.1.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#13 0x00007fefe6164e2b in KJob::finishJob (this=0x561d6623f0c0,
emitResult=<optimized out>) at
/usr/src/debug/kcoreaddons-5.99.0-1.1.x86_64/src/lib/jobs/kjob.cpp:98
#14 0x00007fefe4b1305d in QtPrivate::QSlotObjectBase::call (a=0x7ffef1dc7e50,
r=0x561d6623f0c0, this=0x561d66241a30) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x7fefd0006400, signal_index=3,
argv=0x7ffef1dc7e50) at kernel/qobject.cpp:3919
#16 0x00007fefe4b0c4df in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x561d64b53e20 <KGpgTransaction::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffef1dc7e50)
at kernel/qobject.cpp:3979
#17 0x0000561d64ab3b71 in KGpgTransaction::done (_t1=<optimized out>,
this=<optimized out>) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/build/kgpg_lib_autogen/HHLLV3HBLL/moc_kgpgtransaction.cpp:159
#18 KGpgTransactionPrivate::processDone (this=0x561d6621d0b0) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/transactions/kgpgtransactionprivate.cpp:308
#19 0x00007fefe4b1305d in QtPrivate::QSlotObjectBase::call (a=0x7ffef1dc7f10,
r=0x561d6621d0b0, this=0x561d661668e0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false> (sender=0x561d661c1210, signal_index=20,
argv=0x7ffef1dc7f10) at kernel/qobject.cpp:3919
#21 0x00007fefe4b1305d in QtPrivate::QSlotObjectBase::call (a=0x7ffef1dc8030,
r=0x561d661c1210, this=0x561d66241d00) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#22 doActivate<false> (sender=0x561d661c1210, signal_index=11,
argv=0x7ffef1dc8030) at kernel/qobject.cpp:3919
#23 0x00007fefe4b0c4df in QMetaObject::activate
(sender=sender@entry=0x561d661c1210, m=m@entry=0x7fefe4db14a0,
local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffef1dc8030)
at kernel/qobject.cpp:3979
#24 0x00007fefe4a47938 in QProcess::finished (this=this@entry=0x561d661c1210,
_t1=<optimized out>, _t2=<optimized out>) at .moc/moc_qprocess.cpp:339
#25 0x00007fefe4a4d383 in QProcessPrivate::_q_processDied
(this=this@entry=0x561d6623f180) at io/qprocess.cpp:1184
#26 0x00007fefe4a51ca5 in QProcessPrivate::waitForFinished
(this=0x561d6623f180, msecs=30000) at io/qprocess_unix.cpp:878
#27 0x00007fefe4a48f95 in QProcess::waitForFinished
(this=this@entry=0x561d661c1210, msecs=<optimized out>, msecs@entry=30000) at
io/qprocess.cpp:1930
#28 0x00007fefe4a498cd in QProcess::~QProcess (this=this@entry=0x561d661c1210,
__in_chrg=<optimized out>) at io/qprocess.cpp:1266
#29 0x00007fefe616061e in KProcess::~KProcess (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/kcoreaddons-5.99.0-1.1.x86_64/src/lib/io/kprocess.cpp:42
#30 0x0000561d64ab84c2 in KLineBufferedProcess::~KLineBufferedProcess
(this=<optimized out>, this=<optimized out>) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/klinebufferedprocess.cpp:18
#31 GPGProc::~GPGProc (this=<optimized out>, this=<optimized out>) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/gpgproc.cpp:156
#32 GPGProc::~GPGProc (this=<optimized out>, this=<optimized out>) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/gpgproc.cpp:156
#33 KGpgTransactionPrivate::~KGpgTransactionPrivate (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/transactions/kgpgtransactionprivate.cpp:47
#34 0x0000561d64abff24 in KGpgTransactionPrivate::~KGpgTransactionPrivate
(this=<optimized out>, this=<optimized out>) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/transactions/kgpgtransactionprivate.cpp:48
#35 KGpgTransaction::~KGpgTransaction (this=<optimized out>, this=<optimized
out>) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/transactions/kgpgtransaction.cpp:32
#36 KGpgGenerateKey::~KGpgGenerateKey (this=<optimized out>, this=<optimized
out>) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/transactions/kgpggeneratekey.cpp:42
#37 KGpgGenerateKey::~KGpgGenerateKey (this=<optimized out>, this=<optimized
out>) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/transactions/kgpggeneratekey.cpp:42
#38 0x00007fefe4b0556e in QObjectPrivate::deleteChildren
(this=this@entry=0x561d65cbe530) at kernel/qobject.cpp:2137
#39 0x00007fefe57e2646 in QWidget::~QWidget (this=0x561d65d7e560,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#40 0x0000561d64ad6673 in KeysManager::~KeysManager (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/keysmanager.cpp:483
#41 0x0000561d64a81228 in KeysManager::~KeysManager (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/keysmanager.cpp:481
#42 KGpgApp::~KGpgApp (this=<optimized out>, this=<optimized out>) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/kgpg.cpp:41
#43 0x0000561d64a8031b in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kgpg-22.08.2-1.1.x86_64/main.cpp:75
[Inferior 1 (process 803) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to